Having a very strange issue. I've narrowed it down the the PWMout command, but I can't figure out what's going on.
With just a basic download circuit and an 08M2, using a PWMout C.2, 221, 500 command, the PWM output will work properly putting out 4500hz up to around a supply of 3.3V, above that it goes completely wonky and puts out around 11hz. I also hooked up an LED to visualize it.
If I bring the duty cycle up past ~800 or so then C.2 just goes completely high, with supply above 3.3V.
I've tried with 3 different chips and exact same thing with each. I also tried with battery power supply to rule out mine malfunctioning.
It's late and I must be doing something terrible stupid, but for the life of me I can't figure out this simple little issue. Anybody else have this problem before?
With just a basic download circuit and an 08M2, using a PWMout C.2, 221, 500 command, the PWM output will work properly putting out 4500hz up to around a supply of 3.3V, above that it goes completely wonky and puts out around 11hz. I also hooked up an LED to visualize it.
If I bring the duty cycle up past ~800 or so then C.2 just goes completely high, with supply above 3.3V.
I've tried with 3 different chips and exact same thing with each. I also tried with battery power supply to rule out mine malfunctioning.
It's late and I must be doing something terrible stupid, but for the life of me I can't figure out this simple little issue. Anybody else have this problem before?