File tree 1 file changed +2
-2
lines changed
libraries/ESP32/examples/Serial/RxTimeout_Demo
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
then copy the data from the FIFO to the Arduino internal buffer, making it available to the Arduino API.
23
23
24
24
There is an important detail about how HardwareSerial works using ESP32 and ESP32-S2:
25
- If the baud rate is lower than 250,000, it will select REF_TICK as clock source in order to avoid that
26
- the baud rate may change when the CPU Frequency is changed. Default UART clock source is APB, which changes
25
+ If the baud rate is lower than 250,000, it will select REF_TICK as clock source in order to avoid that
26
+ the baud rate may change when the CPU Frequency is changed. Default UART clock source is APB, which changes
27
27
when CPU clock source is also changed. But when it selects REF_TICK as UART clock source, RX Timeout is limited to 1.
28
28
Therefore, in order to change the ESP32/ESP32-S2 RX Timeout it is necessary to fix the UART Clock Source to APB.
29
29
You can’t perform that action at this time.
0 commit comments