Hello,
Since I am really not sure which example you use.
Have a look at few of ours to understand how it works:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445#MPC5744P
Also the eTimer examples are in S32DS example projects:
Best regards,
Peter
Hello,
I am using this routine, that is, etimer initialization starts the interrupt
Well, that is not eTimer initialization function. That it interrupt service routine where you clear eTimer interrupt flag and toggle the pin state where is some LED connected.
how is the interrupt into the interrupt function?
Simply refer to reference manual INTC chapter for details:
In short:
1. eTimer interrupt flag is set
2. IVOR4 exception handler is called if priority is set in INTC for such interrupt.
3. In IVOR4 there is jump to address (offset set interrupt vector table) of ISR
First read trough reference manual, then check examples. If you need drivers, you can use autosar ones.
Best regards,
Peter