ELEC3300_04_stu

ELEC3300_04_stu - ELEC 3300 Microprocessor Applications...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
ELEC 3300 : Fall 11/12 Tim Woo 1 ELEC 3300 Microprocessor Applications Topic 4 Timer and Counter Timer and Counter Prof. Tim Woo Prof. Tim Woo
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ELEC 3300 : Fall 11/12 Tim Woo 2 Where we are Timer and Counter Basic Computer Structure Introduction to Microprocessor-based Systems Digital and Analog Interfacing Interrupt Organization Memory, Interfacing to Memory, Memory Timing and applications Motor Interfacing Buffering and Direct Memory Access (DMA) Interfacing LCD Other Serial Bus Interface: IEEE1394, USB, I2C and SPI Serial Communication and RS-232 Standard To be covered In progress Done Microcontroller Structure A/D Port Assembler Instruction Set Architecture Memory I/O System CPU Serial Port External Memory Port Interrupt Port Simple Port In this course, 8051 is used as a driving vehicle for delivering the concepts.
Background image of page 2
ELEC 3300 : Fall 11/12 Tim Woo 3 • On successful completion of this topic, you will be able to – Summarize the importance of the timer in microprocessor – Distinguish the features of timer and counter – Implement four different modes of operations in timer with registers • Mode Control Register (TMOD) • Control Register (TCON) • Timer Registers (TH0, TL0, TH1, TL1) – Demonstrate some applications of timers Expected Outcomes Expected Outcomes
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ELEC 3300 : Fall 11/12 Tim Woo 4 Devices that uses a high speed clock input to provide a series of time or count related events Applications include – timing references for control sequences, – providing system ticks for OS, – generating waveforms for serial port baud rate generations and – generating waveforms for audible tones. Two modes of operation : Timer-mode and counter-mode operation Timer Structure Timer Structure
Background image of page 4
ELEC 3300 : Fall 11/12 Tim Woo 5 An output pulse generated each time the counter reaches zero provides a signal with a software-programmable frequency. Applications: – A common use for this output is as a baud rate generator for a serial communication interface. – generating waveforms for audible tones. – Timing the length of event Timer Timer - - Mode Operation Mode Operation
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Tim Woo 6 It is useful for interfacing to other devices that produce streams of possibly non-period pulses that must be counted Applications: Count the number of times that a user has pressed a key. Counter
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/16/2011 for the course ELEC 308,315,10 taught by Professor Prof.shenghuisong during the Spring '11 term at CUHK.

Page1 / 25

ELEC3300_04_stu - ELEC 3300 Microprocessor Applications...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online