Microchip Technology AC164128 Data Sheet

Page of 12
 www.microchip.com/motor 
3
 
The PIC12F and PIC16F product families have an 8-bit 
CPU that can operate at speeds up to 5 MIPS. Device 
variants in the PIC12F family have 8 pins, while PIC16F 
variants are offered in 14-pin through 64-pin packages.
Some variants in the PIC16F family have one or more 
Enhanced Capture Compare PWM Peripheral (ECCP) 
modules. The ECCP module is optimized for controlling 
½ bridge or H bridge motor drive circuits. It can also be 
used to steer PWM control signals among 4 output pins 
for BLDC motor commutation or stepper motor control. 
The PIC12F and PIC16F device families have these 
features for low-cost motor control applications:
 
Up to 5 MIPS execution speed
 
One or more Enhanced Capture Compare PWM 
(ECCP) modules
 
Comparator with input multiplexer
 
8-bit or 10-bit ADC
 
Internal RC Oscillator
 
Internal 5V Shunt Regulator
PIC12F and PIC16F Microcontroller
Product Family
PIC18F Microcontroller Product Family
The PIC18F product family also has an 8-bit CPU and 
offers extended performance over the PIC16F device 
family. The PIC18F device family can operate at speeds 
up to 12 MIPS and has a hardware multiplier for faster 
calculation of control algorithms. There are variants 
in the PIC18F family with specialized motor control 
peripherals, including a 3-phase motor control PWM 
peripheral and a quadrature encoder interface (QEI). 
Other PIC18F variants have the ECCP module found 
on the PIC16F device family. Source code developed 
for the PIC16F device family can be easily migrated 
to the PIC18F family. Devices with the motor control 
PWM module are well suited for variable speed 3-phase 
motor applications, while devices with the ECCP module 
are useful for brush DC and stepper motor applications. 
The PIC18F family has these features useful for 8-bit 
motor control applications:
 
Up to 12 MIPS execution speed with hardware 
multiplier
 
Motor Control PWM Module with up to 8 Outputs
 
Motion Control Feedback Module for Quadrature 
Encoders
 
One or more Enhanced Capture Compare PWM 
(ECCP) modules
 
10-bit ADC with up to 200 ksps sample rate
 
Up to 3 Internal Comparators
Which MCU or DSC Should You Choose?
Microchip provides many devices that can be used in motor control applications. 
Microchip makes many families of MCUs and DSCs, 
including 8-, 16- and 32-bit solutions. All of these can 
be used in motor control applications. However, some 
families contain special motor control peripherals and 
features as described below. With all of these families, 
the motor control designer can choose the level of 
functionality and performance that is required for the 
application.
The 6-pin products of the PIC10F family offer the motor 
control designer an opportunity to use microcontrollers 
in applications that have historically been void of 
such devices. Whether it is cost or space constraints, 
PIC10F microcontrollers address these concerns by 
providing a pricing structure that makes them nearly 
disposable with form factors that can easily be 
implemented into the most space constrained designs. 
The ADC, comparator and timer peripherals found in 
the PIC10F device family can be used to provide a user 
interface for basic on/off control, speed control and 
other intelligent motor functions. The PIC10F features 
include:
 
Up to 2 MIPS execution speed
 
2x3 DFN or 6-pin SOT-23 package
 
Internal oscillator
 
Comparator
 
8-bit ADC
PIC10F Microcontroller Family