SDADC - When i use DMA_IRQ_EN set 1, it has an overflow pending - MPC5746R

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

SDADC - When i use DMA_IRQ_EN set 1, it has an overflow pending - MPC5746R

ソリューションへジャンプ
1,298件の閲覧回数
demian91
Contributor III

Hi, i trying to control a SDADC module state that has a DMA Channel that send the result of each conversion SDADC_CDR to the input of DECFILTER the register DECFILTER_IB. I need that the SDADC module works only in a time, activating the SDADC_RSER.GDIGE=1 bit, so i enable the input DMA_IRQ_EN for control through an eTPU channel.

When it turns on the input, it works but always in the start it triggers the overrun flag SDADC_RSER.DFORF, so the DMA not send a new value until clear the flag in an interrupt. it seems that when the input is turn off, the SDADC continue fill the FIFO so i need to stop also the module to prevent trigger the DFORF flag.

Is possible to make that?

タグ(1)
0 件の賞賛
返信
1 解決策
1,276件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

It sounds as description in the following erratum:

davidtosenovjan_0-1652944478038.png

To apply no.2 you will possibly to change XBAR configuration to have higher priority for DMA access than CPU access (for particular XBAR slave).

 

元の投稿で解決策を見る

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

It sounds as description in the following erratum:

davidtosenovjan_0-1652944478038.png

To apply no.2 you will possibly to change XBAR configuration to have higher priority for DMA access than CPU access (for particular XBAR slave).

 

1,267件の閲覧回数
demian91
Contributor III

Where is that? The errata 1N83M is the only it appears in the documents.

0 件の賞賛
返信