Hello!
I am currently trying to interface my LPC54102 with a 24-bit ADC which is expected to run at its max data rate (~150kSPS), 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 PININT channel, 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 this lib API -> lpc5410x_xpresso54102_keil_iar_v3.04.000
Thank you very much in advance!
#lpc54102