-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Esp32-S3 Baud Rate Detection missing #7718
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
@imwhocodes - There is a code for it in Last time I tried it with ESP32-S3, it worked fine. You can try this Arduino code: // this will start UART in 9600 baud and then it will try to adjuts itself to the transmiter baud rate
// if it can't detect the transmiter baudrate, it will issue a log error message. Turn on Log to Error Level in the IDE.
Serial.begin(0); |
Sorry I linked the wrong revision/model manual I'm gonna try again, but what I did is using the same code that was correctly detecting the baud rate on ESP32 and tested on ESP32-S3 without any positive result (it always used default baudrate) The thing that seem strange is that here nothing is enabled for the ESP32-S3 And here enabling is skipped too: As I said i tried to fix it by myself, updating the |
Thanks @imwhocodes - I'll try to make it work here as well. |
Thanks a lot @imwhocodes! |
@imwhocodes - After testing the PR and trying hard to make it work, I have come into the conclusion that ESP32-S3 doesn't detect any baud rate. |
@SuGlider I have this code literally running on production, and it work seamless with both 115200 and 460800 (both heavily tested ) Can you explain the problem that your are having? (And sorry for the delay, tomorrow night i should be able to create the pull request with resolved CLA) |
The problem is that S3 doesn't detect the baud rate correctly. It works correctly only for the ESP32 and ESP32-S2. |
Related area
UART Baud Rate Detection
Hardware specification
Esp32-S3
Is your feature request related to a problem?
Auto Baud Rate feature is not supported/wrapped in arduino-esp32 for the esp32-S3
Hardware implementation / register are slightly different from previous esp32 revisions but it don't seem nothing drastic
(And there is no log-error advising user or the programmer that feature is not ready yet)
Describe the solution you'd like
Same behaviour as previous esp32 revisions
Describe alternatives you've considered
No response
Additional context
I tried to implement it by myself but I'm unable to compute the correct value, while reading the reference this line is not clear to me:
UART_HIGHPULSE_MIN_CNT stores minimum high-pulse width
I'm unable to find what is the unit of measurement used for this value
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: