Hi Team,
I'm trying to configure ADC BCTU list configuration for hardware trigger. I need some clarification on the configuring channels in ADC0 and ADC1 instances.
For Example,
ADC0 - P0 ChanNum0
ADC1 - P0 ChanNum0
Both instances ADC0 and ADC1 has P0 ChanNum0. Please help to configure both instances with same channel number in the BCTU list.
yes, you can refer to "not_a_duck's reply",
As your requirement:
ADC0-P0 ChanNum0
ADC1-P0 ChanNum0
your ADC target mask is correct.
but you need an entry for each channel you want to to sample for each adc.
so if you have adc 0 and 1. you target mask is 0b11 or 0x3.
if you wanted to sample ch0 ch2 and ch3. you bctu list should be.
-ch0
-ch0
-ch2
-ch2
-ch3
-ch3
@not_a_duck and @Senlent
Thank you for clarifying on the BCTU list configuration for two instances.
Can list configuration be in any order, please confirm?
For example,
if we have adc 0 and 1 and wanted to sample ch0 ch2 and ch3.
-ch0
-ch3
-ch2
-ch0
-ch2
-ch3
@Senlent ,
Can you please help me by providing sequence for below ADC 0 & ADC 1 instances
ADC0 - P0
ADC0 - P1
ADC0 - P3
ADC0 - P4
ADC0 - P5
ADC0 - P6
ADC0 - S8
ADC0 - S9
ADC0 - S10
ADC0 - S11
ADC0 - S12
ADC0 - S13
ADC0 - S14
ADC0 - S15
ADC0 - S16
ADC0 - S18
ADC0 - S19
======================
ADC1 - P0
ADC1 - P1
ADC1 - P2
ADC1 - P4
ADC1 - P5
ADC1 - P6
ADC1 - P7
ADC1 - S13
ADC1 - S16
ADC1 - S17
ADC1 - S18
ADC1 - S19
It's too much to list them all, below is similar as your needs.
ADC0->P0,P1,P2,P3,P4,P5,P6,P7
ADC1->P0,P1,P2,P3,P4,P5
@Senlent ,
Thank you for sharing the bctu list sequence.
I see P0 is again configured in the list with P6 and P7. Please confirm on this
yes, please have a test first ,the ADC1-P0 will be sampled twice.