Where I can obtain an example of a PWM??
you will find no better source for PCA solutions than the PCA cookbook http://www.intel.com/design/MCS51/applnots/27085101.PDF All modern PCAs I have seen match the old Intel PCA, only some have more clocking options. Erik