File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/ESP32/examples/Serial/RxTimeout_Demo Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222 then copy the data from the FIFO to the Arduino internal buffer, making it available to the Arduino API.
2323
2424 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
2727 when CPU clock source is also changed. But when it selects REF_TICK as UART clock source, RX Timeout is limited to 1.
2828 Therefore, in order to change the ESP32/ESP32-S2 RX Timeout it is necessary to fix the UART Clock Source to APB.
2929
You can’t perform that action at this time.
0 commit comments