eQADC and SW-triggered conversions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eQADC and SW-triggered conversions

ソリューションへジャンプ
1,610件の閲覧回数
yvesbriant
NXP Employee
NXP Employee

Hi,

I am facing a weird behaviour of the eQADC module, when triggerering a conversion by SW: a CFIFO underflow is reported (FISR[CFUF]) , whereas I filled the CFIFO just before launching the conversion, with the last command having the EOQ bit set.

I am suspiscious about the way I generate the SW trigger: I write the SSE (SW trigger) bit and the MODEx field (selection of SW trigger single scan) of the register CFCR in the same instruction. The issue tends to disappear when I use two instructions to write each bit field. However I could not find any note in the RM that could back-up this hypothesis.

So should the CFCR[SSE] bit be written to individually to launch a SW triggered conversion ?

タグ(3)
1 解決策
1,416件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, SSE bit and the MODEx is possible to write at once by
EQADC_A.CFCR[0].R=0x0410

See my example here where I am doing it just this way and it works fine:

https://community.nxp.com/docs/DOC-105723 

元の投稿で解決策を見る

1 返信
1,417件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, SSE bit and the MODEx is possible to write at once by
EQADC_A.CFCR[0].R=0x0410

See my example here where I am doing it just this way and it works fine:

https://community.nxp.com/docs/DOC-105723