Hi,
I am using MPC5748g controller. I want to ON a LED1 for 2 minutes(using timer) and then OFF LED1 and also ON LED2 for different time period using timer.
Please suggest me possible solution.
Thanks,
Krishnaja
Hi Jiri,
Thank you for the reply!
Actually, I want to ON a GPIO pin / LED and start a timer immediately.
In "pit_periodic_interrupt_mpc5748g" TOGGLE function is used. And in "timing_pal_mpc5748g" callBack is used, please suggest a timmer without call back.
So please suggest accordingly.
Krishnaja
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