You are on page 1of 58

What ’s New PIC16F PICMicro

What’s
Released Recently

© 2004 Microchip Technology Incorporated. All Rights Reserved. 1


Microchip PICmicro® Product
Families

High Performance
16-Bit Instruction Set
Features/Memory
Features/Memory

Mid-Range
14-Bit Instruction Set

Baseline
12-Bit Instruction Set

8 18 28 40 60 80
Number of Pins
© 2004 Microchip Technology Incorporated. All Rights Reserved. 2
Small Pincount Flash PIC® MCU
Agenda

G New Baseline Flash microcontrollers

G Small Mid-Range Flash Microcontrollers


G ‘Traditional’ 18-Pin
G ‘Next Generation’ 8/14/20-Pin devices
G KEELOQ® peripheral/Battery Optimized Update

G 28/40-Pin & Low Pin-count LCD Microcontrollers

G Development Tools
© 2004 Microchip Technology Incorporated. All Rights Reserved. 3
History of the Baseline family of
Products

G PIC16C5Xs
G Started with the PIC1640 - 40 pins
G Then move on to the PIC1650
G Eventually moved to the PIC16C54 - 18 pins
G PIC16C55 - PIC16C54 in 28 pins
G PIC16C56 - PIC16C54 with 2x memory 18 pins
G PIC16C57 - PIC16C54 with 4x memory 28 pins
G PIC16C58 - PIC16C54 with 4x memory 18 pins
G PIC16CR5X - ROM version
G Most popular devices went through several revisions:
G PIC16C54, PIC16C54A PIC16C54B, PIC16C54C

© 2004 Microchip Technology Incorporated. All Rights Reserved. 4


Baseline Flash Roadmap

PIC16F57
PIC16F57
2kWord
2kWord
72
72RAM
RAM
Features/Memory
Features/Memory

PIC12F509
PIC12F509 PIC16F505
PIC16F505
1kWord
1kWord 1kWord
1kWord
41
41RAM
RAM 72
72RAM
RAM
INTOSC
INTOSC INTOSC
INTOSC

PIC12F508
PIC12F508 PIC16F54
512 PIC16F54
512Words
Words 512
25 RAM 512Words
Words
25 RAM 25 RAM
INTOSC 25 RAM
INTOSC

Concept
Design
Existing

8 Pin 14 Pin 18 Pin 28 Pin


© 2004 Microchip Technology Incorporated. All Rights Reserved. 5
What is new for Baseline Flash?

G New POR compared to OTP Products


G Power On/Off Reset
G No more Voltage/Speed grades, Commercial Temp
(2.0V to 5.5V, -40° to 85° C)
G Fewer part numbers, lower inventory
G ICSP™ capability on PIC16F54/57 (All others had it
previously)
G Accurate internal osc on 12F508/509/16F505
G Calibrated to +/- 1%
G +/- 2% over temperature and voltage
G PICkit™ 1 support
G Smaller packaging (MSOP)
© 2004 Microchip Technology Incorporated. All Rights Reserved. 6
Introducing...

© 2004 Microchip Technology Incorporated. All Rights Reserved. 7


© 2004 Microchip Technology Incorporated. All Rights Reserved. 8
Baseline Flash Roadmap

PIC10F206 PIC16F57
PIC16F57
PIC10F206 2kWord
512 2kWord
512Words
Words 72
25 72RAM
RAM
25RAM,
RAM,INTOSC
INTOSC
Comparator
Comparator
Features/Memory
Features/Memory

PIC12F509
PIC12F509 PIC16F505
PIC16F505
PIC10F202
PIC10F202 1kWord 1kWord
1kWord 1kWord
512
512Words
Words 41
41RAM
RAM 72
72RAM
RAM
25
25RAM
RAM INTOSC INTOSC
INTOSC INTOSC
INTOSC
INTOSC

PIC10F204 PIC12F508
PIC12F508 PIC16F54
PIC10F204 512 PIC16F54
256
256Words 512Words
Words 512
Words 25 RAM 512Words
Words
16
16RAM,
RAM,INTOSC
INTOSC 25 RAM 25 RAM
INTOSC 25 RAM
Comparator
Comparator INTOSC

PIC10F200
PIC10F200 Concept
256
256Words
Words
16
16RAM
RAM
Design
INTOSC
INTOSC Existing

6 Pin 8 Pin 14 Pin 18/20 Pin 28 Pin


© 2004 Microchip Technology Incorporated. All Rights Reserved. 9
What are we targeting
(Where do you go with this…)
this…)

