cancel
Showing results for 
Search instead for 
Did you mean: 

USART Interrupt Handler

Rahimi.Meysam
Associate II
Posted on February 26, 2015 at 18:51

HI.

I have a board with stm32f407. I Have ported UCOSII on it and in one of tasks enable USART3 and its interrupt handler. 

USART works correct at sending  but my probelm is this:

I can not recieve any thing on my interrupt handler related to USART3.

I done know if ucOS is effected the interrupt or not?

and How I can resolve my problem.

thanks for your answers.

#ucos #usart-interrupt
2 REPLIES 2
jpeacock
Associate III
Posted on February 26, 2015 at 22:40

Is receive enabled?  Is the interrupt handler configured correctly? Check your config and status registers for USART3 and NVIC.

  Jack

792195733
Associate
Posted on February 27, 2015 at 02:09

You need use the critical section to void other interrupt and set systick interrupt is lower by the default funtion in the ST library.

I recommend that you can use usart idel interrupt+DMA transfer to comlpete your project;