s32k144 FreeRTOS with DMA interrupt is stuck in configASSERT

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

s32k144 FreeRTOS with DMA interrupt is stuck in configASSERT

941 Views
ananan
Contributor III

S32K144 transplant FreeRTOS, enter DMA interrupt program stuck in  configASSERT( ( portNVIC_INT_CTRL_REG & portVECTACTIVE_MASK ) == 0 ),As shown in the figure below

ananan_0-1630458779516.png

PortNVIC_INT_CTRL_REG changes from 0x400000 to 0x400813, DMA priority set to 13, The configMAX_SYSCALL_INTERRUPT_PRIORITY and configKERNEL_INTERRUPT_PRIORITY Settings are shown in the following figure

ananan_1-1630458984688.png

How should solve this problem, ask ace to help, very grateful

0 Kudos
2 Replies

922 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

what is called in DMA interrupt?

lukaszadrapa_0-1630499710084.png

Regards,

Lukas

0 Kudos

915 Views
ananan
Contributor III

the SPI is called,and the vPortEnterCritical is in this SPI,you mean that the vPortEnterCritical can not be called in the DMA interrupt?

0 Kudos