Skip to main content
h_namazian66
Visitor II
August 12, 2011
Question

stm32f103, USART1 Send but dosen't recieve

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

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    August 12, 2011
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    keng1230
    Associate
    September 12, 2011
    Posted on September 12, 2011 at 11:31

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