I'm trying to communicate between two ADuCM3029, one as master and another as a slave.
I can send data from master to the spi bus and everything works fine.
In the slave side, I want to generate an interruption every time I receive a new data with 16 bits size.
I can generate an interruption using this function adi_spi_SlaveReadWrite from DFP, but this way I need to polling the call of this function.
I tried this *pREG_SPI0_IEN = BITM_SPI_IEN_CS without calling the DFP function, I got zero interruptions.
Is it possible to generate SPI interruptions without using DFP functions?
Thank you for your reply. But I find the root of the problem, inside DFP functions this function NVIC_EnableIRQ(SPI0_EVT_IRQn) is called.
It's so obvious, but I wasn't enabling the SPI0 IRQ.