2023-05-07 06:41 AM
Project Details:
The project consists of two STM32 MCUs connected over UART (without any external pull up resistors). One STM32L4 MCU (LPUART1) acts as an AT master and other STM32L0 MCU (UART 1) acts as an AT slave. AT slave is configured to wake up from STOP mode on RXNEIE.
Observations:
How to solve the problem, without adding pull up as the board is already fabricated?
2023-05-07 08:40 AM
A missing pull-up could be added by configuring the UART pin with an internal pull-up. If the error persists, hook-up a cheap logic analyzer for analysis.
hth
KnarfB
2023-05-07 08:45 AM
Can you recognize and ignore the extraneous character, and resync with the first valid data?
Check for framing or noise errors
Enable the internal pull up early, before enabling the USART
2023-05-07 10:44 PM - edited 2023-11-20 06:12 AM
Thanks @KnarfB and @Community member for your valuable comments.
Should i use the pull up setting that comes with the UART configuration itself (As mentioned in the image below) or should if configure the pin as input with a internal pull up before UART initialization.