S32K3XX DMA Error Interrupt not visible in INT register

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

S32K3XX DMA Error Interrupt not visible in INT register

ソリューションへジャンプ
1,043件の閲覧回数
RafalK
Contributor II

Hello,

DMA error interrupt seems to not set  CHn_INT[INT] register when triggered.

I configured DMA to work LPSPI on S32K396 EVB and it is working fine. However I wanted to test DMA error handling so I corrupted DMA TCD source address by setting some invalid address.

This is causing DMA channel interrupt to be triggered (I'm using Channel 14 from DMAMUX).

I can see that ERR and SBE bits are set so error was catched correctly and interrupt handler was called for this channel but INT register is zero (see attachment).

According to manual INT register should be set for INTHALF, INTMAJOR and EEI interrupt events.

INTMAJOR event is working but EEI is not.

Am I missing something?

0 件の賞賛
返信
1 解決策
1,003件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

INT and INT_ERR are different interrupt events, it is correct that INT flag is not set in this case.

davidtosenovjan_0-1733309563558.png

It is following field in 14.6.2.3 Channel Error Status (CH0_ES - CH31_ES) supposing to be set (and cleared by w1c during ISR):

davidtosenovjan_0-1733310127190.png

 

 

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,004件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

INT and INT_ERR are different interrupt events, it is correct that INT flag is not set in this case.

davidtosenovjan_0-1733309563558.png

It is following field in 14.6.2.3 Channel Error Status (CH0_ES - CH31_ES) supposing to be set (and cleared by w1c during ISR):

davidtosenovjan_0-1733310127190.png

 

 

 

 

0 件の賞賛
返信