cancel
Showing results for 
Search instead for 
Did you mean: 

not able to perform UART communication between Nucleo wl55jc2 and stmf104c8t6 what could be the reason?

SSaya.1
Associate II

UART setting are shown in picture of both devices0693W00000D1lEJQAZ.jpg0693W00000D1lAIQAZ.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

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
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4

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
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

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".

thank you for your reply

the clocks were wrong

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

thank you for your reply

wl55jc has MSI, i used MSI clock