I'm wondering what would be the best method to interface to a raw output Delta Sigma Modulator like the AMC3306. Min/Max clocks are 9/20 mhz. For what I need, simple totals would suffice, for example if I count 10000 bits in 20000 cycles I know I am at the half point.
I've considered SPI/I2S, Timers, and direct DMA to IO.
SPI/I2S issues: large volumes of data, this would probably have to be configured to read on demand. The data would also have to be post processed to count total bits. Also, the ADC really wants a continuous clock, so either I continually generate clocks or use an external clock and use slave SPI.
Timers, I'm unclear how this would be configured. Ideally this would simply add 1 bit per clock if high.
Direct DMA, probably not fast enough, also unclear how bits would be counted.
Any other ideas or suggestions? The STM32 has ASFDM, but the stock...