Feasibility of design concept using extern adc + stm32 gpio + dma
Hi,
I am working on custom design using stm32h743zi with ad9269 16bit 20MSPS ADC. Since I am a newbie for this kind of design and I needed to consider all the analog & digital part at the early stage of design, I just simply connected the adc outputs (16 bits) to stm32h7's gpio ports at the beginning. Now I realized that this kind of configuration is so foolish, and I am now in trouble to read the fast switching adc outputs (20 MHz) from stm32h7 directly.
I understand the fundamental solution would be re-designing (e.g. add FPGA), but at least I want to try do something within current design. Now I think if it possible to read adc outputs for a certain time interval (e.g. 100 us) by suspending most of the stm32h7's functions during the read operation.
There is a data clock output signal (20 MHz) from ADC, which is also connected to one of the gpio pin of stm32h7. Based on external interrupt from this pin, I'd like to request DMA transfer from gpio pins (16 bit adc outputs) to SRAM (I found only EXTI0 is accessible for direct DMA request at CubeMX). I wonder this kind of thing is actually possible or just a silly idea.
- HCLK of stm32h7 ~ 380MHz, ADC data clock output = 20 MHz
I really appreciate for the any kind of comments.
Thanks!
Regards,
Seongjun