8-Bit PIC and AVR Microcontrollers

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

8-bit MCUs

8-bit PIC® and AVR® Microcontrollers

www.microchip.com/8bit
Overview

As a designer of innovative products, you have a desire to make technology smart, more efficient and accessible
to everyone.
Microchip has a passion for developing products and tools that make it easier for you to solve your design problems and adapt to
future needs. Our current lineup of PIC® and AVR® MCUs is the pinnacle of innovation in the 8-bit embedded space and incorpo-
rates the latest technologies to enhance system performance while reducing power consumption and development time.

The PIC and AVR MCU brands represent the two dominant architectures in the embedded design universe. With more than 45
years of combined experience developing commercially available and cost-effective MCUs, Microchip is the supplier of choice for
thousands of customers worldwide. With a strong history of innovation in 8-bit MCUs, Microchip’s extensive portfolio has the right
product for any application.

History of Inovation

2 www.microchip.com/8bit
Unified Strength
Microchip’s portfolio of more than 1,200 8-bit PIC and AVR MCUs is not only the industry’s largest, but also offers superior
flexibility and performance in areas of utmost importance to modern embedded designers.

Leadership in Embedded World-class Development Longevity and Legacy


Technologies Experience • Industry recognition for having the
• Core Independent Peripherals with • Separate and dedicated tool best-in-class product non-
minimal CPU overhead chains for both PIC and AVR MCU obsolescence operating model
• Interconnectivity of analog and digital development • Best-in-class legacy support, en-
peripherals • Intuitive graphical configuration tools, suring easy package, pin-out and
• Industry’s lowest power solutions IDEs, compilers and development software migration
(XLP and picoPower® technologies) boards
• Robust touch sensing technologies • Extensive portfolio of libraries and
(mTouch® and QTouch® technologies) support tools
• Widest operating range: 1.6V to 5.5V
• Robustness in hostile environments

Core Independent Peripherals


Today’s cost-sensitive embedded designs require a paradigm shift away from the traditional “Bytes and Megahertz” approach.
Every embedded system contains a combination of common functions, such as power conversion, motor drive, sensor or human
interface and signal generation. By crafting the PIC and AVR MCU portfolios to suit your evolving needs, we can support a wide
variety of functions and applications.

Today’s PIC and AVR MCUs include on-chip Core Indepen-


dent Peripherals (CIPs) that can operate without constant
interaction from the CPU and have the ability to communi-
cate directly with other peripherals to create flexible feedback
loops. These “core independent” blocks of configurable
hardware intelligence require little to no code, consume very
little power and are much smaller than the RAM and Flash
needed to implement the same function in software. Ad-
ditionally, many simultaneous functions can be enabled into a
single MCU. This leads to flexible, power-efficient 8-bit MCU
designs with the capability to perform the same tasks as
much larger and more expensive devices.

Core Independent Peripherals enable 8-bit PIC and AVR


microcontrollers to retain their class-leading low-power
performance while meeting or exceeding your design
requirements for functionality and performance.

8-bit PIC and AVR Microcontrollers 3


Applications

A Solution for Every Application


Microchip’s 8-bit MCUs provide high-performance and power-efficient processing and are an ideal solution for a wide range of ap-
plications, from control logic to fully integrated systems involving USB, Ethernet and LCD. Every device includes a range of power-
ful peripherals including motor control timers, communication interfaces, powerful ADC and advanced on-chip safety features.

Microchip’s online design centers provide all the necessary information to get started on a new design within a specific application
segment. Items found on the design centers include supporting products, application notes, reference designs and development
tools. Here are some design centers to help you with your next 8-bit design.

Automotive Displays Wireless Connectivity


8-bit microcontrollers are used in a wide Microchip microcontrollers offer integrat- Microchip helps you design cost-effec-
range of automotive applications includ- ed LCD solutions that directly drive seg- tive, highly reliable wireless products.
ing remote keyless entry, lighting control mented displays with letters, numbers, Microchip wireless technologies enable
and instrument cluster to name a few. characters and icons. They are used in a innovative, scalable and dedicated
www.microchip.com/lin wide variety of applications, ranging from designs that fit small footprints, consume
www.microchip.com/can meters to portable medical devices to very little power and operate in rugged
www.microchip.com/automotive thermostats to exercise equipment. environments.
www.microchip.com/lcd www.microchip.com/wireless

Motor Control Medical Touch and Gesture


Microchip’s PIC and AVR microcontrollers Medical applications can benefit from Microchip’s MCUs allow you to integrate
contain innovative motor control PWM MCU peripheral features such as analog touch-sensing interfaces, thereby reduc-
peripherals including complimentary signal conditioning, LCD control and ing total system costs.
waveforms and dedicated time bases. mTouch input sensing. www.microchip.com/touch
www.microchip.com/motorcontrol www.microchip.com/medical

4 www.microchip.com/8bit
Home Appliance Lighting Smart Energy
Microchip helps implement the new With advanced peripheral integration Microchip is well-positioned to address
features and functionality required for and support for all lighting technologies, various requirements of smart metering
your next appliance design with MCUs a scalable Microchip solution provides systems with a combination of discrete
integrated with fault-detecting hardware significant flexibility and innovation that and highly integrated system-on-chip
for safety-critical applications. Microchip expands lighting product capabilities and solutions built around the same process-
MCUs may be used for motor control, provides product differentiation. ing platforms. This will reduce time-to-
analog sensor measurements, front panel www.microchip.com/lighting market and enable an unmatched level of
keypad control and LCD/LED displays. flexibility in addressing new requirements.
www.microchip.com/homeappliance www.microchip.com/smartenergy

