Hello!
I am currently trying to interface S32K344 with a 24-bit ADC ads130b04-q1 which is expected to run at its max data rate (~32kSPS), via the SPI interface. This ADC features an active low data ready interrupt pin.
The way that I want it to work is that whenever the MCU detects a falling edge on the selected pin, the SPI DMA would immediately get triggered to send out the command to read the ADC DATA.
When such data (4 bytes) has been received, I would like to have it automatically stored. I am assuming that the SPI DMA can also do that for me? So in this case, I may need both the TX and RX channel DMA'ed.
That said, I cannot seem to find a good example linking this procedure mentioned. May anyone please kindly point me to the correct example or examples?
NOTE: I'm using \SW32K3_S32M27x_RTD_R21-11_4.0.0_P01\eclipse\plugins\Spi_TS_T40D34M40I0R0\examples\EBT\S32K3XX\Spi_Transfer_S32K344
Thank you very much in advance!