‘Electronic Glue’:
G bug fixes for ASICs and other devices, late changes and other stopgaps
or ‘bandaid’ required to get a product into production fast.
Logic Control:
G delays, smart gates, signal conditioning, simple state machines,
encoders/decoders, peripheral logic functions on PC Boards.
Mechatronics:
G smart switches, mode selectors, remote I/Os, Timers, LED flashers and
any other form of mechanical timers and switches.
Waveform generation:
G 555 timers, PWMs, remote control encoders, Pulse generation,
Programmable frequency source, Resistor Programmable Oscillators.
Intelligent Disposable Electronics:
G emerging “disposable” applications that incorporate electronics
intelligence.

© 2004 Microchip Technology Incorporated. All Rights Reserved. 10


66-Pin
-Pin Product Introduction
The Challenge...
L
Power
5V

LM324 5V

LM324
LM324

LM324

Replace this...
© 2004 Microchip Technology Incorporated. All Rights Reserved. 11
66-Pin
-Pin Product Introduction
The Challenge...
G Fewer With this... Power
Components
G Less Board
Space
G Flexible / Re- PIC10F
programmable
G Additional
Features Possible
G Often Lower
System Cost

© 2004 Microchip Technology Incorporated. All Rights Reserved. 12


Small Pincount Flash PIC® MCU
Agenda
G New Baseline Flash microcontrollers

G Small Mid-Range Flash Microcontrollers


G ‘Traditional’ 18-Pin
G ‘Next Generation’ 8/14/20-Pin devices
G KEELOQ® peripheral/Battery Optimized Update

G 28/40-Pin & Low Pin-count LCD Microcontrollers

G Development Tools
© 2004 Microchip Technology Incorporated. All Rights Reserved. 13
‘‘Traditional’
Traditional’ Mid -Range
Mid-Range
18-Pin Flash PICmicro® MCUs
18-Pin
PIC16F88
PIC16F88
4kWord,
4kWord,2xComp
2xComp
256
256EE,
EE,368
368RAM
RAM
7x10-bit A/D, CCP
7x10-bit A/D, CCP
AUSART,
AUSART, SSPSSP
Features/Memory
Features/Memory

PIC16F648A PIC16F87
PIC16F87
PIC16F648A 4kWord,
4kWord, 4kWord,2xComp
2xComp
4kWord,2xComp
2xComp 256
128 256EE,
EE,368
368RAM
RAM
128 EE, 256RAM
EE, 256 RAM CCP, AUSART,
AUSART, CCP, AUSART,
AUSART, CCP
CCP SSP
new SSP

PIC16F716 PIC16F628A
PIC16F628A PIC16F819
PIC16F819
PIC16F716 2kWord,
2kWord, 2kWord,2xComp
2xComp 2kWord,
2kWord,256
256EE,
EE,
2kWord,128
128RAM
RAM 128
4x8-bit A/D, ECCP 128 EE, 224RAM
EE, 224 RAM 256 RAM, CCP
256 RAM, CCP
4x8-bit A/D, ECCP AUSART,
AUSART, CCP
CCP 5x10-bit
5x10-bitA/D,
A/D,SSP
SSP

PIC16F627A
PIC16F627A PIC16F818
PIC16F818 Concept
1kWord,
1kWord,2xComp
2xComp 1kWord,
1kWord,128
128EE,
EE,
128
128 EE, 224RAM
EE, 224 RAM 128 RAM, CCP
128 RAM, CCP Design
AUSART,
AUSART, CCP 5x10-bit
5x10-bitA/D,
A/D,SSP
CCP SSP Existing

Standard Standard + EE Enhanced


© 2004 Microchip Technology Incorporated. All Rights Reserved. 14
What changed from the PICC716 to the
PIC16F716?
(A) Program memory changed from OTP to
Flash
(B) The CCP module is now an ECCP module
(C) The BOR now has 2 levels 2.5V and 4.0V

© 2004 Microchip Technology Incorporated. All Rights Reserved. 15


Strengths of the ‘‘Traditional’
Traditional’
18-Pin Flash Devices
18-Pin
G Traditional 18-Pin pinout
G Easy migration paths (Example: PIC16F627A-PIC16F628A-
PIC16F648A)
G Well rounded peripheral set
G Communications: AUSART, I2C™, SPI™
G Analog: 10-bit A/D, Comparators
G Digital peripherals: Timers, Capture Compare PWM
G PEEC Flash Technology
G Enhanced Flash Memory options available
G Data EEPROM
G nanoWatt Technology
G Flexible Power consumption options
© 2004 Microchip Technology Incorporated. All Rights Reserved. 16
18-Pin Migration
18-Pin
PIC16 Flash
10-bit A/D
PIC16F87
PIC16F87 PIC16F88
PIC16F88
Prog mem More Memory,
RD/WR, SSP, AUSART
LP Modes 10-bit A/D, Prog
mem RD/WR
PIC16F627/8/48A
PIC16F627/8/48A PIC16F818/9
PIC16F818/9
x14 Core,
More Memory, EE, Intosc,
EE, USART, 10-bit A/D,
CCP, Timer1, ECCP SSP, Prog
Comparators, X14 Core, More Mem RD/WR
BOR, ICSP, Memory, 8-bit Low Power
Low Power A/D, ECCP, 2
Timers, PBOR
PIC16F54
PIC16F54 PIC16F716
PIC16F716

