Lecture 2 Silicon Labs C8051F020 System Overview.

Slides:



Advertisements
Similar presentations
Silicon Labs C8051F020 System Overview
Advertisements

Chapter 2 HARDWARE SUMMARY
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Course Overview and The 8051 Architecture
Lecture 11 Digital-to-Analog Converters and Analog Comparators.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Lecture 12 Analog to Digital Converters. 2  What is an ADC?  Output vs. input  Input range  Single-ended vs. differential inputs  Output coding:
Analog-to-Digital Converters
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
Programmable System on Chip Fully Configurable Mixed Signal Array Allows for Completely Customizable System Designs Capable of Internal MCU.
Microprocessor Systems Design I Instructor: Dr. Michael Geiger Fall 2013 Lecture 26: PIC microcontroller intro.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 30: PIC data memory.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
The 8051 Microcontroller Architecture
ASPPRATECH.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
This Thursday, Oct. 25 th 1-1:50pm: Exam in DUANE G140 Covers lectures and labs (except today’s lecture on microcontrollers) You may bring handwritten.
Microcontroller Intel 8051 [Architecture]. The Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and.
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
System Clock, Crossbar and GPIO
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
Digital to Analogue Converter
Directives, Memory, and Stack. Directives Special commands to the assembler May or may not generate machine code Categories by their function Programming.
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
1 LHO 13 The 8051CF020 and the University Daughter Card.
Designing with Components Wilmer Arellano. How to chose a Microcontroller Choose one that you are familiar with or that is easy to learn.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
MCS51 - lecture 6. Lecture 6 1/32 Extending MCS51 system Built-in peripherals MCS51 family.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Chapter 7 Larger Systems and the PIC 16F873A The aims of this chapter are to introduce: The architecture of the 16F873A microcontroller; The 16F873A memory.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
Presented by Sadhish Prabhu
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Chapter Microcontroller
Digital-to-Analog Analog-to-Digital Week 10. Data Handling Systems  Both data about the physical world and control signals sent to interact with the.
0808/0809 ADC. Block Diagram ADC ADC0808/ADC Bit μP Compatible A/D Converters with 8-Channel Multiplexer The 8-bit A/D converter uses successive.
HOME AUTOMATION USING PC DONE BY RAJESHKUMAR S SRI HARSHA D.
Components of a typical full-featured microcontroller.
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
AVR Architecture Prepared By: Avdhesh Soni ( ) Sarthak Patel ( ) Akshay Parekh ( ) Fenil Sachla ( ) Guided.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
Memory Mapped IO (and the CerfBoard). The problem How many IO pins are available on the 8051? What if you are using interrupts, serial, etc…? We want.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
Microcontrollers & GPIO
AVR ATMEGA 8 MICRO-CONTROLLER
Microprocessor Systems Design I
UNIT – Microcontroller.
Microprocessor Systems Design I
Microprocessor Systems Design I
Course Overview and The 8051 Architecture
Microprocessor Systems Design I
Silicon Labs C8051F020 System Overview
Introduction to Microprocessors and Microcontrollers
EE Embedded Systems Fall 2015
Introducing the PIC Mid-Range Family and the 16F84A
8051 Microcontroller.
Silicon Labs C8051F020 System Overview
AVR – ATmega103(ATMEL) Architecture & Summary
8051 Micro Controller.
EECE.3170 Microprocessor Systems Design I
Wireless Embedded Systems
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
Presentation transcript:

Lecture 2 Silicon Labs C8051F020 System Overview

2 C8051F020 System Overview  Introduction to CIP-51  C8051F020 system overview  Memory organization  Program and internal data memories  Special function registers  I/O ports  The digital crossbar  12-Bit analog-to-digital converter  8-Bit analog-to-digital converter  Digital-to-analog converter  Comparators  Voltage reference for ADC and DAC  Internal voltage reference generator

3 Introduction to CIP-51  CIP-51 is the CPU of the Silicon Labs C8051F020 MCU  The CIP-51 implements the standard 8051 organization, as well as additional custom peripherals  At 25 MHz, it has a peak throughput of 25 millions of instructions per second (MIPS)  The CIP-51 has a total of 109 instructions

4 C8051F020 System Overview  The Silicon Labs C8051F020 is a fully integrated mixed-signal system-on-a-chip microcontroller available in a 100-pin package  Mixed-Signal  Contains both digital and analog peripherals  System-on-a-chip (SOC)  Integrates memory, CPU, peripherals, and clock generator in a single package

5 C8051F020 System Overview—Features Peak throughput25 MIPS FLASH program memory64 K On-chip data RAM4352 bytes Full-duplex UARTSx 2 16-bit timersx 5 Digital I/O ports64-pin 12-bit 100 ksps ADC8 channels 8-bit 500 ksps ADC8 channels DAC resolution12-bit DAC outputsx 2 Analog comparatorsx 2 Interrupts2 levels PCA (programmable counter arrays)5 channels Internal oscillator25 Mhz Debug circuitry

6 C8051F020 Functional Block Diagram

7 Memory Organization  The memory organization of C8051F020 is similar to that of a standard 8051  Program and data memory share the same address space but are accessed via different instruction types

8 Program Memory  FLASH memory  Can be reprogrammed in-circuit  Provides non-volatile data storage  Allows field upgrades of the 8051 firmware  The C8051F020’s program memory consists of bytes of FLASH  512 bytes from addresses 0xFE00 to 0xFFFF are reserved for factory use  128 bytes at address 0x10000 to 0x1007F (scratchpad memory) can be used as non-volatile storage of program constants

