Hello Carlos,
What version of CodeWarrior are you using?
I would like to know your IDE version in order to give you a PWM sample code.
As you are using an 8 bit MCU, you can program it with the Classic CodeWarrior version (6.3) or with the current version (10.6).
David