Hi Krishnaja,
In this case - the SDK based example is the correct one "pit_periodic_interrupt_mpc5748g". Well, I think that right now is good time for starting with - at least - some basic documentation. With default install path you can find SDK documentation in c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\ folder.
Anyway - you can use PINS_DRV_SetPins() or PINS_DRV_ClearPins() functions for turning LED ON or OFF.
jiri_kral_0-1612971294617.png
Jiri