I am trying to configure PIT timer to take ADC and RTC reading in every 5 second. But it is never coming to PIT handler to turn on flag as one, so that it will enter into loop and takes the reading. I can't understand where it is going wrong.
For configuring PIT, what I provided is listed below.
/*initialize clocks*/
CLOCK_DRV_Init(&clockMan1_InitConfig0);
/* Install PIT ch0 handler*/
INT_SYS_InstallHandler(PIT_Ch0_IRQn, &pitCh0Handler, NULL);
/* Initialize the timer module*/
PIT_DRV_Init(INST_PIT1, &pit1_InitConfig);
/* Initialize the timer channel 0*/
PIT_DRV_InitChannel(INST_PIT1, &pit1_ChnConfig1);
/* Start the counter for channel 0*/
PIT_DRV_StartChannel(INST_PIT1, 0U);

Note: I am using MPC5748G DevKit.
I am attaching the project and the screenshot of pit component Inspector. Please help me.