ECE 4510/5530 Microcontroller Applications Midterm Review

Size: px
Start display at page:

Download "ECE 4510/5530 Microcontroller Applications Midterm Review"

Transcription

1 Microcontroller Applications Midterm Review Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences

2 Exam Composition HC12 Parallel Pin use for external components Hardware design for: LED Bar, Dip switch, Keypad, 5x7 Display, electro-mechanical relay, push-button interrupt HC12 Peripheral Components Clock and Reset Generator (CRG), Enhanced Timer/Counter (ECT), Pulse Width Modulator (PWM), Serial Communication Interface (SCI) Software Software time delay Code to generate parallel outputs in time Peripheral initialization Peripheral interrupts Main programs to perform various operations

3 Important Peripherals 3

4 Time Delay Software Approaches Delay Loop Software Delay Subroutine Hardware/Peripheral Based Approaches Real-time interrupt (RTI) hardware in the CRG Modulus Down Counter in the ECT Output Compare Timer in the ECT 4

5 Program Execution Time Example: find delay created if E = 41.67ns = 1/24 MHz. ldx #$1234 ; 2E Loop1: ldy #$ABCD ; 2E Loop2: dbne Y, Loop2 ; 3E taken/3e not dbne X, Loop1 ; 3E taken/3e not Total time Inner loop: (2 + Yreg-1)*3 + 3) E Cycles IL approx. (Yreg*3)*41.67ns 43981*3/24 MHz sec Outer loop: (2+Xreg*IL+(Xreg-1)*3 +3) * 41.67ns Total Exact = (Xreg*Yreg*3+Xreg*(3+2)+2) * 41.67ns Total Approx. (4660*(43981)*3) /24 MHz sec

6 EXTERNAL HARDWARE 6

7 MC7805CTG Linear Regulator 5V Positive Voltage Regulator Output Current in Excess of 1.0 A No External Components Required Internal Thermal Overload Protection Internal Short Circuit Current Limiting Output Transistor Safe Area Compensation Output Voltage Offered in 1.5%, 2% and 4% Tolerance Available in Surface Mount D2PAK 3, DPAK 3 and Standard 3 Lead Transistor Packages Data Sheet: MC7805CTG, ON Semiconductor 7

8 Lab LED and Light Bar Connections Buffer the HC12 port (!!!) Inverting buffer 540 Non-inverting buffer 541 Provide current sinking for the LED Resistor between +5 and LED The resistor provides current limiting Resistor Value LED needs ~1.2 to 1.5 V drop LED wants ~ 10 ma or more I ~ from 8 to 12 ma 5V 1.2V 0.8V OL R mA

9 Lab Dip Switch Connections Buffer the HC12 port (!!!) Inverting buffer 540 Non-inverting buffer 541 Provide isolation from switch Resistor between +5 and switch If you short the switch while probing, the resistor provides current limiting. Resistor Value 330 ohms or greater (10 kohm preferred)

10 Class Keypads 10

11 Driving a 5 x 7 LED Array Lighting One LED Source current to a row Selectively sink current from a column 20 ma, V 80 ma, V Matrix Driving Separately source all rows where LEDs are to turn on in Column 1 AND sink current from only column 1. Do the next column and repeat. Lite-On Technology Corp. LTP-757G 11

12 Driving a 5 x 7 LED Array Source MIC x 7 LED Array Sink ULN2803a Sink Column Select 74HCT595 (not shown) 12

13 Operating the MIC5891YN A. Minimum data active time before clock pulse (data set-up time) 75ns B. Minimum data active time after clock pulse (data hold time) 75ns C. Minimum data pulse width.150ns D. Minimum clock pulse width 150ns E. Minimum time between clock activation and strobe 300ns F. Minimum strobe pulse width 100ns G. Typical time between strobe activation and output transition 1.0μs 13

14 Lab 4 Relay Design 14

15 Parts Kit RS-232 Transceiver IC MAX232IN Meets or Exceeds TIA/EIA-232-F and ITU Recommendation V.28 Operates From a Single 5-V Power Supply With 1.0-uF Charge-Pump Capacitors Operates Up To 120 kbit/s Two Drivers and Two Receivers ±30-V Input Levels Low Supply Current... 8 ma Typical ESD Protection Exceeds JESD V Human-Body Model (A114-A) Upgrade With Improved ESD (15- kv HBM) and 0.1-uF Charge-Pump Capacitors is Available With the MAX202 Applications TIA/EIA-232-F, Battery-Powered Systems, Terminals, Modems, and Computers 15

16 Interfacing with the Transceiver Interfacing the HCS12 SCI0 to the EIA-232 using the DS14C232 chip and implements the NULL modem connection so that this connection can talk to a PC directly. DS14C232 1 DCD 6 DSR PS1/TxD 11 T1IN T1OUT 14 2 RxD CTS* 10 T2IN R2IN 8 7 RTS PS0/RxD 12 R1OUT R1IN 13 3 TxD RTS* 9 R2OUT T2OUT 7 8 CTS Note: Both CTS and RTS are jumpered to an I/O pin in case hardware handshake is needed DTR RI GND DB9 connector Figure 9.19 Diagram of SCI and EIA232 DB9 connector wiring in SSE256 demo board

17 INTERNAL PERIPHERALS 17

18 Clock and Reset Generation Block (CRG) RESET XCLKS EXTAL XTAL XFC VDDPLL VSSPLL VREG CRG Clock monitor OSC PLL Power on reset CM fail OSCCLK PLLCLK Clock and Reset Control Reset generator Clock quality checker COP Registers RTI System Reset Bus clock Core clock Oscillator clock Figure 6.4 Block diagram of CRG

