I want to write a program for ADUCM3029 that will receive data and send back via SPI from external AD/DA converter, it could be in slave or master mode AD/DA converter supports both. Is there any example where SPI interrupt implemented, so the interrupt will rise after 3 bytes will be received and after program will run until next interrupt?
There is the example spi_loopback_example(EVAL-ADICUP3029) in the examples from the CMSIS Pack Manager. To set the interrupt to happen every 3 bytes you only have to set the nMode from the function adi_spi_SetIrqmode to 2 and register your callback with adi_spi_RegisterCallback.
Roman_K Did you try the fix mchindris suggested? I am attempting a similar approach but did not work for me.
Unfortunately after some other tests i had to move to faster ADSP processor.