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



Similar documents
Chapter 13. PIC Family Microcontroller

Atmel Norway XMEGA Introduction

Am186ER/Am188ER AMD Continues 16-bit Innovation

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

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

Lab Experiment 1: The LPC 2148 Education Board

Microtronics technologies Mobile:

8051 hardware summary

2.0 Command and Data Handling Subsystem

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

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

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

Wireless monitoring system for temperature and humidity based on ZigBee

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

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

PAC52XX Clock Control Firmware Design

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

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

Serial port interface for microcontroller embedded into integrated power meter

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

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

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Microcomputer Components SAB 80515/SAB 80C515 8-Bit Single-Chip Microcontroller Family

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

Z8 Encore! XP F082A Series Development Kit

Display Message on Notice Board using GSM

8051 MICROCONTROLLER COURSE

CPU ARM926EJ-S, 200MHz. Fast Ethernet 10/100 Mbps port. 6 digital input 2 digital open-drain alarm output

Flash Microcontroller. Memory Organization. Memory Organization

PIC-MAXI-WEB development board Users Manual

The Programming Interface

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

FLYPORT Wi-Fi G

DS1104 R&D Controller Board

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

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

Wireless Security Camera

EEM870 Embedded System and Experiment Lecture 1: SoC Design Overview

8031AH 8051AH 8032AH 8052AH NMOS SINGLE-CHIP 8-BIT MICROCONTROLLERS

MVME162P2. VME Embedded Controller with Two IP Slots

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

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

RF CONTROLLED VEHICLE ROBOT WITH METAL DETECTOR

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

Software engineering for real-time systems

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

AT89C Bit Microcontroller with 1 Kbyte Flash. Features. Description. Pin Configuration

ALARM SYSTEM USING BODY DETECTOR UMMI KALSOM BINTI NOOR DIN

Using Xbee in Serial Communication

Cellphone Based Device Control With Voice Acknowledgement

System Design Issues in Embedded Processing

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

Microcontroller to Sensor Interfacing Techniques

DS1307ZN. 64 x 8 Serial Real-Time Clock

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy

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

ET-BASE AVR ATmega64/128

Accurate Measurement of the Mains Electricity Frequency

ZigBee Technology Overview

DS87C520/DS83C520 EPROM/ROM High-Speed Micro

8-bit Flash Microcontroller with 64K bytes Program Memory AT89LP51RD2 AT89LP51ED2 AT89LP51ID2

ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET

TMU3114MS. USB Full Speed Controller. Data Sheet. Tenx reserves the right to change or discontinue this product without notice. tenx technology inc.

System Considerations

Figure 1.Block diagram of inventory management system using Proximity sensors.

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

MX PIC24F Educational Module User Manual

Digital Signal Controller Based Automatic Transfer Switch

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

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009

Android Controlled Based Interface

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

Chapter 6 PLL and Clock Generator

ARM Cortex STM series

Atmel Power Line Communications. Solutions for the Smart Grid

PROGRAMMABLE WIRELESS STAMP (PWS) USER MANUAL

Serial Communications

Wireless Sensor Network for Electric Meter Handling

Adding WiFi to Your Embedded System. WPG Americas & Gainspan Titus Wandinger (WPG) & Su Li (Gainspan) April 23, 2013

Fondamenti su strumenti di sviluppo per microcontrollori PIC

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Microcontrollers in Practice

8-bit Microcontroller with 8K Bytes In-System Programmable Flash. AT89LP52 - Preliminary

ÇANKAYA ÜNİVERSİTESİ ECE 491 SENIOR PROJECT I ERDİNÇ YILMAZ

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications

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

The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers

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

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems Peripherals

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

VMR6512 Hi-Fi Audio FM Transmitter Module

Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

Design Analysis of a Security Lock System using Pass-Code and Smart-Card

Automated Intelligent Power Saving System and Security System

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

Transcription:

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

Plan Electrical parameters of microcontrollers 8051 core(8-bit) Main features 8051 based microcontrollers

Electrical parameters

Electricalparameters Important parameters: Maximum ratings Power supply: Voltage Current consumption Clocking Reset I/O ports parameters

Electrical parameters Maximum ratings

Maximumratings Microcontrollershaveto be viewedas a complicated device, sensitive to many factors Each device have their own Absolute Maximum Ratings that must be viewed very carefully ThevaluesfoundinthattableMUST NOT be exceeded

Main parameters: Maximumratings Operating temperature Usually from -40C to 130C Differs fromchip vendorto chip vendor Usually different temperature versions available Thermal resistance should be taken into consideration in order to avoid problems with overheating Microcontrollers are usually NOT protected against overheating!

Main parameters: Maximumratings Maximum operating voltage: Maximumvalueofvoltagethatcanbe connectedto power supply input of the microcontroller For microcontrollers with multiple power supplies inputs, themaximumoperatingvoltageisdefinedfor each input separately

