Hello all,
I'm using a omap l138 with sysbios 6.33.04.39.
My problem is that I try to protect one of my function(SPI_ADC, this function read the values on a ADC) that I call in a task and a swi(timer interupt). I can't use semaphore because there are only use in the task. Can I use something else that I will able to pend and post in the swi and a task. Like that I will protect the function to be call in two place at the same time. I try GateMutex, event and sync but the problem is they all using the semaphore function...
I now the easy way will be to create 2 function(SPI_ADC_TASK and SPI_ADC_SWI) but this will not politically correct :)
Thank for your help