Hey all,
So I am trying to integrate the ETPU PWM (from set1) into a basic structure to set a new duty cycle with an EMIOS mod counter. However, whenever I run the initialization function fs_etpu_init (which is included in the MPC55XX cookbook) an interrupt is generated continuously, nothing else can function. Specifically, it is the interrupt that corresponds to the Loss of Lock. However, I have disabled this option in the PLL config and when I monitor the PLL register it doesn't lose lock.
I am using the MPC5553 with CodeWarrior 5.9. Any help would be appreciated.
Thanks
Hey,
Does your hardware run other applications without this issue? Can you use the PLL to gen system clock with out any issues without this code?
Regards,
dayve
Yes, I had a fully functional program that has just about every component, Clock / EMIOS / EQADC / ESCI / etc. All I did was initalize the ETPU and the ETPU PWM and set a duty cycle based on a change in ADC value and the error occured.
Can you please create a Service Request and we should be able to get an eTPU expert to help you.
Thanks .