19 Choice of Clock Source extal xtal Phase lock loop Oscillator OSCCLK gating condition PLLCLK = clock gate Clock monitor PLLSEL or SCM 1 0 SCM 1 0 WAIT, STOP wait(rtiwai), stop(pstp,pre) RTI enable wait (COPWAI), stop(pstp, PCE) COP enable wait (SYSWAI), stop stop (PSTP) SYSCLK wait (CWAI,SYSWAI) stop clock phase generator Figure 6.15 HCS12 clock generation circuit 2 RTI COP Core clock Bus clock oscillator clock oscillator clock ( pseudo stop mode) E-Clock Real Time Interrupt Comp. Operating Properly

20 RTI Counter Chain Note: OSCCLK not SYSCLK and not E-Clock Key Registers: RTICTL CRGINT CRGFLG to CRG Block User Guide V02.07, Doc. Number S12CRGV2/D

21 Enhanced Timer-Counter (ECT) Key Registers: TCNT TSCR1 TSCR2 TIOS TIE TFLG1 TFLG2 TCTL1/2 TCTL3/4 TCx, x=0:7 MCCTL MCCNT MCFLG 21

22 ECT Block Diagram (Queue Mode) bus clock 1,2,..., bit load register 1, 4, 8, 16 Prescaler 16-bit free-running maintimer bus clock Prescaler 16-bit modulus down counter PTx pin logic Delay counter EDG x comparator TCxcapture/compare register one IC channel (IC0..IC3) TCxH hold register to other IC channels PTi pin logic EDG i MUX EDG j j = 8 - i comparator TCxcapture/compare register one IC channel (IC4..IC7) Figure 8.36 Enhanced Input capture function block diagram in Queue mode (channels IC0..IC3 block diagram) 22

23 PWM Block Diagram PWM Module PWM Channels Key Registers: Bus clock Clock select Control Enable PWM clock Channel 7 Period and duty Channel 6 Period and duty Channel 5 Period and duty Channel 4 Period and duty Counter Counter Counter Counter PWM7 PWM6 PWM5 PWM4 PWMPRCLK PWMSCLA PWMSCLB PWMCLK PWME PWMCNTx Polarity Alignment Channel 3 Period and duty Channel 2 Period and duty Counter Counter PWM3 PWM2 PWMDTYx PWMPERx PWMPOL Channel 1 Period and duty Counter PWM1 PWMCAE PWMCTL Channel 0 Period and duty Counter PWM0 Figure 8.38 HCS12 PWM block diagram 23

24 PWM Channel Block Diagram clock source GATE (clock edge sync) 8-bit counter PWMCNTx From port PTP data register up/ down reset 8-bit compare= PWMDTYx T R Q Q M U X M U X to pin driver 8-bit compare= PPOLx PWMPERx Q Q T R CAEx PWMEx Figure 8.44 PWM channel block diagram 24

25 The HCS12 SCI Subsystem Key Registers: RxD Bus clock TxD BAUD generator SCI data register Receive shift register Receive and wake up control 16 Data format control Transmit control Transmit shift register SCI data register Interrupt generation Interrupt generation Idle IRQ RDRF/OR IRQ TDRE IRQ TC IRQ O R I N G IRQ to CPU SCIxDRL SCIxBD SCIxCR1 SCIxCR2 SCIxSR1 SCIxSR2 Status Register 1 Figure 9.8 HCS12 SCI block diagram Status Register 2 25

26 The EIA-232E Electrical Specifications 26

27 Additional Software User inputs from and outputs to a PC terminal window User inputs from a keypad and outputs to an LED matrix display Using text line buffers (sscanf and sprintf) Time and calendar operations, with an alarm Computing periodicity and duty cycle Generating output waveforms (period and duty cycle) Collecting and buffering results IIR filter operation Operating States and modes within the states 27

ECE 4510/5530 Microcontroller Applications Week 6 Lab 5

ECE 4510/5530 Microcontroller Applications Week 6 Lab 5 Microcontroller Applications Week 6 Lab 5 Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences Lab 5 Element Hardware

More information

The MC9S12 Pulse Width Modulation System. Pulse Width Modulation

The MC9S12 Pulse Width Modulation System. Pulse Width Modulation The MC9S12 Pulse Width Modulation System o Introduction to PWM o Review of the Output Compare Function o Using Output Compare to generate a PWM signal o Registers used to enable the Output Capture Function

More information

EE 308 Spring 2013 The MC9S12 Pulse Width Modulation System

EE 308 Spring 2013 The MC9S12 Pulse Width Modulation System The MC9S12 Pulse Width Modulation System o Introduction to PWM o Review of the Output Compare Function o Using Output Compare to generate a PWM signal o Registers used to enable the Output Capture Function

More information

Oct 30 Announcements. Bonus marked will be posted today Will provide 270 style feedback on multiple-choice questions. [3.E]-1

Oct 30 Announcements. Bonus marked will be posted today Will provide 270 style feedback on multiple-choice questions. [3.E]-1 Oct 30 Announcements Code Marked and on Blackboard This week: Mon 2:30 to 3:00pm, Tues 2:30 to 3:30 and W-F 1:30 to 3:00pm opportunity to talk about code: earn 2 extra points on the coding part Bonus marked

More information

The 9S12 Pulse Width Modulation System Huang Sections 8.10 and 8.11 PWM_8B8C Block User Guide

The 9S12 Pulse Width Modulation System Huang Sections 8.10 and 8.11 PWM_8B8C Block User Guide The 9S12 Pulse Width Modulation System Huang Sections 8.10 and 8.11 PWM_8B8C Block User Guide o What is Pulse Width Modulation o The 9S12 Pulse Width Modulation system o Registers used by the PWM system

