TW8816 Built-in MCU. Application Notes
|
|
- Allyson Page
- 5 years ago
- Views:
Transcription
1 TW8816 Built-in MCU Application Notes Disclaimer This document provides technical information for the user. Techwell Inc. reserves the right to modify the information in this document as necessary. The customer should make sure that they have the most recent data sheet version. Techwell Inc. holds no responsibility for any errors that may appear in this document. Customers should take appropriate action to ensure their use of the products does not infringe upon any patents. Techwell Inc. respects valid patent rights of third parties and does not infringe upon or assist others to infringe upon such rights. TECHWELL, INC. Silicon Rev. B
2 Functional Description Overview Techwell s TW8816 s internal MCU core is very similar to Dallas Semiconductor s DS82C320. It is running directly from SPI flash memory. External program memory space is up to 64 banks of 64Kbytes( Totally 4Mbytes ) see bank access application note. Variable running MCU clock more efficiently access Program SPI Flash memory. 4 clocks/instruction cycle versus 12 in standard Up to three times faster execution on average versus standard 8051 Dual data pointers - Improves efficiency when moving large blocks of data Additional Interrupts for Power Down(INT5), TW8816IRQ(INT3) see application notes for interrupts Program can address up to 64KB of program memory at address 0000h-FFFFh. Internal 256 Bytes RAM module and external 256 Bytes RAM module Three timers(timer0, 1, 2) One external serial port it can be used as I/O ports also. One external interrupt it can be used as I/O ports also. 12 I/O ports MCU core 27MHz 27MHz 27MHz Timer Div0 16bit divider 9Ch, 9Dh Timer Div1 16bit divider 9Eh, 9Fh Timer Div1 16bit divider 93h, 94h Timer0 Timer1 Timer2 Port Port1.0 Port1.1 Port1.6 Port1.7 RXD-Port3.0 TXD-Port3.1 INT0-Port3.2 Address / Data/ Bank Register(9Ah) SPI Controller Block 83~89:P :P1.0 94:P :P :P1.7 92:RXD(P3.0) 91:TXD(P3.1) 112:INT0(P3.2)_ SCLK SPICS MOSI MISO 27MHz Simple Block Diagram TECHWELL, INC. 2 REV. 0
3 Compiler Settings 1. Select processor: DS82C Use Dual DPTR: on this core has dual data pointer 3. Memory model compact core has 256bytes internal data and 256bytes external data 4. Code Rom Size depends user application program size, support up to 4Mbytes 5. Code banking depends user application, but support up to 64 banks Memory Organization Memory organization in the MCU is similar to that of the industry-standard There are three distinct memory areas: Program memory (ROM) Data memory (external RAM) Registers and Data memory(internal RAM) Figure Memory Map shows the MCU memory map. Program memory can be up to 64 KB address range (0000h FFFFh). Data memory is 256 bytes (00h-FFh). The internal RAM(256 bytes) addresses overlap the external RAM addresses, but are accessed through different instruction types. Inside the TW8816 TECHWELL, INC. 3 REV. 0
4 Program Memory The DW8051 can address up to 64 KB of program memory at addresses 0000h FFFFh. Program memory can be implemented as External ROM. (But user can extend it using bank accessing). TW8816 provides SPI interface for accessing Program Memory. Ext RAM Ext RAM 0h-255h is address indirectly as the same way to access external data memory with MOVX instruction. Address pointer are R0 and R1 of the selected register bank and DPTR register. TW8816 Registers TW8816 registers are mapped to external RAM C000h C0FFh. Actual TW8816 s register map is from 0h to 1FFh, but it is controlled by page selection. Register 0FFh is page selection register. This register can be accessed with MOVX instruction. Internal RAM The internal RAM, illustrated in Internal RAM Organization, consists of: 128 bytes of registers and scratchpad memory accessible through direct or indirect addressing. Upper 128 bytes of scratchpad memory accessible through indirect. 128 special function registers (SFRs) accessible through direct addressing (addresses 80h FFh). TECHWELL, INC. 4 REV. 0
5 Bank Access First use the compiler which is supporting bank mode programming. TW8816 provide SFR 9Ah for up to 64(6bit) banks selection. User should modify own bank switch routines.. Below is example for our demo board. BANKREG DATA 9AH ; Memory Bank select Function Register SWITCH0 MACRO ; Switch to Memory Bank #0 MOV BANKREG, #0H ENDM ; SWITCH1 MACRO ; Switch to Memory Bank #1 MOV BANKREG, #1H ENDM ; SWITCH2 MACRO ; Switch to Memory Bank #2 MOV BANKREG, #2H ENDM ; SWITCH3 MACRO ; Switch to Memory Bank #3 MOV BANKREG, #3H ENDM ; ** Bank switching routines are depend on compilers. See your compiler manuals. TECHWELL, INC. 5 REV. 0
6 Serial Port and Timer Setting TW8816 s MCU cannot use internal clock for making fixed frequency timer because of variable MCU clock. So using T0, T1 and T2 for getting fixed frequency. T0, T1 and T2 are derived from 16 bit dividers(named MCU External Timer Clock0(1, 2) Divider). Their input clock is 27MHz. MCU External Timer Clock0 Divider : SFR 0x9C(Upper 8bits), 0x9D(Lower 8bits) MCU External Timer Clock1 Divider : SFR 0x9E(Upper 8bits), 0x9F(Lower 8bits) MCU External Timer Clock2 Divider : SFR 0x93(Upper 8bits), 0x94(Lower 8bits) Serial Port 1.Serial port control register set to 50h SCON (98h) = 50h; // serial port mode 1( Async, Timer1, 8 Data bits, 1start, 1 stop, none 9 th bit) 2. Timer0, 1 control register set to 66h // serial port0 mode bit0 = 0, bi1 = 1, bit2 = 0 : baud rate = ToSerialPort/16 TMOD(89h) = 66h; // Timer0,1 using t0, t1 pin for clocking // Timer0, 1 Mode2 8bit counter with auto reload TECHWELL, INC. 6 REV. 0
7 Use Timer1 Mode for get Baud Rate. Below table shows MCU External Timer Clock1 divider number and TL1, TH1 value Baud Rate Timer Div1 value TH1 Real Baud Rate => 27MHz / 176 = 153.4KHz FFh / 16 = FFh FFh FFh 1198 Timer0 for real time clock Use Timer0 for real time clock We can easily get combining Timer Div0 value(16bit) and TH0 27MHz / Timer Div0 / (256-TH0) = output Tick Ex1) Timer Div0 = 432, TH0 = MHz / 432 / ( ) = 500 Hz Ex2) Timer Div0 = 270, TH0 = 56 27MHz / 270 / (256-56) = 500 Hz Ex3) Rimer Div0 = 540, TH0 = MHz / 540 / ( ) = 1000Hz Timer2 for IR remote controller clock Use Timer0 for real time clock We can easily get combining Timer Div0 value(16bit) and TH2&TL2(16bit) IR timing = 1/27 * Timer Div2 * (0x10000 TH2&TL2) [usec] Ex1) RC5, Type 1, usec Timer Div2 = 283, TH2&TL2 = /27 * 283 * 20 = usec Ex2) RC5, Type 2, usec ( one signal pulse is 889usec, sampling 4 times ) Timer Div2 = 300, TH2&TL2 = /27 * 300 * 20 = usec Ex3) NEC type,186.7usec ( one signal pulse is 560usec, sampling 3 times) Timer Div2 = 252, TH2&TL2 = /27 * 252 * 20 = 186.7usec TECHWELL, INC. 7 REV. 0
8 Using Low Speed ADC TW8816 provides 2 8bit resolution LADCs(Low Speed ADC). It s input range is 0V ~ 1.25V TW8816 REG 0C9h : LADC channel0 TW8816 REG 0CAh : LADC channel1 Application as Key Input Below diagram shows how to make key input using resister ladder. To LADC Key Input Using Resister Ladder TECHWELL, INC. 8 REV. 0
9 Algorithm for using LADC as Key Input Below sample source code shows how to make key input using resister ladder. BYTE ReadKey( void ) { BYTE i, j, min, max; WORD key_in; } i = GetLADCn Cn(); // get LADC value if ( i<0x10 ) return (0); // smaller than MIN return 0 Delay(30); // 30msec delay chattering i = GetLADCn Cn(); // get LADC value if ( i<0x10 ) return (0); // smaller than MIN return 0 key_in = i; // save Key value min = i; max = i; for ( j=0; j<17; j++ ) { // add 18 key inputs i = GetLADCn Cn(); if ( i<0x10 ) return (0); key_in += i; if ( i < min ) min = i; // save min value else if ( i > max ) max = i; // save max value } key_in -= min; // subtract min key_in -= max; // subtract max key_in >>= 4; // divide by 16 if ( key_in < 0x10 ) return( 0 ); // smaller than MIN return 0 else if ( key_in < 0x33 ) return( MODE ); // MODE else if ( key_in < 0x5a ) return( RIGHT ); // RIGHT else if ( key_in < 0x80 ) return( UP ); // UP else if ( key_in < 0xa0 ) return( MENU ); // MENU else if ( key_in < 0xcc ) return( DOWN ); // DOWN else if ( key_in < 0xf5 ) return( LEFT ); // LEFT else return( POWER ); // POWER TECHWELL, INC. 9 REV. 0
ENE 334 Microprocessors
Page 1 ENE 334 Microprocessors Lecture 9: MCS-51: Moving Data : Dejwoot KHAWPARISUTH http://webstaff.kmutt.ac.th/~dejwoot.kha/ ENE 334 MCS-51 Moving Data Page 2 Moving Data: Objectives Use commands that
More information8051 Microcontroller
8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many
More information8051 Microcontroller
8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit
More information8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52
Features Compatible with MCS -51 Products 8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz
More information80C51 Block Diagram. CSE Overview 1
80C51 Block Diagram CSE 477 8051 Overview 1 80C51 Memory CSE 477 8051 Overview 3 8051 Memory The data width is 8 bits Registers are 8 bits Addresses are 8 bits i.e. addresses for only 256 bytes! PC is
More informationISSI. IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH ISSI IS89C51 NOVEMBER 1998 FEATURES GENERAL DESCRIPTION
IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH NOVEMBER 1998 FEATURES 80C51 based architecture 4-Kbytes of on-chip Reprogrammable Flash Memory 128 x 8 RAM Two 16-bit Timer/Counters
More informationThree criteria in Choosing a Microcontroller
The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program
More informationThe Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families
The Microcontroller Lecture Set 3 Architecture of the 8051 Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and I/O ports. In most cases, all that is
More informationUNIT IV MICROCONTROLLER
UNIT IV 8051- MICROCONTROLLER Prepared by R. Kavitha Page 1 Application Prepared by R. Kavitha Page 2 Pin Description of the 8051 UNIT IV- 8051 MICROCONTROLLER P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST
More informationIntroduction To MCS-51
Introduction To MCS-51 By Charoen Vongchumyen Department of Computer Engineering Faculty of Engineering KMITLadkrabang 8051 Hardware Basic Content Overview Architechture Memory map Register Interrupt Timer/Counter
More informationEXPERIMENT NO.1. A Microcontroller is a complete computer system built on a single chip.
EXPERIMENT NO.1 AIM: Study of 8051 Microcontroller TOOLS: 8051 kit THEORY: Salient Features of 8051 A Microcontroller is a complete computer system built on a single chip. It contains all components like
More informationEEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture
Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin
More information3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.
Code No: R05320202 Set No. 1 1. (a) Discuss the minimum mode memory control signals of 8086? (b) Explain the write cycle operation of the microprocessor with a neat timing diagram in maximum mode. [8+8]
More information8051 Microcontroller. Ali Ziya Alkar 1
8051 Microcontroller Ali Ziya Alkar 1 8051 Introduction 8051 is one of the most popular microcontrollers in use today. Many derivative microcontrollers have since been developed that are based on--and
More informationEE6502- MICROPROCESSOR AND MICROCONTROLLER
. EE6502- MICROPROCESSOR AND MICROCONTROLLER UNIT III - 8051 MICROCONTROLLER PART - A 1. What is Microcontroller? A device which contains the microprocessor with integrated peripherals like memory, serial
More informationChapter 9. Programming Framework
Chapter 9 Programming Framework Lesson 1 Registers Registers Pointers Accumulator Status General Purpose Outline CPU Registers Examples 8-bitA (Accumulator) Register 8-bit B Register 8-bitPSW (Processor
More informationRev. No. History Issue Date Remark
Preliminary Bar Code Reader Document Title Bar Code Reader Revision History Rev. No. History Issue Date Remark 0.0 Initial issue June 5, 2000 Preliminary 0.1 Change document title from Bar Code Reader
More information8051 Microcontrollers
8051 Microcontrollers Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu March 8, 2016 Controller vs Processor Controller vs Processor Introduction to 8051 Micro-controller In 1981,Intel corporation
More information8051 Timers and Serial Port
8051 Timers and Serial Port EE4380 Fall 2001 Class 10 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Timer: Mode 1 Operation (recap) 16 bit counter. Load the
More informationLecture 9. Timer Operations and Programming
Lecture 9 Timer Operations and Programming Timer Operations and Programming Introduction Summary of timers Timer programming sequence Summary of timer SFRs Timer 0-1: 8-bit auto-reload mode (mode 2) Programming
More informationCPEG300 Embedded System Design. Lecture 8 Timer
CPEG300 Embedded System Design Lecture 8 Timer Hamad Bin Khalifa University, Spring 2018 Review 8051 port and port schematic Internal read/write data path Serial communication vs. parallel communication
More informationELEG3923 Microprocessor Ch.9 Timer Programming
Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch.9 Timer Programming Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Programming 8051 Timers Counter programming Timer programming
More informationEmbedded Controller Programming
Embedded Controller Programming Counters, Timers and I/O in Assembly Language Ken Arnold Copyright 2000-2004 Ken Arnold 1 Outline Timer/Counters Serial Port More 8051 Instructions Examples Copyright 2000-2004
More information8051 Peripherals. On-Chip Memory Timers Serial Port Interrupts. Computer Engineering Timers
8051 Peripherals On-Chip Memory Timers Serial Port Interrupts Computer Engineering 2 2-1 8051 Timers 8051 Timers The 8051 has 2 internal 16-bit timers named Timer 0 and Timer 1 Each timer is a 16-bit counter
More information7.2.1 Timer 2 Capture LSB... 24
Data Sheet 8-BIT MICROCONTROLLER Table of Contents-. GENERAL DESCRIPTION... 3 2. FEATURES... 3 3. PIN CONFIGURATIONS... 4 4. PIN DESCRIPTION... 5 5. FUNCTIONAL DESCRIPTION... 6 6. MEMORY ORGANIZATION...
More informationAT89S4D12. 8-Bit Microcontroller with 132K Bytes Flash Data Memory AT89S4D12. Features. Description. Pin Configurations
Features Compatible with MCS-51 Products 128K Bytes of In-System Reprogrammable Flash data memory and 4K Bytes of Downloadable Flash Program Memory Endurance: 1,000 Write/Erase Cycles per Sector Data Retention:
More informationMODULE-1. Short Answer Questions
MODULE-1 Short Answer Questions 1. Give the comparison between microprocessor and microcontroller. It is very clear from figure that in microprocessor we have to interface additional circuitry for providing
More informationQ.1. A) Attempt any THREE of the following:
Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate
More informationMemory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples.
MICROCONTROLLERS AND APPLICATIONS 1 Module 2 Module-2 Contents: Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MEMORY
More informationCPEG300 Embedded System Design. Lecture 3 Memory
CPEG300 Embedded System Design Lecture 3 Memory Hamad Bin Khalifa University, Spring 2018 Review Von Neumann vs. Harvard architecture? System on Board, system on chip? Generic Hardware Architecture of
More informationDS89C420 Ultra High-Speed Microcontroller User s Guide
DS89C42 Ultra High-Speed Microcontroller User s Guide www.maxim-ic.com SECTION 1: INTRODUCTION The Dallas Semiconductor DS89C42 is an 851-compatible microcontroller that provides improved performance and
More informationModule I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.
MICROCONTROLLERS AND APPLICATIONS 1 Module 1 Module I Introduction to Microcontrollers: Comparison with Microprocessors Harvard and Von Neumann Architectures - 80C51 microcontroller features - internal
More information20uA at VDD=5.5V 5uA at VDD=3.6V. 1T up to 20 (1T~8T can change on fly) RC ( 24MHz) Program Flash ( byte) 4K 4K RAM( byte)
SM894051 SM39R4051 SM39R4051 SM39R4051 SM894051 SM894051 SM39R4051 MCU ( 1) Feature SM894051 SM39R4051 (V) 3.0~5.5 2.7~5.5 I DD (Power Down) 20uA at VDD=5.5V 5uA at VDD=3.6V 3.5uA at VDD=5.0V System clock(mhz)
More informationMEGAWIN MPC89L516X2. 8-bit micro-controller. Features
MPC89L516X2 8-bit micro-controller Features 8-bit 80C52-compatible Microcontroller Fully instruction set compatible Pin-to-pin package compatible Power voltage range: V CC = 2.4V ~ 3.6V Optional 12 clocks
More informationM16C R8C FoUSB/UART Debugger. User Manual REJ10J
REJ10J1725-0100 M16C R8C FoUSB/UART Debugger User Manual Renesas Microcomputer Development Environment System R8C Family R8C/2x Series Notes on Connecting R8C/2A, R8C/2B, R8C/2C, R8C/2D Rev.1.00 Issued
More informationDepartment of EIE / Pondicherry Engineering College. Timer/Counters. Department of EIE / Pondicherry Engineering College 1
Timer/Counters Department of EIE / Pondicherry Engineering College 1 The 8051 has two internal sixteen bit hardware Timer/Counters. Each Timer/Counter can be configured in various modes, typically based
More informationUNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING
UNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING Instructions Alphabetical List of Instructions ACALL: Absolute Call ADD, ADDC: Add Accumulator (With Carry) AJMP: Absolute Jump ANL: Bitwise AND CJNE: Compare
More informationW77E058A Data Sheet 8-BIT MICROCONTROLLER. Table of Contents-
Data Sheet 8-BIT MICROCONTROLLER Table of Contents-. GENERAL DESCRIPTION... 3 2. FEATURES... 3 3. PIN CONFIGURATIONS... 4 4. PIN DESCRIPTION... 5 5. FUNCTIONAL DESCRIPTION... 7 6. MEMORY ORGANIZATION...
More informationPreliminary W77E58 8 BIT MICROCONTROLLER. Table of Contents-- Publication Release Date: March Revision A1
8 BIT MICROCONTROLLER Table of Contents-- GENERAL DESCRIPTION...2 FEATURES...2 PIN CONFIGURATION...3 PIN DESCRIPTION...4 BLOCK DIAGRAM...6 FUNCTIONAL DESCRIPTION...7 MEMORY ORGANIZATION...8 INSTRUCTION...29
More informationMICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:
DEPARTMENT OF ECE MICROPROCESSORS AND MICROCONTROLLERS MATERIAL UNIT V 8051 MICROCONTROLLERS To make a complete microcomputer system, only microprocessor is not sufficient. It is necessary to add other
More informationIntroducing The MCS 251 Microcontroller -- 8XC251SB
E AP- 708 APPLICATION NOTE Introducing The MCS 251 Microcontroller -- 8XC251SB YONG-YAP SOH TECHNICAL MARKETING EIGHT-BIT MICROCONTROLLERS February 1995 Order Number: 272670-001 Intel Corporation makes
More informationUNIT-III ASSEMBLY LANGUAGE PROGRAMMING. The CPU can access data in various ways, which are called addressing modes
8051 Software Overview: 1. Addressing Modes 2. Instruction Set 3. Programming 8051 Addressing Modes: UNIT-III ASSEMBLY LANGUAGE PROGRAMMING The CPU can access data in various ways, which are called addressing
More informationMODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microcontroller and Applications Subject Code:
MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microcontroller and Applications Subject Code: I m p o r t a n t I n s t r u c t i o n s t o e x a m i n e r s : 1) The answers should be examined by key
More informationTOSHIBA Original CMOS 8-Bit Microcontroller. TLCS-870/C Series TMP86F808DMG TMP86F808NG. Semiconductor Company
TOSHIBA Original CMOS 8-Bit Microcontroller TLCS-870/C Series TMP86F808DMG TMP86F808NG Semiconductor Company Revision History Date Revision 2007/8/7 1 First Release 2008/8/29 2 Contents Revised Caution
More informationMODEL ANSWER SUBJECT- MICROCONTROLLER(12187) CLASS-EJ5E CLASS TEST-02 Q1.)Attempt any THREE of the following.
MODEL ANSWER SUBJECT- MICROCONTROLLER(12187) CLASS-EJ5E CLASS TEST-02 Q1.)Attempt any THREE of the following. (9M) 1) Describe the instructions SWAP A and MOVX@DPTR,A with one example. (3Marks) SWAP A
More informationSH79F166 APPLICATION NOTE
1 Introduction SH79F166 APPLICATION NOTE The SH79F166 is an 8051 compatible micro-controller with a redesigned CPU of high efficiency and high performance. The device provides high-endurance Flash program
More informationELEG3924 Microprocessor
Department of Electrical Engineering University of Arkansas ELEG3924 Microprocessor Ch.2 Assembly Language Programming Dr. Jing Yang jingyang@uark.edu 1 OUTLINE Inside 8051 Introduction to assembly programming
More informationW77LE58/W77L058A Data Sheet 8-BIT MICROCONTROLLER. Table of Contents- Publication Release Date: April 17, Revision A7
Data Sheet 8-BIT MICROCONTROLLER Table of Contents-. GENERAL DESCRIPTION... 2 2. FEATURES... 2 3. PIN CONFIGURATIONS... 3 4. PIN DESCRIPTION... 4 5. FUNCTIONAL DESCRIPTION... 5 6. MEMORY ORGANIZATION...
More informationVRS570 32K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU VRS580 64K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU
VRS570 32K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU VRS580 64K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU 1134 Ste Catherine Street West, Suite 900, Montreal, Quebec, Canada H3B 1H4 Tel: (514) 871-2447 http://www.goalsemi.com
More informationVidyalankar T.E. Sem. V [ETRX] Microprocessors and Microcontrollers I Prelim Question Paper Solution
1. (a) 1. (b) T.E. Sem. V [ETRX] Microprocessors and Microcontrollers I Prelim Question Paper Solution Priority modes. 1) Fully Nested Mode : It is a general purpose mode. IR 0 highest priority IR 1 lowest
More informationChapter 09. Programming in Assembly
Chapter 09 Programming in Assembly Lesson 03 Programming Approach for Main and Interrupt Service Routines in 8051 Program Approach for programming Main Program Instructions 3 Main program initial instructions
More informationW77IE58 8-BIT MICROCONTROLLER. Table of Contents-- Publication Release Date: December Revision A2
8-BIT MICROCONTROLLER Table of Contents-- GENERAL DESCRIPTION... 2 FEATURES... 2 PIN CONFIGURATIONS... 3 PIN DESCRIPTION... 4 BLOCK DIAGRAM... 6 FUNCTIONAL DESCRIPTION... 7 MEMORY ORGANIZATION... 8 Instruction...
More informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI
MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. QUESTION BANK DEPARTMENT: EEE SUB CODE: EE2324 YR/ SEM:III/ VI SUB NAME: MICROPROCESSORS & MICROCONTROLLERS UNIT 4-8051 MICROCONTROLLER PART A (2
More informationSECTION 1: INTRODUCTION 5 SECTION 2: ORDERING INFORMATION 5 SECTION 3: ARCHITECTURE 5
Rev: 6, 2/4 Ultra-High-Speed Flash 6kB FLASH MEMORY kb SRAM 33 DUAL DATA POINTERS WITH AUTO- SELECT INCREMENT/ DECREMENT HIGH-SPEED ONE CLOCK-CYCLE 85 MICROPROCESSOR FOUR 8-BIT PARALLEL PORTS MIPS 25 5
More informationCS 320. Computer Architecture Core Architecture
CS 320 Computer Architecture 8051 Core Architecture Evan Hallam 19 April 2006 Abstract The 8051 is an 8-bit microprocessor designed originally in the 1980 s by the Intel Corporation. This inexpensive and
More informationMICROCONTROLLER AND PLC LAB-436 SEMESTER-5
MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 Exp:1 STUDY OF MICROCONTROLLER 8051 To study the microcontroller and familiarize the 8051microcontroller kit Theory:- A Microcontroller consists of a powerful
More information~: Simple Programs in 8051 assembly language :~
~: Simple Programs in 8051 assembly language :~ Here some simple programs of 8051 are given to understand the operation of different instructions and to understand the logic behind particular program.
More informationMSM80C154S MSM83C154S MSM85C154HVS USER'S MANUAL
MSM8C54S MSM83C54S MSM85C54HVS USER'S MANUAL Copyright 988, OKI ELECTRIC INDUSTRY COMPANY, LTD. OKI makes no warranty for the use of its products and assumes no responsibility for any errors which may
More information8XC51RA RB RC Hardware Description
8XC51RA RB RC Hardware Description February 1995 Order Number 272668-001 Information in this document is provided in connection with Intel products Intel assumes no liability whatsoever including infringement
More informationPreliminary W77C32 8 BIT MICROCONTROLLER GENERAL DESCRIPTION FEATURES
GENERAL DESCRIPTION 8 BIT MICROCONTROLLER The W77C32 is a fast 805 compatible microcontroller with a redesigned processor core without wasted clock and memory cycles. As a result, it executes every 805
More informationMicrocontroller and Embedded Systems:
Microcontroller and Embedded Systems: Branches: 1. Electronics & Telecommunication Engineering 2. Electrical & Electronics Engineering Semester: 6 th Semester / 7 th Semester 1. Explain the differences
More informationW77L516A DATA SHEET 8-BIT MICROCONTROLLER. Table of Contents-
DATA SHEET 8-BIT MICROCONTROLLER Table of Contents-. GENERAL DESCRIPTION... 2 2. FEATURES... 2 3. PIN CONFIGURATIONS... 3 4. PIN DESCRIPTION... 4 5. FUNCTIONAL DESCRIPTION... 6 6. MEMORY ORGANIZATION...
More informationVRS550-8kB Flash, 256B RAM, 25~40MHz, 8-Bit MCU VRS560-16kB Flash, 256B RAM, 40MHz, 8-Bit MCU
VRS550-8kB Flash, 256B RAM, 25~40MHz, 8-Bit MCU VRS560-6kB Flash, 256B RAM, 40MHz, 8-Bit MCU 34 Ste Catherine Street West, Suite 900, Montreal, Quebec, Canada H3B H4 Tel: (54) 87-2447 http://www.goalsemi.com
More information8051 MICROCONTROLLER WITH 64K FLASH AND ISP. Latch PSW ALU. Latch. Instruction Decoder & Sequencer. Bus&Clock Controller. Port 4. Latch.
General Description The TP2804 is an 8-bit microcontroller which has an in-system programmable FLASH EPROM for firmware updated. Its instruction set is fully compatible with the standard 805. It contains
More information8051 Serial Communication
8051 Serial Communication Basics of serial communication Parallel: transfers eight bits of data simultaneously over eight data lines expensive - short distance fast Serial : one bit at a time is transferred
More informationHandshake Solutions. HT80C51 User Manual
HT8C5 User Manual HT8C5 User Manual Document Information Document Information Document Title Date of Creation 27/6/25 Date of last change 27/6/25 File name Status Version Number.7 Client / Target Audience
More informationELEG3923 Microprocessor Ch.2 Assembly Language Programming
Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch.2 Assembly Language Programming Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Inside 8051 Introduction to assembly programming
More information8051 Microcontroller
8051 Microcontroller EE4380 Fall 2001 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas 8051 Architecture Programmer s View Register Set Instruction Set Memory
More informationPGT302 Embedded Software Technology. PGT302 Embedded Software Technology
PGT302 Embedded Software Technology 1 PART 4 Hardware Platform 2 2 Objectives for Part 4 Need to DISCUSS and ANALYZE the following topics: Board (GTUC51B001) specifications startup sequence, bootloader
More informationLecture 1. Course Overview and The 8051 Architecture
Lecture 1 Course Overview and The 8051 Architecture MCUniversity Program Lectures 8051 architecture t System overview of C8051F020 8051 instruction set System clock, crossbar and GPIO Assembler directives
More informationDS80C390 Dual CAN High-Speed Microprocessor
ERRATA SHEET DS80C390 Dual CAN High-Speed Microprocessor www.maxim-ic.com REVISION B4 ERRATA The errata listed below describe situations where DS80C390 revision B4 components perform differently than expected
More informatione-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text
e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text In this lecture the detailed architecture of 8051 controller, register bank,
More informationSH57K12. High Performance 8031 Microcontroller. Preliminary. Features. General Description
Preliminary Features 8031 MCU core embedded DC to 24 MHz operating frequency EV: ROM-less 16 KB MASK ROM for program storage 384 bytes on-chip data RAM: 256 bytes accessed as in the 8031 128 bytes accessed
More informationINSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK
Course Name Course Code Class Branch INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad - 500 04 ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK : Microprocessors and Microcontrollers :
More information8051 MICROCONTROLLER
What is a Microcontroller? UNIT 5 8051 MICROCONTROLLER A Microcontroller is a programmable digital processor with necessary peripherals. Both microcontrollers and microprocessors are complex sequential
More informationW77E532/W77E532A DATA SHEET 8-BIT MICROCONTROLLER. Table of Contents-
DATA SHEET 8-BIT MICROCONTROLLER Table of Contents-. GENERAL DESCRIPTION...2 2. FEATURES...2 3. PIN CONFIGURATIONS...3 4. PIN DESCRIPTION...4 5. FUNCTIONAL DESCRIPTION...6 6. MEMORY ORGANIZATION...8 7.
More information8-bit Microcontroller with 2/4-Kbyte Flash AT89LP2052 AT89LP4052
Features Compatible with MCS 51 Products 20 MIPS Throughput at 20 MHz Clock Frequency and 2.4V, 85 C Operating Conditions Single Clock Cycle per Byte Fetch 2/4K Bytes of In-System Programmable (ISP) Flash
More informationVRS540-4kB Flash, 128B RAM, 25~40MHz, 8-Bit MCU
VRS540-4kB Flash, 28B RAM, 25~40MHz, 8-Bit MCU 34 Ste Catherine Street West, Suite 900, Montreal, Quebec, Canada H3B H4 Tel: (54) 87-2447 http://www.goalsemi.com P.3 P.2 XTAL NC P0./AD VRS540 Overview
More information8051 Microcontroller memory Organization and its Applications
8051 Microcontroller memory Organization and its Applications Memory mapping in 8051 ROM memory map in 8051 family 0000H 4k 0000H 8k 0000H 32k 0FFFH DS5000-32 8051 1FFFH 8752 7FFFH from Atmel Corporation
More informationM16C R8C FoUSB/UART Debugger. User s Manual REJ10J
REJ10J1217-0100 M16C R8C FoUSB/UART Debugger User s Manual RENESAS MICROCOMPUTER Development Environment System M16C Family R8C/Tiny Series Precautions on Connecting R8C/20, R8C/21, R8C/22, R8C/23 Rev.1.00
More informationA. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter.
a MicroConverter, Multi-Channel 12-bit ADC with Embedded FLASH MCU ADuC812 A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter. B. The Errata listed,
More informationAT Bit Spread- Spectrum Microcontroller. Preliminary. Features. Description. Pin Configuration
Features Compatible with MCS-51 Products 8K bytes of On-Board Program Memory Fully Static Operation: 0 Hz to 16 MHz 256 x 8 Bit Internal RAM 32 Programmable I/O Lines Three 16 Bit Timer/Counters Eight
More informationDRAFT COPY FUNCTIONAL BLOCK DIAGRAM P0.0 P0.7 P1.0 P1.7 P2.0 P2.7 P3.0 P3.7. ADuC BIT Successive Approximation ADC & ADC Control Logic COMP
a Preliminary Technical Data FEATURES ANALOG I/O 8 Channel, true 12 bit ADC Self Calibrating High Speed 200 ksps On-chip DMA Controller for auto-capture Dual 12-bit Voltage DAC's On-chip temperature sensor
More information8051 Memory Organization BY D. BALAKRISHNA, Research Assistant, IIIT-H Chapter 1: Memory Organization There are 2 types of memories available in 8051 microcontroller. Program memory/c code memory (ROM)
More informationMaxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4199
Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4199 Keywords: 8051,single-cycle,upgrade,flash,high speed,performance APPLICATION NOTE 4199 Porting Applications
More informationHigh-Speed Microcontroller User s Guide
Rev: 338 High-Speed Microcontroller User s Guide Maxim Integrated Products 1 TABLE OF CONTENTS High-Speed Microcontroller User s Guide 1. INTRODUCTION...9 2. ORDERING INFORMATION...1 3. ARCHITECTURE...11
More informationDigital Blocks Semiconductor IP
Digital Blocks Semiconductor IP 805 Microcontroller General Description The Digital Blocks Microcontroller Verilog IP Core is complaint with the MCS 5 Instruction Set and contains standard 805 MCU peripherals,
More informationMICROPROCESSOR & MICROCONTROLLER
a) From road north to East From road east to north From road south to west From road west to south From road west to north b) From road north to East From road south to west From road south to north From
More informationIntel 8051 Family Standard PODs
Intel 8051 Family Standard PODs All 8051 family PODs are 8-bit PODs that can be used on ic181, ic1000 and the PowerEmulator unit with the exception of a few PODs, that can not be used on the ic181 unit.
More informationTimer programming
5.8051 Timer programming In this tutorial, we are going to discuss the Timer module of 8051. First, we will see what are timers, their working and later we will configure the 8051 timers to generate the
More informationEC6504 MICROPROCESSOR AND MICROCONTROLLER
UNIT I THE 8086 MICROPROCESSOR 1. What do you mean by Addressing modes? (May/June 2014) The different ways that a microprocessor can access data are referred to as addressing modes. 2. What is meant by
More informationThe 8051 microcontroller has two 16-bit timers/counters called T0 and T1.
Counters and Timers: The 8051 microcontroller has two 16-bit timers/counters called T0 and T1. As their names suggest, timer counts internal clock pulse i.e. machine cycle to provide delay. Counter counts
More informationTDA General description. 2. Features. Low power single card reader
Rev. 03 22 February 2005 Product data sheet 1. General description The is a complete one chip, low cost, low power, robust smart card reader. Its different power reduction modes and its wide supply voltage
More informationW77E532 Data Sheet 8-BIT MICROCONTROLLER. Table of Contents-
Data Sheet Table of Contents- 8-BIT MICROCONTROLLER GENERAL DESCRIPTION FEATURES 3 PIN CONFIGURATIONS 3 4 PIN DESCRIPTION 4 5 BLOCK DIAGRAM 6 6 FUNCTIONAL DESCRIPTION 7 7 MEMORY ORGANIZATION 8 8 INSTRUCTION
More informationMore on the 9S12 SPI Using the Dallas Semiconductor DS1302 Real Time Clock with the 9S12 SPI
More on the 9S12 SPI Using the Dallas Semiconductor DS1302 Real Time Clock with the 9S12 SPI Using the 9S12 SPI The SPI has a data register (SPIDR) and a shift register. To write data to the SPI, you write
More information8051 Core Specification
8051 Core Specification Authors: Jaka Simsic Simon Teran jakas@opencores.org simont@opencores.org Rev. 0.1 August 14, 2001 First Draft www.opencores.org Rev 0.1 First Draft 1 of 26 Revision History Rev.
More information8-Bit Microcontroller with 8K Bytes Flash AT89S8252. Features. Description
Features Compatible with MCS-51 Products 8K Bytes of In-System Reprogrammable Downloadable Flash Memory SPI Serial Interface for Program Downloading Endurance: 1,000 Write/Erase Cycles 2K Bytes EEPROM
More informationHigh-Speed Microcontroller User s Guide
. www.maxim-ic.com High-Speed Microcontroller User s Guide TABLE OF CONTENTS. INTRODUCTION...6 2. ORDERING INFORMATION...7 3. ARCHITECTURE...8 3. ALU... 8 3.2 SPECIAL FUNCTION REGISTERS (SFRS)... 8 4.
More informationDS87C520/DS83C520. EPROM/ROM High Speed Micro PRELIMINARY PACKAGE OUTLINE FEATURES
PRELIMINARY DS87C520/DS83C520 EPROM/ROM High Speed Micro FEATURES 80C52 compatible 8051 pin and instruction set compatible Four 8 bit I/O ports Three 16 bit timer/counters 256 bytes scratchpad RAM Large
More information8051 MICROCONTROLLER
8051 MICROCONTROLLER Mr.Darshan Patel M.Tech (Power Electronics & Drives) Assistant Professor Department of Electrical Engineering Sankalchand Patel College of Engineering-Visnagar WHY DO WE NEED TO LEARN
More information