Lecture 6: TI MSP430 IO Interfacing

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

ECE 382 Lesson 14 Lesson Outline Polling Multiplexing Intro to Logic Analyzer Debouncing Software Delay Routines Admin Assignment 3b due BOC today Assignment.
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
Input/Output (I/O) Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Parallel ports, power supply, and the clock oscillator Chapter Three Dr. Gheith Abandah1.
ECE 265 – LECTURE 13 Interface to switches and LEDs 7/3/ ECE265.
Logic Families Introduction.
Lecture – 7 Basic input and output
TEST YOUR BRAIN! Components.
ECE 447 Fall 2009 Lecture 6: TI MSP430 IO Interfacing.
ECE 447: Lecture 6 Input/Output Interfacing LEDs, Button Switches & Port Multiplexing.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
ENGR 355 Take Home Lecture 2 WRITING CODE Introductory Comments /* Disgruntled Avians Lab 6 ENGR355 by Tim Kyle Rev /1/2014 LM-3551 Tilt Sensor.
Module 2 – Digital I/O Output: Use the digital port to provide signals to display a number on a seven segment light emitting display (LED) display by wiring.
Embedded Systems Design
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Input/Output Ports and Interfacing
CprE 211 Break-out Board Layout
Teachers Name : Suman Sarker Telecommunication Technology Subject Name : Microcontroller & Embedded System Subject Code : 6871 Semester : 7th Department.
COMP3221: Microprocessors and Embedded Systems Lecture 18: Computer Buses and Parallel Input/Output (II) Lecturer: Hui.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Interfacing Light-Emitting Diodes (LEDs) & Push Buttons to Microcontrollers.
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Port architecture.
1 ECE 372 – Microcontroller Design Parallel IO Ports - Inputs.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
Topic 1 Topic 1 Objectives Topic 2 Topic 2 Topic 3 Topic 3 Topic 4 Topic 4Menu.
Launchpad with MIDI TAHA SHASHTARI MAHMOUD AL-SHAKA’A.
Chapter 11: Basic I/O Interface – Part 1. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The Intel.
RASH DRIVING WARNING SYSTEM FOR HIGHWAY POLICE
ENGINEERING COLLEGE ADAMS PALONCHA ECE MINI PROJECT PRESENTATION.
ECE 353 Introduction to Microprocessor Systems
HIDDEN ACTIVE CELL PHONE DETECTOR
Peripherals – Keypad The Keypad provides a simple means of numerical data or control input. The keys can be attributed whatever data or control values.
Electronic Product Design Do it Yourself
Input/Output Ports and Interfacing
ABSTRACT The controller continuously polls the temperature with certain regular time intervals and displays over the 7_segment display The temperature.
Chapter 06 Logic Gate Circuitry.
REMOTE JAMMING DEVICE.
PRE-PROGRAMMED DIGITAL SCROLLING MESSAGE
LAPTOP THEFT IDENTIFIER.
For further information
ECE 353 Introduction to Microprocessor Systems
SUBMITTED BY EDGEFX TEAM
9 LEVEL OVERHEAD WATER TANK NDICATOR
FASTEST FINGER PRESS QUIZ BUZZER
QUIZ COMPETITION SENSOR FOR FASTEST FINGER PRESS
Logic Families Logic Family : A collection of different IC’s that have similar circuit characteristics The circuit design of the basic gate of each logic.
EI205 Lecture 15 Dianguang Ma Fall 2008.
Principles & Applications and Simple Interfacing
Principles & Applications
INTELLIGENT WATERHEAD LEVEL INDICATOR
Digital Logic Families
Lesson 9: Digital Input-Output Signal Interfacing
Subject Name: Microprocessors Subject Code:10EC46 Department: Electronics and Communication Date: /10/2018.
CMOS circuits and Logic families
Lecture No. 7 Logic Gates Asalam O Aleikum students. I am Waseem Ikram. This is the seventh lecture in a series of 45 lectures on Digital Logic Design.
Bushnell: Digital Systems Design Lecture 4
The Xilinx Virtex Series FPGA
Programmable Peripheral Interface
82C55 Programmable Peripheral Interface
4. TTL Diode Logic AND gate IN1 IN2 OUT L L L L H L H L L H H H
Chapter – 2 Logic Families.
74LS245: 3-State Octal Bus Transceiver
CHAPTER HARDWARE CONNECTION.
Chris Farrar Hex Inverter – 7404, 74LS04, and 7405
Presentation transcript:

Lecture 6: TI MSP430 IO Interfacing ECE 447 Fall 2009 Lecture 6: TI MSP430 IO Interfacing

Agenda Internal/External Resistors LEDs Switch Debouncing Buffers Port Multiplexing

ECE 447: MSP430 Current Limits VDD= 3 V Maximum sink current VOHmin= 2.4 V IOLmax = 40 mA Maximum source current IOHmax= 40 mA VOLmax= 0.6 V GND=0 V

Internal Pull Up Resistor

ECE 447: Light Emitting Diode (LED) + Forward current Forward voltage IF VF – Typical values for common LEDs IF = 10-20 mA VF = 1.7-2.4 V

ECE 447: LED

ECE 447: LED Interfacing VDD=3 V R=? VDD – VF – VOL Forward current I ≈ IF VF Forward voltage VOL Low Level Output Voltage VOL Low Level Output Current (sink current) IOL buffer I ≈ IF  IOLmax R ≈ (VDD – VF – VOL) / IF

ECE 447: LED Interfacing VDD=3 V R1=? VDD – VF – VCE Forward current I ≈ IF VF Forward voltage VCE Collector-Emitter Voltage R2=? ICE Collector-Emitter Current I ≈ IF  ICEmax IOH  IOHmax VBE R1 ≈ (VDD – VF – VCE) / IF R2  (VOH – VBE) / IOHmax Base-Emitter Voltage

ECE 447: MAN-72: 7-Segment LED

ECE 447: Single Switch/Push Button

ECE 447: Switch Key Bouncing key bounce, tBOUNCE key bounce, tBOUNCE typically, tBOUNCE < 10 ms

ECE 447: Key Debounce in Software key bounce, tBOUNCE key bounce, tBOUNCE typically, tBOUNCE < 10 ms debouncing delay debouncing delay update display

ECE 447: Key Debounce in Hardware

Schmidt Trigger Debounce

Schmidt Trigger Performance

MSP430 and Compatible Logic Devices HCT Family Uses CMOS technology but TTL (Transistor-transistor logic) input logic levels Slower performance than HC, replaces TTL HC Family High performance CMOS Logic chips Combines strengths of TTL with CMOS Can operate at lower voltages (i.e. 3V) Data In 74HC245 DIR OE Data Out

ECE 447: Octal Buffer 74HC245 Note: All 8 outputs controlled by one enable, OE

ECE 447: Octal Buffer 74HC244 Note: Outputs controlled by two enables, 1OE & 2OE (1OE controls 1A0-1A3, 2OE controls 2A0-2A3)

ECE447: Latches 74HC373

ECE447: Registers 74HC374

ECE 447: Port Multiplexing Allow multiple devices to share the input and output ports of the microcontroller. Additional hardware typically needed to support connection and selection of peripheral devices. Software typically selects the peripheral devices using additional output pins. Some I/O devices have built-in enable signals.

ECE 447: Port Multiplexing MSP430 Port 1 Port 2 . . . . . 74HC245 DIR OE 74HC245 DIR OE . . . . . . . I/O device 1 I/O device 8 . . . . . . .

ECE 447: Port Multiplexing MSP430 Port 1 Port 2 8 OE 1G 2G DIR 74HC245 74HC244 I/O device 1 (e.g., LCD display) I/O device 2 (e.g., keypad)

ECE 447: Port Multiplexing MSP430 Port 1 Port 2 8 OE OE CP DIR 74HC245 74HC373 I/O device 1 (e.g., LCD display) I/O device 2 (e.g., 7 segment display)

Summary Internal/External Resistors LEDs Switch Debouncing Buffers Port Multiplexing