-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bug with Serial + Hardware Serial when using different baud rates #55
Bug with Serial + Hardware Serial when using different baud rates #55
Comments
Hi @CiprianFlorin-Ifrim , Maybe it would be less confusing for the end user to undefine |
Yes. I said the same back during the discussion that somehow resulted in that code being added: |
Thank you for the replies. I was not aware it was the same hardware serial and spent a few good hours on my main code thinking I had some issues there. I think it would be good to add in the Cheat Sheet that they are the same and same baur rate should be set for both: https://docs.arduino.cc/tutorials/nicla-sense-me/cheat-sheet#uart Leaving that aside, have you checked "Moreover, the battery bug fix solved in 3.0.0 is still persisting with UART.". |
@per1234 @facchinm Agree, I think it would be less confusing. Let's do it 👍 |
Description of defect
If I intitialize Serial.begin(115200) and hardware Serial1.begin(115200), both work.
If I initialize Serial.begin(9600) and hardware Serial1.begin(9600), both work.
If, however, I initialize Serial.begin(115200) and hardware Serial1.begin(9600), the whole code freezes.
Moreover, the battery bug fix solved in 3.0.0 is still persisting with UART.
Target(s) affected by this defect ?
Nicla Sense ME
Toolchain(s) (name and version) displaying this defect ?
Mbed OS Nicla Boards 3.0.1
Latest bootloader
Arduino 1.8.16
What version of Mbed-os are you using (tag or sha) ?
mbed-os-3.0.1
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Mbed OS Nicla Boards 3.0.1
Latest bootloader available in the Nicla FW repo
Arduino 1.8.16
How is this defect reproduced ?
Simple example code:
The text was updated successfully, but these errors were encountered: