Pumpkin, Inc.

Pumpkin User Forums

timing task using semaphore

For issues specific to TI's MSP430 line of ultra-low-power microcontrollers, including compilers (e.g. Quadravox AQ430), IDEs (e.g. IAR Embedded Workbench) and development tools (e.g. TI MSP-FET430 Flash Emulation Tool).

timing task using semaphore

Postby marcus » Wed Apr 04, 2007 4:50 am

i'm triggering a state machine in a task using a binary semaphore (OS_WaitBinSem) signaled in a interrupt service. From salvo i get warnings like "WARNING - binary semaphore x already set". I worked around by using OSReadBinSem() before setting it but that doesnt satisfy me. The waiting task does not proceed, but OSIdlingHook is executed before OSSched() runs the next time. How can that be?
Greetings Marcus
Posts: 3
Joined: Thu Nov 09, 2006 12:00 am
Location: Germany

Re: timing task using semaphore

Postby aek » Wed Apr 04, 2007 8:17 am

Complete code snippet, please.


Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Return to TI's MSP430

Who is online

Users browsing this forum: No registered users and 1 guest