Closed viktor1970 closed 4 years ago
There is... it's not quite clear to me what, but I am about to change the UART driver so it should get better
Please pull the latest changes and report :) Thanks!
Hallo, I installed the lastest changes but nothing changed:
This is what happens when using Serial(1):
The correct data "n1.val=5" plus 3 0xFF are sent and 01 FF FF FF code received.
When using Serial(2):
Only garbage data on TX, nothing on RX. I tried to use native pins too, same result
Now I'll try with another ESP32 board.
Regards
I tried another ESP32, both with native and other pins. No changes.
Regards
@viktor1970 Is this issue still unresolved for you? Can we close this?
Hello, @everslick I have same problem. Is this issue resolved ? When I using Hardware Serial (2) sometimes It does not works correctly. And I just changed Serial (2) to Serial (1) It is fine. But I hope using more Serial port on ESP32 stably.
I try whit the Serial1 and work, but is fool
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This stale issue has been automatically closed. Thank you for your contributions.
Hardware:
Board: DOIT DevKit V1 Core Installation/update date: 20/sep/2017 IDE name: Arduino IDE Flash Frequency: 80Mhz Upload Speed: 921600
Description:
Hallo, I've a strange issue with Serial2: there's a lot of garbage sent. Here's the screenshot
On 1st loop the data (Nextion display codes) are sent correctly ("n1.val=5" and "dim=99", both with 3 0xFF as terminator); starting from second loop there's only garbage (exceps when val=17, but there's garbage too).
Then I made only this change:
HardwareSerial Seriale(1);
Leaving same pins and (of course) same code, and it works perfectly.There's some issue with Serial2?
Best regards
Sketch:
No crashes