Hi,
on a RM48HDK I'm using a complicated chain of devices to perform a fast continuous acquisition from an external device (an infrared array). Currently I'm experimenting some reset problem because on sequential restart of my acquisition sometimes the last pixel of my array goes on first position. Probably I have some reset problem.
I cannot enter in detail here but that's the device chain:
- the RTI compare1 generate approx 1MHz DMA request
- the DMA CH0 on every request changes the HET1 DOUT state to feed my array and the ADC2 too
- the ADC is triggered by the HET1[14] and every conversion generate a DMA request
- the DMA CH2 on every ADC request moves a single ADC sample into a large buffer
- the DMA CH2 uses the HB and FB interrupt to call my "send data" function
All works flawless exept for the problem above. On every restart I perform the complete setup of the chain to be sure of a consistent behaviour throught sequences.
Perhaps my startup setup forgot to reset somthing and a DMA request remain appended somewhere but how to be sure to completely reset every device? Any suggestion?
Thank you,
Matteo