© 2004 Microchip Technology Incorporated. All Rights Reserved. 17


Small Pincount Flash PIC® MCU
Agenda
G New Baseline Flash microcontrollers

G Small Mid-Range Flash Microcontrollers


G ‘Traditional’ 18-Pin
G ‘Next Generation’ 8/14/20-Pin devices
G KEELOQ® peripheral/Battery Optimized Update

G 28/40-Pin & Low Pin-count LCD Microcontrollers

G Development Tools
© 2004 Microchip Technology Incorporated. All Rights Reserved. 18
‘‘Enhanced’
Enhanced’ Mid -Range
Mid-Range
8/14/20 -Pin Flash PICmicro®®MCUs
8/14/20-Pin
PIC16F688
PIC16F688 PIC16F685
PIC16F685 PIC16F689
PIC16F689
4kWord,
4kWord,2xComp
2xComp 4kWord,
4kWord,2xComp
2xComp 4kWord,
4kWord,2xComp
2xComp
256
256 EE, 256RAM
EE, 256 RAM 256
256 EE, 256RAM 256 EE, 256RAM
EE, 256RAM 256 EE, 256 RAM
8x10-bit
8x10-bitA/D,
A/D, 12x10-bit
12x10-bitA/D,
A/D, 12x10-bit
12x10-bitA/D,
A/D,
EUSART
EUSART ECCP+
ECCP+ SSP/EUSART
SSP/EUSART
Features/Memory
Features/Memory

PIC12F683 PIC16F684 PIC16F687 PIC16F785


PIC16F785
PIC12F683 PIC16F684 PIC16F677
PIC16F677 PIC16F687 2kWord,
2kWord, 2kWord,2xComp
2xComp
2kWord,1xComp
1xComp 2kWord,
2kWord,2xComp
2xComp 2kWord, 2xComp
2kWord,
2kWord, 2xComp
2xComp
256 2kWord, 2xComp 256 EE, 128 RAM 256 EE, 128RAM
256 EE, 128 RAM
256 EE, 128RAM
EE, 128 RAM 256
256 EE, 128RAM
EE, 128 RAM 256 256 EE, 128 RAM
4x10-bit 256EE,
EE,128
128RAM
RAM 12x10-bit A/D, 8x10-bit
8x10-bitA/D,
A/D,
4x10-bitA/D,
A/D, 8x10-bit
8x10-bitA/D,
A/D, 12x10-bit 12x10-bit A/D,
CCP ECCP 12x10-bitA/D
A/D SSP/EUSART
2xOPAMP,
2xOPAMP,CCP,
CCP,
CCP ECCP SSP/EUSART SMC
SMC

PIC12F675
PIC12F675 PIC16F676
PIC16F676
1kWord,
1kWord,1xComp
1xComp 1kWord,
1kWord,1xComp
1xComp
128
128EE,
EE,64
64RAM
RAM 128
128EE,
EE,64
64RAM
RAM
4x10-bit A/D
4x10-bit A/D 8x10-bit A/D
8x10-bit A/D

PIC12F629
PIC12F629 PIC16F630
PIC16F630 PIC16F631
PIC16F631
Concept
1kWord,
1kWord,1xComp
1xComp 1kWord,
1kWord,1xComp
1xComp 1kWord,
1kWord,2xComp
2xComp Design
128
128EE,
EE,64
64RAM
RAM 128
128EE,
EE,64
64RAM
RAM 128EE,
128EE,64
64RAM
RAM
Existing

8 Pin 14 Pin 20 Pin


© 2004 Microchip Technology Incorporated. All Rights Reserved. 19
‘‘Enhanced’
Enhanced’ Midrange
8/14/20-pin Pinout
8/14/20-pin

14 - Pin
8 - Pin

20 - Pin
G 20-Pin family VDD VSS

G Core functions the RA5 RA0


same as 8/14-Pin RA4 RA1
G Seamless Code and RA3 RA2
feature Migration in
low Pincount Flash RC5 RC0
Devices RC4 RC1
G Full 18 I/O pins with RC3 RC2
IntOsc
RC6 RB4

