Exception is received when using PIT & FreeRTOS

cancel
Showing results for 
Search instead for 
Did you mean: 

Exception is received when using PIT & FreeRTOS

316 Views
dazhou0503
Contributor I

Using SDK RTM 3.0 with S32DS for the MPC5748G.
 
I opened the example  freertos_mpc5748g  project, from the supplied examples, the code runs as expected.
However, when I add a pit interrupt component and try to call the interrupt callback the core jumps to uSDHC_DriverIRQHandler although this module is not active.
If I use the same pit interrupt code without FreeRTOS, all works fine as well.
 
Has anyone seen this issue?

Tags (2)
0 Kudos
1 Reply

209 Views
petervlna
NXP Employee
NXP Employee

Hi,

This sound to me like you haven't PIT interrupt priority higher than uSDHC interrupt.

Have in mind that OS is serving interrupts instead your INTC handler in non OS example.

 regards,

Peter

0 Kudos