Top Banner
Microchip’s PICs 8 & 16 bit Guido Ottaviani AKA: Guiott [email protected] www.officinerobotiche.it www.guiott.com
31

Microchip's PICs 8 and 16 bits

Apr 14, 2017

Download

Devices & Hardware

Guido Ottaviani
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Microchip's PICs 8 and 16 bits

Microchip’s PICs8 & 16 bit

Guido OttavianiAKA: Guiott

[email protected]

www.officinerobotiche.itwww.guiott.com

Page 2: Microchip's PICs 8 and 16 bits

MCU vs CPU

Page 3: Microchip's PICs 8 and 16 bits

Harvard Architecture

Page 4: Microchip's PICs 8 and 16 bits

Programming models

Direct programming

Real Time Operating System

High level Operating System

Page 5: Microchip's PICs 8 and 16 bits

Latency & Response Time

Synchronization

micro seconds timing

Real time operations

Page 6: Microchip's PICs 8 and 16 bits

Microchip controllers family

Page 7: Microchip's PICs 8 and 16 bits

www.microchip.com/maps/microcontroller.aspx

Page 9: Microchip's PICs 8 and 16 bits

Development Boards

Page 10: Microchip's PICs 8 and 16 bits

Documentation

Page 11: Microchip's PICs 8 and 16 bits

Buy & sample

Page 12: Microchip's PICs 8 and 16 bits

8-bit Family

Page 13: Microchip's PICs 8 and 16 bits

PIC18F Peripherals

Page 14: Microchip's PICs 8 and 16 bits

16-bit Performance Options

Page 15: Microchip's PICs 8 and 16 bits

dsPIC33 & PIC 24 Peripherals

Page 16: Microchip's PICs 8 and 16 bits

8-bit PICs Interrupt

PIC 12-16

PIC 18

Page 17: Microchip's PICs 8 and 16 bits

16-bit PICs Interrupt

Page 18: Microchip's PICs 8 and 16 bits

Peripherals + Interrupts

Page 19: Microchip's PICs 8 and 16 bits

What Defines Low Power?

Page 20: Microchip's PICs 8 and 16 bits

Power Saving TechniquesMode Core FLASH Peripherals Voltage

Regulator RAMSavings

over RUN Mode

Of Note

Run ON ON ON ON ON 0 Full current consumption.

DozeSlower Clock Rate

Slower Clock Rate

ON ON ON 25-65% CPU is slowed down to as much as 1/128 of its Run mode speed.

Idle OFF OFF ON ON ON 0,7 Use in moments when code execution is not needed

Sleep OFF OFFOFF - Except for peripherals with their own clock

ON ON 70% - 85%RAM and registers maintained. Latencies of up to tens of microseconds are expected.

Low Voltage Sleep

OFF OFFOFF - Except for peripherals with their own clock

Low Voltage Enabled ON 0,9 For longer-term sleep than Sleep,

when longer latencies are acceptable.

Deep Sleep OFF OFF OFF OFF OFF 97%+

Most of the MCU is OFF except for maybe a timer, interrupt handling, and a Real Time Clock and Calendar.

Page 21: Microchip's PICs 8 and 16 bits

Integrated Development Environment

Page 22: Microchip's PICs 8 and 16 bits

www.microchip.com/developmenttools

Page 23: Microchip's PICs 8 and 16 bits

MplabX IDE

Page 24: Microchip's PICs 8 and 16 bits

Development Tools Data Flow

Page 25: Microchip's PICs 8 and 16 bits

Debugging Techniques

Page 26: Microchip's PICs 8 and 16 bits

ICD3

Page 27: Microchip's PICs 8 and 16 bits

Programmers / Debuggers

38€

158€

395€

Page 28: Microchip's PICs 8 and 16 bits

Debugger comparison

Page 29: Microchip's PICs 8 and 16 bits

Useful Links

•www.microchip.com•microchip.wikidot.com•www.officinerobotiche.it•www.roboitalia.com•www.droids.it

Page 30: Microchip's PICs 8 and 16 bits

On Line Shops•www.microchipdirect.com•www.robot-italy.com•www.robot-domestici.it•www.watterott.com•www.olimex.com•www.coolcomponents.co.uk•it.rs-online.com•it.farnell.com•www.mouser.it•www.digikey.it

Page 31: Microchip's PICs 8 and 16 bits

Thank you

Guido OttavianiAKA: guiott

E-mail: [email protected]: www.guiott.com

code: code.google.com github.com/guiott