I am using only one channel in ADC2 Group1 for sampling current. Can I set a word length of 1 in ADC2 memory configuration? I can set only integer values in BNDB value ? I am getting only minimum 2 word length. Is there any configuration for that?
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.
I am using only one channel in ADC2 Group1 for sampling current. Can I set a word length of 1 in ADC2 memory configuration? I can set only integer values in BNDB value ? I am getting only minimum 2 word length. Is there any configuration for that?
Hi Sachin,
The ADC stores the conversion results in 3 separate memory regions in the ADC results' RAM. Each memory region is a stack of buffers, with each buffer capable of holding one conversion result.
The number of buffers allocated for each group is programmable. The minimum buffer for each region is 2.
Hello Sachin,
You can read the conversion results directly from ADC RAM.
The ADC2 result memory is: 0xFF3A0000
If the ADC2 Event group has 8 buffers, and Group1 has 2 buffers, you can read the Group1 Buffer 1 at 0xFF3A000+(8-1)*4 + 1*4 = 0xFF3A020