You are on page 1of 31

IN THE LAST CLASS..

Different MCU manufacturers


Most favorable MCUs for
beginners
Microchip PIC
Atmels MCUs
8051

Why PIC is Popular?

MCU FAMILIES

PIC FAMILIES

PIC 10F/12F FAMILY

PIC 10F/12F PRODUCTS


Low pin count & small form
factor
Internal 4 & 8 MHz Oscillator
10-bit A/D converter and
comparator
Low Voltage & Power Operation
Flexible program & data memory
2K Flash
128 Bytes RAM

PIC 16F Family

UART
Universal Asynchronous Receiver
Transmitter
Advantages of serial communication
Translates data between serial and
parallel
Universal The transmission
speeds are configurable
Start bit - Data - Stop Bit

SPI
Serial Peripheral Interface
Synchronousserial data link named by
Motorola
Full duplexmode- Info can travel both directions
at same time

Four Lines
SCK: Serial Clock (output from master)
MOSI: Master Output, Slave Input (Output from
master)
MISO: Master Input Slave Output(Output from slave)
SS: Slave Select

SPI

I2 C

Inter-Integrated Circuits
Patented by NXP ( Formerly Philips)
Atmel : TWI Twin Wire Interface
Two Wires
SCL: Serial Clock
SDA: Serial Data

No Slave Selects (SS) Uses Addressing


Linescanbepulledlowbyanydevice,an
darehighwhenalldevicesreleasethem.

I2 C

PIC 16F Products


14-64 pins
Up to 14K Flash,384 Bytes
RAM,256 Bytes EEPROM
10-Bit ADC , Comparators
UART,SPI,I2C
LCD Drivers

PIC 18 Series

PIC 18F Products


8 bit devices @ 10-16 MIPS
Up to 128 KB Flash,4 KB RAM, 1 KB
EEPROM
Advanced Peripherals
USB, Ethernet, CAN
10 & 12 bit ADC
Charge Time Measurement Unit
Integrated LCD Drivers
Peripheral Pin Select

16 Bit MCUs

PIC 24F Series

PIC24F Products
16-Bit Devices @ 16 MIPS
8-256 KB Flash, 0.5-16 KB RAM,
512 Bytes EEPROM
Peripheral Pin Select
USB OTG
Charge Time Measurement Unit
nanoWatt XLP eXtreme Low
Power <20nA Sleep Currents

PIC24H Family

Typical CPU-UART
Interaction

UART Data Handling with DMA

PIC24H Products
High Speed 16-Bit devices
40 MIPS Performance
12K- 128k Flash, 1k-16k RAM
18-100 pin devices
16-bit core optimized for C
DMA controlled peripherals
10/12-Bit ADC
2xUART, 2xSPI, 2xI2C,CAN

dsPIC Family

dsPIC30F Family

dsPIC30F Products

30 MIPS
18-100 pin Devices
16 bit core optimized for C
1 cycle MAC, 2 x 40-bit ACC,
Barrel Shifter
Codec Interface Highly suited
for speech processing
Quadrature Encoder Interface

dsPIC33F Block Diagram

dsPIC33

40 MIPS
FASTE
18-100 pin Devices
R
DMA Controlled Peripherals
Codec Interface

LARGE
R

32 bit PIC MCUs

PIC 32 Family

PIC 32 Products
Up to1.65 MIPS/MHz
DMA controlled Peripherals
16-Bit Parallel Master Port
USB OTG with Dedicated
DMA

WHICH PIC?
Basic circuits - 8 Bit PICs
LED controls,Switches,basic
ADC,DAC,SPI,I2C and UART

Complex Circuits 16 Bit PICs


Ethernet

Digital Signal Processing dsPICs


Speech Recognition, Audio Processing

Most complex circuits 32 Bit PICs


CAN, Ethernet

Data Retention

You might also like