Address/Data Control. Port latch. Multiplexer

Size: px
Start display at page:

Download "Address/Data Control. Port latch. Multiplexer"

Transcription

1 4.1 I/O PORT OPERATION As discussed in chpter 1, ll four ports of the 8051 re bi-directionl. Ech port consists of ltch (Specil Function Registers P0, P1, P2, nd P3), n output driver, nd n input buffer. Port 0 (pins 32-39) The output driver nd the input buffer of Port 0 re used to ccess externl memory. For this purpose, Port 0 sends out the low byte of the externl memory ddress, which is time-multiplexed with the dt byte tht is being written or red. The schemtic below gives the functionl digrm of typicl bit within Port 0. It shows the port bit ltch nd I/O buffer. The bit ltch is like D-type flip-flop, which will clock vlue from the internl bus in response to write to ltch signl from the CPU. The Q output of the ltch is plced on the internl bus in response to red ltch signl from the CPU. The level of the port pin itself is plced on the internl bus in response to red pin signl from the CPU. To use the port bit s n input the port bit ltch must contin 1 to turn off the output driver FET. It is therefore necessry to ensure tht logic 1 is written to the ltch of ny port bit tht is to be used s n input. This requirement pplies not just to Port 0, but lso to the remining three ports. I n t e r n l D t Internl red ltch Write to ltch D Q Port ltch Q Address/Dt Control Multiplexer V CC Port Pin B u s Internl red pin Note tht there is no internl pull-up resistor connected to the port pin. To use the pins of port 0 s both input nd output ports, ech pin must be connected externlly to 10K ohm pull-up resistor. With externl pull-up resistors connected upon reset, port 0 is configured s n output port. V CC 10K P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 Port 0 with externl pull-up resistors 4-1

2 Port 1 (pins 1-8) Port 1 is generl-purpose bi-directionl I/O port. The pins in this port hve no lternte functions. Port 2 (pins 21-28) The output drivers of Port 2 re used to ccess externl memory. Port 2 sends out the high byte of the ddress if it is 16-bit wide. Otherwise, the Port 2 pins continue to send out the P2 Specil Function Register content. Port 3 (pins 10-17) All of the Port 3 pins re multi-functionl. They re not only I/O port pins, but lso serve the functions of the vrious fetures. (Plese refer to chpter 1) The following schemtic gives the port bit structure for Port 1, Port 2, nd Port 3. Notice tht for Port 2 we hve omitted the multiplexer, which switches the port bit to send out ddress informtion when Port 2 is used s n ddress bus. V CC I n t e r n l D t Internl red ltch Write to ltch Internl pull-up resistor D Q Port ltch Port Pin B u s Internl red pin When reset occurs ll the port ltches in the 8051 hve 1 s written to them. If 0 is subsequently written to port ltch, it cn be reconfigured s n input by writing 1 to it. Progrmming the I/O Port Tsk #1: Write progrm to toggle every bit of P1 continuously (# B # B) BACK: MOV A, #55H MOV P1, A MOV A, #0AAH MOV P1, A SJMP BACK BACK: MOV P1, #55H MOV P1, #0AAH SJMP BACK MOV P1, #55H BACK: XLR P1, #0FFH SJMP BACK Red-modify-write 4-2

3 Tsk #2: Write progrm to toggle bit 2 of P1 continuously (#XXXXX0XXB #XXXXX1XXB) BACK: SETB P1.2 CLR P1.2 SJMP BACK BACK: CPL P1.2 SJMP BACK Tsk #3: Write progrm to configure port 0 s n input port, nd then dt is received from tht port nd sent to P1. MOV MOV BACK: MOV MOV SJMP A, #0FFH P0, A A, P0 P1, A BACK MOV MOV BACK: MOV SJMP A, #0FFH P0, A P1, P0 BACK 4.2 TIMER OPERATION The 8051 hs two on-chip 16-bit timers. These cn be configured to work either s timers or s counters. Timer When operting s timer the timer s register increments by one for every mchine-cycle. We my therefore think of it s counting mchine cycles. Since one mchine-cycle consists of twelve (12) oscilltor periods the count rte is one-twelve (1/12) of the oscilltor frequency. Counter In the counter mode the timer s register is incremented in response to 1 -to- 0 trnsition in its corresponding externl input pin T0 for Timer 0 nd T1 for Timer 1. In this mode the CPU smples the externl input during Phse 2 of Stte 5 (or in short S5P2) of every mchine cycle. When the CPU detects tht the input pin is high in one cycle nd low in the following cycle, it increments the count. The new count ppers in the timer register during Phse 1 of Stte 3 (S3P1) of the cycle following the one in which the trnsition ws detected. Since it tkes two (2) mchine cycles (or 24 oscilltor clock periods) to recognise 1 - to- 0 trnsition the mximum count rte is one twenty-fourth (1/24) of the oscilltor frequency. There is no restriction on the duty-cycle of the externl input signl. However, to ensure tht given level is smpled t lest once before it chnges, it should be held for minimum of one full mchine cycle. Mchine cycle 1 Mchine cycle 2 Mchine cycle 3 Stte 1 Stte 2 Stte 3 Stte 4 Stte 5 Stte 6 Stte 1 Stte 2 Stte 3 Stte 4 Stte 5 Stte 6 Stte 1 Stte 2 Stte 3 Stte 4 Externl Clock Pulse 1 0 Counter

