freq of PWM.C sample?

Greetings,
I’m new to the Rabbit micro and I’m working through the example programs. The ‘pwm.c’ sample documentation says it produces a PWM output with an adjustable duty cycle and 42 Hz. When I load the code, I see the adjustable pulse width, but the frequency is way off. With an oscilloscope, the period is roughly 95 uSec -> 10.5 KHz. Is this correct? Can anyone verify this? Thanks for your time.

Cheers,
JMA

[QUOTE=JMA_1;77]Greetings,
I’m new to the Rabbit micro and I’m working through the example programs. The ‘pwm.c’ sample documentation says it produces a PWM output with an adjustable duty cycle and 42 Hz. When I load the code, I see the adjustable pulse width, but the frequency is way off. With an oscilloscope, the period is roughly 95 uSec -> 10.5 KHz. Is this correct? Can anyone verify this? Thanks for your time.

Cheers,
JMA[/quote]

What module/board are you running this on? The PWM.c sample is a board specific sample for the BL2100 SBC. A more generic PWM sample would be PWM_TEST.c in the sample/Rabbit3000 directory.