PDA

View Full Version : Difference between HPWM and PWM



shaiqbashir
- 14th May 2006, 05:26
Hi guys!

well! i have connected two single Hi Speed Mosfet drivers ICs named as TC4420 with my PIC pins. I want to run a simple DC Motor. Now im using the PWM which is running the motors successfuly. What im interested is the HPWM. I want to know the difference between PWM and HPWM, and which one is more effective for running a DC motor?

i have a 12V motor.

and one thing more, im using PIC16F84A.

Thanks in advance!

take carez

Good Bye!

Melanie
- 14th May 2006, 09:09
HPWM uses the HARDWARE PWM MODULE within your PIC. It allows your program to do other things whilst it happilly functions in background.

PWM generates a PWM string of the duration specified by the PWM command. It then STOPS whilst your program executes other commands.

When you've downloaded the Datasheet for the PIC16F84A you will discover it doesn't have a Hardware PWM Module, so you can't use HPWM with this chip even if you wanted to.

Read the Datasheet!!!