4 The digrm below shows the timer/counter configurtions. Controlled by Counter / Timer (C / T) System clock Divide by 12 Tx Pin TLx THx Timer flg (TFx) TRx bit in TCON Gte bit in TMOD Mode 0 nd 1 configurtion Mode 2 configurtion INTx Pin TLx Note: x denotes the timer being used, i.e. x = 0 or 1 8 bits 8 bits Lod THx Timer Specil Function Registers TMOD We cn progrm the timer to work in one of four modes. We do these selections through the Timer/Counter Mode Control Register (TMOD) of the timer/counter, which is one of the specil function registers. Note tht this register is not bit ddressble. The digrm below shows the formt of the Mode Control Register. Timer 1 Timer 0 MSB LSB GATE C / T M1 M0 GATE C / T M1 M0 Bit Nme GATE C / T Function Gting control bit. GATE = 1 GATE = 0 Timer / Counter select bit. C / T = 0 C / T = 1 Timer/Counter x is enbled only if INTx pin = 1 nd TRx control pin is set (hrdwre control). Timer x is enbled whenever TRx control bit is set (softwre control). Timer opertion. Counter opertion. M0, M1 Mode selection bits (see tble below). 4-4

5 M1 M0 Operting Mode 0 0 Mode 0: 13-bit Timer Mode. 8-bit Timer/Counter THx with TLx s 5-bit presclr. 0 1 Mode 1: 16-bit Timer Mode. 16-bit Timer/Counter THx nd TLx re cscded. No presclr. 1 0 Mode 2: 8-bit Auto-Relod. THx holds vlue which is to be reloded into TLx ech time it overflows. 1 1 Mode 3: Split Timer Mode. Timer 0 TL0 is n 8-bit timer controlled by Timer 0 control bits; TH0 is n 8-bit timer controlled by Timer 1 control bits. Timer 1 Stopped. Mode 0: Mode 1: Mode 2: Mode 3: In this mode the Timer High Byte (THx) is cscded with the lower five bytes of the Timer Low Byte (TLx) to form 13-bit register. The upper three bits of TLx is not used. As the counter rolls over from ll 1s to ll 0s it sets the timer interrupt (overflow) flg TFx. The counted input is switched to the timer when TRx = 1 nd either GATE = 0 or INTx = 1. This mode is generlly not used much nowdys. This is 16-bit timer mode. Its opertion is the sme s tht for Mode 0 except tht ll 16-bits of the timer register re used. The timer registers (TLx nd THx) my be written to or red t ny time by softwre. Mode 2 configures the timer register s n 8-bit counter (TLx) with utomtic relod. When TLx overflows it not only sets the interrupt (overflow) flg (TFx), but lso relods TLx with the contents of THx, which is pre-set by softwre. The relod leves the contents of THx unchnged. In this mode Timer 0 works s if it is two seprte 8-bit timers. TL0 uses Timer 0 control bits (GATE, C/ T, TR0, INT0, nd TF0). TH0 is locked into timer function (counting mchine cycles) nd tke over the use of TR1 nd TF1 from Timer 1. TH0 now controls Timer 1 s interrupt. Although Timer 1 is stopped by Mode 3, switching it into one of the other modes cn strt it. However Timer 1 overflowing will not ffect the overflow flg TF1, since it is now connected to TH0. The other specil function registers tht re used to control the opertion of the timer/counters re TH0, TL0, TH1, TL1, nd TCON. TCON TCON is the Timer/Counter Control Register which contins the sttus nd control bits for the two 8051 timers. It lso contins four bits tht re used for the control of externl interrupts. Note tht TCON is bit ddressble. The formt of the TCON is: MSB LSB TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 4-5

6 TCON: Timer/Counter Control Register Symbol Bit Lbel Nme nd Description TF1 TCON.7 Timer-1 overflow flg. Set by hrdwre on overflow. Clered by hrdwre when processor vectors to interrupt routine. TR1 TCON.6 Timer-1 run control bit. Set / clered by softwre to turn timer / counter on / off. TF0 TCON.5 Timer-0 overflow flg. Set by hrdwre on overflow. Clered by hrdwre when processor vectors to interrupt routine. TR0 TCON.4 Timer-0 run control bit. Set / clered by softwre to turn timer / counter on / off. IE1 TCON.3 Interrupt-1 Edge flg. Set by hrdwre when interrupt-1 flling edge is detected. Clered when interrupt is processed. IT1 TCON.2 Interrupt-1 Type control bit. Set / clered by softwre to specify flling edge / low level triggered externl interrupts. IE0 TCON.1 Interrupt-0 Edge flg. Set by hrdwre when interrupt-1 flling edge is detected. Clered when interrupt is processed. IT0 TCON.0 Interrupt-0 Type control bit. Set / clered by softwre to specify flling edge / low level triggered externl interrupts. Progrmming the timer/counter Tsk #1: Select the mode of opertion nd initilize the timer/counter if we wish to use Timer 0 s 16-bit counter, which counts clock pulses tht re externlly gted to the counter by INT0. Initiliztion entils writing the pproprite mode word to the mode control register (TMOD). The mode we need is mode 1 nd hence M0 = 1 nd M1 = 0. Since the clock source is internl we hve C/ T = 0, nd gted externlly so we hve GATE = 1. As we re not using Timer 1 we cn put 0 into ll it mode word bits. The mode control word is 09H s shown below. MSB The instruction tht lods the mode control register with the required mode word is MOV TMOD, #09H. The next word we need to write to the timer is the control word. We need to first ensure tht the time is off by writing 0 to TR0. Since TR0 is bit ddressble we cn simply use the instruction CLR TR0. Tsk #2: Write progrm using Timer 0 to output 10 khz squre wve on pin 0 of Port 1 (P1.0) A 10 khz squre wve hs equl mrk-to-spce rtio, i.e. it hs equl high nd low durtion of 50 µs. This time intervl is less thn 256 µs, we cn use mode 2 with uto-relod. Assuming n oscilltor clock of 12 MHz, ech count is 1 µs so tht we need totl of 50 counts less thn 00H, or 50. The progrm is s follows ORG XXXXH MOV TMOD, #02H ; mode 2, 8-bit uto-relod MOV TH0, #-50 ; put 50 relod vlue in TH0 SETB TR0 ; strt timer LOOP: JNB TF0, LOOP ; wit for overflow CLR TF0 ; cler timer overflow flg bit CPL P1.0 ; toggle Port 1.0 SJMP LOOP ; repet END LSB 0 1

