Other Parts Discussed in Thread: SYSBIOS
I would like to know how to trigger an ARM software interrupt using the TI-RTOS API. I am using a GPIO driven by a periodic signal to trigger a callback function. For testing I would prefer not to have to go through the process of generating the GPIO signal externally, but instead create a simple software loop which triggers the software interrupt.
I have found the driver function IntTrigger() which takes as its argument the number of the GPIO interrupt in the NVIC interrupt table. Using this I can generate the software interrupt when I configure the GPIO interrupt using the driverlib API (GPIOP#_IRQHandler(), IntEnable(), ..)
However the IntTrigger() function does not work if I configure the GPIO interrupt using the TI-RTOS API (GPIO_setConfig(), GPIO_setCallback(), GPIO_enableInt(), ...). I would like to use the TI-RTOS API for consistency with the rest of my application code. What is the TI-RTOS API method for triggering a GPIO interrupt via software?
-phil