Hi Steve,
May be I don't explain me very well ( sorry about my English ! )
Im concerned why using PBP HPWM function the max freq be 32767 Hz.
DEFINE CCP1_REG PORTC 'Hpwm 1 pin port
DEFINE CCP1_BIT 2 'Hpwm 1 pin bit
DEFINE HPWM2_TIMER 1 'Hpwm 2 timer select
HPWM 1,127,32767 ' Send a 50% duty cycle PWM signal at 32767 Hz
( PBP MANUAL : The highest frequency at any oscillator speed is 32767Hz )
Settings manually the registers and don't use PBP HPWM function i can get too much frequency range to the ouput of PWM .
Best Regards
Sunny
Bookmarks