Skip to main content
This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Aug 6, 2021 3:09 PM UTC

You've coded the solution incorrectly?

You have the wrong pins?

You haven't crossed the RX/TX between the micro-controllers?

The clocks are wrong?

Suggest to get a scope, and test one outputting a 'U' data pattern in a continuous loop, check the bit timing and that it's using the expected pin, etc.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Aug 6, 2021 3:09 PM UTC

You've coded the solution incorrectly?

You have the wrong pins?

You haven't crossed the RX/TX between the micro-controllers?

The clocks are wrong?

Suggest to get a scope, and test one outputting a 'U' data pattern in a continuous loop, check the bit timing and that it's using the expected pin, etc.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SSaya.1
SSaya.1Author
Associate III
Aug 9, 2021 6:11 AM UTC

thank you for your reply

the clocks were wrong

i put 48Mhz on stmwl55jc2 and 72MHz on stm32f103c8t6 then uart worked fine

TDK
Aug 6, 2021 3:26 PM UTC

Check that the HSITRIM value in the WL55JC2 is being set correctly.

"If you feel a post has answered your question, please click ""Accept as Solution""."
SSaya.1
SSaya.1Author
Associate III
Aug 9, 2021 6:18 AM UTC

thank you for your reply

wl55jc has MSI, i used MSI clock