7 4.3 SERIAL PORT OPERATION The 8051 hs seril port which supports single chnnel full-duplex seril communiction. The receive dt (RxD) nd trnsmit dt (TxD) signls of the seril port re the lternte functions of pins P3.0 nd P3.1 on Port 3. Note tht the seril signls provided by these pins re t TTL signl levels. To mke them comptible with RS232 stndrd for seril trnsmission we need to use suitble driver IC, such s the MAX233, to do the necessry level trnsltions. SCON & SBUF There re two specil function registers ssocited with the seril port. These re the seril port control nd sttus register (SCON) nd seril port buffer (SBUF). The seril port buffer (SBUF) is in fct physiclly two seprte registers the seril port trnsmit register nd receive register. Writing to SBUF lods the trnsmit register nd reding from SBUF ccesses the receive buffer. The receive register is receive-buffered, mening tht the seril port cn commence reception of second byte of dt before previously received byte hs been red from the receive register. However, if the first byte still hs not been red by the time the reception of the second byte is complete, one of the bytes will be lost. We cn select to operte the seril port in one of four modes Mode 0, Mode 1, Mode 2, nd Mode 3. To do so we write the pproprite word to the seril port control nd sttus register, SCON, t ddress 98H. This register is bit ddressble. The digrm nd tble below give the formt of this register nd the definition of the bits within the register. MSB LSB SM0 SM1 SM2 REN TB8 RB8 TI RI Symbol Bit Lbel Nme nd Description SM0 SCON.7 Seril mode selection bit 0. SM1 SCON.6 Seril mode selection bit 1. SM2 SCON.5 Seril mode selection bit 2. Enbles the multi-processor communiction feture in Mode 2 nd 3. In Mode 2 or 3, if SM2 = 1 the RI will not be ctivted if the received 9 th dt bit (RB8) = 0. In Mode 1, if SM2 = 1 the RI will not be ctivted if vlid stop bit ws not received. In Mode 0, SM2 should be 0. REN SCON.4 Enble seril reception. Set/cler by softwre to enble/disble reception. TB8 SCON.3 9 th dt bit trnsmitted in Mode 2 nd 3. Set/cler by softwre s desired. RB8 SCON.2 9 th dt bit received in Mode 2 nd 3. In Mode 1, if SM2 = 0 then RB8 is the received stop bit. In Mode 0, RB8 is not used. TI SCON.1 Trnsmit interrupt flg. Set by hrdwre t the end of the 8 th bit time in Mode 0, or t the beginning of the stop bit, in ny other modes, in seril trnsmission. Must be clered by softwre. RI SCON.0 Receive interrupt flg. Set by hrdwre t the end of the 8 th bit time in Mode 0, or hlfwy through the stop bit time in ny other modes, in ny seril reception (except see SM2). Must be clered by softwre. 4-7

8 The mode selection using SCON.7 nd SCON.6 is s follows: SM0 SM1 MODE Description Bud Rte Shift register Fixed (f osc /12) bit UART Vrible (set by timer) bit UART Fixed (f osc /32 or f osc /64) bit UART Vrible (set by timer) Mode 0: Mode 1: Mode 2: Mode 3: In this mode the port is operting in n 8-bit shift register mode. Seril dt enter nd go out through the RxD pin. The TxD pin outputs the shift clock. The bud rte is fixed t one-twelve of the oscilltor frequency. In this mode the port opertes s n 8-bit UART. Ten bits re trnsmitted through TxD or received through RxD. The ten bits comprise, strt bit ( 0 ), 8 dt bits (with the LSB first), nd stop bit ( 1 ). When received the stop bit goes into RB8 in the specil function register SCON. The bud rte for this mode is vrible. The port opertes s 9-bit UART in this mode. Eleven bits of dt re trnsmitted or received. The eleven bits re mde up of strt bit ( 0 ), 8 dt bits (LSB first), progrmmble 9 th dt bit, nd stop bit ( 1 ). On trnsmit the 9 th dt bit (TB8 in SCON) cn be ssigned vlue of 1 or 0. Alterntively, for exmple, the prity bit (P, in the PSW) cn be moved to TB8. On receive the 9 th dt bit goes into RB8 in SCON, while the stop bit is ignored. The bud rte is progrmmble to be f osc /12 or f osc /64. This mode is the sme s Mode 2 except tht the bud rte is progrmmble nd is provided by the timer. In ll four modes, we initite trnsmission by writing to the SBUF register. In Mode 0 we strt reception by setting the bits RI = 0, nd REN = 1. While in other modes, if REN = 1, reception will strt when n incoming strt bit is received. To prepre for seril reception we cn set REN = 1 t the beginning of progrm by either executing the instruction SETB REN, or lod SCON with mode word tht hs SCON.4 = 1, i.e. by executing the instruction MOV SCON, #XXX1XXXXB. Note tht the don t cre bits X re relly not don t cre bits s such here. They must be ppropritely chosen to set the mode of opertion we desire. Bud Rte Settings For The Seril Ports Mode 0 nd Mode 2 The bud rte in Mode 0 is fixed t f osc /12. The bud rte in Mode 2 depends on the vlue of the SMOD bit in the specil function register PCON (Power Control). It is given by Mode 2 bud rte = (2 SMOD /64) f osc. Thus if SMOD = 0 (defult upon RESET or power up) the Mode 2 bud rte = (1/64) f osc, nd if SMOD = 1 the Mode 2 bud rte = (1/32) f osc. Mode1 nd Mode 3 In the 8051, the bud rte is determined by the Timer 1 overflow rte nd the vlue of SMOD s follows: Mode 1 & 3 bud rte = (2 SMOD /32) x (Timer 1 Overflow Rte). The Timer 1 interrupt should be disbled for this ppliction. The Timer itself cn be set for either s timer or s counter opertion nd in ny of its 3 running modes. It is typicl in most pplictions to set it to timer opertion, in the uto-relod mode (the high nibble of TMOD = 0010B). In this cse the bud rte is given by: Mode 1 & 3 bud rte = 2 SMOD x 32 f osc. 12 x [256 - (TH1)] Note tht using 12 MHz crystl oscilltor we will incur n error in the bud rte generted in this wy. If exct bud rtes re required we hve to use MHz crystl. The tble below gives the commonly used bud rte generted with MHz crystl. 4-8

