I have an application where the ADC channels (ADCRESULT0 though 15) are copied using DMA to the McBSP at 20kHz. The DMA is triggered asynchronously with respect to the ADC.
Infrequently the data becomes corrupted, about once every few seconds.
Surprisingly there is absolutely no data courruption after connecting to the XDS510 emulator and free running. Operation continues without problem even if the emulator is disconnected through software afterwards. The problem recurs after a cold reboot.
Is free running with the XDS510 expected to make the TMS320F28335 function differently? Are there registers configured when connecting the XDS510 for a debugging session?
Can the DMA safely read ADCRESULTn registers while the ADC is writing them?
Thank you for your help.
Greg