I have code:
if (SEM_pendBinary(&SEM_collect, DMA_Timeout) == 0)
I've been using this for a while, but now I'm trying to glue the DMA to the SPI. The transmit events are not occurring, so the DMA transfer does not occur. Although I know I need to debug that, I'm concerned that the timeout does not occur. I've seen the timeout occur before I glued the SPI to the DMA, so I'm assuming it is associated with that. Any hints as to why the timeout does not occur? That is, I don't mind that I don't get the TCC interrupt that posts the semaphore. I mind that it doesn't timeout when it doesn't get it.