-
Notifications
You must be signed in to change notification settings - Fork 7.7k
esotic UART baudrates won't work (IDFGH-1970) #4166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@koobest 80M/0xFFFFF = 76 |
It takes 5ms to send 5 bytes at 10400 so if you delay only 2ms you are going to overflow the tx buffer. But other than that, 10400 seems to work fine on uart 1&2. |
Hi @negativekelvin if your buffer is not corrupted then or my esp32 is broken or i am doing something wrong in the code This is a sample arduino code
and here the corresponding version in idf code
I added the two logic traces in this zip file, and the pulseView program says me that there is a frame error |
on the arduino core it was solved by espressif/arduino-esp32#3664 |
Environment
Problem Description
If i set a custom baudrate in the UART it won't work as expected. At first we tought the problem was in the arduino core (espressif/arduino-esp32#2004), but maybe it is not so I have been suggested to open an iussue here
Code to reproduce this issue
And here there are two logic analyzer data, the
esp-idf.sr
comes from the code abovetest.zip
The text was updated successfully, but these errors were encountered: