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.

BEAGLEBK: Semaphore in TI-RTOS

Part Number: BEAGLEBK

Hi,

I have troubles creating semaphore in TI-RTOS on am335x. I tried :

> creating it in .cfg file :

Program.global.spiTransferSem = Semaphore.create(0);
var spiTransferSem = Semaphore.create(0);

and both ways failed

> creating it main() function

Semaphore_construct(&spiTransferSem, 0, NULL);

Do you have any example with use of semaphores for this board?