Chapter 13. PIC Family Microcontroller



Similar documents
STM32 F-2 series High-performance Cortex-M3 MCUs

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

2.0 Command and Data Handling Subsystem

Lab Experiment 1: The LPC 2148 Education Board

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Am186ER/Am188ER AMD Continues 16-bit Innovation

System Considerations

Atmel Norway XMEGA Introduction

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Advanced Microcontrollers Grzegorz Budzyń Lecture. 3: Electrical parameters of microcontrollers 8051 family

Tutorial for MPLAB Starter Kit for PIC18F

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Microtronics technologies Mobile:

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

ET-BASE AVR ATmega64/128

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

PIC-MAXI-WEB development board Users Manual

Lecture N -1- PHYS Microcontrollers

Motor Control using NXP s LPC2900

Microcontrollers in Practice

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

Ingar Fredriksen AVR Applications Manager. Tromsø August 12, 2005

Serial port interface for microcontroller embedded into integrated power meter

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

The Programming Interface

USB OTG and Embedded Host Microchip Technology Incorporated. All Rights Reserved. Slide 1

System Design Issues in Embedded Processing

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

AN4646 Application note

ARM Cortex STM series

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Serial Communications

All Programmable Logic. Hans-Joachim Gelke Institute of Embedded Systems. Zürcher Fachhochschule

Building Blocks for PRU Development

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

MX PIC24F Educational Module User Manual

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

Atmel s Self-Programming Flash Microcontrollers

OTi. Ours Technology Inc. OTi-6828 FLASH DISK CONTROLLER. Description. Features

AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC STANDARD INTRODUCTION

8051 MICROCONTROLLER COURSE

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

DAC Digital To Analog Converter

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Concept Engineering Adds JavaScript-based Web Capabilities to Nlview at DAC 2016

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

POCKET SCOPE 2. The idea 2. Design criteria 3

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Memory Basics. SRAM/DRAM Basics

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

Lesson-16: Real time clock DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK

PIC32 Microcontroller Families

INTERRUPTS. There are 2 methods for communicating between the microcontroller and the external system: POLLING INTERRUPTS

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

Andreas Läng. Hilscher Gesellschaft für Systemautomation mbh Intelligent solutions for industrial communication.

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

C167Derivatives 16-Bit CMOS Single-Chip Microcontrollers. User's Manual Version Semiconductor/

MVME162P2. VME Embedded Controller with Two IP Slots

EMBEDDED SYSTEM BASICS AND APPLICATION

Hello and welcome to this presentation of the STM32L4 Firewall. It covers the main features of this system IP used to secure sensitive code and data.

User Manual. AS-Interface Programmer

USER GUIDE EDBG. Description

PAC52XX Clock Control Firmware Design

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

Digital Signal Controller Based Automatic Transfer Switch

Design of Online Embedded Web Server for Data Acquisition System # Author

1. Computer System Structure and Components

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

Single Phase Two-Channel Interleaved PFC Operating in CrM

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

Production Flash Programming Best Practices for Kinetis K- and L-series MCUs

An Introduction to MPLAB Integrated Development Environment

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

USB 3.0 Connectivity using the Cypress EZ-USB FX3 Controller

Freescale Semiconductor, I

Computer Organization and Components

Byte code Interpreter for 8051 Microcontroller

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Soft processors for microcontroller programming education

Microcontrollers A Brief History of Microprocessors

Overview of the Cortex-M3

Keil C51 Cross Compiler

Architekturen und Einsatz von FPGAs mit integrierten Prozessor Kernen. Hans-Joachim Gelke Institute of Embedded Systems Professur für Mikroelektronik

ALARM SYSTEM USING BODY DETECTOR UMMI KALSOM BINTI NOOR DIN

7a. System-on-chip design and prototyping platforms

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654

ECIO40P ECIO28P ECRM40. Page 1. USB programmable microcontrollers. 0.6 DIP footprint. Supplied with a free version of Flowcode. E-blocks compatible

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

Transcription:

Chapter 13 PIC Family Microcontroller

Lesson 01 PIC Characteristics and Examples

PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to 25 ma output pin drive Programming of microcontroller by synchronous serial pins 3

PIC microcontroller characteristics Watchdog timer Parallel slave port (PSP) SPI (Serial Peripheral Interface) called MSSP (Master-Slave Serial Port) USART Analog input ports 4

PIC microcontroller development tools In-circuit debugger Free integrated development environment (IDE) Free Assembler and Simulator 5

PIC microcontroller versions C versions having EPROM (Erasable and programmable Read Only memory) F versions having flash memory 6

12Cxxx family 12/14 bit internal operations 33/35 instructions 0.4 s time instruction cycle time (minimum time for instruction execution) PIC12F675 high performance with flash memory 12F675 has 1k of code space (program memory), 64 bytes of RAM and 128 bytes of EEPROM and runs up to 20 MHz clock speed 7

PIC12F675 High performance Flash memory 1k of code space (program memory) 64 bytes of RAM 128 bytes of EEPROM Runs up to 20 MHz clock speed 8

16C5xx family 12 bit internal operations 33 instructions 0.2 s (200 ns) instruction cycle time 9

16CFxx family 14 bit internal operations 35 instructions 0.2 s (200 ns) instruction cycle time 10

High performance Flash memory 8 k 14 code space 368 bytes RAM PIC 16F877A 256 bytes of EEPROM Single-cycle (0.2 s) instructions for all except branch instruction [20 MHz clock] Branch takes two cycles 11

17C5xx family 16 bit internal operations 58 instructions 0.12 s time for instruction cycle time 12

17Cxx family 17Cxx is for 16 bit enhanced internal operations 77 instructions 0.1 s time for minimum instruction execution time 13

18Fxxx New and advanced features Twice the program memory space and greater four times RAM, two times the speed 14

PIC 18F452 High performance and Flash memory 16 kb of code space, 1536 bytes of RAM 256 bytes of EEPROM Runs up to 40 MHz clock speed [X-Tal of 10 MHz and a 4.7 MOhm resistance between OSC1 and OSC2 pins are used and then PLL (phased locked loop) option is enabled when programming the chip. The internal clock thus multiplies four times.] 15

18F4550 USB interface 16

PIC32 family 32-bit Highest DMIPS per MHz clock operation Efficient internal bus architecture Advanced features of instruction caching and DMA controller channels Flash memory 32 kb to 512 kb On-chip RAM from 8 kb to 128 kb Integrates with CAN, USB and Ethernet buses 17

PIC32 80 MHz clock operations (internal) 256 B cache and flash pre-fetch module Performance 1.56 DMIPS per MHz Single cycle multiply and division unit Atomic bit manipulation unit. [No interrupt till bit-manipulation completes.] 18

PIC32 Fast context switching. [CPU data and status registers save automatically on call or interrupt and restore automatically.] 8-channel DMA controller Nested vector interrupt controller. [When an ISR is running, it can be interrupted by a higher priority interrupt event.] 19

PIC32 10-bit ADC with 1 M samples per second 16-bit parallel port 2.3-3.6V operation Up to 5 V IOs 20

Summary

We learnt PIC Characteristics- Synchronous serial pins used for programming, simpler instruction set, free assemble, simulator and IDE C and F versions PIC 12, 16, 17, 18 and 32 families 22

End of Lesson 01 on PIC Examples