Chapter x96 Family Microcontrollers

Similar documents
Features. M. Krishna Kumar MAM/M5/LU13/2004 1

CPU CPU MEMORY MICRO CONTROLLER MICRO PROCESSER. Consists Memory, I/o ports. Memory, I/O Ports to be connected externally. MEMORY I/O PORTS I/O PORTS

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

8051 Microcontroller

Chapter 2. Overview of Architecture and Microcontroller-Resources

ENE 334 Microprocessors

8051 Microcontroller

Lecture 1. Course Overview and The 8051 Architecture

Introducing The MCS 251 Microcontroller -- 8XC251SB

Question Bank Microprocessor and Microcontroller

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Migrating from the 8XC251Sx to the 8XC251Tx

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5

Department of Electronics and Instrumentation Engineering Question Bank

ENE 334 Microprocessors

Chapter 09. Programming in Assembly

Chapter 1. Microcontroller Overview

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

Chapter 14. Motorola MC68HC11 Family MCU Architecture

8051 Microcontrollers

Microprocessors/Microcontrollers

MICROCONTROLLER UNIT 1

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

UT80C196KDS Microcontroller Advanced Datasheet

Introduction to ARM LPC2148 Microcontroller

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes

Siemens' C161 - Enter the 16-bit family of Microcontrollers with revolutionary price/performance ratio

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

UNIT IV MICROCONTROLLER

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

Unit I. Introduction Microcontrollers and Embedded processors Overview of the 8051 Inside the 8051 Addressing Modes

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs.

Chapter 9. Programming Framework

DEVICE DRIVERS AND TERRUPTS SERVICE MECHANISM Lesson-15: Writing Device Driving ISRs in a System

inter Developing MCS -96 Applications Using the SBE-96 AP-273 APPLICATION NOTE November 1986 DAVE SCHOEBEL DSO APPLICATIONS Order Number:

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Babu Madhav Institute of Information Technology, UTU

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.


Chapter 2 Sections 1 8 Dr. Iyad Jafar

Serial I-O for Dinesh K. Sharma Electrical Engineering Department I.I.T. Bombay Mumbai (version 14/10/07)

PART - B (Answer all five units, 5 X 10 = 50 Marks)

Z8 Encore! XP F0822 Series

Product Update. Errata to Z8 Encore! 8K Series Silicon. Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later

MCS-51 Serial Port A T 8 9 C 5 2 1

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

Microcontroller basics

High-Performance 8-Bit Microcontrollers. Up to 8 10-Bit ADC Channels. Two 16-Bit Timers/PWM. Internal Precision Oscillator

Processor Register Set of M16C

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

PGT302 Embedded Software Technology. PGT302 Embedded Software Technology

Software Serial Port Implemented with the PCA

CPEG300 Embedded System Design. Lecture 3 Memory

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

Microcomputer Architecture and Programming

Embedded Systems. Read pages

CoE3DJ4 Digital Systems Design. Chapter 5: Serial Port Operation

Revolutionary Quad-Pipelined Ultra High Performance 16/32-bit Microcontroller v. 6.05

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation

C8051 Legacy-Speed 8-Bit Processor Core

Chapter 09. Programming in Assembly

MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation

CS 320. Computer Architecture Core Architecture

8051 Microcontroller Interrupts

Systems Programming. Lecture 4 Z16 Architecture and Programming

EE 308: Microcontrollers

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

8XC51RA RB RC Hardware Description

DQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

Embedded World Television, Radio, CD player, Washing Machine Microwave Oven Card readers, Palm devices

MICROPROCESSOR BASED SYSTEM DESIGN

PREPAID ENERGY METER

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

8051 microcontrollers

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

Lab 1 Introduction to Microcontroller

Fig 1. Block diagram of a microcomputer

EE6502- MICROPROCESSOR AND MICROCONTROLLER

Inter-Process Communication and Synchronization of Processes, Threads and Tasks: Lesson-1: PROCESS

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP2

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Lecture 2. Silicon Labs C8051F020 System Overview

Course Introduction. 2009, Renesas Technology America, Inc., All Rights Reserved

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1

Figure Programming model

CN310 Microprocessor Systems Design

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

Transcription:

Chapter 14 80x96 Family Microcontrollers

Port P0 Reset Osc PTS AMUX S/H ADC IR ID Interrupt Control HSO HSI T1 Baud Execution unit PC WDT SI PSW AD0-AD8 T2 P3 PWM SP P4 T2CAP IO and internal devices SFRs Register file of 232B internal RAM P3, P4 AD8-AD15 Internal ROM Port P1 Port P2 Control and Sequencing Circuit 2

Lesson 3 80x96 MCU Special Function Registers 3

