2025-04-07 5:22 AM - last edited on 2025-04-07 5:49 AM by Andrew Neil
When temperature below -15℃ , STM32WLE5CCU6 UART can't receive any data from uart, But it can send data out from UART.,and The LoRa Unit worked well,It seems the TXCO is working. What's the problem? How can solve this problem?
2025-04-07 5:37 AM - edited 2025-04-07 5:39 AM
What happens exactly? Is no data send? Or is the baudrate of the date send invalid? Please use a logic analyzer or oscilloscope to check the TX pin.
If sending works, but receiving doesn't it still is sensible to check TX baudrate, because if clock changes both RX and TX are affected (but the receiving device may be more tolerant for baudrate errors).
Do you use internal clock er external? Internal clock can change significantly with temperature. This can cause baudrate errors.
2025-04-07 5:40 AM
It's likely a hardware-related issue rather than a software or clock source issue (since LoRa is working, the TCXO appears fine).
2025-04-07 5:48 AM - edited 2025-04-07 5:50 AM
@taowa0550 wrote:When temperature below -15℃ , STM32WLE5CCU6 UART can't receive any data from uart,
What is the 2nd UART ?
As @unsigned_char_array said, are you sure that the other UART is still sending ?
Check the actual baud rates of both UARTs - are they drifting with temperature?
Does the STM32WL UART flag any errors; eg, Framing ?
@taowa0550 wrote:It seems the TXCO is working.
You mean TCXO ?
Is that actually related to the UART at all ?
PS:
Does the other UART receive anything transmitted by the STM32WL ?