Below -15℃, UART Cant Receive any data (STM32WLE5CCU6)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?
- Labels:
-
STM32WL series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-07 5:37 AM - edited 2025-04-08 9:03 AM
What happens exactly? Is no data send? Or is the baudrate of the data 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.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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 ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-07 6:13 PM
The reason has found out , Because the Uart use internal RC oscillator, when temperature changed and RC oscillator frequency drift. Thanks for All
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-08 12:27 AM
Glad you found it.
Yes, that is to be expected when using an RC oscillator as a UART baud date clock.
If that's resolved the issue, please mark the solution:
https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256
#RCOscillator #BaudRate #RCOscillatorBaudRate
A complex system designed from scratch never works and cannot be patched up to make it work.