Ethernet Low Power USB


Microchip’s Ethernet solutions are Microchip offers low-power solutions with Microchip offers USB solutions capable
designed to support the growing needs eXtreme Low Power (XLP) technology of full-speed USB operation with the PIC
of this market with a full complement with sleep currents down to 9 nA. Our and AVR device families.
of robust, highly integrated Ethernet products are equipped with peripherals www.microchip.com/usb
devices. like USB, LCD and analog which enables
www.microchip.com/ethernet solutions with smaller physical footprints
and reduced bill of material costs.
www.microchip.com/lowpower

8-bit MCU Quick Reference


Our flexible 8-bit PIC and AVR MCU portfolio offers a number of product families with varying levels of intelligent peripheral integration and
operating capabilities, enabling you to find the best MCU for your specific application and is summarized in the Quick Reference Guides.

The 8-bit MCU portfolio’s true strength lies in the vast array of flexible hardware peripherals
that are available to increase capability in any control system. Working together, our selection
of Core Independent Peripherals, Intelligent Analog, user interface peripherals and on-board
communications can enable system functions on MCUs with minimal code footprint, reduced
power consumption and accelerated time-to-market. Common application functions like
power and motor control, environmental sensing, system management and user interface can
be combined onto a single MCU to develop an extremely cost-effective solution. For more
details about Microchip products, please visit our website at www.microchip.com/8bit.

8-bit PIC and AVR Microcontrollers 5


Quick Reference Guide

8-bit PIC Microcontroller Peripheral Integration

Program Flash Memory


Intelligent Analog Waveform Cont

Product

