Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Dear support Team,
first of all, thank you for the fast reply to my previous question: https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/820493?CCS-TMS570LC4357-Read-multiple-ADC-channel-values-from-memory-with-DMA.
Thanks to that, i finally managed to receive some data from my ADC. However, the data doesn't seem to be correct.
The problem is, that only one channel conversion seems to be transferred. I send a constant signal of ~2.4 V to each of the three ( Channel 0, 7 and 18 are marked as active in HALGOGEN in adc group 1 ) adc channels. As you can see in the attachements, i try to get the results by addressing the ADC1 group 1 memory adress. For test purposes, I connected the signal to only one channel. Independently from the channel connected, the ADC1GROUP1 channel 0 adress delivered the right result ( ~ 3000 with an 12 BIT resolution ), whereas the other adresses had constant results of ~30500 and ~75000. So from my (beginner) point of view, it seems that all channel results are transferred to the adc1group1 base adress ( channel 0 ), instead of stacking up on each other until the group memory boundary is reached.
P.S. When i don't use DMA and just poll the results, i can see that the channels are active and deliver the right results. So it seems to be an DMA ADC configuration issue.
Thank you and kind regards,
Sebastian