Nucleo446RE + A7672S + GPS + Firebase] User LED Blinks and Serial Port Stops Responding #2637
Unanswered
Nikitanagar
asked this question in
Q&A
Replies: 2 comments 2 replies
-
If LED stars blinking you reached a default handler defined by the STM32FREERTOS library. Your best bet is to debug on your side. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thank you @fpistm, In my case, LED is blinking 4 times, so
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a Nucleo446RE with the following setup:
GSM Module: A7672S (connected via PA10 and PA9)
GPS Module: Connected via PC5 and PB10
Button: Connected to PB5
I am working with the following libraries:
TinyGsmClient
STM32FreeRTOS
FirebaseClient
TinyGPSPlus
After running the program for a while, the problem occurs. The user LED starts blinking, and the serial port stops responding. This issue interrupts communication with the firebase, GSM, and GPS modules.
Steps to Reproduce
Connect GSM (A7672S) to PA3 and PA2 (STM32).
Connect the GPS module to PB7 and PB6.
Configure PB14 as input for the button.
Upload the code using the Arduino IDE.
Observe the system for a few minutes.
Note that the user LED starts blinking, and serial communication halts.
What I Have Tried
Verified power supply (using a reliable source with sufficient current).
Reduced FreeRTOS stack sizes for tasks.
Optimized code to avoid blocking calls (e.g., replaced delay() with vTaskDelay()).
Debugged serial communication with the GSM and GPS modules separately.
Expected Behavior
The system should continuously communicate with GSM, GPS, and Firebase without interruptions.
Actual Behavior
User LED blinks, indicating a fault.
Serial communication halts.
Tasks stop functioning as expected.
Environment
Board: Nucleo446RE
GSM Module: A7670C
GPS Module: Neo-6m
IDE: Arduino 2.3.4
Libraries:
TinyGSM
STM32FreeRTOS
FirebaseClient
Questions
Beta Was this translation helpful? Give feedback.
All reactions