Part Number: AM5718
Hi
I would like to attach an ADC to the SPI interface of an AM5718 device.
The AM5718 is the SPI master.
Additionally to the SPI interface the ADC has a "Start of Conversion" (SoC) input and a "Busy" output.
I would like to do this:
1. generate an SoC pulse (>20ns)
2. trigger a DMA on SPI TX to start read out when "Busy" has become inactive (low)
3. trigger a DMA after SPI has received a word from the ADC
4. optionally trigger another SoC
and so forth...
Is there a "best practie" to generate the SoC without CPU intervention?
E.g. automatically as long as the DMA has more data to receice or transmit from/to ADC?
I woul like to read the ADC from the DSP part (C66x) of AM5718 (don't know if this matters)
Regeards,
Markus