Hey
I think I miss something here.
I got a nrf52832 Chip on the MDBT42Q – 512KV2 Module by Raytac. Now I try to communicate with an ADC from TI via SPi, which works fine. I'm using Zephyr for this. The ADC triggers an GPIO Interrupt with a 1000Hz frequency. In the Interrupt handler I receive the data via SPI. Receiving the data in the work queue does not change anything.
Measuring the time consumption for calling the spi_read() function shows ~400us for 120Bytes (8Mhz since is max.). Cause I need to receive data every 1ms, this is a lot. The timing is measured with a gpio toggled high/low.
Now I tried an asynchronous approach, activated:
CONFIG_POLL=y