9 Bud Rte f osc SMOD Timer 1 C / T Mode Relod Vlue Mode 1,3:62.5K 12 MHz FFH 19, MHz FDH MHz FDH MHz FAH MHz F4H MHz E8H MHz DH MHz H MHz FEEBH Progrmming the Seril Port Tsk #1: Write the initiliztion for the seril port so tht it will operte in synchronous mode with 8-bit dt nd bud rte of The first thing we need to set is the seril port mode control word. For 8-bit synchronous communictions we need to operte in Mode 1, so we set SM0 = 0, SM1 = 1, SM2 = 0. To enble the receiver we hve REN = 1, nd to set the trnsmitter for trnsmission of the first chrcter we set TI = 1. Thus the seril port mode control word is 52H. Next we set mode control word for Timer 1 which is given by GATE = 0, C/ T= 0, M1 = 1, nd M0 = 0. We cn set ll bits for Timer 0 to 0. The required word is 20H. To find the required vlue tht we need to put into TH1 we need to use the expression given bove. Here we ssume, for simplicity, tht the crystl frequency of the microcontroller is MHz so tht for 9600 bud we need TH1 = FDH. The initiliztion segment is therefore: ORG XXXXH INIT: MOV SCON, #52H ; 8-bit syn, mode 1 MOV TMOD, #20H ; set Timer 1 to mode 2 MOV TH1, #0FDH ; 9600 bud rte SETB TR1 ; strt Timer 1 Tsk #2: Write subroutine clled OUTCHR to trnsmit the 7-bit ASCII code in the ccumultor out through the seril port, with odd prity dded s the 8 th bit. Return with the vlue in the ccumultor unchnged, i.e. with the prity bit removed. We obtin the prity of the ASCII code in the ccumultor by looking t the prity flg bit in the PSW. However, remember lthough the prity flg in the PSW reflects the number of 1s in the ccumultor fter every mchine cycle it is set differently. If the number of 1s is even, P = 0, nd if it is odd P = 1. In the prity 4-9

10 bit conventionlly 1 represents even prity nd 0 represents odd prity. Thus we need complement the prity flg bit before putting it into the most significnt bit of the ccumultor. The progrm for the trnsmission of the single chrcter is s follows: ORG XXXXH MAIN: ; min progrm OUTCHR: ; OUTCHR subroutine MOV C, P ; Get prity flg bit, CPL C ; convert, MOV ACC.7, C ; nd put in bit 7 of the ACC MOV SBUF, A ; sent new chrcter WAIT: JNB TI, WAIT ; hs lst chrcter been sent? CLR TI ; yes, cler flg CLR ACC.7 ; remove prity bit in ACC RET ; return to min progrm Tsk #3: Write progrm to trnsfer the messge YES serilly t 9600 bud, 8-bit dt, 1 stop bit. Do this continuously. ORG XXXXH INIT: MOV SCON, #50H ; 8-bit, 1 stop bit, REN enbled MOV TMOD, #20H ; set Timer 1 to mode 2 MOV TH1, #-3 ; 9600 bud rte SETB TR1 ; strt Timer 1 AGAIN: MOV A, # Y ; trnsfer Y ACALL TRANS MOV A, # E ; trnsfer E ACALL TRANS MOV A, # S ; trnsfer S ACALL TRANS SJMP AGAIN ; seril dt trnsfer subroutine TRANS: MOV SBUF, A ; sent new chrcter WAIT: JNB TI, $ ; hs lst chrcter been sent? CLR TI ; yes, cler flg RET ; return to min progrm 4-10

CoE3DJ4 Digital Systems Design. Chapter 5: Serial Port Operation

CoE3DJ4 Digital Systems Design. Chapter 5: Serial Port Operation CoE3DJ4 Digital Systems Design Chapter 5: Serial Port Operation Serial port 8051 includes an on-chip serial port Hardware access to the port is through TXD and RXD (Port 3 bits 1 and 0) Serial port is

More information

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

MCS-51 Serial Port A T 8 9 C 5 2 1 MCS-51 Serial Port AT89C52 1 Introduction to Serial Communications Serial vs. Parallel transfer of data Simplex, Duplex and half-duplex modes Synchronous, Asynchronous UART Universal Asynchronous Receiver/Transmitter.

More information

Enginner To Engineer Note

Enginner To Engineer Note Technicl Notes on using Anlog Devices DSP components nd development tools from the DSP Division Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dsp_pplictions@nlog.com, FTP: ftp.nlog.com Using n ADSP-2181

