This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uart udma 中断中使用Semaphore_post 容易出错

Other Parts Discussed in Thread: SYSBIOS

你好,我使用uart udma中断接收串口数据,在中断里面调用Semaphore_post ()给外面的任务一个同步。现在的现象是收到几个数据后,会出现

ti.sysbios.knl.Task: line 383: E_spOutOfBounds: Task 0x2003566c stack error, SP = 0x2002f69c.
xdc.runtime.Error.raise: terminating execution

这样的调试信息。 Task 0x2003566c  是idle任务,使用ROV观察,idle任务的stack使用情况是,stackPeek 400,  stack size 2048.      stack也不小啊,如果不调用Semaphore_post (),不会出错。能帮我看一下是什么原因吗?