This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uart interrupt

Hi everybody,

Could you please help me: i need to use an uart interrupt routine in a RTX code. I've already found some examples for the uart interrupt routine, but i cannot make it work using tasks.
Has anybody an example to show me how to use it.
Thanks

Parents
  • Hi everybody,
    i left this thread for a couple of days and i'm very pleased. I've learnd a lot of thing reading your posts.
    But i still have a problem with my code.
    I cannot receive anything from the Uart.
    I wrote a very simple code: i want to receive a character sended from Hyperterminal (it works, i'v already tested it), read it and managed it in a specific task which print it on the LCD.
    I'm using an STM32F103ZE.
    I've looked at many example and i'm quite sure that the code is right and i make some mistakes in the settings, i've putted a flag inside the UART interrupt handler but it is never set to 1. What should i check?

Reply
  • Hi everybody,
    i left this thread for a couple of days and i'm very pleased. I've learnd a lot of thing reading your posts.
    But i still have a problem with my code.
    I cannot receive anything from the Uart.
    I wrote a very simple code: i want to receive a character sended from Hyperterminal (it works, i'v already tested it), read it and managed it in a specific task which print it on the LCD.
    I'm using an STM32F103ZE.
    I've looked at many example and i'm quite sure that the code is right and i make some mistakes in the settings, i've putted a flag inside the UART interrupt handler but it is never set to 1. What should i check?

Children
No data