eQADC and SW-triggered conversions

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

eQADC and SW-triggered conversions

跳至解决方案
1,601 次查看
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,407 次查看
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,408 次查看
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