Special function Register Page 0 256 bytes accessed by 256 addresses Between 0x0000 and 0x00FFH in four H- Windows Special Function Registers (SFRs) between 0x00 and 0x17H Special function register 1-bit stack pointer SP (at 0x18H 0x19) common in all four Windows A register file of 232 bytes (FFH 17H) page 0 RAM at Internal RAM 4

Special function Registers for Internal Devices and System T1 (Timer-Counter) with HSO units for out compares, HSI-units for input capture, four software timers for Real time interrupts T2 (Timer-Counter) with external clocking and reset inputs 5

Special function Registers for Internal SI (Serial Interface) with full duplex UART or half duplex synchronous serial communication PWMs Devices and System ADC - Analog inputs multi channel 6

Special function Registers for Internal Devices and System IO Ports Port P0, option EXINT1, option of analog inputs multi channel AMUX, S/H, ADC Port P4, AD8-AD15/A8-A15 options Port P3, AD0-AD7option Port P2, T2, PWM0, EXINT Port P1, PTS signals and PWM1, PWM2 7

On-Chip SFR Addresses in 80x96 Address Space 00H-19H Page 0 IO and internal Devices Registers System Registers WSR b6-b0 selects/ switches to a V or H-window 8

System Function Registers Examples WSR 13H When write SP INT_MSK INT_Pend WDT INT_MSK1 INT_Pend1 18-19H 08H 09H 0AH 12H 13H PSW.7-PSW.0 Lower 8-bits Write two Times,first Lower 8-bits Then upper When read 9

Examples Window select Register INT_Pend1 When write 13H 12H interrupt pending register1 WDT watchdog 16-bit timer When write 0AH INT_Pend 09H interrupt pending register0 10

Examples interrupt mask register INT_Mask INT_Mask1 When read or write 08H When read or write 13H interrupt mask register1 11

Horizontal windows R0 16-bit 0x01-00 in all 4-windows ( Register always all 16-bits = 0) 12

Horizontal window 0 (read) and window 0 (write) AD_Command AD_Result_LO AD_Result_HO 13

Horizontal window 0 (read) and window 0 (write) HSO_Time (High speed output on comparison of Time) HSO_Command (High speed output on comparison of Time command ) HSO_Stat (High speed output on comparison of Time status) 14

Horizontal window 0 (read) and window 0 (write) HSI_Mode (High speed input captured mode) HSI_Time (High speed input captured Time) 15

Horizontal window 0 (read) and window 0 (write) SBUF (transmitter SBUF when written and receiver SBUF when read) 16

Horizontal window 0 (read) and window 0 (write) SP_Control (Serial Port Control) SP_Stat (Serial Port Status) 17

Horizontal window 0 (read) and window 0 (write) INT_Mask INT_Pending 18

Watchdog Horizontal window 0 (write) 19

Horizontal window 0 (read) and window 0 (write) IOC2 Timer 1 Timer 2 Baud_Rate 20

P0 P1 P2 Horizontal window 0 (read) and window 0 (write) 21

Horizontal window 0 (read) and INT_Pend 1INT_Mask1 WSR IOC0 IOS0 IOC1 IOS1 IOS2 0x17H window 0 (write) 22

All 4 H-windows Horizontal window 0 (read), window 0 (write), H1 and H15 SP 0x19-0x18 (16-bit) 23

SP Addresses in all H-windows Write Read SP-Lower 0018H SP-Upper 0019H Write Read 18-19H Write Horizontal Window H0-write read 18-19H Horizontal Window H0-read 24

Horizontal window 1 (read) cum AD_Time PTSSEL_LO PTSSEL_HO PTSSRV_LO PTSSRV_HO IOC3 PWM2Control PWM1Control (write) 25

Horizontal window 15 (read) cum (write) T2Capture_LO 0x0CH T2Capture_HO ox16h 26

Summary 27

H0 Read We learnt R0, AD result, HSI time, HSO status, Serial receive buffer, INT_Mask, INT_Pend, Timer 1, Timer 2, P0, P1, P2, SP_status INT_Pend1, INT_Mask1, WSR, IOS0, IOS1, IOS2, SP 28

H0 Write We learnt R0, AD Command, HSI mode, HSO Time, HSO_Command Serial port Serial transmit buffer, INT_Mask, INT_Pend, Watchdog timer, IOC2, Baud_Rate, P1, P2, Serial port SP_Control INT_Pend1, INT_Mask1, WSR, IOC0, IOC1 SP 29

We learnt H1 IOC3 four peripheral transaction server registers PWM2 control and PWM1 registers SP 30

We learnt H15 T2 Capture LO and HI registers SP 31

End of Lesson 3 on 80x96 MCU Special Function Registers 32