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.

CCS: AM335X, HWI, Semaphore, Thread

Tool/software: Code Composer Studio

Hello

I work with AM335X, OS is RTOS 2.00.01.23.

I have some HWI, some threads and some semaphores.

In HWI I make semaphore_post and in one thread I make semaphore_pend. Semaphore of course is created before.

It works well, but there is a problem: in HWI semaphore_post works but some times semaphore_pend doesn't work. This thread has the highest possible priority - 15.

What is going wrong?

Another question: why almost all events has error?