AnsweredAssumed Answered

PWM output signal not working when multilink programmer not connected

Question asked by Fabrizio Impinna on Aug 4, 2015
Latest reply on Aug 5, 2015 by Radek Sestak

Dears,

I am developing an application code on a MC9S12ZVL microcontroller.

 

I have a problem using the PWM2 output signal connested to PT0 port.

The PWM2 output works properly when I download the code on the micro and I keep the Multilink programmer connected (I use that PWM suìignal to drive a LED changing the light intensity and everything works in the right way). If I disconnect the multilink, switch off and then on again the micro, no PWM signal goes out from the PT0 port (PWM2 output does not work).

I use other PWM signal to drive other LEDs and they still work properly even if the programmer is not connected and the code starts from flash.

For the application I made a patch on the board using an other PWM (I used PWM7 instead of PWM2) but I would like to understand the problem for the future.

 

I guess the key point could be in the initialization procedure that the multilink programmer makes when connected.

Could you help me in fixing this problem?

 

Thanks in advance

 

Fabrizio

Outcomes