I there, i just wanna wats the max freq that can be configure using CCS for 877 to supply PWM using CCP pin?
The crystal freq is 20Mhz.
Can it supply 1Mhz-8Mhz PWM signals?
Ttelmah Guest
Posted: Mon Jan 22, 2007 8:47 am
It depends totally on the resolution you require.
With the 16F877 at 20MHz, you can generate a PWM, at say 1.25Mhz. However you will then only have a 4 bit 'width' value supported, with 16 different widths available. At 1MHz, 20 different widths become available. The maximum you can generate, is 5MHz, with just four width values supported.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum