Is it possible to generate a signal that indicates sampling time of a ADC externally.
Hi everyone
I have a system that uses a STM32F205 to sample on a signal at 2MHz. I wanna generate a signal that indicates the sampling times of the ADC as im battling with some frequency differences in my system. Interrupts are sadly not an option as it is used for the data acquisition and external communication. DMA requests from the main ADC isnt an option either as it is being used to aquire data and AFAIK it isnt possible to generate seperate DMA requests from a single peripherial.
My current plan and what i have been working on is setting up an identical ADC that doesnt save the sampled data but instead uses its DMA request to initiate a double buffer DMA transfer to a GPIO register. This would ideally generate a signal that switches at each sample.
My questions are:
- Is my method even possible?
- I havent seen any reason for it not to be but it seems like a unorthodox DMA setup so im not sure.
- Is there a better mothod for generating this test signal
