UART Transmission - Why one MCU's UART GPIO pin state(Pull up) during the initialization impacting the Receiving/Transmitting or wake up capability of MCU2, connected over UART?
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:
- With default configuration as above, communication is not working as expected. By probing the AT master's LPUART TX line with an external UART convertor's RX, shows the data is actually transmitted by the LPUART. But, it is not seen/received/wakeup by the AT slave.
- Here is the interesting behavior observed. During the initialization of the AT master's LPUART(), keeping the LPUART TX line externally pulled up, makes the communication to work as expected. After the LPUART initialization, removal of external pull up has no effect on the communication.
Question: Why MCU1 LPUART GPIO pin state during the initialization impacting the Receiving/Transmitting or wake up capability of MCU2, connected over UART?
What am i missing? Please guide.