More information

Distributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. 8051 8052 and 80C51 Hardware Description December 1992 Order Number 270252-006

More information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-188 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

8051 Timers and Serial Port

8051 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 information

Interrupt Programming: Interrupts vs. Polling Method:

Interrupt Programming: Interrupts vs. Polling Method: UNIT 4: INTERRUPT PROGRAMMING & SERIAL COMMUNICATION WITH 8051: Definition of an interrupt, types of interrupts, Timers and Counter programming with interrupts in assembly. 8051 Serial Communication: Data

More information

The 8051 microcontroller has two 16-bit timers/counters called T0 and T1.

The 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 information

The Timers/Counters The Serial Interface The Interrupt System Reset P0.0-P0.7 P2.0-P2.7. Port 2 Drivers. Port 2 Latch

The Timers/Counters The Serial Interface The Interrupt System Reset P0.0-P0.7 P2.0-P2.7. Port 2 Drivers. Port 2 Latch HARDWARE DESCRIPTION This chapter provides a detailed description of the 80C51 microcontroller (see Figure 1). Included in this description are: The port drivers and how they function both as ports and,

More information

MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:

MICROPROCESSORS 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 information

Mod-3: Interrupts,Timer operation,serial communication 1

Mod-3: Interrupts,Timer operation,serial communication 1 Mod-3: Interrupts,Timer operation,serial communication 1 Module-3 Contents: Interrupts - interrupt sources - interrupt handling programming examples. Timers operation different modes waveform generation-

More information

8051 Serial Communication

8051 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 information

CPEG300 Embedded System Design. Lecture 8 Timer

CPEG300 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 information

8051 Timers. Class 7 EE4380 Fall Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas

8051 Timers. Class 7 EE4380 Fall Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas 8051 Timers Class 7 EE4380 Fall 2002 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Introduction Timers Timing devices - Generate specific time delay Event

More information

E201 USB Encoder Interface

E201 USB Encoder Interface Dt sheet Issue 4, 24 th ugust 2015 E201 USB Encoder Interfce E201-9Q incrementl E201-9S bsolute bsolute SSI BiSS-C mode (unidirectionl) B Z Clock Dt M SLO The E201 is single chnnel USB encoder interfce

More information

Interrupts. EE4380 Fall 2001 Class 9. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas

Interrupts. EE4380 Fall 2001 Class 9. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas 8051 - Interrupts EE4380 Fall 2001 Class 9 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Polling Vs Interrupts Polling: MCU monitors all served devices continuously,

More information

8051 Microcontroller memory Organization and its Applications

8051 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 information

8XC51RA RB RC Hardware Description

8XC51RA 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 information

MIPS I/O and Interrupt

MIPS I/O and Interrupt MIPS I/O nd Interrupt Review Floting point instructions re crried out on seprte chip clled coprocessor 1 You hve to move dt to/from coprocessor 1 to do most common opertions such s printing, clling functions,

More information

ISSI. IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH ISSI IS89C51 NOVEMBER 1998 FEATURES GENERAL DESCRIPTION

ISSI. 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 information

ELEG3923 Microprocessor Ch.10 Serial Port Programming

ELEG3923 Microprocessor Ch.10 Serial Port Programming Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch.10 Serial Port Programming Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Basics of Serial Communication Serial port programming

More information

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

Serial I-O for Dinesh K. Sharma Electrical Engineering Department I.I.T. Bombay Mumbai (version 14/10/07) Serial I-O for 8051 Dinesh K. Sharma Electrical Engineering Department I.I.T. Bombay Mumbai 400 076 (version 14/10/07) 1 Motivation Serial communications means sending data a single bit at a time. But

More information

Embedded Controller Programming

Embedded 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 information

UT1553B BCRT True Dual-port Memory Interface

UT1553B BCRT True Dual-port Memory Interface UTMC APPICATION NOTE UT553B BCRT True Dul-port Memory Interfce INTRODUCTION The UTMC UT553B BCRT is monolithic CMOS integrted circuit tht provides comprehensive MI-STD- 553B Bus Controller nd Remote Terminl

More information

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Programming in Assembly Module No: CS/ES/12 Quadrant 1 e-text

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Programming in Assembly Module No: CS/ES/12 Quadrant 1 e-text e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Programming in Assembly Module No: CS/ES/12 Quadrant 1 e-text In this lecture, serial communication control register

More information

EE6502- MICROPROCESSOR AND MICROCONTROLLER

EE6502- 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 information

Rev. No. History Issue Date Remark

Rev. 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 information

Microcontroller and Embedded Systems:

Microcontroller 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 information

ELEG3923 Microprocessor Ch.9 Timer Programming

ELEG3923 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 information

OPERATION MANUAL. DIGIFORCE 9307 PROFINET Integration into TIA Portal

OPERATION MANUAL. DIGIFORCE 9307 PROFINET Integration into TIA Portal OPERATION MANUAL DIGIFORCE 9307 PROFINET Integrtion into TIA Portl Mnufcturer: 2018 burster präzisionsmesstechnik gmbh & co kg burster präzisionsmesstechnik gmbh & co kg Alle Rechte vorbehlten Tlstrße

More information

Department of EIE / Pondicherry Engineering College. Timer/Counters. Department of EIE / Pondicherry Engineering College 1

Department 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 information

Timer-1 can be run using the internal clock, fosc/12 (timer mode) or from any external source via pin T1 (P3.5) (Counter mode).

Timer-1 can be run using the internal clock, fosc/12 (timer mode) or from any external source via pin T1 (P3.5) (Counter mode). EC 6504 MICROPROCESSOR AND MICROCONTROLLER Electronics and Communication Engineering Fifth Semester UNIT-V Part A 1. List the modes of Timer in 8051. [N/D16] The timers available in 8051 are Timer 0 (T0)

