How to capture NDTR of ADC DMA on timer event
Hi,
on H723... I'm trying to configure a DMA on TIM5 CC3 event (DMA1 Stream 0 P2M) to capture the current NDTR value of another stream (DMA1 Stream 1 P2M) (to record where that DMA just put data from ADC into a ring buffer at the time of the CC3 event).
On the previous platform where I tried it (a F427), it was impossible, due to the fact that DMA1 can't access the NDTR of DMA2 stream as a peripheral register.
But on H723, the system architecture/bus matrix looks like it could be possible, both streams are controlled by the same DMA (DMA1) (maybe that's the problem)
Or did I miss something? I ended up getting data into the buffer synchronous to TIM5 CC3 but it doesn't look like the expected NDTR values at all.
Thanks for your thoughts,
Kolja