9 Internal Data Memory  The internal data memory consists of 256 bytes of RAM  The special function registers (SFR) are accessed when the direct addressing mode is used to access the upper 128 bytes of memory locations from 0x80 to 0xFF  The general purpose RAM are accessed when indirect addressing is used to access the upper 128 bytes  The first 32 bytes of the internal data memory are addressable as four banks of 8 general purpose registers  The next 16 bytes are bit-addressable or byte-addressable

10 Special Function Registers  SFRs provide control and data exchange with the microcontroller’s resources and peripherals  The C8051F020 duplicates the SFRs found in a typical 8051 implementation  The C8051F020 implements additional SFRs which are used to configure and access the sub-systems unique to the microcontroller  This allows the addition of new functionalities while retaining compatibility with the MCS-51  instruction set  The SFRs with addresses ending in 0x0 or 0x8 (e.g. P0, TCON, P1, SCON, IE, etc.) are bit-addressable as well as byte-addressable

11 Special Function Registers F8 SPI0CNPCA0HPCA0CPH0PCA0CPH1PCA0CPH2PCA0CPH3PCA0CPH4WDTCN F0 BSCON1SBUF1SADDR1TL4TH4EIP1EIP2 E8 ADC0CNPCA0LPCA0CPL0PCA0CPL1PCA0CPL2PCA0CPL3PCA0CPL4RSTSRC E0 ACCXBR0XBR1XBR2RCAP4LRCAP4HEIE1EIE2 D8PCA0CNPCA0MDPCA0M0PCA0CPM1PCA0CPM2 PCA0CPM 3 PCA0CPM 4 D0 PSWREF0CNDAC0LDAC0HDAC0CNDAC1LDAC1HDAC1CN C8T2CONT4CONRCAP2LRCAP2HTL2TH2SMB0CR C0 SMB0CN SMB0ST A SMB0DATSMB0ADRADC0GTLADC0GTHADC0LTLADC0LTH B8 IPSADEN0AMX0CFAMX0SLADC0CFP1MDINADC0LADC0H B0P3OSCXCNOSCICNP74OUTFLSCLFLACL A8 IESADDR0ADC1CNADC1CFAMX1SLP3IFSADEN1EMI0CN A0P2EMI0TCEMI0CFP0MDOUTP1MDOUTP2MDOUTP3MDOUT 98 SCON0SBUF0SPI0CFGSPIODATADC1SPI0CKRCPT0CNCPT1CN 90P1TMR3CNTMR3RLLTMR3RLHTMR3LTMR3HP7 88 TCONTMODTL0TL1TH0TH1CKCONPSCTL 80 P0SPDPLDPHP4P5P6PCON 0(8) Bit addressable 1(9)2(A)3(B)4(C)5(D)6(E)7(F)

12 I/O Ports  Ports 0, 1, 2 and 3 are bit- and byte-addressable  Four additional ports (4, 5, 6 and 7) are byte-addressable only  There are a total of 64 general purpose port I/O pins  Access to the ports is possible through reading and writing the corresponding port data registers (P0, P1, etc.)  All port pins are 5 V tolerant and support configurable input/output modes and weak pull-ups  In addition, the pins on Port 1 can be used as analog inputs to ADC1

13 The Digital Crossbar  The digital crossbar is essentially a large digital switching network that allows mapping of internal digital peripherals to the pins on Ports 0 to 3  This is achieved by configuring the crossbar control registers XBR0, XBR1 and XBR2  Allows the system designer to select the exact mix of GPIO and digital resources needed for the particular application

14 12-Bit Analog-to-Digital Converter (ADC0)  On-chip 12-bit successive approximation register (SAR) analog-to-digital converter (ADC0)  9-channel input multiplexer and programmable gain amplifier  The ADC is configured via its associated special function registers  One input channel is tied to an internal temperature sensor, while the other 8 channels are available externally

15 8-Bit Analog-to-Digital Converter (ADC1)  On-board 8-bit SAR analog-to-digital converter (ADC1)  Port 1 can be configured for analog input  8-channel input multiplexer and programmable gain amplifier  The ADC is configurable via its configuration SFRs

16 Digital-to-Analog Converters  Two 12-bit digital-to- analog converters: DAC0 and DAC1  The DAC voltage reference is supplied via the dedicated VREFD input pin  The DACs are especially useful as references for the comparators

17 Comparators  There are two analog comparators on chip: CP0 and CP1  The comparators have software programmable hysteresis  Generate an interrupt on its rising edge, falling edge or both  The comparators' output state can also be polled in software and programmed to appear on the lower port I/O pins via the crossbar

18 Voltage Reference for ADC and DAC  A voltage reference has to be used when operating the ADC and DAC  Three external voltage reference input pins: VREF0, VREF1 and VREFD  ADC0 may also reference the DAC0 output internally  ADC1 may also reference the analog power supply voltage (AV+)

19 Internal Voltage Reference Generator  The internal voltage reference circuit consists of a 1.2 V band-gap voltage reference generator and a gain-of-two output buffer amplifier (2.4 V output)  The internal reference may be routed via the VREF pin to external system components or to the voltage reference input pins  The reference control register, REF0CN, enables/disables the internal reference generator and selects the reference inputs for ADC0 and ADC1