RC7 RB5

RB7 RB6

© 2004 Microchip Technology Incorporated. All Rights Reserved. 20


““History
History of the 88-pin
-pin Micro”
Micro”
PIC12C509A vs. PIC12F629
PIC12C509A PIC12F629
G 12-Bit Instruction Set G 14-Bit Instruction Set
G 1024 Words EPROM G 1024 Words Flash
G 41 Bytes RAM G 64 Bytes RAM
G 1x8-bit Timer G 1x8-bit, 1x16-bit Timer
G 128 Bytes EEPROM
G Comparator
G Improved Internal Osc
G BOR

© 2004 Microchip Technology Incorporated. All Rights Reserved. 21


PIC12F629 vs. PIC12F683

PIC12F629 PIC12F683
G 1024 Words Flash G 2048 Words Flash
G 64 Bytes RAM G 128 Bytes RAM
G 1x8-bit, 1x16-bit Timer G 2x8-bit, 1x16-bit Timer
G 256 Bytes EEPROM
G 128 Bytes EEPROM
G 8 MHz Internal Osc
(Software Control)
G BOR (Software enable)
G CCP Module
G 4x10-bit A/D
G ULPW, Extended WDT
G Faster Programming

© 2004 Microchip Technology Incorporated. All Rights Reserved. 22


8/14-Pin Migration
8/14-Pin

PIC12F683
PIC12F683 PIC12F635
PIC12F635
PIC16F684/8
PIC16F684/8 PIC16F636/9
PIC16F636/9
More Memory, 10-bit A/D, 8 MHz intosc, ULPW,
ULPW, 8 MHz intosc, Ext. Faster Pgrming, Ext.
WDT, Software BOR, WDT, Software BOR,
Faster Programming, KEELOQ®, PLVD, WUR
CCP/ECCP, EUSART
PIC12F629
PIC12F629 10-bit A/D PIC12F675
PIC12F675
PIC16F630
PIC16F630 PIC16F676
PIC16F676
x14 Core, Flash,
EEPROM, More RAM,
Comparator, BOR,
Better Intosc, Timer1 PIC12F509
PIC12F509
2V Operation, Lower PIC12F508
PIC12F508
Power Better Intosc
PIC12C509A
PIC12C509A 2V Operation
PIC12C508A
PIC12C508A Lower Cost
© 2004 Microchip Technology Incorporated. All Rights Reserved. 23
The secret weapon
weapon……
The Comparator
G Good General Purpose Comparator Standard on
all products
G Internal Voltage Divider (VREF) available
G Up to 32 Software Programmable levels available
G Many Different operating modes
G Programmable input multiplexing
G Output is externally available (Use as a stand-alone
analog component)
G Switched off if not used to save power
G Can be used as an A/D Converter
See Comparator Tips&Tricks (DS41215) for comparators uses

© 2004 Microchip Technology Incorporated. All Rights Reserved. 24


Internal Oscillator

G Best in the industry stability over temperature and


voltage
G Quick startup
G Controller starts to execute code in 8 clock cycles
G Factory Calibrated to ±1%
G Often replace Resonator

© 2004 Microchip Technology Incorporated. All Rights Reserved. 25


Why is a quick startup important?

1 mA
IDD
1 uA

Device wakes up, For Battery Applications:


test a condition and G Minimize ‘On’ time
goes back to sleep G Minimum Sleep current

A quick startup Result:


time reduces Longer
‘on’ time Battery Life
© 2004 Microchip Technology Incorporated. All Rights Reserved. 26
Timer1

G 16-bit Synchronous/Asynchronous Timing


G High Resolution A/D with Comparators
G Allow external LP crystal operation
G Periodic wakeup from SLEEP mode
G Low Power accurate timing when combined with quick
startup internal oscillator

0110101101101000

© 2004 Microchip Technology Incorporated. All Rights Reserved. 27


Timer 1 with Comparator Gate
Control
Comparator Output
Directly into Timer1 T1GSS

RC1/AN5 - Timer 1 (16-bits)


RC0/AN4 +
COMP2
This can be used for:
G Additional Input Capture
G A/D Conversion up to 14-bits+ (See AN700)
G Counting Analog Events
© 2004 Microchip Technology Incorporated. All Rights Reserved. 28
Wide Operating Voltage - Longer
Battery Life
Voltage

Time
Operating Voltage Range
translates into battery life

Wider Operating Voltage


means longer battery life
© 2004 Microchip Technology Incorporated. All Rights Reserved. 29
8/14-Pin Migration
8/14-Pin

