Search found 3 matches
- Sat Jul 05, 2025 4:21 pm
- Forum: ESP-IDF
- Topic: Severe byte loss after waking up from Light Sleep using UART
- Replies: 1
- Views: 85
Re: Severe byte loss after waking up from Light Sleep using UART
Update: I tried holding the power management lock to prevent entering the light sleep again when reading from the UART after being woken up by UART. This prevents byte loss in between a transfer, but more than expected byte loss still happens at the beginning of a transfer.
- Thu Jul 03, 2025 6:03 am
- Forum: ESP-IDF
- Topic: Severe byte loss after waking up from Light Sleep using UART
- Replies: 1
- Views: 85
Severe byte loss after waking up from Light Sleep using UART
MCU: ESP32-C3
ESP-IDF 5.4.1
UART config: 115200, 8N1 w/o hw flow control, source_clk = UART_SCLK_XTAL, allow_pd = false
According to the documentation, the byte triggering wakeup and probably a few bytes following it will be lost. However in my case where a frame of 100 bytes is transmitted over ...
ESP-IDF 5.4.1
UART config: 115200, 8N1 w/o hw flow control, source_clk = UART_SCLK_XTAL, allow_pd = false
According to the documentation, the byte triggering wakeup and probably a few bytes following it will be lost. However in my case where a frame of 100 bytes is transmitted over ...
- Sun Mar 23, 2025 1:22 am
- Forum: 硬件问题讨论
- Topic: ESP32-C3-WROOM strapping引脚复用为 IO 与 SPI2 问题
- Replies: 0
- Views: 544
ESP32-C3-WROOM strapping引脚复用为 IO 与 SPI2 问题
各位好,请教一下当使用 ESP32-C3 时,根据 Datasheet 需要把 GPIO2、8、9(IO2、IO8、IO9)三个引脚用于 strapping 配置,其中 GPIO2 需要拉高。但同时 GPIO2 又是默认的FSPIQ引脚,用于 SPI2 的 MOSI。别的 GPIO 引脚均已经分配满了。所以我目前有几种考虑:
1. 使用默认设置,直接把 SPI2 接在各从机 MOSI 上,不拉高 GPIO2
2. 使用默认设置,但画一个三级管延迟电路在上电拉高 EN 前拉高 GPIO2,拉高 EN 2ms 后释放
3. 将 GPIO2 分配给开漏输出的 IO(正好有个 I2C),然后把 ...
1. 使用默认设置,直接把 SPI2 接在各从机 MOSI 上,不拉高 GPIO2
2. 使用默认设置,但画一个三级管延迟电路在上电拉高 EN 前拉高 GPIO2,拉高 EN 2ms 后释放
3. 将 GPIO2 分配给开漏输出的 IO(正好有个 I2C),然后把 ...