cancel
Showing results for 
Search instead for 
Did you mean: 

Task on GTM DPLL loss lock callback in ECU?

jmary
Associate III

Anyone here do ECU project with GTM on SPC57?

what task/function should I add on loss lock callback of the GTM DPLL? I saw some samples project, they switch to half cycle ( 360 degree ) on the loss lock callback event. but I still have no clue the benefit of this such task. perhaps anyone here have some suggestions.

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

There is a nice example in SPC5Studio

Have you checked this application ?

SPC572L64E3 ECU_ENGINE_LIB Test Application for Discovery

        Best regards

                        Erwan

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee

There is a nice example in SPC5Studio

Have you checked this application ?

SPC572L64E3 ECU_ENGINE_LIB Test Application for Discovery

        Best regards

                        Erwan

Yes, I had. The problem with the sample code there, after lost lock event the code then reinit the GTM. But then the pmt register became invalid.