Hi Lukas:
In one of sample examples "adc_pal_mpc5748g", OSIF_TimeDelay is actually returned accordingly by "stepping over" in debug mode. I stepped through OSIF_TimeDelay in this sample code. PIT_MCR freeze actually set set to 1 in function "osif_UpdateTickConfig":
#if FEATURE_OSIF_PIT_FRZ_IN_DEBUG
base->MCR |= PIT_MCR_FRZ(1u); /* stop the timer in debug */
#endif /* FEATURE_OSIF_PIT_FRZ_IN_DEBUG */
But, when I set up my own project, "stepping over" in debugging on "OSIF_TimeDelay" won't be returned. Is there any other setting or component being missed in my project?
For my setup:
- MPC5748 EVB
- PEMirco Multilink Universal
- SDK PA RTM V3.0.3
Thanks
James