Hello All,
I have configured 6 channels on adc2 group1 and I wish to use direct memory address to read the channel data.
In continuous conversion mode, my results are randomly changing in the buffer. For example
In iteration1 : buffer 0 - ch 0
buffer 0+4 - ch 1
buffer 0 +8 - ch2 and so on.
iteration 2:
buffer 0 - ch 4
buffer 0+4 - ch 5
buffer 0 +8 - ch1
buffer 0 +12 - ch3
buffer 0 +14 - ch0
So after iteration 1, my channels are randomly converted and occupies buffer. But according to TRM after every iteration buffer 0 should hold channel 0 data.
Note that in my case OVR_RAM_IGN = 1, so buffers are always populated with new data always.
Data's are populating correctly. but the channel sequence are not maintained correctly. Please help me.
Also I have followed this:
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1242284/tms570ls1114-adc-memory-configuration-for-circular-buffering/4697721#4697721
Regards,
Pratik