cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f103, USART1 Send but dosen't recieve

h_namazian66
Associate
Posted on August 12, 2011 at 19:55

hello everybody

i'm using stm32f103rb to send and recieve data via USART

USART2&3 work completly but USART1 send data but can not recieve

i tried the keil's example but it didn't work

plz help me solve the problem

Thanck you

2 REPLIES 2
Posted on August 12, 2011 at 21:47

If you've eliminated software problems, perhaps you should be looking more carefully at your hardware/connection. I don't think your problem is solvable with the limited information furnished in the question.

Three USARTs are certainly workable on the 103.

Check that you have the clocks enabled.

Check that you have the USART, and Rx/Tx Enabled.

If you have a Tx interrupt enabled, you'd better have some data to send.

Check that you have the correct pins, mappings and settings.

If you are remapping, make sure AFIO is clocking.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
keng1230
Associate II
Posted on September 12, 2011 at 11:31

can i see your code ? as i dont know how to let it send and receive