AnsweredAssumed Answered

SH8 problem.

Question asked by Derek Jones on May 27, 2019
Latest reply on May 29, 2019 by Derek Jones

I am having troubles with PWM on the HCS08SH8. I have a simple program to control the brightness of an led. I wrote it a couple of months ago using a QD4 demo board. When all was working as I wanted it to, I loaded the program on to an HCS08QG8 where it worked fine. Needing another couple of I/O's, I decided to switch to the HCS08SH8 device. On this device the program fails in a strange way. When the modulation reaches about 50%, the waveform collapses to a spike, only to recover again at about 55%. What is going on? The program works fine on the other two devices.

Hope someone can shed some light on this problem.

Best regards,

Derek Jones.