More information

CS 320. Computer Architecture Core Architecture

CS 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 information

VRS540-4kB Flash, 128B RAM, 25~40MHz, 8-Bit MCU

VRS540-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 information

8051 Microcontroller

8051 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 information

8051 Serial Port. EE4380 Fall02 Class 10. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas

8051 Serial Port. EE4380 Fall02 Class 10. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas 8051 Serial Port EE4380 Fall02 Class 10 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Serial Comm. - Introduction Serial Vs Parallel Transfer of data Simplex,

More information

IZT DAB ContentServer, IZT S1000 Testing DAB Receivers Using ETI

IZT DAB ContentServer, IZT S1000 Testing DAB Receivers Using ETI IZT DAB ContentServer, IZT S1000 Testing DAB Receivers Using ETI Appliction Note Rel-time nd offline modultion from ETI files Generting nd nlyzing ETI files Rel-time interfce using EDI/ETI IZT DAB CONTENTSERVER

More information

WINTER 14 EXAMINATION

WINTER 14 EXAMINATION Subject Code: 17534 WINTER 14 EXAMINATION Model Answer 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)

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-204 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil

More information

Serial communication

Serial communication Serial communication CSCI 255: Introduction to Embedded Systems Keith Vertanen Copyright 2011 Serial communication Terminology RS-232 protocol Baud rates Flow control Example Overview Develop functions

More information

VRS550-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-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 information

Chapter 6 Interrupts. (I. Scott Mackenzie) By: Masud-ul-Hasan

Chapter 6 Interrupts. (I. Scott Mackenzie) By: Masud-ul-Hasan Chapter 6 Interrupts (I. Scott Mackenzie) 1 Interrupts An interrupt is the occurrence of an event that causes a temporary suspension of a program while the condition is serviced by another program. It

More information

Welch Allyn CardioPerfect Workstation Installation Guide

Welch Allyn CardioPerfect Workstation Installation Guide Welch Allyn CrdioPerfect Worksttion Instlltion Guide INSTALLING CARDIOPERFECT WORKSTATION SOFTWARE & ACCESSORIES ON A SINGLE PC For softwre version 1.6.6 or lter For network instlltion, plese refer to

More information

اصول ميکروکامپيوترها استاد درس: دکتر http://ee.iust.ac.ir/rahmati/index.htm rahmati@iust.ac.ir ا درس Email و Website برای تکاليف و... : http://eel.iust.ac.ir/rahmati/ ١ هجدهم فصل ا شنايی با تايمرهای 8051

More information

LCI/USB LonWorks Commissioning Interface

LCI/USB LonWorks Commissioning Interface Works Commissioning Interfce Importnt: Retin these instructions CONTENTS 1 Unpcking... 1 2 Storing... 1 3 Instlltion... 1 4 Uninstlling the USB Drivers... 8 5 Disposl... 8 1 UNPACKING Instlltion Instructions

More information

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment File Mnger Quick Reference Guide June 2018 Prepred for the Myo Clinic Enterprise Khu Deployment NVIGTION IN FILE MNGER To nvigte in File Mnger, users will mke use of the left pne to nvigte nd further pnes

More information

CPEG300 Embedded System Design. Lecture 6 Interrupt System

CPEG300 Embedded System Design. Lecture 6 Interrupt System CPEG300 Embedded System Design Lecture 6 Interrupt System Hamad Bin Khalifa University, Spring 2018 Correction Lecture 3, page 18: Only direct addressing mode is allowed for pushing or popping the stack:

More information

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

EEE3410 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 information

UNIT IV MICROCONTROLLER

UNIT 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 information

E201 USB Encoder Interface

E201 USB Encoder Interface Dt sheet Issue 3, 14 th July 2014 E201 USB Encoder Interfce E201-9Q - incrementl E201-9S - bsolute bsolute SSI BiSS-C mode (unidirectionl) B Z Clock Dt M SLO The E201 is single chnnel USB encoder interfce

More information

Chapter 7. Routing with Frame Relay, X.25, and SNA. 7.1 Routing. This chapter discusses Frame Relay, X.25, and SNA Routing. Also see the following:

Chapter 7. Routing with Frame Relay, X.25, and SNA. 7.1 Routing. This chapter discusses Frame Relay, X.25, and SNA Routing. Also see the following: Chpter 7 Routing with Frme Rely, X.25, nd SNA This chpter discusses Frme Rely, X.25, nd SNA Routing. Also see the following: Section 4.2, Identifying the BANDIT in the Network Section 4.3, Defining Globl

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-295 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil

More information

8051 Microcontroller

8051 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 information

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

Module 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 information

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

8-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 information

Voltage Monitoring Products

Voltage Monitoring Products Voltge Monitoring Products Spring 2005 CONTENTS 3-Led Reset Genertor Circuits.. 2 4-Led Reset Genertors with Mnul Reset............ 3 Wtchdog Supervisory Circuits... 4 Bttery-Bckup Supervisory Circuits...........

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-245 Technicl notes on using Anlog Devices DSPs, processors nd development tools Contct our technicl support t dsp.support@nlog.com nd t dsptools.support@nlog.com Or visit our

More information

Microcontroller and Applications

Microcontroller and Applications S.Y. Diploma : Sem. IV [DE/EJ/ET/EN/EX/EQ/IS/IC/IE] Microcontroller and Applications Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 70 Q.1 Attempt any FIVE of the following : [10] Q.1(a) Define

More information

ELEG3923 Microprocessor Ch.4 I/O Ports

