cancel
Showing results for 
Search instead for 
Did you mean: 

Below -15℃, UART Cant Receive any data (STM32WLE5CCU6)

taowa0550
Associate

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?

5 REPLIES 5

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.

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
abbas78
Associate

It's likely a hardware-related issue rather than a software or clock source issue (since LoRa is working, the TCXO appears fine).


@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 that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
taowa0550
Associate

  The reason has found out ,   Because  the Uart  use internal RC oscillator, when temperature changed and  RC oscillator  frequency drift.  Thanks for All

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 that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.