PIC12F683
PIC12F683 PIC12F635
PIC12F635
PIC16F684/8
PIC16F684/8 PIC16F636/9
PIC16F636/9
More Memory, 10-bit A/D, 8MHz intosc, ULPW,
ULPW, 8 MHz intosc, Ext. Faster Pgrming, Ext.
WDT, Software BOR, WDT, Software BOR,
Faster Programming, KEELOQ®, PLVD, WUR
CCP/ECCP, EUSART
PIC12F629
PIC12F629 10-bit A/D PIC12F675
PIC12F675
PIC16F630
PIC16F630 PIC16F676
PIC16F676
x14 Core, Flash,
EEPROM, More RAM,
Comparator, BOR,
Better Intosc, Timer1 PIC12F509
PIC12F509
2V Operation, Lower PIC12F508
PIC12F508
Power Better Intosc
PIC12C509A
PIC12C509A 2V Operation
PIC12C508A
PIC12C508A Lower Cost
© 2004 Microchip Technology Incorporated. All Rights Reserved. 30
How is the internal oscillator on the 68x
different from the 629/630/67x?
(A) The maximum frequency increased from
4MHz to 8MHz
(B) The Frequency is software controlled as in
the PIC18 nanoWatt devices
(C) It offers the failsafe clock monitor

© 2004 Microchip Technology Incorporated. All Rights Reserved. 31


Software controlled
Brownout Reset
1mA
Idd
1uA

Switch BOR on Switch BOR off


during Program when device goes
execution to SLEEP
A software controlled Result: Longer
BOR ensures reliable Battery Life and
operation, but still have More reliable
low power operation
© 2004 Microchip Technology Incorporated. All Rights Reserved. 32
Ultra Low Power Wakeup
(ULPW)
G Allows slow changing
inputs to PIC® MCU
Standard I/OG Application include:
G Basic Timer (Low Power)
G Low Voltage detect
G Temperature sensing
G Available on PIC12F683,
Vil PIC16F684, PIC16F688 +
more products
G See AN879

© 2004 Microchip Technology Incorporated. All Rights Reserved. 33


Extended Watchdog

1 mA
IDD
1 uA

Device wakes up, Extended Watchdog:


test a condition and G Lower Power Consumption
go back to sleep During Sleep
G Increased time between
watchdog timeouts

© 2004 Microchip Technology Incorporated. All Rights Reserved. 34


Capture/Compare/PWM Module

G Standard CCP Module in PIC12F683


G First 8-pin device with Capture, Compare, and PWM
G 16-bit Capture/16-bit Compare,10-bit PWM
G Enhanced ECCP Module in PIC16F684
G All CCP features
G Single, half and full H bridge outputs
G Dead band control
G Auto-shutdown feature using combinations of C1, C2
and INT

© 2004 Microchip Technology Incorporated. All Rights Reserved. 35


Typical Applications
using the CCP/ECCP
G Motor control speed
G D-to-A Conversion
G Stepper motor, micro-step controller
G Timing control and event sequencing
G Magnetic/pneumatic actuator intelligent control
G LED/Lamp intelligent driver
G PWM of AC power
G Switching power supply controller

© 2004 Microchip Technology Incorporated. All Rights Reserved. 36


Low Cost Motor Control
Example Application
Temp Brushed DC
Sensor Motor

Vdd Vss
Vdd

PIC12F683 +
Speed
Current
Control -
MCP sense
6001

Analog Attach
See CCP/ECCP Tips&Tricks (DS41214)
© 2004 Microchip Technology Incorporated. All Rights Reserved. 37
Small Pincount Flash PIC® MCU
Agenda
G New Baseline Flash microcontrollers

G Small Mid-Range Flash Microcontrollers


G ‘Traditional’ 18-Pin
G ‘Next Generation’ 8/14/20-Pin devices
G KEELOQ® peripheral/Battery Optimized Update

G 28/40-Pin & Low Pin-count LCD Microcontrollers

G Development Tools
© 2004 Microchip Technology Incorporated. All Rights Reserved. 38
8/14/20-Pin Roadmap
8/14/20-Pin
Battery Optimized
PIC16F639
PIC16F639
2kWord,
2kWord,2xComp
2xComp
256
256EE,
EE,128
128RAM
RAM
KKEELOQ , PLVD
EELOQ, PLVD
AFE
AFE
Features/Memory
Features/Memory

PIC16F636
PIC16F636
2kWord,
2kWord,2xComp
2xComp
256
256EE,
EE,128
128RAM
RAM
KKEELOQ , PLVD
EELOQ, PLVD

PIC12F635
PIC12F635
1kWord,
1kWord,1xComp
1xComp
128
128EE,
EE,64
64RAM
RAM
KKEEL OQ , PLVD
EELOQ, PLVD

Concept
Design
Existing

