-
Notifications
You must be signed in to change notification settings - Fork 1k
SoftwareSerial Freezes on Certain Pins (Analog?) #1093
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
9 tasks
Hi @chrissbarr
Yes it should anyway after testing with a Nucelo_F411RE I've got the same issue. |
Hi @fpistm,
Well, I'm glad it's not just me - thought I was going crazy... Thanks for trying this so quickly. |
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this issue
Jun 10, 2020
Fix stm32duino#1093 Signed-off-by: Frederic Pillon <[email protected]>
fpistm
added a commit
that referenced
this issue
Jun 10, 2020
Fix #1093 Signed-off-by: Frederic Pillon <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
SoftwareSerial seems to cause program execution to freeze at startup when using certain pins.
So far in my testing it looks like the freeze happens if:
The freeze only seems to happen when both pins meet the above - if one maps to an analog pin and the other does not, the freeze does not happen.
Results are consistent on both 1.9.0 and current master branch. I am testing with a RUMBA32 board which is the only STM32 board I have to hand at the moment, but I can try to round up a different dev board shortly.
Is SoftwareSerial expected to work when using the Ax & PYn pin naming conventions?
To Reproduce
I am testing with the following sketch:
With the pin pairs that seem to cause a 'freeze', the LED does not blink. I've tested with the following pin pairs.
These work (LED blinks / sketch runs):
These do not work (no LED blinking):
These particular pins as described in the RUMBA32 variant.h:
Steps to reproduce the behavior:
Expected behavior
Program should not freeze / should execute as expected when using these pins.
Desktop (please complete the following information):
Board (please complete the following information):
Additional context
I noticed this during testing of the SERIAL_TIMER as part of PR #1092
The text was updated successfully, but these errors were encountered: