Bradley Springer

PWM on MCF51JM128

Discussion created by Bradley Springer on Jul 19, 2011
Latest reply on Jul 20, 2011 by Bradley Springer

Hi There

 

I am trying to create a simple PWM signal on my MCF51JM128. Ive already tested the device with timer overflows and output compare mode which work perfectly. However, as soon as I set TPMxCnSC to operate in PWM mode I get nothing out. Its driving me mad.

 

My code is attached

 

Anyone got some advice?

Outcomes