8 Pin 14 Pin 20 Pin


© 2004 Microchip Technology Incorporated. All Rights Reserved. 39
8/14-Pin Migration
8/14-Pin

PIC12F683
PIC12F683 PIC12F635
PIC12F635
PIC16F684/8
PIC16F684/8 PIC16F636/9
PIC16F636/9
More Memory, 10-bit A/D, 8MHz intosc, ULPW,
ULPW, 8MHz intosc, Ext. Faster Pgrming, Ext.
WDT, Software BOR, WDT, Software BOR,
Faster Programming, PLVD, WUR, KEELOQ®,
CCP/ECCP, EUSART Transponder AFE
PIC12F629
PIC12F629 10-bit A/D PIC12F675
PIC12F675
PIC16F630
PIC16F630 PIC16F676
PIC16F676
x14 Core, Flash,
EEPROM, More RAM,
Comparator, BOR,
Better Intosc, Timer1 PIC12F509
PIC12F509
2V Operation, Lower PIC12F508
PIC12F508
Power Better Intosc
PIC12C509A
PIC12C509A 2V Operation
PIC12C508A
PIC12C508A Lower Cost
© 2004 Microchip Technology Incorporated. All Rights Reserved. 40
Wake -up Reset Function
Wake-up
(WUR)
WUR forces the
New Battery, Device to Reset
End of old Battery, inserted when waking up
Device in SLEEP,
VDD

BOR off, 1uA IDD

Time
Replace battery, VDD drops too low Wakeup
Capacitor starts for PC/RAM to keep event
discharging value, but too high
for POR trigger
© 2004 Microchip Technology Incorporated. All Rights Reserved. 41
PLVD

G Programmable Low Voltage Detect (PLVD)


G 8 Options ranging from 1.9V - 4.5V
G Allows detection of low battery voltage without
the use of an external reference
G Software controlled (Switch off during SLEEP)

© 2004 Microchip Technology Incorporated. All Rights Reserved. 42


New KEELOQ®® Peripheral
What is it?...
G Hardware Encryption/Decryption peripheral:
G Offers the ability to implement KEELOQ
encryption/decryption on a microcontroller
G Faster encryption/decryption than done with software
G Consists of:
G Registers for (Key, data, configuration)
G Non-linear lookup table
G State machine
G Easy to use ‘Load n Go’ operation
G Reliable, proven algorithm for authentication

© 2004 Microchip Technology Incorporated. All Rights Reserved. 43


KEELOQ®® Peripheral
Where will people use this?...

G Remote Keyless Entry


G Authentication (Identity, Property)
G Security systems (All remote sensors and the
communication between these)
G Pseudo random number generation (Example:
Electronic dice for toys)

© 2004 Microchip Technology Incorporated. All Rights Reserved. 44


Which of the following nanoWatt Features
are unique to the PIC12F635/16F636
(A) Wakeup Reset (WUR) Function
(B) Programmable Low Voltage Detect
(PLVD)
(C) Ultra Low Power Wakeup (ULPW)

© 2004 Microchip Technology Incorporated. All Rights Reserved. 45


Killer Attributes of the ‘‘Enhanced’
Enhanced’
8/14/20 -Pin Devices
8/14/20-Pin
G Flash Program and EEPROM Data Memory
G Up to 12 channels of 10-bit A/D
G Comparator(s) Standard on all products
G Precision Internal Oscillator (2 Versions)
G Wide Operating Voltage (2.0V - 5.5V)
G 16-bit Timer (Timer1) on all Products
G nanoWatt Features
G Brownout Reset (BOR)
G Advanced Peripherals

© 2004 Microchip Technology Incorporated. All Rights Reserved. 46


Small Pincount Flash PIC® MCU
Agenda
G New Baseline Flash microcontrollers

G Small Midrange Flash Microcontrollers


G ‘Traditional’ 18-Pin
G ‘Next Generation’ 8/14/20-Pin devices
G KEELOQ® peripheral/Battery Optimized Update

G 28/40-Pin & Low Pin-count LCD Microcontrollers

G Development Tools
© 2004 Microchip Technology Incorporated. All Rights Reserved. 47
PIC16F
28/40-Pin Roadmaps
28/40-Pin
PIC16F916
PIC16F916 PIC16F917
PIC16F917
8kWord,
8kWord,368RAM
368RAM 8kWord,
8kWord,368RAM
368RAM
4x10-bit
4x10-bitA/D,
A/D, 8x10-bit
8x10-bit A/D,
A/D, SSP,
SSP,
CCP, USART,
CCP, USART, 2xCCP, USART,
2xCCP, USART,
IntOSC,
IntOSC, 52LCD
52LCD IntOSC,
IntOSC, 96LCD
96LCD
PIC16F767
PIC16F767 PIC16F876A
PIC16F876A PIC16F777
PIC16F777 PIC16F877A
PIC16F877A
Features/Memory