ELEG3923 Microprocessor Ch.4 I/O Ports Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch.4 I/O Ports Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 8051 I/O programming I/O bit manipulation programming I/O PORT

More information

EasyMP Network Projection Operation Guide

EasyMP Network Projection Operation Guide EsyMP Network Projection Opertion Guide Contents 2 Introduction to EsyMP Network Projection EsyMP Network Projection Fetures... 5 Disply Options... 6 Multi-Screen Disply Function... 6 Movie Sending Mode...

More information

CHAPTER TIMER PROGRAMMING

CHAPTER TIMER PROGRAMMING CHAPTER 9 8051 TIMER PROGRAMMING 8051 Timers The 8051 has two timers/counters, they can be used as Timers to generate a time delay Event counters to count events happening outside the microcontroller Both

More information

Fig.25: the Role of LEX

Fig.25: the Role of LEX The Lnguge for Specifying Lexicl Anlyzer We shll now study how to uild lexicl nlyzer from specifiction of tokens in the form of list of regulr expressions The discussion centers round the design of n existing

More information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-208 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

Chapter 09. Programming in Assembly

Chapter 09. Programming in Assembly Chapter 09 Programming in Assembly Lesson 05 Programming Examples for Timers Programming TMOD Register 3 Write instructions to run T0 in Mode 0, external count inputs, internal start/stop control ANL TMOD,

More information

How to Design REST API? Written Date : March 23, 2015

How to Design REST API? Written Date : March 23, 2015 Visul Prdigm How Design REST API? Turil How Design REST API? Written Dte : Mrch 23, 2015 REpresenttionl Stte Trnsfer, n rchitecturl style tht cn be used in building networked pplictions, is becoming incresingly

More information

McAfee Network Security Platform

McAfee Network Security Platform NTBA Applince T-200 nd T-500 Quick Strt Guide Revision B McAfee Network Security Pltform 1 Instll the mounting rils Position the mounting rils correctly nd instll them t sme levels. At the front of the

More information

In the last lecture, we discussed how valid tokens may be specified by regular expressions.

In the last lecture, we discussed how valid tokens may be specified by regular expressions. LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.

More information

Experiment# 8: Photo-Interrupter Control

Experiment# 8: Photo-Interrupter Control Experiment# 8: Photo-Interrupter Control I. Objective 1. Study the schematic diagram of photo interrupter (PH1, and PH2) and the pulse generator circuit. 2. To demonstrate the control applications of photo-interrupter,

More information

Epson Projector Content Manager Operation Guide

Epson Projector Content Manager Operation Guide Epson Projector Content Mnger Opertion Guide Contents 2 Introduction to the Epson Projector Content Mnger Softwre 3 Epson Projector Content Mnger Fetures... 4 Setting Up the Softwre for the First Time

More information

SRL0 Serial Port Unit

SRL0 Serial Port Unit Summary The serial communications port peripheral devices can be configured for communications between a microprocessor and peripheral devices, or for multiprocessor communications. This document provides

More information

pdfapilot Server 2 Manual

pdfapilot Server 2 Manual pdfpilot Server 2 Mnul 2011 by clls softwre gmbh Schönhuser Allee 6/7 D 10119 Berlin Germny info@cllssoftwre.com www.cllssoftwre.com Mnul clls pdfpilot Server 2 Pge 2 clls pdfpilot Server 2 Mnul Lst modified:

More information

CoE3DJ4 Digital Systems Design. Chapter 6: Interrupts

CoE3DJ4 Digital Systems Design. Chapter 6: Interrupts CoE3DJ4 Digital Systems Design Chapter 6: Interrupts Interrupts An interrupt is the occurrence of an event that causes a temporary suspension of a program while the condition is serviced by another program.

More information

The Final Word on 8051 Microcontroller

The Final Word on 8051 Microcontroller The Final Word on 8051 Microcontroller This is a book about the Intel 8051 microcontroller and its large family of descendants. It is intended to give you, the reader, some new techniques for optimizing

More information

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties, Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

CHAPTER 11 INTERRUPTS PROGRAMMING

CHAPTER 11 INTERRUPTS PROGRAMMING CHAPTER 11 INTERRUPTS PROGRAMMING Interrupts vs. Polling An interrupt is an external or internal event that interrupts the microcontroller To inform it that a device needs its service A single microcontroller

More information

Ver 1.2. Radiation Hardened Bidirectional Multipurpose Transceiver. Datasheet. Part Number:B54ACS164245SARH

Ver 1.2. Radiation Hardened Bidirectional Multipurpose Transceiver. Datasheet. Part Number:B54ACS164245SARH Ver 1.2 Rdition Hrdened Bidirectionl Multipurpose Trnsceiver Dtsheet Prt Number:B54ACS164245SARH 1 Pge of Revise Control Version No. Publish Time Revised Chpter Revise Introduction Note 1.1 2016-08-15

More information

- 2 U NIX FILES 1. Explin different file types vilble in UNIX or P OSIX s ystem. ( 08 mrks) ( My-08/Dec-08/My-10/My- 12) 2. Wht is n API? How is it di

- 2 U NIX FILES 1. Explin different file types vilble in UNIX or P OSIX s ystem. ( 08 mrks) ( My-08/Dec-08/My-10/My- 12) 2. Wht is n API? How is it di -1 I NTRODUCTION 1. Wht is posix stndrd? Explin different subset of posix stndrd. Write structure of progrm to filter out non- p osix complint codes from user progrm. ( 06 mrks) ( Dec- 2010). 2. W rite

More information

Chapter C2051 Architecture and Serial Communication Link

Chapter C2051 Architecture and Serial Communication Link Chapter- 2 89C2051 Architecture and Serial Communication Link ABSTRACT This chapter provides the details of 89C2051 microcontroller and description on Serial Communication Facility presented by 89C2051

