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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
673 Views
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?

Tags (1)
0 Kudos
1 Solution
651 Views
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).

 

View solution in original post

2 Replies
652 Views
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).

 

642 Views
demian91
Contributor III

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

0 Kudos