PIC16F76 PIC16F77
Features/Memory

PIC16F76 8kWord, PIC16F77


8kWord, 8kWord,368RAM
368RAM 8kWord,
8kWord,368RAM,
368RAM, 8kWord,
8kWord,368RAM
368RAM 8kWord,
8kWord,368RAM,
368RAM,
8kWord,368RAM
368RAM 11x10-bit A/D, 256EE, 5x10-bit
8kWord,
8kWord,368RAM
368RAM 14x10-bit A/D, 256EE, 8x10-bit
5x8-bit 11x10-bit A/D, 256EE, 5x10-bit 14x10-bit A/D, 256EE, 8x10-bit
5x8-bit A/D, SSP,
A/D, SSP, MSSP,
8x8-bit
8x8-bit A/D, SSP,
A/D, SSP,
2xCCP, MSSP, 3xCCP,
3xCCP, A/D,
A/D, MSSP,
MSSP, MSSP,
MSSP, 3xCCP,
3xCCP, A/D,
A/D, MSSP,
MSSP,
2xCCP,USART
USART USART, IntOSC 2xCCP,
2xCCP,
2xCCP,USART
USART
USART, IntOSC 2xCCP,AUSART
AUSART USART, IntOSC
USART, IntOSC 2xCCP,
2xCCP,AUSART
AUSART
PIC16F913
PIC16F913 PIC16F914
PIC16F914
4kWord,
4kWord,256RAM
256RAM 4kWord,
4kWord,256RAM
256RAM
4x10-bit
4x10-bitA/D,
A/D, 8x10-bit
8x10-bit A/D,
A/D, SSP,
SSP,
CCP, USART,
CCP, USART, 2xCCP, USART,
2xCCP, USART,
IntOSC,
IntOSC, 52LCD
52LCD IntOSC,
IntOSC, 96LCD
96LCD
PIC16F73 PIC16F737
PIC16F737 PIC16F873A
PIC16F873A PIC16F74 PIC16F747
PIC16F747 PIC16F874A
PIC16F874A
PIC16F73 4kWord, PIC16F74
4kWord, 4kWord,368RAM
368RAM 4kWord,
4kWord,192RAM,
192RAM, 4kWord,
4kWord,368RAM
368RAM 4kWord,
4kWord,192RAM,
192RAM,
4kWord,192RAM
192RAM 11x10-bit A/D, 128EE, 5x10-bit
4kWord,
4kWord,192RAM
192RAM 14x10-bit A/D, 128EE, 8x10-bit
5x8-bit 11x10-bit A/D, 128EE, 5x10-bit 14x10-bit A/D, 128EE, 8x10-bit
5x8-bit A/D, SSP,
A/D, SSP, MSSP,
8x8-bit
8x8-bit A/D, SSP,
A/D, SSP,
2xCCP, MSSP, 3xCCP,
3xCCP, A/D,
A/D, MSSP,
MSSP, MSSP,
MSSP, 3xCCP,
3xCCP, A/D,
A/D, MSSP,
MSSP,
2xCCP,USART
USART USART, IntOSC 2xCCP,
2xCCP,
2xCCP,USART
USART
USART, IntOSC 2xCCP,AUSART
AUSART USART, IntOSC
USART, IntOSC 2xCCP,
2xCCP,AUSART
AUSART
PIC16F72
PIC16F72
2kWord,
2kWord,128RAM
128RAM
Concept
5x8-bit
5x8-bit A/D,
CCP
A/D, SSP
SSP Design
CCP
Existing
28 Pin 40 Pin
© 2004 Microchip Technology Incorporated. All Rights Reserved. 48
PIC16F7x7 Features

G 4Kw/8Kw Standard Flash G Packaging:


G 368 Bytes RAM G 28 Lead- PDIP, SOIC,
SSOP, 6x6 QFN
G 25/36 I/O G 40 Lead-PDIP, 8x8 QFN
G 11/14 Channel 10-bit ADC G 44 Lead-TQFP
G 2 Comparators
G 3 CCP(PWM)
G LVD/BOR
G AUSART/MI2C/SPI
G INTOSC: 8 MHz
G Power Managed Modes

© 2004 Microchip Technology Incorporated. All Rights Reserved. 49