Main parameters: Maximumratings Input/ output voltage range: Maximumvalueofvoltagethatcanbe connectedto any pin of the microcontroller Thevalueisusuallylimittedby theactualpowersupply valueandmaystaywithinsomelimits(i.e. -0.5V to VCC+0.5V) The input-output voltage range can be extended when the CLAMP CURRENT parameter is used properly

Main parameters: Clamp Current: Maximumratings Themaximumcurrentthattheinputcansinkorthe output can source without any damage UsuallyinmArange Ifa seriesresistorisusedthenevenveryhigh or negative voltages can be directly connected to the microcontroller Usable in ESD protection

Electrical parameters Power supply

Power supply Delivering power to microcontrollers is usually a delicate task Most ofmicrocontrollershavemorethan1 power supply input Each power supply input have usually different requirements The most problematic for proper power supply are microcontrollers with analog part

Power supply Single supply Dual supply

System grounding Grounds shortened only on uc Ground shortened only on power supply Grounds shortened only on uc

Currentconsumption The requirements on power consumption reduction are nowdays very high Theactivesupplycurrentisintherangeof 1mA/MIPS Theactivesupplycurrentdependson the main clock frequency Microcontrollers offer many supply modes in order to reduce power consumption

Currentconsumption

Electrical parameters Clocking

Clocking External Crystal Oscillator: An external crystal oscillator is connected between XTAL inputs Modifying clock frequency requires change of the physical object(crystal) Clock stability can be high (1-10ppm)

Clocking Low Frequency Crystal Oscillator: Optimised for low frequency crystals mainly the 32.768 khz Similar stability like standard Crystal Oscillator

Clocking External RC Oscillator: Verysimpleandcheapoption Just two discreet components necessary Limitedto a fewmhzrange Ease of frequency regulation Very low stability(100-1000 ppm)

Clocking Internal RC Oscillator: Verysimpleandcheapoption Limitedto a fewmhzrange Easeoffrequencyregulation onlysoftware register change necessary Possibility of frequency calibration Very low stability(100-1000 ppm)

Clocking External Clock: The most expensive option Just one (but complicated!) component necessary the clock generator Very wide frequency range available(even above 100MHz) No possiblity of frequency regulation High to Ultra high stability(0.000001-10 ppm)!!!

Clocking Internal PLL: Requires external clock or external oscillator Wide frequency range available Ease of frequency regulation via software register Stabilitydependson theclocksourceandthe jitter of PLL. Usually not better than 1ppm

Electrical parameters Reset

Reset During Reset: alli/o Registersareset to theirinitialvalues the program starts execution from the Reset Vector Theresetcircuitrydoes not require any clock source to be running(it is asynchronous)

Reset In most microcontrollers there are available a few reset sources: Power-on Reset. TheMCU isresetwhenthesupply voltage is below the Power-on Reset threshold(vpot) ExternalReset.TheMCU isresetwhena lowlevelis presenton thereset pin for longerthantheminimum pulse length WatchdogReset. TheMCU isresetwhenthewatchdog Timer period expires and the Watchdog is enabled Brown-out Reset. TheMCU isresetwhenthesupply voltage VCC is below the Brown-out Reset threshold (VBOT) and the Brown-out Detector is enabled

Power-on Reset

ExternalReset

Brown-out Reset

WatchdogReset

Electrical parameters I/O ports

GeneralI/O port structure

I/O port withinternalpull-up

I/O port withpush-pull

Introduction - 8051

Introduction Familyof8051 originatesfromintel8051 microcontroller constructed in 1980 8051 microcontrollerswere, for thelongtime, the most popular microcontrollers on the market

Introduction One ofthesourceofsuccessisthefactthat 8051 basemicrocontrollersareofferedby many vendors(e.g. Siemens, Infineon, Atmel, Philips, Dallas Semiconductors, Analog Devices) 8051 based microcontrollers are still very popular because of backward compatibility andbecausepresentconstructionsaremuch more efficient than original ones

Introduction blockdiagram External interrupts Interrupt Control On-chip ROM for program code On-chip RAM Timer/Counter Timer 1 Timer 0 Counter Inputs CPU OSC Bus Control 4 I/O Ports Serial Port P0 P1 P2 P3 TxD RxD Address/Data

Introduction-Architecture Main features: 8-bit CISC processor Modified Harvard architecture(instructions and data on separate busses) 4 banksof8 x 8b universalregisters Instructionsexecutedin1, 2 or3 instructionclock cycles(12 clock pulses)

Introduction-Architecture Main features: 4kB ofinternalrom 128B ofinternalsram four parallel ports P0..P3 1 x UART Two timers(one used for UART transmission) interrupt subsystem with priorities

Source: [1] PIC10

8051 -pinout Source: [1]

Mainpins: RST activehigh 8051 -pinout EA ExternalAccess logic 0 meansexecution of program from internal ROM PSEN -Program StoreEnable OE for external memory ALE -AddressLatchEnable signalusedfor demultiplexing of data and address

