To Trigger Command/Data Flow from CQueey to CFIFO

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

To Trigger Command/Data Flow from CQueey to CFIFO

跳至解决方案
1,584 次查看
berat24
Contributor III

Hello everyone,

Can I set a timer for commands to move from CQueue to CFIFO? If I can, which register should ı use to select hardware trigger for this aim?

 

 

0 项奖励
回复
1 解答
1,564 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

According you previous threads I suppose this question is related to MPC5777C's eQADC.

We have 3 stages of buffering for eQADC commands:
1) CQueue in system memory
2) CFIFO in local module’s memory and
3) CBuffer in local module’s memory as well
Transfers between 1 and 2 are under control of DMA (triggered when 2 is not full) or Core (thus triggered software way).
Transfers between 2 and 3 are under control of eQADC itself (and are triggered according to CFIFO operation mode)!
When commands are already present in CBuffer, they are immediately performed in sequence with ADC clock tick, there is no other triggering. If one command lies in CBuffer0 and second in CBuffer1, they will be converted simultaneously.

To answer your question - For CFIFO command moving don't use any timer. It is is needed to use 'CFIFO is not full' flag EQADC_FISRn[CFFFX], either by SW polling/interrupt or by eDMA (channels 0-11).

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,565 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

According you previous threads I suppose this question is related to MPC5777C's eQADC.

We have 3 stages of buffering for eQADC commands:
1) CQueue in system memory
2) CFIFO in local module’s memory and
3) CBuffer in local module’s memory as well
Transfers between 1 and 2 are under control of DMA (triggered when 2 is not full) or Core (thus triggered software way).
Transfers between 2 and 3 are under control of eQADC itself (and are triggered according to CFIFO operation mode)!
When commands are already present in CBuffer, they are immediately performed in sequence with ADC clock tick, there is no other triggering. If one command lies in CBuffer0 and second in CBuffer1, they will be converted simultaneously.

To answer your question - For CFIFO command moving don't use any timer. It is is needed to use 'CFIFO is not full' flag EQADC_FISRn[CFFFX], either by SW polling/interrupt or by eDMA (channels 0-11).

 

0 项奖励
回复