BCTU List Items

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,392件の閲覧回数
PINKMAN
Contributor III

hi experts:

I used two ADC instances ,ADC0 has  4 channel p0 p1 p2 S9 ADC1 has 2channels P0 S8. i want to use PIT-->TRGMUX--> BCTU-->ADC0&ADC1.

my confusion is that ,how to config the BCTU List Items.i know that ADC target mask should be 0b11 standfor ADC0&ADC1

but what is hard to understand is that BCTU List Items, i have 6 channels , when the watermark nofify ,

the BctuDmaFifo[0] is ADC0_P0? 

the BctuDmaFifo[1] is ADC0_P1?

the BctuDmaFifo[2] is ADC0_P2?

the BctuDmaFifo[3] is ADC0_S9?

the BctuDmaFifo[4] is ADC1_P0?

the BctuDmaFifo[5] is ADC1_S8?

 

OR 

the BctuDmaFifo[0] is ADC0_P0? 

the BctuDmaFifo[1] is ADC1_P0?

the BctuDmaFifo[2] is ADC0_P1?

the BctuDmaFifo[3] is ADC1_S8?

if so ,what about the channels left, it make no sense,it's hard to underdstand

 

there is a demo picture, i still can't understnd

PINKMAN_0-1750513383552.png

 

 

 

 

0 件の賞賛
返信
1 解決策
1,341件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you do multiple parallel conversions, then the items in BCTU list are taken in pairs (triples), so if demo picture shows parallel conversion on ADC0&ADC1 (mask=3) then the meaning of list on picture is correct.

For your desired conversions you need to add two dummy samples for ADC1, for example repeat previous two. In the BCTU list you will have 8 items
p0  ... ADC0
p0  ... ADC1
p1   ... ADC0
s8  ... ADC1
p2   ... ADC0
p0  ... ADC1
s9   ... ADC0
s8  ... ADC1

Mark last channels properly and set watermark = 7

BR, Petr

元の投稿で解決策を見る

2 返答(返信)
1,342件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you do multiple parallel conversions, then the items in BCTU list are taken in pairs (triples), so if demo picture shows parallel conversion on ADC0&ADC1 (mask=3) then the meaning of list on picture is correct.

For your desired conversions you need to add two dummy samples for ADC1, for example repeat previous two. In the BCTU list you will have 8 items
p0  ... ADC0
p0  ... ADC1
p1   ... ADC0
s8  ... ADC1
p2   ... ADC0
p0  ... ADC1
s9   ... ADC0
s8  ... ADC1

Mark last channels properly and set watermark = 7

BR, Petr

1,324件の閲覧回数
PINKMAN
Contributor III

I got it. Your explanation has very accurately resolved my confusion, and "dummy sample"  is quite interesting.

0 件の賞賛
返信