-
Notifications
You must be signed in to change notification settings - Fork 7.6k
HardwareSerial incorrect timing with non standard baudrate #2004
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
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. |
i suggest not to close this |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
. |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
Please modify and test the following code adapted directly from esp-idf uart example to see if the behavior is coming from the hardware or software.
|
@lbernstone thanks for the help, i tried:
and
This is the output: To me looks like an hardware problem, any thoughts? may I have modified in a wrong way your example sketch? |
I can't see anything in your Matrix data, Cypher. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Don't close it
Il Mer 4 Dic 2019, 16:01 stale[bot] <notifications@github.com> ha scritto:
… [STALE_SET] This issue has been automatically marked as stale because it
has not had recent activity. It will be closed in 14 days if no further
activity occurs. Thank you for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2004?email_source=notifications&email_token=AFBUBTVFAMPE4AM52QPHYXTQW7A4ZA5CNFSM4F7YENN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5J5QA#issuecomment-561684160>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBUBTQ5UTACRPY37ALOW3DQW7A4ZANCNFSM4F7YENNQ>
.
|
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Still waiting for this to be fixed on the esp-idf |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
Hi @koobest first of all thanks to have a look to the issue I just finished to run a few tests, this is the version of the core in my machine:
Which, if i am not wrong uses 4 IDF 3.2 I tested two sketches
IDF Version:
And here there is the logic analizer capture of the two + another capture using the arduino sketch and setting a baudrate of 9600 It looks like there is always a frame error at the end of every byte And sometimes two bytes are send one after the other What do you think? |
@koobest did you had the time to run any test? |
@lbernstone I am closing the issue because to me seems that everything is ok, if you note something wrong in the attacched logic analyzer captures let me know! |
Hardware:
Board: ESP32 Lolin 32 mini
Core Installation/update date: last from package manager (1.0.0?)
IDE name: vscode
Flash Frequency: tried both 40 and 80MHz
Upload Speed: 460800
Computer OS: xubuntu 18.04
Description:
Using a baudrate different form the standard (10400) brings to incorrect timing of the serial communication

I made a few samples with a salea logic analizer (clone) with the above settings:
Correct behaviour from an arduino mega:

mega 10400 o.txt
while esp plays a few jokes

esp 10400 o.txt
same at 80mhz

esp 80 10400 o.txt
same happens if i remove the odd parity bit

esp 10400 n.txt
while at a standard baud rate (115200) all is ok

esp 115200 n.txt
Sketch:
for esp
for arduino mega
The text was updated successfully, but these errors were encountered: