cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with: ADC continuous read with DMAMUX SPI RX using EXT0 signal.

fma23
Associate II

I am trying read continuously from an external ADC. I want to use DMAMUX to do an SPI read from the ADC via SPI RX (MISO) without interrupting the MCU. I have an external data ready signal that gets low whenever data is ready. I want to use this external data ready signal EXI0 in my case to make a DMA request for SPI read via SPI MISO line. Each read is a 3 Bytes and I want to assign a buffer of 3000 words so that I get an interrupt only after the buffer is full. I followed the example we have for STM32H743, but I am still not able to send a DMA request for read whenever the signal data ready goes low. I tested the SPI it is working and also the data ready signal: it keeps toggling once I starts the ADC. I attached copies of my code.

Could anyone please look at how I wrote my code and tell me what I am missing here.

1 REPLY 1
fma23
Associate II

Can any STM engineer help?