I have test the NXP-example about hello+pll+interrupt. It works well,PIT0 generates the interrupt in Core 0 and toggles the DS4 LED at every 1s.
I'm trying to do it by myself and i created a project.
1.enable the interrupt
3.Enable PIT module and Initialize PIT0
4.In interrupt routines,DS4 = ~DS4;
but it doesn't work...why?
attachment is my project.
Original Attachment has been moved to: button.zip
Thanks for your apply.
I set the interrupt priority at “pit.c”
I think i found this problem . I didn't define PIT0 in "intc_SW_mode_isr_vectors_MPC5748G.c",It should be 226 ,and the dummy should point to PIT0_isr().
Am i right？