2016-03-08 07:40 AM
2016-03-08 08:02 AM
DMA is a basic tenet of Computer Architecture, review standard texts if required.
It is like a hardware memcpy(), paced by the peripheral.The samples appear inADCTripleConvertedValues[0] ADC1, Channel 1ADCTripleConvertedValues[1] ADC2, Channel 1ADCTripleConvertedValues[2] ADC3, Channel 1ADCTripleConvertedValues[3] ADC1, Channel 2...ADCTripleConvertedValues[0 + (SAMPLES / 2)]ADCTripleConvertedValues[1 + (SAMPLES / 2)]ADCTripleConvertedValues[2 + (SAMPLES / 2)]...For the respective HALF of the buffer, as filled at HT (Half Transfer) and TC (Transfer Complete)2016-03-08 08:05 AM
You should use the other example, you clearly don't understand the Triple mode version you hacked up here.
You have to think about how it functions as a whole, not change a handful of parameters and ignore the relationships.