-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Implements UART SerialHardware Refactoring on top of IDF #5549
Conversation
Hi, Code Snapshot #define BPM_UART Serial1 void setup() { Serial.println("Test"); //BPM_UART.begin(9600, SERIAL_8N1, BPM_TX_UC_RX, BPM_RX_UC_TX); void loop() { // if (Serial.available()) { // If anything comes in Serial (USB), //Shorted Pins 18,19 } |
@mannarsai |
@mannarsai |
Thank you |
@mannarsai |
i am facing these error ""E (348) uart: uart_set_pin(646): tx_io_num error"" on example program under uart example uart_async_rxtxtasks please help me how to figer out these even i have configered tx and rx pin correctly |
@Takashi426 - please open a new issue with a small sketch that can be used to reproduce the problem you have found. |
Summary
This PR is a complete reffactoring of UART Serial Hardware and respective HAL in order to use IDF instead of current Register manipulation approach.
It implements Arduino SerialEvent functionality.
Fix #5287
Fix #5273
Fix #5519
Fix #5247
Fix #5403
Fix #5429
Fix #5047
Fix #5463
Fix #5362
Fix #5112
Fix #5443
Impact
It solves many reported issues related to UART.
It was tested and works fine for ESP32, ESP-S2 and ESP32-C3.