Hello
I Use SPI and RTI in my code on C6722 DSP.
RTI Interrupt is enabled and SPI routine is polling approach.
When I use both of SPI and RTI, I get message: “No Source Available For "0x…" .
In this case when below code is polled, “No Source available” message is appeared.
CSL_spiGetHwStatus (hSpi0, CSL_SPI_QUERY_EVT_STATUS, &flagStatus);
When RTI interrupt is inactive, code is running correctly and SPI data is received. Three interrupt of comparator0, comparator1 and comparator2 is enabled. Related code is show in following:
/* Enable the cpu interrupt 4 */
status = CSL_intcEventEnable (CSL_INTC_EVENTID_RTI_INT_REQ0, &state);
/* Enable the cpu interrupt 5 */
status = CSL_intcEventEnable (CSL_INTC_EVENTID_RTI_INT_OVL_REQ, &state);
/* Enabling non-maskable interrupt */
status = CSL_intcEventEnable (CSL_INTC_EVENTID_NMI, &state);
//Enabling Global interrupt
status = CSL_intcGlobalEnable (&state);
for example, when I comment:
status = CSL_intcGlobalEnable (&state);
SPI routine is running correctly and “No source available” message did appear, but in this case, RTI interrupt is inactive