More information

ECE 4510 Introduction to Microprocessors. Hardware Review

ECE 4510 Introduction to Microprocessors. Hardware Review ECE 450 Introduction to Microprocessors Hardware Review Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences Microcontroller

More information

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff PWM System 1 Pulse Width Modulation (PWM) Pulses are continuously generated which have different widths but the same period between leading edges Duty cycle (% high) controls the average analog voltage

More information

ME 4447/6405 Pulse Width Modulation (PWM)

ME 4447/6405 Pulse Width Modulation (PWM) ME 4447/6405 Pulse Width Modulation (PWM) Adam Becker Matt Eicholtz Jie Gong Dustin Li 10/28/2008 1 1 Outline Applications Analog vs. Digital Actuation Linear amplifier drawbacks Efficiency Pulse Width

More information

Pulse Width Modulation

Pulse Width Modulation Pulse Width Modulation Often want to control something by adjusting the percentage of time the object is turned on For example, A DC motor the higher the percentage, the faster the motor goes A light the

More information

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff Hardware Flags and the RTI system 1 Need for hardware flag Often a microcontroller needs to test whether some event has occurred, and then take an action For example A sensor outputs a pulse when a model

More information

Switch/ Jumper Table 1-1: Factory Settings Factory Settings (Jumpers Installed) Function Controlled Activates pull-up/ pull-down resistors on Port 0 digital P7 I/O lines Activates pull-up/ pull-down resistors

More information

Chapter 9: Serial Communication Interface SCI. The HCS12 Microcontroller. Han-Way Huang. September 2009

Chapter 9: Serial Communication Interface SCI. The HCS12 Microcontroller. Han-Way Huang. September 2009 Chapter 9: Serial Communication Interface SCI The HCS12 Microcontroller Han-Way Huang Minnesota State t University, it Mankato September 2009 H. Huang Transparency No.9-1 Why Serial Communication? Parallel

More information

PWM_8B8C. Block User Guide V01.16

PWM_8B8C. Block User Guide V01.16 DOCUMENT NUMBER S12PWM8B8CV1/D PWM_8B8C Block User Guide V01.16 Original Release Date: 12 MAR 1998 Revised: 14 MAR 2002 Motorola Inc. Motorola reserves the right to make changes without further notice

More information

EE 308 Spring Using the HCS12 PWM

EE 308 Spring Using the HCS12 PWM Using the HCS12 PWM 1. Choose 8-bit mode (PWMCTL = x) 2. Choose high polarity (PWMPOL = xff) 3. Choose left-aligned (PWMCAE = x) 4. Select clock mode in PWMCLK: PCLKn = for 2 N, PCLKn = 1 for 2 (N+1) M,

More information

Table of Contents. The Parallel Interface Module... 3

Table of Contents. The Parallel Interface Module... 3 Table of Contents The Parallel Interface Module... 3 Serial Peripheral Interface (SPI)... 4 SPI Registers... 5 SPI Pins Used... 5 SPI Control Register 1 (SPIxCR1)... 6 SPI Control Register 2 (SPIxCR2)...

More information

Microcontrollers. Serial Communication Interface. EECE 218 Microcontrollers 1

Microcontrollers. Serial Communication Interface. EECE 218 Microcontrollers 1 EECE 218 Microcontrollers Serial Communication Interface EECE 218 Microcontrollers 1 Serial Communications Principle: transfer a word one bit at a time Methods:» Simplex: [S] [R]» Duplex: [D1] [D2]» Half

More information

MAX To 5.5V Powered, Dual RS-232 Drivers/Receivers

MAX To 5.5V Powered, Dual RS-232 Drivers/Receivers MAX3-232 3 To 5.5V Powered, Dual RS-232 Drivers/Receivers DESCRIPTION The MAX3-232 is a dual RS-232 driver/receiver interface circuit that meets all ElA RS-232C and V.2 specifications. It requires a single

More information

Select the single most appropriate response for each question.

