Tool/software:
Hello.
I am reading data from both ADCs and wiring to two buffers.
The ADCs are setup and working fine.
The ADC read values are exactly as expected....
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello.
I am reading data from both ADCs and wiring to two buffers.
The ADCs are setup and working fine.
The ADC read values are exactly as expected....
Do you see the same anomaly in ptr8_buffer1[]? I'm supposing you're using the two sub-buffers in a circular fashion; I (personally) would audit (yet again) for off-by-one arithmetic. I don't see any code here that would be affected by alignment (since bytes are always aligned).
Where are the getMemResult() calls located (ISR vs main)? Also, do you see a pattern in the "wrong" values (e.g. zero, stale, duplicate)? Are you still triggering the ADC from MOSI?