PIC16F7x7 Features vs. PIC16F7x
and PIC16F87X
Prog. Data On- LP
Memory RAM Data EE A/D Comp- 8/16-bit Voltage CCP LVD / chip Mod
(Words) (Bytes) (Bytes) Pins I/O Pins Chn/Res arators Counters Range (PWM) BOR Serial Osc es
USART/
PIC16F73 4K 192 - 28 22 5x8-bit - 2/1 2.0-5.5 2 Yes I2C/SPI - -
USART/
PIC16F74 4K 192 - 40 33 8x8-bit - 2/1 2.5-5.5 2 Yes I2C/SPI - -
USART/
PIC16F76 8K 368 - 28 22 5x8-bit - 2/1 2.5-5.5 2 Yes I2C/SPI - -
USART/
PIC16F77 8K 368 - 40 33 8x8-bit - 2/1 2.0-5.5 2 Yes I2C/SPI - -
AUSART/
PIC16F737 4K 368 - 28 25 11x10-bit 2 2/1 2.0-5.5 3 Yes MI2C/SPI 1 Yes
AUSART/
PIC16F747 4K 368 - 40 36 14x10-bit 2 2/1 2.0-5.5 3 Yes MI2C/SPI 1 Yes
AUSART/
PIC16F767 8K 368 - 28 25 11x10-bit 2 2/1 2.0-5.5 3 Yes MI2C/SPI 1 Yes
AUSART/
PIC16F777 8K 368 - 40 36 14x10-bit 2 2/1 2.0-5.5 3 Yes MI2C/SPI 1 Yes
AUSART/
PIC16F873A 4K 192 256 28 22 5x10-bit 2 2/1 2.0-6.0 2 PBOR MI2C/SPI - -
AUSART/
PIC16F874A 4K 192 256 40 33 8x10-bit 2 2/1 2.0-6.0 2 PBOR MI2C/SPI - -
AUSART/
PIC16F876A 8K 368 256 28 22 5x10-bit 2 2/1 2.0-6.0 2 PBOR MI2C/SPI - -
AUSART/
PIC16F877A 8K 368 256 40 33 8x10-bit 2 2/1 2.0-5.5 2 PBOR MI2C/SPI - -

© 2004 Microchip Technology Incorporated. All Rights Reserved. 50


Small Pincount LCD
PIC16F91x
G Same basic Feature set as 68x Devices…
G 8 MHz, Clock Divides, EEPROM, Comparators, etc.
G Low Power 32 kHz Timer1
G LCD Peripheral
G 52 Segments for 28-Pin Devices
G 96 Segments for 40-Pin Devices
G LCD Operation similar to PIC18F8490 Family
G Other Peripherals include
G Up to 2x CCP Modules
G 10-bit A/D
G AUSART/SSP

© 2004 Microchip Technology Incorporated. All Rights Reserved. 51


Example Application:
Wireless Thermostat
Low Power Communication to
Real Time Clock the rest of the system

Vdd
TMR1 USART RF Transceiver

A/D
Temp
Vdd PIC16F914
LCD

A/D to sense Wakeup on change LCD for Display


Temperature for Buttons/Switches
© 2004 Microchip Technology Incorporated. All Rights Reserved. 52
What typical external components can be
integrated with the 91x in the previous
design
(A) Real Time Clock
(B) EEPROM for calibration, User program
(C) A/D for Temperature measurement

© 2004 Microchip Technology Incorporated. All Rights Reserved. 53


Small Pincount Flash PIC® MCU
Agenda
G New Baseline Flash microcontrollers

G Small Mid-Range Flash Microcontrollers


G ‘Traditional’ 18-Pin
G ‘Next Generation’ 8/14/20-Pin devices
G KEELOQ® peripheral /Battery Optimized Update

G 28/40-Pin & Low Pin-count LCD Microcontrollers

G Development Tools
© 2004 Microchip Technology Incorporated. All Rights Reserved. 54
ICD for 8/14/20-Pin Devices
8/14/20-Pin
(Including new Baseline Flash)
ICD2 (DV164005,
DV164006,DV164007)
ICD2 Header
Target
Board
To PC

© 2004 Microchip Technology Incorporated. All Rights Reserved. 55


PICkit™1
PICkit™

G What’s new…
G Supports new Products
PIC12F683, PIC16F684,
PIC16F688
G Will also support Baseline
ICSP™ capability
G GUI Improvements to
interface application with
PC
G Low Cost, Easy-to-start
G $36 USD
G Tutorials included

© 2004 Microchip Technology Incorporated. All Rights Reserved. 56


PICkit ™ 1 V2.00 with Signal
PICkit™
Analysis PICtail™ Daughter Board
PICtail™

© 2004 Microchip Technology Incorporated. All Rights Reserved. 57


Thank you
Questions?

© 2004 Microchip Technology Incorporated. All Rights Reserved. 58

You might also like