Select the single most appropriate response for each question. ECE 362 Final Lab Practical - 1 - Practice Exam / Solution PART 1: Multiple Choice Select the single most appropriate response for each question. Note that none of the above MAY be a VALID ANSWER. (Solution

More information

ECE 4510/5530 Microcontroller Applications Chapter 8 ECT and PWM

ECE 4510/5530 Microcontroller Applications Chapter 8 ECT and PWM Microcontroller Applications Chapter 8 ECT and PWM Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences Chapter 8 Enhanced

More information

LM4: The timer unit of the MC9S12DP256B/C

LM4: The timer unit of the MC9S12DP256B/C Objectives - To explore the Enhanced Capture Timer unit (ECT) of the MC9S12DP256B/C - To program a real-time clock signal with a fixed period and display it using the onboard LEDs (flashing light) - To

More information

CS/ECE 6780/5780. Al Davis. Today s topics: Output capture Pulse Width Modulation Pulse Accumulation all useful options for Lab7 1 CS 5780

CS/ECE 6780/5780. Al Davis. Today s topics: Output capture Pulse Width Modulation Pulse Accumulation all useful options for Lab7 1 CS 5780 CS/ECE 6780/5780 Al Davis Today s topics: Output capture Pulse Width Modulation Pulse Accumulation all useful options for Lab7 1 CS 5780 Output Compare Basic output control create square waves» including

More information

Timing System. Timing & PWM System. Timing System components. Usage of Timing System

Timing System. Timing & PWM System. Timing System components. Usage of Timing System Timing & PWM System Timing System Valvano s chapter 6 TIM Block User Guide, Chapter 15 PWM Block User Guide, Chapter 12 1 2 Timing System components Usage of Timing System 3 Counting mechanisms Input time

More information

Lecture 12 Timer Functions

Lecture 12 Timer Functions CPE 390: Microprocessor Systems Spring 2018 Lecture 12 Timer Functions Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ 07030 Adapted from HCS12/9S12

More information

ZKit-51-RD2, 8051 Development Kit

ZKit-51-RD2, 8051 Development Kit ZKit-51-RD2, 8051 Development Kit User Manual 1.1, June 2011 This work is licensed under the Creative Commons Attribution-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/in/

More information

Chapter 5 Timer Functions ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 5.1 The Timer System 5.2 Programming the Timer System 5.3 Examples and Applications The

More information

Electronics / Water analogy. Resistor. Inductance. Capacitor. Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge

Electronics / Water analogy. Resistor. Inductance. Capacitor. Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge Electronics / Water analogy Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge Resistor U = R * I 1 Capacitor U 1 i dt C U L di dt Inductance Turbine Flywheel Diode Transistor

More information

+3.3V Multiprotocol 3Tx/3Rx Software-Selectable Control Transceivers

+3.3V Multiprotocol 3Tx/3Rx Software-Selectable Control Transceivers 19-173; Rev 1; 8/1 +3.3V Multiprotocol 3Tx/3Rx General Description The are three-driver/three-receiver multiprotocol transceivers that operate from a single +3.3V supply. The, along with the MAX317 and

More information

Concept of Serial Communication

Concept of Serial Communication Concept of Serial Communication Agenda Serial v.s. Parallel Simplex, Half Duplex, Full Duplex Communication RS-485 Advantage over RS-232 Serial v.s. Parallel Application: How to Measure the temperature

More information

OSC Block User Guide V02.03

OSC Block User Guide V02.03 DOCUMENT NUMBER S12OSCV2/D OSC Block User Guide V02.03 Original Release Date: 19 July 2002 Revised: 12 February 2003 Motorola, Inc. Motorola reserves the right to make changes without further notice to

More information

Fanuc Serial (RS232) Communications Information

Fanuc Serial (RS232) Communications Information Memex Automation Inc. 777 Walkers Line, Burlington, Ontario Canada L7N 2G1 Fanuc Serial (RS232) Communications Information Contents Signal Description Fanuc Serial Cable Information Timing Chart When The

More information

+3.3V-Powered, EIA/TIA-562 Dual Transceiver with Receivers Active in Shutdown

+3.3V-Powered, EIA/TIA-562 Dual Transceiver with Receivers Active in Shutdown 19-0198; Rev 0; 10/9 +.Powered, EIA/TIA-5 Dual Transceiver General Description The is a +.powered EIA/TIA-5 transceiver with two transmitters and two receivers. Because it implements the EIA/TIA-5 standard,

More information

RS-232 Electrical Specifications and a Typical Connection

RS-232 Electrical Specifications and a Typical Connection Maxim > Design Support > Technical Documents > Tutorials > Interface Circuits > APP 723 Keywords: RS-232, rs232, RS-422, rs422, RS-485, rs485, RS-232 port powered, RS-232 to RS-485 conversion, daisy chain,

More information

The Speech Based Floor Cleaning Robot

The Speech Based Floor Cleaning Robot International journal of Systems and Technologies ISSN 0-0 The Speech Based Floor Cleaning Robot Sidhartha Velpula, Sunil Babu Thota, V.S.G.V.Sridhar, Syed Inthiyaz, Siva Kumar Abstract: Munuswamy, Students,

More information

Project Final Report: Directional Remote Control

Project Final Report: Directional Remote Control Project Final Report: by Luca Zappaterra xxxx@gwu.edu CS 297 Embedded Systems The George Washington University April 25, 2010 Project Abstract In the project, a prototype of TV remote control which reacts

More information

+3.3V, Multiprotocol, 3 Tx/3 Rx, Software- Selectable Clock/Data Transceiver

+3.3V, Multiprotocol, 3 Tx/3 Rx, Software- Selectable Clock/Data Transceiver 19-333; Rev ; 4/ +3.3V, Multiprotocol, 3 Tx/3 Rx, Software- General Description The is a three-driver/three-receiver multiprotocol transceiver that operates from a +3.3V single supply. The, along with

More information

TD_485 Transceiver Modules Application Guide 2017

TD_485 Transceiver Modules Application Guide 2017 TD_485 Transceiver Modules Application Guide 2017 1. RS485 basic knowledge... 2 1.1. RS485 BUS basic Characteristics... 2 1.2. RS485 Transmission Distance... 2 1.3. RS485 bus connection and termination

More information

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li EEL 4744C: Microprocessor Applications Lecture 8 Timer Reading Assignment Software and Hardware Engineering (new version): Chapter 14 SHE (old version): Chapter 10 HC12 Data Sheet: Chapters 12, 13, 11,

More information

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications Reading Assignment EEL 4744C: Microprocessor Applications Lecture 8 Timer Software and Hardware Engineering (new version): Chapter 4 SHE (old version): Chapter 0 HC Data Sheet: Chapters,,, 0 Introduction

More information

The Skiidometer. Hardware Description By: Adam Lee ; Etec474; Prof. Morton; WWU

The Skiidometer. Hardware Description By: Adam Lee ; Etec474; Prof. Morton; WWU The Skiidometer Hardware Description By: Adam Lee 04.26.2003; Etec474; Prof. Morton; WWU General Description The Skiidometer is a portable meter which serves as a digital companion on the ski slopes. By

More information

Serial Input/Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

Serial Input/Output. Lecturer: Sri Parameswaran Notes by: Annie Guo Serial Input/Output Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Serial communication Concepts Standards USART in AVR Lecture overview 2 Why Serial I/O? Problems with Parallel I/O: Needs a wire for

More information

Universal Converter Covers All the Bases- RS-232 to 4-wire RS-422, 2-wire or 4-wire RS-485

Universal Converter Covers All the Bases- RS-232 to 4-wire RS-422, 2-wire or 4-wire RS-485 4WSD9R0712-1/4 Model 4WSD9R Universal Converter Covers All the Bases- RS-232 to 4-wire RS-422, 2-wire or 4-wire RS-485 The 4WSD9R Universal Converter is a port-powered or externally powered two-channel

More information

EE 308 Spring 2006 FINAL PROJECT: INTERFACING AND MOTOR CONTROL WEEK 1 PORT EXPANSION FOR THE MC9S12

EE 308 Spring 2006 FINAL PROJECT: INTERFACING AND MOTOR CONTROL WEEK 1 PORT EXPANSION FOR THE MC9S12 FINAL PROJECT: INTERFACING AND MOTOR CONTROL In this sequence of labs you will learn how to interface with additional hardware and implement a motor speed control system. WEEK 1 PORT EXPANSION FOR THE

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals

More information

Ocean Controls KT-5221 Modbus IO Module

Ocean Controls KT-5221 Modbus IO Module Ocean Controls Modbus IO Module 8 Relay Outputs 4 Opto-Isolated Inputs 2 Analog Inputs (10 bit) 1 PWM Output (10 bit) 4 Input Counters Connections via Pluggable Screw Terminals 0-5V or 0-20mA Analog Inputs,

More information

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board IXDP610 Digital PWM Controller IC Evaluation Board General Description The IXDP610 Digital Pulse Width Modulator (DPWM) is a programmable CMOS LSI device, which accepts digital pulse width data from a

More information

Lecture #3 RS232 & 485 protocols

Lecture #3 RS232 & 485 protocols SPRING 2015 Integrated Technical Education Cluster At AlAmeeria E-626-A Data Communication and Industrial Networks (DC-IN) Lecture #3 RS232 & 485 protocols Instructor: Dr. Ahmad El-Banna 1 Agenda What

More information

Dual Protocol Transceivers Ease the Design of Industrial Interfaces

Dual Protocol Transceivers Ease the Design of Industrial Interfaces Dual Protocol Transceivers Ease the Design of Industrial Interfaces Introduction The trend in industrial PC designs towards smaller form factors and more communication versatility is driving the development

More information

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE 9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION

More information

Programmable RS-232/RS-485 Transceiver

Programmable RS-232/RS-485 Transceiver SP334 Programmable RS-3/ Transceiver V Only Operation Software Programmable RS-3 or RS- 48 Selection Three RS-3 Drivers and Five Receivers in RS-3 Mode Two Full-Duplex Transceivers in Mode Full Differential

More information

Intelligent +3.0V to +5.5V RS-232 Transceiver

Intelligent +3.0V to +5.5V RS-232 Transceiver SP339E Intelligent 3.0V to 5.5V RS-3 Transceiver FEATURES Meets true EIA/TIA-3-F Standards from a 3.0V to 5.5V power supply Interoperable with EIA/TIA-3 and adheres to EIA/TIA-56 down to a.7v power source

More information

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes Purpose The intent of this course is to provide you with information about the main features of the S08 Timer/PWM (TPM) interface module and how to configure and use it in common applications. Objectives

More information

DATA SHEET. PCD pixels matrix LCD controller/driver INTEGRATED CIRCUITS Apr 12

DATA SHEET. PCD pixels matrix LCD controller/driver INTEGRATED CIRCUITS Apr 12 INTEGRATED CIRCUITS DATA SHEET PCD8544 48 84 pixels matrix LCD controller/driver File under Integrated Circuits, IC17 1999 Apr 12 CONTENTS 1 FEATURES 2 GENERAL DESCRIPTION 3 APPLICATIONS 4 ORDERING INFORMATION

More information

MB1503. LOW-POWER PLL FREQUENCY SYNTHESIZER WITH POWER SAVE FUNCTION (1.1GHz) Sept Edition 1.0a DATA SHEET. Features

MB1503. LOW-POWER PLL FREQUENCY SYNTHESIZER WITH POWER SAVE FUNCTION (1.1GHz) Sept Edition 1.0a DATA SHEET. Features Sept. 1995 Edition 1.0a MB1503 DATA SHEET LOW-POWER PLL FREQUENCY SYNTHESIZER WITH POWER SAVE FUNCTION (1.1GHz) The Fujitsu MB1503 is a serial input phase-locked loop (PLL) frequency synthesizer with a

More information

DS14196 EIA/TIA Driver x 3 Receiver

DS14196 EIA/TIA Driver x 3 Receiver EIA/TIA-232 5 Driver x 3 Receiver General Description The is a five driver, three receiver device which conforms to the EIA/TIA-232-E and the ITU-T V.28 standards. The flow-through pinout facilitates simple

More information

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS 8 TO 35 V OPERATION 5.1 V REFERENCE TRIMMED TO ± 1 % 100 Hz TO 500 KHz OSCILLATOR RANGE SEPARATE OSCILLATOR SYNC TERMINAL ADJUSTABLE DEADTIME CONTROL INTERNAL

More information

APPLICATION BULLETIN. SERIAL BACKGROUNDER (Serial 101) AB23-1. ICS ICS ELECTRONICS division of Systems West Inc. INTRODUCTION CHAPTER 2 - DATA FORMAT

APPLICATION BULLETIN. SERIAL BACKGROUNDER (Serial 101) AB23-1. ICS ICS ELECTRONICS division of Systems West Inc. INTRODUCTION CHAPTER 2 - DATA FORMAT ICS ICS ELECTRONICS division of Systems West Inc. AB- APPLICATION BULLETIN SERIAL BACKGROUNDER (Serial 0) INTRODUCTION Serial data communication is the most common means of transmitting data from one point

More information

Programming Z-COMM Phase Locked Loops

Programming Z-COMM Phase Locked Loops Programming Z-COMM Phase Locked Loops Nomenclature Z-COMM has three models of Phase Locked Loops available, each using either the National Semiconductor or the Analog Devices PLL synthesizer chip. PSNxxxxx:

More information

SN75C185 LOW-POWER MULTIPLE DRIVERS AND RECEIVERS

SN75C185 LOW-POWER MULTIPLE DRIVERS AND RECEIVERS Meets or Exceeds the Requirements of TIA/EIA-232-F and ITU Recommendation V.28 Single Chip With Easy Interface Between UART and Serial-Port Connector Less Than 9-mW Power Consumption Wide Driver Supply

More information

2070-6A Manual A Manual. Dual 1200 baud Modem For The 2070 Controller GDI A MANUAL

2070-6A Manual A Manual. Dual 1200 baud Modem For The 2070 Controller GDI A MANUAL 2070-6A Manual 1 2070-6A Manual Dual 1200 baud Modem For The 2070 Controller GDI 2070-6A MANUAL This Manual covers Modems with the Serial numbers D700000 and up. 2070-6A Manual 2 GDI 2070-6A Manual This

More information

NTE1786 Integrated Circuit Frequency Lock Loop (FLL) Tuning & Control Circuit

NTE1786 Integrated Circuit Frequency Lock Loop (FLL) Tuning & Control Circuit NTE1786 Integrated Circuit Frequency Lock Loop (FLL) Tuning & Control Circuit Description: The NTE1786 is an integrated circuit in a 24 Lead DIP type package that provides closed loop digital tuning of

More information

Data Sheet HSDL IR 3/16 Encode/Decode IC. Description. Features. Applications Interfaces with SIR infrared transceivers to perform: Pin Out

Data Sheet HSDL IR 3/16 Encode/Decode IC. Description. Features. Applications Interfaces with SIR infrared transceivers to perform: Pin Out HSDL-7000 IR 3/16 Encode/Decode IC Data Sheet Description The HSDL-7000 performs the modulation/ demodulation function used to both encode and decode the electrical pulses from the IR transceiver. These

More information

SP208EH/211EH/213EH High Speed +5V High Performance RS-232 Transceivers

SP208EH/211EH/213EH High Speed +5V High Performance RS-232 Transceivers SP08EH/11EH/13EH High Speed 5V High Performance RS-3 Transceivers Single 5V Supply Operation 0.1μF External Charge Pump Capacitors 500kbps Data Rate Under Load Standard SOIC and SSOP Footprints Lower Supply

More information

Programmable RS-232/RS-485 Transceiver

Programmable RS-232/RS-485 Transceiver SP334 Programmable RS-3/ Transceiver V Single Supply Operation Software Programmable RS-3 or Selection Three RS-3 Drivers and Five Receivers in RS-3 Mode Two Full-Duplex Transceivers in Mode Full Differential

More information

EIE/ENE 334 Microprocessors

EIE/ENE 334 Microprocessors EIE/ENE 334 Microprocessors Lecture 13: NuMicro NUC140 (cont.) Week #13 : Dejwoot KHAWPARISUTH Adapted from http://webstaff.kmutt.ac.th/~dejwoot.kha/ NuMicro NUC140: Technical Ref. Page 2 Week #13 NuMicro

More information

HC08 SCI Operation with Various Input Clocks INTRODUCTION

HC08 SCI Operation with Various Input Clocks INTRODUCTION Order this document by /D HC08 SCI Operation with Various Input Clocks By Rick Cramer CSIC MCU Product Engineering Austin, Texas INTRODUCTION This application note describes the operation of the serial

More information

Review for Final Exam

Review for Final Exam Review for Final Exam Numbers Decimal to Hex (signed and unsigned) Hex to Decimal (signed and unsigned) Binary to Hex Hex to Binary Addition and subtraction of fixed-length hex numbers Overflow, Carry,

More information

ADC Bit µp Compatible A/D Converter

ADC Bit µp Compatible A/D Converter ADC1001 10-Bit µp Compatible A/D Converter General Description The ADC1001 is a CMOS, 10-bit successive approximation A/D converter. The 20-pin ADC1001 is pin compatible with the ADC0801 8-bit A/D family.

More information

SPI/MICROWIRE-Compatible UART and ±15kV ESD- Protected RS-232 Transceivers with Internal Capacitors PART MAX3110ECNI

SPI/MICROWIRE-Compatible UART and ±15kV ESD- Protected RS-232 Transceivers with Internal Capacitors PART MAX3110ECNI 19-1494; Rev ; 7/99 SPI/MICROWIRE-Compatible UART and ±15k ESD- General Description The MAX311E/MAX3111E combine a full-featured universal asynchronous receiver/transmitter (UART) with ±15k ESD-protected

More information

Frequency Synthesizer Project ECE145B Winter 2011

Frequency Synthesizer Project ECE145B Winter 2011 Frequency Synthesizer Project ECE145B Winter 2011 The goal of this last project is to develop a frequency synthesized local oscillator using your VCO from Lab 2. The VCO will be locked to a stable crystal

More information

Asynchronous Serial Communications The MC9S12 Serial Communications Interface (SCI) Asynchronous Data Transfer

Asynchronous Serial Communications The MC9S12 Serial Communications Interface (SCI) Asynchronous Data Transfer Asynchronous Serial Communications The MC9S12 Serial Communications Interface (SCI) Asynchronous Data Transfer In asynchronous data transfer, there is no clock line between the two devices Both devices

More information

Temperature Monitoring and Fan Control with Platform Manager 2

Temperature Monitoring and Fan Control with Platform Manager 2 August 2013 Introduction Technical Note TN1278 The Platform Manager 2 is a fast-reacting, programmable logic based hardware management controller. Platform Manager 2 is an integrated solution combining

More information

DS14185 EIA/TIA Driver x 5 Receiver

DS14185 EIA/TIA Driver x 5 Receiver DS14185 EIA/TIA-232 General Description 3 Driver x 5 Receiver The DS14185 is a three driver, five receiver device which conforms to the EIA/TIA-232-E standard. The flow-through pinout facilitates simple

More information

Transmission Line Drivers and Receivers for TIA/EIA Standards RS-422 and RS-423

Transmission Line Drivers and Receivers for TIA/EIA Standards RS-422 and RS-423 Transmission Line Drivers and Receivers for TIA/EIA Standards RS-422 and RS-423 Introduction With the advent of the microprocessor, logic designs have become both sophisticated and modular in concept.

More information

Application Hints. Version 3.1

Application Hints. Version 3.1 Application Hints PCA82C252 / TJA1053 / TJA1054 / TJA1054A Version 3.1 Date : 23 rd of November 2001 Application Hints FTCAN 3_1.PDF Philips Semiconductors Revision History Changes Version 1.0 -> 2.0 :

More information

EMI-/EMC-Compliant 15 kv ESD Protected, Dual RS-232 Port with Standby ADM2209E

EMI-/EMC-Compliant 15 kv ESD Protected, Dual RS-232 Port with Standby ADM2209E a FEATURES Two Complete Serial Ports, Six Drivers and Ten Receivers Operates with 3 V or 5 V Logic Low Power CMOS:

More information

ML4818 Phase Modulation/Soft Switching Controller

ML4818 Phase Modulation/Soft Switching Controller Phase Modulation/Soft Switching Controller www.fairchildsemi.com Features Full bridge phase modulation zero voltage switching circuit with programmable ZV transition times Constant frequency operation

More information

CURRENT MODE PWM CONTROLLER LM3842A/3A/4A/5A

CURRENT MODE PWM CONTROLLER LM3842A/3A/4A/5A CURRENT MODE PWM CONTROLLER LMA/A/A/5A FEATURES SOP/ DIP PIN Configulation Automatic feed forward compensation Optimized for offline converter Double pulse suppression Current mode operation to 500 KHz

More information

Troubleshooting SENET SENET

Troubleshooting SENET SENET SENET SENET is IGT s main I/O method for dealing with simple Input and Outputs. Most game designers take a straight forward process of Parallel I/O ports. Williams is known for its matrix of Row and Column

More information

Universal RS232/CMOS to RS422/RS485 Converter

Universal RS232/CMOS to RS422/RS485 Converter TOSHIBA INTERNATIONAL CORPORATION Universal RS232/CMOS to RS422/RS485 Converter Rev No.: 2 Page No.: 1 RS232/CMOS to RS422/RS485 Converter converts RS232/CMOS lines to balanced RS422 or RS485 signals.

More information

RX23T inverter ref. kit

RX23T inverter ref. kit RX23T inverter ref. kit Deep Dive October 2015 YROTATE-IT-RX23T kit content Page 2 YROTATE-IT-RX23T kit: 3-ph. Brushless Motor Specs Page 3 Motors & driving methods supported Brushless DC Permanent Magnet

More information

4 x 10 bit Free Run A/D 4 x Hi Comparator 4 x Low Comparator IRQ on Compare MX839. C-BUS Interface & Control Logic

4 x 10 bit Free Run A/D 4 x Hi Comparator 4 x Low Comparator IRQ on Compare MX839. C-BUS Interface & Control Logic DATA BULLETIN MX839 Digitally Controlled Analog I/O Processor PRELIMINARY INFORMATION Features x 4 input intelligent 10 bit A/D monitoring subsystem 4 High and 4 Low Comparators External IRQ Generator

More information

ASTABLE MULTIVIBRATOR

ASTABLE MULTIVIBRATOR 555 TIMER ASTABLE MULTIIBRATOR MONOSTABLE MULTIIBRATOR 555 TIMER PHYSICS (LAB MANUAL) PHYSICS (LAB MANUAL) 555 TIMER Introduction The 555 timer is an integrated circuit (chip) implementing a variety of

More information

DS275S. Line-Powered RS-232 Transceiver Chip PIN ASSIGNMENT FEATURES ORDERING INFORMATION

DS275S. Line-Powered RS-232 Transceiver Chip PIN ASSIGNMENT FEATURES ORDERING INFORMATION Line-Powered RS-232 Transceiver Chip FEATURES Low power serial transmitter/receiver for battery-backed systems Transmitter steals power from receive signal line to save power Ultra low static current,

More information

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS 6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS Laboratory based hardware prototype is developed for the z-source inverter based conversion set up in line with control system designed, simulated and discussed

More information

SC16C750B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs

SC16C750B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V UART with 64-byte FIFOs Rev. 05 17 October 2008 Product data sheet 1. General description 2. Features The is a Universal Asynchronous Receiver and Transmitter (UART) used for serial data communications. Its principal function

More information

1. GENERAL DESCRIPTION FEATURES PIN DESCRIPTION BLOCK DIAGRAM... 5

1. GENERAL DESCRIPTION FEATURES PIN DESCRIPTION BLOCK DIAGRAM... 5 Table of Contents- 1. GENERAL DESCRIPTION... 2 2. FEATURES... 3 3. PIN DESCRIPTION... 4 4. BLOCK DIAGRAM... 5 5. ELECTRICAL CHARACTERISTICS... 5 5.1 Absolute Maximum Ratings... 5 5.2 D.C. Characteristics...

More information

PE3282A. 1.1 GHz/510 MHz Dual Fractional-N PLL IC for Frequency Synthesis. Peregrine Semiconductor Corporation. Final Datasheet

PE3282A. 1.1 GHz/510 MHz Dual Fractional-N PLL IC for Frequency Synthesis. Peregrine Semiconductor Corporation. Final Datasheet Final Datasheet PE3282A 1.1 GHz/510 MHz Dual Fractional-N PLL IC for Frequency Synthesis Applications Cellular handsets Cellular base stations Spread-spectrum radio Cordless phones Pagers Description The

More information

The Guitar Chord Learning System

The Guitar Chord Learning System The Guitar Chord Learning System Calvin A. Sessions Hardware Description April 19, 2005 Western Washington University Electronics Engineering Technology ETEC 474, Professor Morton INTRODUCTION The Guitar

More information

MAX232, MAX232I DUAL EIA-232 DRIVER/RECEIVER

MAX232, MAX232I DUAL EIA-232 DRIVER/RECEIVER Operates With Single 5-V Power Supply LinBiCMOS Process Technology Two Drivers and Two Receivers ± 30-V Input Levels Low Supply Current...8 ma Typical Meets or Exceeds TIA/EIA-232-F and ITU Recommendation

More information

XR3160E RS-232/RS-485/RS-422 TRANSCEIVER WITH 15KV ESD PROTECTION

XR3160E RS-232/RS-485/RS-422 TRANSCEIVER WITH 15KV ESD PROTECTION Sept 2013 Rev. 1.0.0 GENERAL DESCRIPTION The XR3160 is an advanced multiprotocol transceiver supporting RS-232, RS-485, and RS-422 serial standards. Full operation requires only four external charge pump

More information

The CV90312T is a wireless battery charger controller working at a single power supply. The power

The CV90312T is a wireless battery charger controller working at a single power supply. The power Wireless charger controller Features Single channel differential gate drivers QFN 40 1x differential-ended input operational amplifiers 1x single-ended input operational amplifiers 1x comparators with

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

1 What s in the shipping package?

1 What s in the shipping package? SST 900B 900 MHz RS 232/RS 485 Wireless Modem Quick Start Guide 1 What s in the shipping package? SST-900B Wireless Modem CA-0910 Quick Start CD 3dBi 900M Hz Antenna Guide 2 External switch introduction

More information

2070-6B Manual B Manual. Dual 9600 baud Modem For The 2070 Controller. GDI B Manual. Rev B

2070-6B Manual B Manual. Dual 9600 baud Modem For The 2070 Controller. GDI B Manual. Rev B 2070-6B Manual 1 2070-6B Manual Dual 9600 baud Modem For The 2070 Controller GDI 2070-6B Manual Rev B This Manual covers Modems with the Serial numbers D700000 and up. 2070-6B Manual 2 GDI 2070-6B Manual

More information

EL7302. Hardware Design Guide

EL7302. Hardware Design Guide Hardware Design Guide Version: Preliminary 0.0 Date: January. 2005 Approval: Etron technology, Inc P.O. Box 19-54 No.6 Technology Road V. Science-based Industrial Park, Hsinchu,30077 Taiwan, R.O.C. Tel:

More information

TCSS 372 Laboratory Project 2 RS 232 Serial I/O Interface

TCSS 372 Laboratory Project 2 RS 232 Serial I/O Interface 11/20/06 TCSS 372 Laboratory Project 2 RS 232 Serial I/O Interface BACKGROUND In the early 1960s, a standards committee, known as the Electronic Industries Association (EIA), developed a common serial

More information

UNISONIC TECHNOLOGIES CO., LTD

UNISONIC TECHNOLOGIES CO., LTD U UNISONIC TECHNOLOGIES CO., LTD REGULATING PWM IC DESCRIPTION The UTC U is a pulse width modulator IC and designed for switching power supplies application to improve performance and reduce external parts

More information

V62/03626 REVISIONS LTR DESCRIPTION DATE APPROVED REV PAGE REV PAGE REV REV STATUS OF PAGES PAGE

V62/03626 REVISIONS LTR DESCRIPTION DATE APPROVED REV PAGE REV PAGE REV REV STATUS OF PAGES PAGE REVISIONS LTR DESCRIPTION DTE PPROVED Prepared in accordance with SME Y14.24 Vendor item drawing REV PGE REV PGE 18 19 20 REV STTUS OF PGES REV PGE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 PMIC N/ Original

More information

DS1075 EconOscillator/Divider

DS1075 EconOscillator/Divider EconOscillator/Divider www.dalsemi.com FEATURES Dual Fixed frequency outputs (30 KHz - 100 MHz) User-programmable on-chip dividers (from 1-513) User-programmable on-chip prescaler (1, 2, 4) No external

More information

3V to 5.5V, up to 250kbps True RS-232 Transceiver with 4µA AutoShutdown Plus and Power-On Reset

3V to 5.5V, up to 250kbps True RS-232 Transceiver with 4µA AutoShutdown Plus and Power-On Reset 19-1253; Rev ; 8/97 3 to 5.5, up to 25kbps True RS-232 Transceiver General Description The MAX332 combines a microprocessor (µp) supervisory circuit with an RS-232 transceiver. The power-on reset performs

More information