User manual

Example Projects
© 2006 Microchip Technology Inc. DS51557C-page 45
Instructions
Use POT1 to adjust the speed of the motor. SW2 toggles between the following four
modes of operation:
•Motor Off
•Forward
•Motor Off
Reverse
Discussion
The ECCP module is ideal for driving a full-bridge circuit. Dead-band Delay Control and
Automatic Shutdown are some of the other features of the ECCP module when
configured in PWM mode. Dead-band Delay Control allows you to control when the
MOSFETs in the full-bridge circuit are turned on and off, in relation to one another. This
is done in order to automatically account for the MOSFET turn-on and turn-off times.
Automatic Shutdown allows you to define the shutdown state of the ECCP when a
shutdown event occurs.