changed the TRIS but that didn,t do it,
I only have this line of code:
HPWM 1,127,150 'channel, dutycycle, frequency
pause 20
and its giving me 8.3kHz at 50% DC ......