AnsweredAssumed Answered

freeRtos & usarts interrupt

Question asked by roozitalab.alireza on Feb 9, 2013
Latest reply on Feb 12, 2013 by Clive One
hello every one

i use stm32f107 and i want to use freeRtos and usart1,usart2 interrupts at the same time (only RXNE interrupt)
but ofter many usarts interrupt micro controller get fault

if i remove usarts interrupts or freertos the program work correctly

how can i fix this
the priority of usarts tasks is the same ( 1UL | portPRIVILEGE _BIT)
and the priority of usart1 interrupt is 44
and the priority of usart2 interrupt is 45


thanks for helping me

Outcomes