Quote Originally Posted by jmgelba View Post
18F2550 running on external 20mhz resonator. I'm trying to get HPWM 1 to run at 30KHz and HPWM 2 to run at 1KHz. Both appear to run at 1KHz. Any way around this?

The 30KHz is being used for a boost switcher and the 1KHz is used as LED dimming on the output of the boost switcher.
On that chip bot hPWM pin's uses Timer 2, so the frequency must be the same.
You can use Software PWM or change Chip.