ADC (# of bits)

DAC (# of bits)
Family

10-bit PWM
16-bit PWM
SlopeComp
Data EE (B)

CCP/ECCP
Pin Count

HSComp
RAM (B)

Comp

CWG
COG
PRG

ZCD
OPA
(KB)
PIC10(L)F3XX 6 384–896 64 HEF 8 ü ü

PIC12LF1552 8 3.5 256 HEF 10

PIC16LF155X/6X 14–20 7–14 1024 HEF 10(2) ü

PIC16(L)F145X 14–20 14 1024 HEF 10 ü ü ü

PIC1X(L)F157X 8–20 1.75–14 1024 HEF 10 ü 5 ü ü

PIC16(L)F153XX 8–48 3.5–28 2048 HEF 10 ü 5 ü ü 4 ü

PIC1X(HV)F752/53 8–14 1.75–3.5 128 – 10 ü 5/9 ü ü ü ü

PIC1X(L)F1612/3 8–14 3.5 256 HEF 10 ü 8 ü ü ü

PIC16(L)F161X 14–20 7–14 1024 HEF 10 ü 8 ü ü ü ü

PIC16(L)F170X 14–20 3.5–14 1024 HEF 10 ü 5/8 ü ü ü ü ü

PIC16(L)F171X 28–40 7–28 2048 HEF 10 ü 5/8 ü ü ü ü ü

PIC16(L)F176X/7X 14–40 7–28 2048 HEF 10 ü 5/10 ü ü ü ü ü ü ü ü

PIC16(L)F183XX 8–20 3.5–14 2048 256 10 ü 5 ü ü ü

PIC16(L)F184XX 14–28 7–28 2048 256 12(3) ü 5 ü ü ü ü

PIC16(L)F188XX 28–40 7–56 4096 256 10(3) ü 5 ü ü ü ü

PIC16(L)F191XX 28–64 14–56 4096 256 12(3) ü 5 ü ü ü ü

PIC18(L)FXXK40 28–64 16–128 3728 256–1K 10(3) ü 5 ü ü ü ü

PIC18(L)FXXK42 28–48 16–128 8192 256–1K 12(3) ü 5 ü ü 4 ü

PIC18(L)FXXJ94 64–100 32–128 4096 – 12 ü ü

PIC18(L)FXXK83 28 32–64 4096 1K 12(3) ü 5 ü ü ü ü

PIC18FXXQ10 28–40 128 3728 1024 10(3) ü 5 ü ü ü ü


Note 1: In addition to standard 8-bit and 16-bit timers    2: Independent Dual ADC Modules   3. ADCC: Analog-to-Digital Converter with Computation   4. CAN capable   5. LCD with Charge Pump

6 www.microchip.com/8bit
Peripheral Function Focus

Logic and Safety and Low Power and


trol Timing and Measurements(1) Communications User Interface
Math Monitoring System Flexibility

USB with ACT


NCO (20-bit)

LIN Capable
SMT (24-bit)

IDLE/DOZE/
16-bit PWM

CRC/SCAN

UART with
HLT (8-bit)

MathACC

Protocols
TEMP/TS

EUSART/

DIA/MAP
mTouch®
AngTMR

AUSART

Sensing

DMA/VI
I2C/SPI
(16-bit)

WWDT

HCVD
RTCC

MULT

PMD
DSM
NCO

CLC

LCD

PPS
ü ü ü ü HLT ü

ü ü ü ü

ü ü 2 ü ü ü

ü ü ü ü ü ü

ü ü ü ü ü ü

ü ü ü ü ü ü ü 2 2 ü ü ü ü ü

ü ü ü

ü ü ü ü ü ü ü

ü ü ü ü ü ü ü ü ü ü ü ü ü ü

ü ü ü ü ü ü ü ü

ü ü ü ü ü ü ü ü ü ü

ü ü ü ü ü ü ü ü ü ü ü

ü ü ü ü ü ü 2 ü ü ü ü

ü ü ü ü ü ü ü ü 2 ü ü ü ü ü

ü ü ü ü ü ü ü ü ü ü ü 2 ü ü ü ü ü

ü ü ü ü ü ü ü ü ü ü ü ü ü(5) ü ü ü

ü ü ü ü ü ü ü 5 2 ü ü ü ü ü

ü ü ü ü ü ü ü ü ü ü ü 1 1 2 ü ü ü ü ü ü ü

ü ü 4 2 ü ü ü ü(5) ü ü

ü ü ü ü ü ü ü ü ü ü ü 2 ü ü ü ü ü ü ü ü

ü ü ü ü ü ü ü 2 2 ü ü ü

8-bit PIC and AVR Microcontrollers 7


8-bit PIC MCU Terminology

INTELLIGENT ANALOG:  Sensor Interfacing and Signal Conditioning


ADC:  Analog-to-Digital Converter General purpose 8-/10-/12-bit ADC
ADC2/ADCC:  Analog-to-Digital General purpose 10-/12-bit ADC with automated analog signal analysis
Converter with Computation (ex. oversampling, averaging, etc.)
Comp:  Comparator General purpose rail-to-rail comparator
DAC:  Digital-to-Analog Converter Programmable voltage reference with multiple internal and external connections
HC I/O:  High-Current I/O Up to 50 mA or 100 mA current drive on select I/O pins
HSComp:  High-Speed Comparator General purpose rail-to-rail comparator with < 50 ns response time
OPA:  Operational Amplifier General purpose op amp for internal and external signal source conditioning
PRG:  Programmable Ramp Generator Analog ramp generator (with slope compensation) for current/voltage mode power supplies
SlopeComp:  Slope Compensation Slope compensation for Peak Current Mode power supplies
VREF:  Voltage Reference Stable fixed voltage reference for use with integrated analog peripherals
AC high-voltage zero-crossing detection for simplifying TRIAC control, synchronized switching
ZCD:  Zero Cross Detect
control and timing
WAVEFORM CONTROL:  PWM Drive and Waveform Generation
CCP/ECCP:  (Enhanced) Capture 1. CCP/ECCP: 10-bit PWM control with 16-bit capture and compare
Compare PWM 2. ECCP: Addition of auto shutdown control
Automated complementary output with control of key parameters such as programmable rising/
COG: 
falling edge events, polarity, phase, precision
Complementary Output Generator
dead-band, blanking and auto shutdown
CWG:  Complementary Waveform Automated complementary output with control of key parameters such as
Generator dead-band and auto shutdown
1. Modulates up to two carrier signals with digital data to create custom carrier synchronized output
DSM:  Data Signal Modulator waveforms
2. LED dimming engine functionality via interconnection with 10-/16-bit PWM, DSM and op amp
NCO:  Numerically Controlled 1. Precision linear frequency generator (@ 50% duty cycle) with 0.0001% step size of source input
Oscillator and 16-/20-bit Timer/ clock frequency
Counter 2. General purpose 16-/20-bit timer/counter
PWM:  Pulse Width Modulation General purpose 10-bit PWM control
16-bit PWM:  Standalone 16-bit 1. High-resolution 16-bit PWM with edge- and center-aligned modes
PWM and 16-bit Timer/Counter 2. General purpose 16-bit timer/counter
TIMING AND MEASUREMENTS:  Signal Measurement with Timing and Counter Control
Phase angle timer for measurement and control of rotational and periodic events (ex. motor, AC
AngTMR:  Angular Timer
mains, TRIAC, etc.)
HLT:  Hardware Limit Timer and 1. Hardware monitoring for missed periodic events and fault detection
8-bit Timer/Counter 2. General purpose 8-bit timer/counter with external reset capabilities
NCO:  1. Precision linear frequency generator (@ 50% duty cycle) with 0.0001% step size of source input
Numerically Controller Oscillator and clock frequency
16-/20-bit Timer/Counter 2. General purpose 16-/20-bit timer/counter
RTCC:  Real-Time Clock/Calendar Maintains accurate clock and calendar timing with external 32.768 kHz crystal
1. Accurate measurement of any digital signal including period, duty cycle, time of flight;
SMT:  24-bit Signal Measurement
instantaneous vs. average measurements
Timer and 24-bit Timer/Counter
2. General purpose 24-bit timer/counter
TEMP:  Temperature Indicator Provides relative temperature measurements utilizing the ADC
Provides linear relative temperature measurements utilizing the ADC with two factory-calibrated
TS:  Temperature Sensor
reference values
8-/16-bit Timer General purpose 8-/16-bit timer/counter
16-bit PWM:  Standalone 16-bit 1. High-resolution 16-bit PWM with edge- and center-aligned modes
PWM and 16-bit Timer/Counter 2. General purpose 16-bit timer/counter

Learn more about 8-bit PIC Microcontrollers at www.microchip.com/8bit.


Learn more about Core Independent Peripherals (CIP) at www.microchip.com/CIP.

8 www.microchip.com/8bit
LOGIC AND MATH:  Customizable Logic and Math Functions
1. Integrated combinational and sequential logic
CLC:  Configurable Logic Cell
2. Customer interconnection and re-routing of digital peripherals
MULT:  Hardware Multiplier MULTIPLY function of two 8-bit values with 16-bit result
1. MULTIPLY, ADD, ACCUMULATE functions of 8-/16-bit values with 35-bit result
MathACC:  Math Accelerator
2. Calculates a 16-bit PID function based on configurable Kp, Ki, Kd constants with a 34-bit result
SAFETY AND MONITORING:  Hardware Monitoring and Fault Detection
CRC/SCAN:  Cyclical Redundancy 1. Automatically calculates CRC checksum of Program/DataEE memory for NVM integrity
Check with Memory Scan 2. General purpose 16-bit CRC for use with memory and communications data
HLT:  Hardware Limit Timer and 1. Hardware monitoring for missed periodic events and fault detection of external hardware
8-bit Timer/Counter 2. General purpose 8-bit timer/counter with external reset capabilities
WWDT:  System supervisory circuit that generates a reset when software timing anomalies are detected within
Windowed Watch Dog Timer a configurable critical window
COMMUNICATIONS:  General, Industrial, Lighting and Automotive
ACT:  Active Clock Tuning for 1. Auto-tuning of internal oscillator when connected to USB host (eliminates need for external crystal)
Crystal-Free USB 2. Tunes internal oscillator to match accuracy of external clock source
CAN:  Controller Area Network Industrial- and automotive-centric communication bus
1. Industrial- and automotive-centric communication bus
LIN:  Local Interconnect Network
2. Support for LIN when using the EUSART
EUSART/AUSART:  Enhanced/
1. General purpose serial communications
Addressable Universal Synchronous
2. Support for LIN when using the EUSART
Asynchronous Receiver Transmitter
I2C:  Inter-Integrated Circuit General purpose 2-wire serial communications
SPI:  Serial Peripheral Interface General purpose 4-wire serial communications
UART:  Universal Asynchronous
Supports LIN master and slave, DMX, DALI and device protocols
Receiver Transmitter
USB:  Universal Serial Bus Support for full-speed USB 2.0 device profiles
USER INTERFACE:  Capacitive Touch Sensing and LCD Control
HCVD:  Hardware Capacitive
Simplifies implementation and reduces overhead of mTouch sensing applications
Voltage Divider
LCD:  Liquid Crystal Display Highly integrated segmented LCD controller
LCD w/Charge Pump:  Liquid The LCD charge pump provides proper bias voltage and contrast for the LCD regardless of the Vdd
Crystal Display with Charge Pump level.
1. Capacitive sensing for touch buttons and sliders
mTouch:  Microchip Proprietary
2. Capacitive sensing for system measurements and detection (ex. water level, intrusion detection,
Capacitive Touch Technology
etc.)
LOW POWER AND SYSTEM FLEXIBILITY:  XLP Low-Power Technology, Peripheral and Interconnects
Dedicated memory area for data storage of temp sensor factory calibration values, factory ID and
DIA:  Device Information Area
FVR values for ADC and COMP
Moves data between memories and peripherals without CPU overhead, improving overall system
DMA:  Direct Memory Access
performance and efficiency
DOZE:  Power Saving Mode Ability to run the CPU core slower than the system clock used by the internal peripherals
HEF:  High-Endurance Flash 128B Non-volatile data storage with high-endurance 100k E/W cycles
Ability to put the CPU core to sleep while the internal peripherals continue to operate from the
IDLE:  Power Saving Mode
system clock
MAP:  Memory Access Partition Customizable Flash partitioning with bootloader write protection option
PMD:  Peripheral Module Disable Peripheral power disable hardware to minimize power consumption of unused peripherals
I/O pin remapping of digital peripherals for greater design flexibility and optimized
PPS:  Peripheral Pin Select
board layout
VI:  Vectored Interrupts Offers faster and more predictable interrupt response times, with lower software overhead
XLP:  eXtreme Low Power
XLP technology devices with extreme low-power operation modes for battery/low-power applications
Technology

PDF version available for download at www.microchip.com/8bitquickreference.

8-bit PIC and AVR Microcontrollers 9


Quick Reference Guide

8-bit AVR Microcontroller Peripheral Integration

Program Flash Memory (KB)


Intelligent Analog Waveform Control

Product

ADC Gain Stage


Family

Internal Voltage
ADC (# of bits)

DAC (# of bits)
Comparators

Temperature

16-bit PWM
SRAM (KB)

Quadrature
8-bit PWM
Pin Count

Reference

Waveform
channels)
ADC (# of

Extension
Decoder
Sensor
ATtiny4/5/9/10 6 0.5–1 0.032 10³ 4(3) ü 2
ATtiny102/104 8/14 1 0.032 10 5/8 ü ü 2
ATtiny13A 8–20 1 0.064 10 4 ü 2
ATtiny20/40 12–20 2/4 0.128/0.256 10 8/12 ü ü 2 2
ATtiny24A/44A/84A 14–20 2–8 Up to 0.512 10 8 ü ü ü ü 2 2
ATtiny25(V)/45(V)/85(V) 8–20 2–8 Up to 0.512 10 4 ü ü ü ü 4
ATtiny48/88 28–32 4/8 Up to 0.512 10 8 ü ü ü 1 1
ATtiny87/167 20–32 8/16 0.512 10 11 ü ü ü 1 2
ATtiny261A/461A/861A 20–32 2–8 Up to 0.512 10 11 ü ü ü ü
ATtiny20x/40x/80x/160x 8–24 2–16 Up to 1 10 12 ü ü ü 2
ATtiny21x/41x/81x/161x/321x 8–24 2–32 Up to 2 10 12 ü 8 ü ü 2
ATtiny441/841 14–20 4/8 Up to 0.512 10 12 ü ü ü 1 2
ATtiny1634 20 16 1 10 12 ü ü ü 2 2
ATtiny2313A 20 2 0.128 – – ü ü 2 2
ATmega8A/16A/32A 28–44 8–32 1–2 10 8 ü 2 1
ATmega8U2/16U2/32U2 32 8–32 0.5–1 – – ü ü ü 4 6
ATmega16U4/32U4 32 16/32 1/2 10 12 ü ü ü 5
ATmega48PB/88PB/168PB/328PB 32 4–32 0.5–2 10 8 ü ü ü 4 2/6(6)
ATmega320x/480x 28–48 32–48 Up to 6 10 16 ü ü ü 4 3
ATmega64A/128A 64 64–128 4 10 8 ü ü ü 2 6
ATmega164PA/324PA/644PA/1284P 44 16–128 1–16 10 8 ü ü ü 4 2/2/4
ATmega165PA/325PA/645P 44 16–64 1–4 10 8 ü ü 4 6
ATmega169PA/329PA/649P 64 16–64 1–4 10 8 ü ü 2 2
ATmega324PB 44 32 2 10 8 ü ü 2 2
ATmega640/1280/2560/1281/2561 64–100 64–256 8 10 8/16 ü ü ü 4 6/12
ATmega3290PA/6490P 100 32–64 2–4 10 8 ü ü ü 2 2
ATmega3250PA/6450P 100 32–64 2–4 10 8 ü ü ü 2 2
ATxmega A1U Family 100 64–128 4–8 12 16 ü ü 12 ü ü 8 ü ü
ATxmega A3U Family 64 64–256 4–16 12 16 ü ü 12 ü ü 7 ü ü
ATxmega A4U Family 44–49 16–128 2–8 12 12 ü ü 12 ü ü 5 ü ü
ATxmega B1/B3 Family 64–100 64–128 4–8 12 8 ü ü ü ü 2/3 ü ü
ATxmega C3/D3 Family 64 32–384 4–32 12 16 ü ü ü ü 5 ü ü
ATxmega C4/D4 Family 44–49 16–128 2–8 12 12 ü ü ü ü 4 ü ü
ATxmega E5 Family 32 8–32 1–4 12 16 ü ü 12 ü ü 3 ü ü
1: LIN port also    2: Peripheral Touch Controller    3: Only on the ATtiny5/10    4: Not on the ATtiny212/214/412/414/416    5: Only on the ATmega1281/2561    6: Only on the ATmega328PB    7: Only on the C3 an

10 www.microchip.com/8bit
Peripheral Function Focus
Logic,
Timing and Safety and
Crypto and Communications User Interface System Flexibility
Measurements Monitoring
Math
Crypto (AES/DES)

DMA Channels
Event System
SleepWalking
Sleep Modes
External Bus
16-bit Timer/
12-bit Timer

picoPower®
8-bit Timer/

Technology

Technology

Technology
with PTC (2)
Real-Time

Counters

Interface
Counter

Counter

QTouch®
Counter

IRCOM
USART

QTouch
MULT

UART
WDT

LCD
BOD
CRC
POR

USB
CCL

SPI
I2C
1 ü ü ü 4
2 ü ü 1 4
ü ü ü ü 3 ü
1 1 ü ü ü 1 1 ü 4
1 1 ü ü ü 1 1 ü 4 ü
2 ü ü ü 1 1 ü 3
1 1 ü ü ü 1 1 3 ü
1 1 ü ü ü 1(1) 1 2 4
1 1 ü ü ü 1 1 ü 4 ü
ü 1 ü ü ü ü ü ü 1(1)
1 1 ü ü 3 ü
ü 1 1 ü ü ü ü ü ü 1(1) 1 1 ü(4) ü ü 3 ü
1 2 ü ü ü 2 1 1 4 ü
1 1 ü ü ü 2 1 ü 4 ü
1 1 ü ü ü 1 1 2 3 ü
ü 2 1 ü ü ü ü 1 1 1 ü 5
ü 2 3 ü ü ü ü 2 ü 2 2 ü 6
1 1 ü ü ü ü 1 ü 1 6
ü 2 1/3(6) ü ü ü ü 1/2(6) 1/2(6) 1/2(6) ü 1(6) 6
1 5 ü ü ü ü ü ü 4 1 1 ü 3 ü
2 2 ü ü ü ü 2 1 1 ü 6
ü 2 1/1/2 ü ü ü ü 2 1 1 ü 6 ü
ü 2 3 ü ü ü ü 3 2 2 ü 6 ü
ü 2 1 ü ü ü ü 1 1 1 ü ü 5
ü 2 1 ü ü ü ü 1 1 1 ü ü 5
ü 2 4 ü ü ü ü 2/4 1 1 ü ü(5) 6
ü 2 1 ü ü ü ü 1 1 1 ü ü 5
ü 2 1 ü ü ü ü 1 1 1 ü 5
ü 8 ü ü ü ü ü ü 8 ü 4 4 ü ü ü 4 ü 5 ü
ü 7 ü ü ü ü ü ü 7 ü 2 3 ü ü 4 ü 5 ü
ü 5 ü ü ü ü ü ü 5 ü 2 2 ü ü 4 ü 5 ü
ü 2/3 ü ü ü ü ü ü 1/2 ü 1 1 ü ü ü 2 ü 5 ü
ü 5 ü ü ü ü ü 3 ü (7)
2 2 ü ü ü 5 ü
ü 4 ü ü ü ü ü 2 ü(7) 2 2 ü ü ü 5 ü
ü 3 ü ü ü ü ü ü 2 1 1 ü ü 4 ü 5 ü
nd C4

8-bit PIC and AVR Microcontrollers 11


8-bit AVR MCU Terminology

INTELLIGENT ANALOG:  Sensor Interfacing and Signal Conditioning


ADC:  Analog-to-Digital Converter General purpose 10-/12-bit ADC
ADC Gain Stage:  Analog-to-Digital Programmable gain stage, providing amplification steps on the differential
Converter Gain Stage input voltage
Comp:  Comparator General purpose rail-to-rail comparator
Programmable voltage reference with multiple internal and external
DAC:  Digital-to-Analog Converter
connections
VREF:  Voltage Reference Stable fixed voltage reference for use with integrated analog peripherals
WAVEFORM CONTROL:  PWM Drive and Waveform Generation
PWM:  Pulse Width Modulation General purpose 10-bit PWM control
16-bit PWM:  Standalone 16-bit 1. High-resolution 16-bit PWM with edge- and center-aligned modes
PWM and 16-bit Timer/Counter 2. General purpose 16-bit timer/counter
TIMING AND MEASUREMENTS:  Signal Measurement with Timing and Counter Control
8-/12-/16-bit Timer General purpose 8-/12-/16-bit timer/counter
LOGIC, CRYPTO AND MATH:  Customizable Logic and Math Functions
1. Integrated combinational and sequential logic
CCL:  Configurable Custom Logic
2. Customer interconnection and re-routing of digital peripherals
MULT:  Hardware Multiplier MULTIPLY function of two 8-bit values with 16-bit result
Data encryption and decryption can be easily performed for both
Crypto (AES/DES)
internally stored data or for small external data packets
SAFETY AND MONITORING:  Hardware Monitoring and Fault Detection
CRC/SCAN: 
Automatically calculates CRC checksum of Program/DataEE memory for
Cyclical Redundancy Check
NVM integrity
with Memory Scan

Peripheral Spotlight
Peripheral Touch Controller
The powerful tiny ONE series (tiny416/817/1617) MCUs feature the Peripheral Touch
Controller (PTC), which enables you to easily add capacitive buttons and sliders to your
embedded application. The PTC autonomously acquires and processes capacitive
touch inputs without external components. On-chip hardware based noise filtering,
moisture tolerance and zero-drift temperature compensation ensure reliable sensor op-
eration in the harshest of operating climates. Additionally, the PTC’s core-independent
operation gives you the ability to reduce your design’s power consumption with the
wake-on-touch or wake-on-proximity features. No matter the requirements, your next
touch-based solution just became easier with the Peripheral Touch Controller.

12 www.microchip.com/8bit
COMMUNICATIONS:  General, Industrial, Lighting and Automotive
USART:  Universal Synchronous 1. General purpose serial communications
Asynchronous Receiver Transmitter 2. Support for LIN/IrDA®
I2C:  Inter-Integrated Circuit General purpose 2-wire serial communications
SPI:  Serial Peripheral Interface General purpose 4-wire serial communications
IRCOM:  Infrared Communication Encodes and decodes data according to the IrDA communication
Module protocol
USER INTERFACE:  Capacitive Touch Sensing and LCD Control
LCD:  Liquid Crystal Display Highly integrated segmented LCD controller
QTouch®:  Microchip Proprietary
Provides a simple-to-use solution to realize touch-sensitive interfaces
Touch Technology
QTouch with PTC:  QTouch with Provides a simple-to-use solution to realize touch-sensitive interfaces
Peripheral Touch Controller with a Peripheral Touch Controller
LOW POWER AND SYSTEM FLEXIBILITY:  Low-Power Technology, Peripheral and Interconnects
Moves data between memories and peripherals without CPU overhead,
DMA:  Direct Memory Access
improving overall system performance and efficiency
Flexible routing of peripheral events, ability to control peripheral
Event System
independent from the CPU
Highly flexible module for interfacing external memories and memory-
External Bus Interface
addressable peripherals
picoPower® Technology Low-power technology
Low-power saving modes, IDLE, power-down, power-save, standby and
Sleep Modes
extended standby
SleepWalking Ability to put the CPU core to sleep until a relevant event occurs

Peripheral Spotlight
Analog-to-Digital Converter with Computation
Many embedded applications require the measurement of analog voltages, along with a
significant amount of post-processing and signal analysis. Typically, these tasks place a
heavy burden on MCU hardware and can significantly lengthen your code development
cycle. The Analog-to-Digital Converter with Computation (ADC2) peripheral, available on
several PIC MCU families, implements a suite of post-processing features in hardware,
including low-pass filtering, oversampling and averaging. The ADC2 also automates
signal acquisition tasks and adds new capabilities, such as continuous mode retrigger
(which waits for a certain threshold before triggering a conversion) and auto conversion
(which allows triggering a conversion based on variety of internal and external sources) to significantly reduce CPU load and
software development time. With the ADC2, you don’t have to spend valuable cycles performing expensive computations;
this Core Independent Peripheral does the heavy lifting for you.

8-bit PIC and AVR Microcontrollers 13


8-bit PIC and AVR MCU Families

8-bit PIC MCU Product Families


Microchip’s 8-bit PIC microcontrollers fall into three product architecture categories providing a variety of options for any ap-
plication requirement. All device families have low power capability, flexible Flash program memory and instructions and data on
separate buses.

PIC10 MCUs
PIC10 microcontrollers have a simple instruction set for ease of use and quick development. They offer the smallest form factor
that can be easily implemented into the most space constrained designs. This microcontroller family includes an internal oscillator,
a comparator, ADC and data memory for data-logging, giving engineers the ability to add smarts in various entry-level applica-
tions. Its low cost and easy implementation can also help designers to replace multiple discrete components with an integrated
MCU solution, resulting in additional savings in board space.

PIC12/PIC16 MCUs
PIC12/PIC16 microcontrollers are ideal for many applications that require a higher level of embedded control and more memory.
These peripheral-rich devices feature various serial analog and digital peripherals, such as: SPI, I2C, USART, LCD and ADCs. With
low sleep and dynamic current consumption, these MCUs are highly suited for energy efficient and battery powered applications.

PIC18 MCUs
Offering the largest pin count and memory size, PIC18 microcontrollers combine the maximum level of performance and inte-
gration with the ease-of-use of an 8-bit architecture. With up to 16 MIPS of processing power, PIC18 microcontrollers feature
advanced peripherals such as CAN, USB, Ethernet, touch sensing and LCD display drivers. The PIC18 family has a flexible range
of self-programming Flash memory from 4 KB to 128 KB and up to 8 KB RAM. Many PIC18 products conserve power with XLP
technology and specialized clocking and sleep modes for battery applications.

8-bit AVR Product Families


Microchip’s 8-bit AVR MCUs are an excellent choice for a wide variety of embedded systems. These devices offer a unique
combination of performance, power efficiency and design flexibility. Optimized to reduce development time, they are based on the
industry’s most code-efficient architecture for C and assembly programming.

tinyAVR® MCUs
The tinyAVR MCU family is optimized for applications that require performance, power efficiency and ease of use in a small package. All
tinyAVR devices are based on the same architecture and compatible with other AVR® devices. The integrated ADC, DAC, comparators,
EEPROM memory and brown-out detector let you build applications without adding external components. tinyAVR devices also offer
Flash memory and on-chip debug for fast, secure and cost-effective in-circuit upgrades that significantly cut your time to market.

megaAVR®
The megaAVR family is the ideal choice for designs that need some extra muscle. For applications requiring large amounts of
code, megaAVR devices offer substantial program and data memories with performance up to 20 MIPS. Meanwhile, innovative
picoPower technology helps minimize power consumption. All megaAVR devices offer self-programmability for fast, secure and
cost-effective in-circuit upgrades. You can even upgrade the Flash memory while running your application.

XMEGA® MCUs
The XMEGA family of MCUs delivers the best possible combination of real-time performance, high integration and low power
consumption for 8/16-bit MCU applications.

14 www.microchip.com/8bit
Development Tools

Software Development
Dedicated PIC and AVR MCU Tool Chains
Microchip Technology offers two best-in-class tool chains for PIC and AVR MCUs. These separate and dedicated development
ecosystems will help streamline your next design, from prototype to production. Microchip offers easy-to-use software and hardware
development resources to accelerate your next PIC or AVR MCU-based design. The PIC microcontrollers are finding their way into
new applications like smartphones, audio accessories, video gaming peripherals and advanced medical devices. Microchip provides
solutions for the entire performance range of 8-bit microcontrollers, with easy-to-use development tools, complete technical documen-
tation and post design-in support through a global sales and distribution network.

PIC MCUs AVR MCUs

Intuitive Graphical
Configuration Tools

Free IDE and


Compilers

Simplified
Development
Environments

Rapid Protoyping Options


Microchip’s MPLAB® Xpress and Xplained Development boards make it easy to get started building your application with PIC and
AVR MCUs. Both board series feature integrated programmers to help you get up and running as quickly as possible while minimizing
startup cost. Xpress and Xplained boards are available with a wide variety of on-board MCUs, making them an excellent entry point for
those who are new to PIC or AVR MCU architectures.

MPLAB Xpress Evaluation Board (DM164140) (PIC MCUs)


The Xpress Evaluation Board features an on-board drag-and-drop programmer, a mikroBUSTM expansion header and the
popular PIC16F18345 MCU for easy development with the latest generation of PIC MCUs. The board integrates seamlessly
with the free, cloud-based MPLAB Xpress IDE (www.microchip.com/xpress).

ATTiny817 Xplained Mini (ATTINY817-XMINI) (AVR MCUs)


The tiny817 Xplained Mini Evaluation Kit is a hardware platform for evaluating tiny817, tiny816, tiny814 and
tiny417 microcontrollers. The evaluation kit comes with a fully integrated debugger that provides seamless integration with
Atmel START and Atmel Studio development environment.

Other Popular Development Boards


PIC MCUs
®
AVR® MCUs
MPLAB® Xpress Evaluation Boards (DM164141/2/3) Xplained Nano (ATTINY-XNANO)
8-bit Curiosity Development Board (DM164137) Xplained Pro (ATMEGA324PB-XPRO)
Explorer 8 Development Board (DM160228) Xplained Mini (ATMEGA168PB-XMINI) (ATMEGA328PB-XMINI)
PICDEM™ Lab II Development Platform (DM163046) STK600 Development Board (ATSTK600)

8-bit PIC and AVR Microcontrollers 15


Support Training
Microchip is committed to supporting its customers in de- If additional training interests you, Microchip offers several
veloping products faster and more efficiently. We maintain a resources including in-depth technical training and reference
worldwide network of field applications engineers and technical material, self-paced tutorials and significant online resources.
support ready to provide product and system assistance. For • Overview of Technical Training Resources:
more information, please visit www.microchip.com: www.microchip.com/training
• Technical Support: www.microchip.com/support • MASTERs Conferences:
• Evaluation samples of any Microchip device: www.microchip.com/masters
www.microchip.com/sample • Developer Help Website:
• Knowledge base and peer help: www.microchip.com/developerhelp
www.microchip.com/forums • Technical Training Centers:
• Sales and Global Distribution: www.microchip.com/sales www.microchip.com/seminars

Sales Office Listing


AMERICAS EUROPE EUROPE ASIA/PACIFIC ASIA/PACIFIC
Atlanta, GA Austria - Wels Israel - Ra’anana Australia - Sydney China - Zhuhai
Tel: 678-957-9614 Tel: 43-7242-2244-39 Tel: 972-9-744-7705 Tel: 61-2-9868-6733 Tel: 86-756-321-0040
Austin, TX Denmark - Copenhagen Italy - Milan China - Beijing India - Bangalore
Tel: 512-257-3370 Tel: 45-4450-2828 Tel: 39-0331-742611 Tel: 86-10-8569-7000 Tel: 91-80-3090-4444
Boston, MA Finland - Espoo Italy - Padova China - Chengdu India - New Delhi
Tel: 774-760-0087 Tel: 358-9-4520-820 Tel: 39-049-7625286 Tel: 86-28-8665-5511 Tel: 91-11-4160-8631
Chandler, AZ (HQ) France - Paris Netherlands - Drunen China - Chongqing India - Pune
Tel: 480-792-7200 Tel: 33-1-69-53-63-20 Tel: 31-416-690399 Tel: 86-23-8980-9588 Tel: 91-20-4121-0141
Chicago, IL Germany - Garching Norway - Trondheim China - Dongguan Japan - Osaka
Tel: 630-285-0071 Tel: 49-8931-9700 Tel: 47-7289-7561 Tel: 86-769-8702-9880 Tel: 81-6-6152-7160
Dallas, TX Germany - Haan Poland - Warsaw China - Guangzhou Japan - Tokyo
Tel: 972-818-7423 Tel: 49-2129-3766-400 Tel: 48-22-3325737 Tel: 86-20-8755-8029 Tel: 81-3-6880-3770
Detroit, MI Germany - Heilbronn Romania - Bucharest China - Hangzhou Korea - Daegu
Tel: 248-848-4000 Tel: 49-7131-67-3636 Tel: 40-21-407-87-50 Tel: 86-571-8792-8115 Tel: 82-53-744-4301
Houston, TX Germany - Karlsruhe Spain - Madrid China - Hong Kong SAR Korea - Seoul
Tel: 281-894-5983 Tel: 49-721-62537-0 Tel: 34-91-708-08-90 Tel: 852-2943-5100 Tel: 82-2-554-7200
Indianapolis, IN Germany - Munich Sweden - Gothenberg China - Nanjing Malaysia - Kuala Lumpur
Tel: 317-773-8323 Tel: 49-89-627-144-0 Tel: 46-31-704-60-40 Tel: 86-25-8473-2460 Tel: 60-3-7651-7906
Tel: 317-536-2380 Germany - Rosenheim Sweden - Stockholm China - Qingdao Malaysia - Penang
Los Angeles, CA Tel: 49-8031-354-560 Tel: 46-8-5090-4654 Tel: 86-532-8502-7355 Tel: 60-4-227-8870
Tel: 949-462-9523 UK - Wokingham China - Shanghai Philippines - Manila
Tel: 951-273-7800 Tel: 44-118-921-5800 Tel: 86-21-3326-8000 Tel: 63-2-634-9065
Raleigh, NC China - Shenyang Singapore
Tel: 919-844-7510 Tel: 86-24-2334-2829 Tel: 65-6334-8870
New York, NY China - Shenzhen Taiwan - Hsin Chu
Tel: 631-435-6000 Tel: 86-755-8864-2200 Tel: 886-3-577-8366
San Jose, CA China - Wuhan Taiwan - Kaohsiung
Tel: 408-735-9110 Tel: 86-27-5980-5300 Tel: 886-7-213-7830
Tel: 408-436-4270
China - Xiamen Taiwan - Taipei
Canada - Toronto Tel: 86-592-2388138 Tel: 886-2-2508-8600
Tel: 905-695-1980
China - Xian Thailand - Bangkok
Tel: 86-29-8833-7252 Tel: 66-2-694-1351
Vietnam - Ho Chi Minh
Tel: 84-28-5448-2100
10/31/17

www.microchip.com

Microchip Technology Inc.  |  2355 W. Chandler Blvd.  |  Chandler AZ, 85224-6199

The Microchip name and logo, the Microchip logo, AVR, megaAVR, MPLAB, PIC, picoPower, QTouch, tinyAVR and XMEGA are registered trademarks and PICDEM is a trademark of Microchip
Technology Incorporated in the U.S.A. and other countries. mTouch is a registered trademark of Microchip Technology Inc in the U.S.A. All other trademarks mentioned herein are property of their
respective companies. © 2018, Microchip Technology Incorporated. All Rights Reserved. 2/18 DS30009630M

You might also like