8051 -registers A B R0 R1 DPTR DPH DPL R2 R3 R4 PC PC Some 8051 16-bit Register Source: [1] R5 R6 R7 Some 8-bitt Registers of the 8051

8051 Mainproducers ChipCON (TI) versions with internal wireless communications blocks Analog Devices very good Analog microcontrollers with embedded, high-quality, analog-digital and digital-analog converters

8051 Mainproducers Dallas Semiconductors very high performance (33MIPS in comparison to original 1MIPS!!!); excellent communication blocks (CAN, Ethernet) NXP a lot of classical models, power supply current reduction, improved performance

8051 by ChipCON (TI)

8051 by ChipCON Source: [2]

Main features: CC2430 SoC chip integrated processor and RF circuits 8051 CPU, 32MHz 8kB ofsram 128kB Flash RF 2.4GHz, 802.15.4 transceiver Low supply voltage Very small component count

CC2430 Source: [3]

8051 by Analog Devices

PIC12F615 blockdiagram

ADuC824 Named Analog microcontroller : Mainpart areprecisionadc sanddac s Microprocessor is only an addition Fully integrated 24-bit data acquisition system Software compatible with 8052 processors

ADuC824 Source: [4]

Main features: ADuC824 High Resolution Sigma-Delta ADCs Two Independent ADCs(16- and 24-Bit Resolution) Programmable Gain Front End 24-Bit No Missing Codes, Primary ADC 13-Bit p-presolution@ 20 Hz, 20 mvrange 18-Bit p-presolution@ 20 Hz, 2.56 V Range Memory: 8kB Program Memory, 640 B Data Memory(Flash) 256B Data RAM

Main features: 8051-Based Core ADuC824 8051-Compatible Instruction Set (12.58 MHz Max) 32 khz External Crystal, On-Chip Programmable PLL Three 16-Bit Timer/Counters 26 Programmable I/O Lines 11 Interrupt Sources, Two Priority Levels Power Specified for 3 V and 5 V Operation Normal: 3 ma@ 3 V (Core CLK = 1.5 MHz) Power-Down: 20 ua (32 khz Crystal Running)

Main features: On-Chip Peripherals ADuC824 On-Chip Temperature Sensor 12-Bit Voltage Output DAC Dual Excitation Current Sources Reference Detect Circuit Time Interval Counter (TIC) UART Serial I/O I2C -Compatible and SPI Serial I/O Watchdog Timer (WDT), Power Supply Monitor (PSM)

ADuC824 MainADC structure

8051 by Dallas Semiconductors

PIC12F615 Pinout Source: [5]

Source: [5]

DS80C410 8-bit network microcontroller Many connection peripherals: 10/100 Mbs Ethernet 3 x serial ports CAN 2.0B controller 1-Wire Master 64kB SRAM for TCP/IP stack

Source: [6] PIC16

Main features: DS80C410 High-Performance Architecture Single 8051 Instruction Cycle in 54ns DC to 75MHz Clock Rate (1MIPS/4MHz) Flat 16MB Address Space Four Data Pointers with Auto-Increment/Decrement and Select-Accelerate Data Movement 16/32-Bit Math Accelerator

DS80C410 MultitieredNetworkingandI/O 10/100 Ethernet Media Access Controller(MAC) Optional CAN 2.0B Controller 1-Wire Net Controller Three Full-Duplex Hardware Serial Ports Upto EightBidirectional8-Bit Ports(64 DigitalI/O Pins)

DS80C410 Integrated Primary System Logic 16 Total Interrupt Sources with Six External Four 16-Bit Timer/Counters 2x/4x Clock Multiplier Reduces Electromagnetic Interference(EMI) Programmable Watchdog Timer Oscillator-Fail Detection Programmable IrDA Clock

DS80C410 Enhanced Memory Architecture Selectable 8/10-Bit Stack Pointer for High-Level Language Support 64kBytes Additional On-Chip SRAM Usable as Program/Data Memory 16-Bit/24-Bit Paged/24-Bit Contiguous Modes Selectable Multiplexed/Nonmultiplexed External Memory Interface MergedProgram/Data MemorySpaceAllowsIn-System Programming Defaults to True 8051-Memory Compatibility

DS80C410 Externalmemorymerging

DS80C410 arithemtic coprocessor Source: [6]

DS80C410 Ethernet

DS80C410 ROM functions Plentyusefulfunctionscanbe foundin DS80C410 ROM Many function categories, e.g.: Utility Memory managing Socket handling DHCP functions 1-Wire functions andmany, manymore.

DS80C410 ROM functions

Thank you for your attention

References [1] www.infineon.com [2] www.ti.com [3] CC2430 documentation; www.ti.com [4] ADuC845 documentation; www.analog.com [5] www.maxim-ic.com [6] DS80C410 documentation; www.maxim-ic.com [7] http://www.ise.pw.edu.pl/impuls/emisy/80c517um.p df [8] http://www.atmel.com/images/doc2486.pdf