More information

FACULTY OF ENGINEERING LAB SHEET

FACULTY OF ENGINEERING LAB SHEET FACULTY OF ENGINEERING LAB SHEET MICROCONTROLLER AND MICROPROCESSOR SYSTEMS ECE2216 TRIMESTER 1 (2017/2018) MP2: Construction and programming of a basic electronic piano *Note: On-the-spot evaluation may

More information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-167 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

Timers and interrupts

Timers and interrupts Timers and interrupts CSCI 255: Introduction to Embedded Systems Keith Vertanen Copyright 2011 Timers Overview Creating fixed pauses Calculate length of events Counts events Generate baud rate for serial

More information

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers Wht do ll those bits men now? bits (...) Number Systems nd Arithmetic or Computers go to elementry school instruction R-formt I-formt... integer dt number text chrs... floting point signed unsigned single

More information

Midterm 2 Sample solution

Midterm 2 Sample solution Nme: Instructions Midterm 2 Smple solution CMSC 430 Introduction to Compilers Fll 2012 November 28, 2012 This exm contins 9 pges, including this one. Mke sure you hve ll the pges. Write your nme on the

More information

8051 MICROCONTROLLER

8051 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

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-148 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

Lab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results

Lab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results 1 L 1 - Counter A project is collection mechnism for n HDL design under specifiction or test. Projects in ModelSim ese interction nd re useful for orgnizing files nd specifying simultion settings. The

More information

Q 1 a) Attempt any THREE of the following: 12 TMOD.7 TMOD.6 TMOD.5 TMOD.4 TMOD.3 TMOD.2 TMOD.1 TMOD.0 GATE C/T M1 M0 GATE C/T M1 M0

Q 1 a) Attempt any THREE of the following: 12 TMOD.7 TMOD.6 TMOD.5 TMOD.4 TMOD.3 TMOD.2 TMOD.1 TMOD.0 GATE C/T M1 M0 GATE C/T M1 M0 Page 1 of 33 Q 1 a) Attempt any THREE of the following: 12 Q 1 a i) Describe Timer modes of 8051. Ans: Timer 0 and Timer 1 can both be used as either Counters or Timers. There are 4 different operating

More information

License Manager Installation and Setup

License Manager Installation and Setup The Network License (concurrent-user) version of e-dpp hs hrdwre key plugged to the computer running the License Mnger softwre. In the e-dpp terminology, this computer is clled the License Mnger Server.

More information

Introduction To MCS-51

Introduction 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 information

EECS 281: Homework #4 Due: Thursday, October 7, 2004

EECS 281: Homework #4 Due: Thursday, October 7, 2004 EECS 28: Homework #4 Due: Thursdy, October 7, 24 Nme: Emil:. Convert the 24-bit number x44243 to mime bse64: QUJD First, set is to brek 8-bit blocks into 6-bit blocks, nd then convert: x44243 b b 6 2 9

More information

05-247r2 SAT: Add 16-byte CDBs and PIO modes 1 September 2005

05-247r2 SAT: Add 16-byte CDBs and PIO modes 1 September 2005 To: T10 Technicl Committee From: Robert Sheffield, Intel (robert.l.sheffield@intel.com) Dte: 1 September 2005 Subject: 05-247r2 SAT: Add 16-byte CDBs nd PIO modes Revision history Revision 0 (16 June 2005)

More information

McAfee Network Security Platform

McAfee Network Security Platform Mnger Applince Quick Strt Guide Revision B McAfee Network Security Pltform This guide is high-level description of how to instll nd configure the Mnger Applince. For more detiled instlltion informtion,

More information

vcloud Director Service Provider Admin Portal Guide vcloud Director 9.1

vcloud Director Service Provider Admin Portal Guide vcloud Director 9.1 vcloud Director Service Provider Admin Portl Guide vcloud Director 9. vcloud Director Service Provider Admin Portl Guide You cn find the most up-to-dte technicl documenttion on the VMwre website t: https://docs.vmwre.com/

More information

INDIAN COMMUNITY SCHOOL INFORMATICS PRACTICES 2012

INDIAN COMMUNITY SCHOOL INFORMATICS PRACTICES 2012 INDIAN COMMUNITY SCHOOL INFORMATICS PRACTICES 0. Write corresponding C ++ expression for the following mthemticl expression: i) (-b) + (c-d) ii) e x x. Write C++ expression for the following: ) All possible

More information

8051 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 information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-169 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

Information regarding

Information regarding Informtion regrding LANCOM Advnced VPN Client 3.13 Copyright (c) 2002-2017 LANCOM Systems GmbH, Wuerselen (Germny) LANCOM Systems GmbH does not tke ny gurntee nd libility for softwre not developed, mnufctured

More information

a Technical Notes on using Analog Devices' DSP components and development tools

a Technical Notes on using Analog Devices' DSP components and development tools Engineer To Engineer Note EE-146 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

Fig 1. Block diagram of a microcomputer

Fig 1. Block diagram of a microcomputer MICRO CONTROLLERS www.bookspar.com VTU NOTES QUESTION PAPERS UNIT - 1 Computer: A computer is a multipurpose programmable machine that reads binary instructions from its memory, accepts binary data as

More information

EasyMP Multi PC Projection Operation Guide

EasyMP Multi PC Projection Operation Guide EsyMP Multi PC Projection Opertion Guide Contents 2 Introduction to EsyMP Multi PC Projection 5 EsyMP Multi PC Projection Fetures... 6 Connection to Vrious Devices... 6 Four-Pnel Disply... 6 Chnge Presenters

More information