i am confuse about using HPWM...
can we use HPWM in pic16f84a?
what is the meaning of channel HPWM command?
my target project now is to control the rotation speed of dc motor.
i am confuse about using HPWM...
can we use HPWM in pic16f84a?
what is the meaning of channel HPWM command?
my target project now is to control the rotation speed of dc motor.
Hi,
PIC16F84 does not have a hardware PWM peripheral on it and thus cannot be used with the HPWM function. For this you need a PIC that supports it. Basically in a Harware PWM you just program your PWM once and it goes on in the background without any software intervention.
Regards
Sougata
Hi,
The HPWM command uses the chips CCP module(s) but the 16F84A doesn't have any so it won't work. Look at the, for example, 16F628 instead.
Some PIC's have more than one CCP module and the value channel specifies which of them you want to use. The command supports channel 1 and 2 only.
/Henrik Olsson.
Bookmarks