cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to wake a thread in UART RX completed callback

amir2
Associate
Posted on February 26, 2016 at 05:44

Hello

I have a project using STM32F7-Discovery,and I have a couple of threads including UART thread with real time priority.

I use HAL_UART_Receive_IT() to get data,then I use osSignalWait( 0x01, osWaitForever) while I receive call-back interruption.I have verified that the interruption is occured,but the problem is when I want to wake my uart thread by osSignalSet( UART_ThreadId, 0x01 ) ,the micro controller is hanging,

How can I wake my uart thread ?

Thanks in advance.  
0 REPLIES 0