University of Texas at El Paso Electrical and Computer Engineering Department

Size: px
Start display at page:

Download "University of Texas at El Paso Electrical and Computer Engineering Department"

Transcription

1 University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 07 Flash Controller Goals: Bonus: Pre Lab Questions: Familiarize yourself with the provided Flash Controller library and learn how to read and write Flash Memory. Store three 4-digit numbers in the MSP430 s flash memory. Use the # button to store an entry and the * button to delete an entry. Indicate a blank entry as XXXX. Scroll through the entries using the on-board button on the MSP430 launchpad or an external switch. Have the micro display info on the LCD Display. This lab can be done without interrupts but see if you can find a way to use one anyway. +10 Which memory segment did you use? Why? Why use flash memory to store data? What variable data type did you use to store the digits? How did you decide what button was pushed?

2 Lab Guide 12 Button Keypad The 12 Button Keypad has 7 pins: 4 pins are connected to each row, while 3 pins are connected to each column. See the diagram below: Rows 1 Columns Pins: When you push a button, a connection is made and a voltage can be detected to determine what button was pushed. The provided method first sets all column pins as inputs and row pins as outputs. A column is activated by enabling the input resistor associated with that pin and setting each row pin high, one by one. The process is repeated for each column pin. Any input is then recorded and encoded as an 8bit keycode described below: KEYCODE Bits Pins X Row/Column R1 R2 R3 R4 C1 C2 C3 X Example: Keycode = means the 1 key was pressed; Keycode = means the 1 and 0 keys were pressed.

3 Flash Memory and Controller Your program and data is stored in Flash Memory. There are two sections in which you can right data; the Code/Data Section and the Information Section. Each section is divided up into segments. The Code /Data Section has 32 segments, 0-31, 512 bytes each, while the Information Section has 4 segments, A D, 64 bytes each. However, Segment A is locked because it contains calibration data for the micro s clock and other info that you will not want deleted. Data can be written a bit, byte or word at a time, randomly, but in order to erase data, an entire segment must be erased before new data can be written. MEMORY MAP Section Segment Address Size Interrupt Vector 0xFFC xFE00 1 0xFC00 2 0xFA00 3 0xF xF xF xF xF xEE00 9 0xEC xEA xE xE xE xE xE000 Code/Data xDE xDC xDA xD xD xD xD xD xCE xCC xCA xC xC xC xC xC000 A 0x10C0 B 0x1080 Information 64 C 0x1040 D 0x1000 RAM 0x0200 0x03FF bit 0x0100 0x01FF 256 Peripherals 8-bit 0x010 0x0FF bit SFR 0x00 0x0F 16

4 Notes: Trying to write incorrect data to an address will corrupt it, resulting in all zeros (0x0000). The Interrupt Vectors and Code/Data sections overlap. When writing word data into an address, it is stored LSB first. Example: data = 0x0201 into address = 0xF000: DATA STORE Address 0xF000 0xF001 Data 0x01 0x02 Byte LSB MSB Only Segments of the same size can be moved or copied to: Example: Code / Data Segments (Segment 0-31) = 512 and Information Segments (Segments A - D) = 64 Note that Segment A is locked. It can be unlocked but it contains calibration data that you will miss if you delete it. It CANNOT be recovered.

5 Lab Hints There is no sample code to start with; instead you must know enough by now to be able to write the program from scratch. However, the general program flow will be described below: Include necessary headers Declare necessary global variables Initialize and configure necessary modules (Ports, Interrupts) You may poll or use interrupts to capture keypresses You can use interrupts to execute short code (perhaps to loop through the stored digits) and have your main loop handle the main functions, such as write and erase, and to display your data on the LCD display. Data should survive power failure. Check the comments in source files/libraries provided. Make sure you understand what is happening in the sample programs provided.

6 Post Lab Lab Notebook Questions: Answer the following questions in your lab notebook: Why not store data in RAM? Why is it difficult to write data bit per bit? Why does a whole memory segment have to be erased before writing new data? How does flash memory differ from other types of memory such as RAM?

7 Frequently Asked Questions Why is the method used for writing blocks of data from the provided library not considered a true block write? First, a true block write is possible with the MSP430G2553, however, block writes must be initiated from RAM. This means the provided method can be used for writing blocks of data but it must be copied to RAM at runtime (and also modified slightly). In order to write data, a programming voltage is used by the flash controller to program a word of data into the specified address. The voltage is raised when writing and lowered when the write is finished. A true block write keeps the voltage high throughout the programing of the entire block, whereas the provided method in the library is raised and lowered in between the writing of each word in the block. So what s the advantage of that? There is a current differential that comes with raising and lowering the voltage in this fashion, which consumes more power. Keeping the voltage raised throughout writing a bunch of data saves power. See the Flash Controller section in the User Guide for more details. Does the Flash Controller have an ISR? Not one of its own. The Flash Controller sources the NMI (Non-Maskable Interrupts) vector, even though the Flash Controller interrupt is totally maskable. However, it is only triggered when there is a flash memory access violation (such as not using the flash password for access) and a PUC (Power Up Clear) usually occurs. As such, you can only use the interrupt to determine if an access violation has occurred but usually you can t do anything about it anyway.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 08 UART Communication Goals: Learn about UART Communication and the

More information

Keywords: CRC, CRC-7, cyclic redundancy check, industrial output, PLC, programmable logic controller, C code, CRC generation, microprocessor, switch

Keywords: CRC, CRC-7, cyclic redundancy check, industrial output, PLC, programmable logic controller, C code, CRC generation, microprocessor, switch Keywords: CRC, CRC-7, cyclic redundancy check, industrial output, PLC, programmable logic controller, C code, CRC generation, microprocessor, switch APPLICATION NOTE 6002 CRC PROGRAMMING FOR THE MAX14900E

More information

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 04 Timer Interrupts Goals: Learn about Timer Interrupts. Learn how to

More information

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 03 Low Power Mode and Port Interrupts Goals: Bonus: Pre Lab Questions:

More information

GNetPlus Communication Protocol

GNetPlus Communication Protocol Basic Package (BINARY VERSION) Master Query Package (HOST) Field Header Address Query Function Data length DATA BYTES Error Check Desc SOH 0~255 0~255 0~255 CRC16_Low CRC16_Hi Size 1 BYTE 1 BYTE 1 BYTE

More information

MCW Application Notes 24 th February 2017

MCW Application Notes 24 th February 2017 MCW Application Notes 24 th February 2017 www.motorcontrolwarehouse.co.uk Document number MCW-HEDY-001 Revision 0.1 Author Gareth Lloyd Product HEDY HD700 Title Summary HEDY HD700 Modbus Serial Communications

More information

TBS Unify Pro / SmartAudio

TBS Unify Pro / SmartAudio TBS Unify Pro / SmartAudio 02.12..2017 Revision 08 SmartAudio uses single wire half duplex communication based on UART. In Idle mode both host and VTX define the SmartAudio pin as input. If the host want

More information

SRF02 Ultrasonic range finder Technical Specification

SRF02 Ultrasonic range finder Technical Specification SRF02 Ultrasonic range finder Technical Specification I2C Mode For Serial mode click here I2C Communication To use the SRF02 in I2C mode, make sure nothing is connected to the mode pin, it must be left

More information

Technical Specification. Third Party Control Protocol. AV Revolution

Technical Specification. Third Party Control Protocol. AV Revolution Technical Specification Third Party Control Protocol AV Revolution Document AM-TS-120308 Version 1.0 Page 1 of 31 DOCUMENT DETAILS Document Title: Technical Specification, Third Party Control Protocol,

More information

MTR-4. C8 Command to MODBUS Bridge User Manual F-1, No. 631, Chung Der Road, Sec 1, Taichung Taiwan.

MTR-4. C8 Command to MODBUS Bridge User Manual F-1, No. 631, Chung Der Road, Sec 1, Taichung Taiwan. MTR-4 C8 Command to MODBUS Bridge User Manual 404 19F-1, No. 631, Chung Der Road, Sec 1, Taichung Taiwan. TEL:886-4-2238-0698 FAX:886-4-2238-0891 Web Site:http://www.monicon.com.tw E-mail: sales@monicon.com.tw

More information

Highlights. FP51 (FPGA based 1T 8051 core)

Highlights. FP51 (FPGA based 1T 8051 core) Copyright 2017 PulseRain Technology, LLC. FP51 (FPGA based 1T 8051 core) 10555 Scripps Trl, San Diego, CA 92131 858-877-3485 858-408-9550 http://www.pulserain.com Highlights 1T 8051 Core Intel MCS-51 Compatible

More information

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE INSTRUCTION MANUAL IM149-U v0.92 CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE Firmware version: v3.0 or higher MODBUS PROTOCOL Modbus is a master-slave communication protocol able to

More information

Input Channels: 4 differential or four single-ended. Address / Baud rate / range configurable by the user

Input Channels: 4 differential or four single-ended. Address / Baud rate / range configurable by the user DAM-Series User Manual Amazing Electronic (HK) Limited User s Manual Overview: DAM module is a new generation data acquisition and control system based on modular embedded systems. Adopting standard DIN35

More information

Dual-axis Electronic Digital Magnetic Compass Module User s Guide

Dual-axis Electronic Digital Magnetic Compass Module User s Guide Dual-axis Electronic Digital Magnetic Compass Module User s Guide 2004-2011 Sure Electronics Inc. MB-SM15114_Ver1.0 Table of Contents Chapter 1. UART Communication Protocol...1 1.1 Parameter Settings...

More information

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC DreamScreen V2 WiFi UDP Protocol The DreamScreen-WiFi platform uses UDP unicasting and broadcasting over the WLAN to provide communication. Port 8888 is used for both sending and receiving. The DreamScreen

More information

IDT Tsi620 Address Translation Application Note November 30, 2011

IDT Tsi620 Address Translation Application Note November 30, 2011 IDT Tsi620 Address Translation Application Note 6024 Silver Creek Valley Road San Jose, California 95138 Telephone: (408) 284-8200 FAX: (408) 284-3572 Printed in U.S.A. 2011, Inc. Titlepage GENERAL DISCLAIMER,

More information

Modbus Protocol Guide for ZP2 Series Control Panels

Modbus Protocol Guide for ZP2 Series Control Panels Modbus Protocol Guide for ZP2 Series Control Panels P/N 00-3243-505-2603-01 ISS 14DEC15 Copyright Trademarks and patents Manufacturer Version REV 01 Certification 2015 UTC Fire & Security. All rights reserved.

More information

RS232C Serial Interface for Pirani Diaphragm and Pirani Standard Gauges. Caution. binary 8 data bits 1 stop bit no parity bit no handshake

RS232C Serial Interface for Pirani Diaphragm and Pirani Standard Gauges. Caution. binary 8 data bits 1 stop bit no parity bit no handshake General Information The Serial Interface allows the communication of the digital Agilent Pirani Capacitance Diaphragm Gauges (PCG-750, PCG-752) and the digital Agilent Pirani Standard Gauges (PVG-550,

More information

Verve IPAC Plug-in Wireless AC Module. Software Setup 3. DolphinView Software 3. Preparations 4 Transmit LINK Signals 4.

Verve IPAC Plug-in Wireless AC Module. Software Setup 3. DolphinView Software 3. Preparations 4 Transmit LINK Signals 4. Verve IPAC Plug-in Wireless AC Module Wireless Linking & Configuration Guide Table of Contents IPAC Configuration Settings 2 Configuration Settings Reference Table 2 Software Setup 3 DolphinView Software

More information

UPB US2-40 Series Quad Rocker Wall Switch with Dimmer Firmware Specification

UPB US2-40 Series Quad Rocker Wall Switch with Dimmer Firmware Specification UPB US2-40 Series Quad Rocker Wall Switch with Dimmer Firmware Specification V 1.3 5/13/05 Revision History Spec. Rev. Date Firmware Rev. Description 1.1 4/19/05 V1.00 Adapted from US1/2 spec v1.9. Changes:

More information

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB DMTME Multimeters Communication protocol ABB 1 Setting up DMTME serial communication.3 1.1 Serial network ID programming...3 1.2 RS-485 communication interface...3 1.3 Serial line connection...3 2 Communication

More information

imetos LoRa Data payload structure

imetos LoRa Data payload structure imetos LoRa Data payload structure Pessl Instruments, GmbH Version 1.0, 06-2018 Content 1. SCOPE OF THIS DOCUMENT... 2 2. PARSING THE DATA FROM THE PAYLOAD VERSUS API DATA ACCESS... 3 3. IMETOS LORA FIRMWARE

More information

SIMCom_3G_CSD_Application Note_V1.00

SIMCom_3G_CSD_Application Note_V1.00 SIMCom_3G_CSD_Application Note_V1.00 Document Title: SIMCom_3G_CSD_Application Note Version: 1.00 Date: Status: Document Control ID: Release SIMCom_3G_CSD_Application Note_V1.00 General Notes SIMCom offers

More information

// and verify that there is a sine wave with frequency <FREQUENCY> and

// and verify that there is a sine wave with frequency <FREQUENCY> and F330DC_IDA0_SineWave.c Copyright 2006 Silicon Laboratories, Inc. http:www.silabs.com Program Description: This program outputs a sine wave using IDA0. IDA0's output is scheduled to update at a rate determined

More information

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2 CLOCKAUDIO MR88 Automatic Microphone Mixer RS232 Programming Version 4.2 Clockaudio Limited, 9 Stratfield Park Elettra Avenue, WATERLOOVILLE Hampshire. UK Tel : +44 (0)2392 251193 Fax : +44 (0)2392 251201

More information

DULCOMETER Multi-parameter Controller dialog DACa

DULCOMETER Multi-parameter Controller dialog DACa Software manual DULCOMETER Multi-parameter Controller dialog DACa Modbus RTU EN Valid only in combination with the operating instructions for the Multi-parameter Controller dialog DACa. A2100 Please carefully

More information

SPARC INTERNATIONAL. Version1 SPARC Keyboard Specification

SPARC INTERNATIONAL. Version1 SPARC Keyboard Specification SPARC INTERNATIONAL Version1 SPARC Keyboard Specification SPARC International, Inc. 3333 Bowers Ave., Suite 280, Santa Clara, CA 95054-3913, 408-748-9111. FAX 408-748-9777 1999, SPARC International Inc.

More information

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC DreamScreen V2 WiFi UDP Protocol Rev 2 The DreamScreen-WiFi platform uses UDP unicasting and broadcasting over the WLAN to provide communication. Port 8888 is used for both sending and receiving. The DreamScreen

More information

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 06 Analog to Digital Conversion Goals: Bonus: Pre Lab Questions: Display

More information

Bt865/865A Macrovision Process S865A_A

Bt865/865A Macrovision Process S865A_A Bt865/865A Copyright 1997 Rockwell Semiconductor Systems, Inc. All rights reserved. Print date: July 1997 Rockwell reserves the right to make changes to its products or specifications to improve performance,

More information

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm. Large Viewing Area 99mm x 24mm Large Character Size 4.84mm x 9.66mm Features 16x2 Large Characters LCD RS232 Interface Simple Serial Command Wide Range Voltage Operation ( 9-15V ) 8 User s Defined Characters

More information

SH-2 Reference Manual

SH-2 Reference Manual SH-2 Reference Manual Document Number: 1000-3625 Document Revision: 1.2 Date: 05/19/2017 Hillcrest Laboratories, Inc. 15245 Shady Grove Road, Suite 400 Rockville, MD 20850 Copyright 2017 Hillcrest Labs,

More information

M2M/DMTME Instruments Communication protocol. Technical specification V.2.1 2CSG445011D0201

M2M/DMTME Instruments Communication protocol. Technical specification V.2.1 2CSG445011D0201 M2M/DMTME Instruments Communication protocol 2CSG445011D0201 1 Setting up M2M/DMTME serial communication... 3 1.1 Serial network ID programming... 3 1.2 RS-485 communication interface... 3 1.3 Serial line

More information

Ethernet to Digital I/O and Analog Input. (Model: IP-IO)

Ethernet to Digital I/O and Analog Input. (Model: IP-IO) Ethernet to Digital I/O and Analog Input (Model: IP-IO) Feature: Operation voltage : DC 7V ~ 36V. Analog Interface: Interface : 3.3V levels compatibility. Resolution : 16-bits Σ-Δ A/D converters. Accuracy

More information

RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200

RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200 RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200 Biamp Systems, 14130 N.W. Science Park, Portland, Oregon 97229 U.S.A. (503) 641-7287 an affiliate of Rauland-Borg Corp. Introduction

More information

Cab Bus Communications Protocol

Cab Bus Communications Protocol Page 1 Overview of Controller Bus The controller bus connects up to 63 Hand-Held Cab Controllers to the Command Station. Data on the bus runs at 9600 bps with 8 data bits, no parity, 2 stop bits and meets

More information

Specification E2 Interface

Specification E2 Interface Specification E2 Interface Version 4.1 Name Date Created: Robert Mayr. 15.04.2011 Checked: Haider A. 15.04.2011 Approved: Reason for change: Text corrections TABLE OF CONTENTS 1 INTRODUCTION... 3 1.1 Overview..................................................................................................................

More information

Interface Card, Interface Box, Datalogger & Interface. Bedienungsanleitung. Kommunikationsprotokoll. Operating Instructions. Communications protocol

Interface Card, Interface Box, Datalogger & Interface. Bedienungsanleitung. Kommunikationsprotokoll. Operating Instructions. Communications protocol Interface Card, Interface Box, Datalogger & Interface D GB Bedienungsanleitung Kommunikationsprotokoll Operating Instructions Communications protocol 42,0410,1318 022005 Table of contents General remarks...

More information

CS 4400 Fall 2018 Midterm Exam 2 Practice (Version 2)

CS 4400 Fall 2018 Midterm Exam 2 Practice (Version 2) CS 4400 Fall 2018 Midterm Exam 2 Practice (Version 2) Name: Instructions You will have eighty minutes to complete the actual open-book, opennote exam. Electronic devices will be allowed only to consult

More information

Chapter 2: Secret Key

Chapter 2: Secret Key Chapter 2: Secret Key Basics Block or Stream? Secret Key Methods Salting AES Key Entropy Prof Bill Buchanan OBE http://asecuritysite.com/crypto02 http://asecuritysite.com/encryption Conclusion Encryption

More information

Technical Information. Command overview of Vision Systems

Technical Information. Command overview of Vision Systems Technical Information Command overview of Vision Systems Image analysis command Grab image 0x01 X X X X Shutter speed 0x07 X X X X Synchronous flash 0x49 X X X X Video mode 0x00 X X Display 0x05 X X X

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

ECE251: Thursday September 27

ECE251: Thursday September 27 ECE251: Thursday September 27 Exceptions: Interrupts and Resets Chapter in text and Lab #6. READ ALL this material! This will NOT be on the mid-term exam. Lab Practical Exam #1 Homework # due today at

More information

AquaCER with TTL OUTPUT

AquaCER with TTL OUTPUT INSTRUCTION MANUAL AquaCER with TTL OUTPUT DESCRIPTION: The AquaCER TTL is a hydrostatic pressure transmitter, with a capacitive ceramic sensor, and can withstand very high burst pressures. The applied

More information

SIRKOM'Digital'Signage'Div.''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''MedeaWiz 'Sprite' High'Definition'Video'Player' User'Manual'

SIRKOM'Digital'Signage'Div.''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''MedeaWiz 'Sprite' High'Definition'Video'Player' User'Manual' . MedeaWiz Sprite HighDefinitionVideoPlayer UserManual FWversion20161229 Manualversion1.06 Notethatthismanualmaychangeperiodically Pleasegotowww.MedeaWiz.comforthelatestversion 0 P age . Table&of&Contents&

More information

Data point description for the Modbus protocol. 4 quadrant controller. multicomp 6D6-ESMSBSDS-1V1C6RO. Your partner for network analysis

Data point description for the Modbus protocol. 4 quadrant controller. multicomp 6D6-ESMSBSDS-1V1C6RO. Your partner for network analysis Data point description for the Modbus protocol 4 quadrant controller multicomp 6D6-ESMSBSDS-1V1C6RO Your partner for network analysis Table of Contents 1 Supported Modbus commands...2 2 Data formats...2

More information

Magic 8 Ball. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name

Magic 8 Ball. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name MPS Magic 8 Ball Lab Exercise Magic 8 Ball Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in a printer

More information

Signed/Unsigned Integer Arithmetic in C. Vineel Kovvuri

Signed/Unsigned Integer Arithmetic in C. Vineel Kovvuri Signed/Unsigned Integer Arithmetic in C Vineel Kovvuri http://vineelkovvuri.com Contents 1 Introduction 2 2 How signed-ness is represented in the hardware? 2 3 How signed-ness is interpreted in assembly?

More information

EE319K Fall 2013 Exam 1B Modified Page 1. Exam 1. Date: October 3, 2013

EE319K Fall 2013 Exam 1B Modified Page 1. Exam 1. Date: October 3, 2013 EE319K Fall 2013 Exam 1B Modified Page 1 Exam 1 Date: October 3, 2013 UT EID: Printed Name: Last, First Your signature is your promise that you have not cheated and will not cheat on this exam, nor will

More information

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm ) SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm ) Features 16 x 2 Large Characters RS485 Serial Interface Programmable Device Address Programmable

More information

8051 Interfacing: Address Map Generation

8051 Interfacing: Address Map Generation 85 Interfacing: Address Map Generation EE438 Fall2 Class 6 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas 85 Interfacing Address Mapping Use address bus and

More information

Parallel I/O and Keyboard Scanning

Parallel I/O and Keyboard Scanning 4 4.1 Objectives: Microprocessors can monitor the outside world using input ports. They can also control it using output ports. The TM4C123G (Tiva) performs I/O using 6 ports. Computer keyboards are typically

More information

RFID A1 Module User Manual V1.183

RFID A1 Module User Manual V1.183 RFID A1 Module User Manual V1.183 Table of Contents 1 Introduction... 4 1.1 Device Overview... 4 1.2 Pinout... 5 1.3 Application... 6 2 Electrical Characteristics... 7 2.1 Test Conditions... 7 2.2 Absolute

More information

Diagnostic Port Serial Interface for Capacitance Diaphragm Gauges

Diagnostic Port Serial Interface for Capacitance Diaphragm Gauges Communication Protocol Diagnostic Port Serial Interface for Capacitance Diaphragm Gauges CDG025D-X3 4-20 ma Current Loop Stripe CDG045Dhs Stripe CDG100Dhs tira84e1 (2017-05) 1 General Information The Diagnostic

More information

ECE251: Intro to Microprocessors Name: Solutions Mid Term Exam October 4, 2018

ECE251: Intro to Microprocessors Name: Solutions Mid Term Exam October 4, 2018 ECE251: Intro to Microprocessors Name: Solutions Mid Term Exam October 4, 2018 (PRINT) Instructions: No calculators, books, or cell phones; do not communicate with any other student. One side of a single

More information

MicroToys Guide: PS/2 Mouse N. Pinckney April 2005

MicroToys Guide: PS/2 Mouse N. Pinckney April 2005 Introduction A computer mouse provides an excellent device to acquire 2D coordinate-based user input, since most users are already familiar with it. Most mice usually come with two or three buttons, though

More information

LK User Manual. LK rev 4 1

LK User Manual. LK rev 4 1 LK162-12 User Manual LK162-12 rev 4 1 Table of Contents 1. Introduction...5 1.1 What it Does...5 1.2 What it Does Not Do...5 1.3 Keypad Interface...5 1.4 Setup for Testing...5 1.5 Trying Out your LK162-12...6

More information

Lab #3: Keypad Scanning in C Week of 11 February 2019

Lab #3: Keypad Scanning in C Week of 11 February 2019 ECE271: Microcomputer Architecture and Applications University of Maine Lab #3: Keypad Scanning in C Week of 11 February 2019 Goals 1. Be familiar with keypad scanning algorithms. 2. Understand software

More information

Grove - OLED Display 0.96''

Grove - OLED Display 0.96'' Grove - OLED Display 0.96'' Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_oled_display_96*96 Bazaar: http://www.seeedstudio.com/depot/grove-oled-display-096-p-824.html

More information

Request for Comments: XXXX November Registration of a Georgian Character Set draft-giasher-geostd8-00.txt

Request for Comments: XXXX November Registration of a Georgian Character Set draft-giasher-geostd8-00.txt Internet draft Gia Shervashidze Network Working Group Georgian Internet Avenue Request for Comments: XXXX November 2001 Registration of a Georgian Character Set draft-giasher-geostd8-00.txt Status of this

More information

Spartan-3AN FPGA In-System Flash User Guide

Spartan-3AN FPGA In-System Flash User Guide Spartan-3AN FPGA In-System Flash User Guide For Spartan -3AN FPGA applications that read or write data to or from the In-System Flash memory after configuration R R Xilinx is disclosing this user guide,

More information

on a 35 mm top-hat rail (in accordance with DIN EN TH35) Ambient temperature Operation: C Storage: C

on a 35 mm top-hat rail (in accordance with DIN EN TH35) Ambient temperature Operation: C Storage: C Data sheet PCD1.B1020-A20 E-Line RIO 16DI, 4Rel Starting with FW 1.08.xx The L-Serie E-Line RIO modules are controlled via the RS-485 serial communication protocols S-Bus and Modbus for decentralised automation

More information

INT-RS module - short technical description

INT-RS module - short technical description INT-RS module - short technical description The module INT-RS is dedicated to work with INTEGRA panels with firmware v1.06 2008-01-08 or above. It is an INTEGRA (LCD) bus to RS-232 converter. To properly

More information

APPENDIX- A REFERENCE IMPLEMENTATION OF BSF-128 ===============================================================

APPENDIX- A REFERENCE IMPLEMENTATION OF BSF-128 =============================================================== APPENDICES A p p e n d i c e s P a g e 144 A p p e n d i c e s P a g e 145 APPENDIX- A REFERENCE IMPLEMENTATION OF BSF-128 =============================================================== REFERENCE IMPLEMENTATION

More information

#include <stdio.h> // // Global CONSTANTS

#include <stdio.h> // // Global CONSTANTS Distance.c Author: Baylor Electromechanical Systems Operates on an external 18.432 MHz oscillator. Target: Cygnal Educational Development Board / C8051F020 Tool chain: KEIL C51 6.03 / KEIL EVAL C51 Utilizes

More information

ECE251: Tuesday September 18

ECE251: Tuesday September 18 ECE251: Tuesday September 18 Subroutine Parameter Passing (Important) Allocating Memory in Subroutines (Important) Recursive Subroutines (Good to know) Debugging Hints Programming Hints Preview of I/O

More information

C:\CYGNAL\Examples\C8051F02x\C\Edu_Board_Source_Code\Magcard.c

C:\CYGNAL\Examples\C8051F02x\C\Edu_Board_Source_Code\Magcard.c Magcard.c Author: Baylor Electromechanical Systems Operates on an external 18.432 MHz oscillator. Target: Cygnal Educational Development Board / C8051F020 Tool chain: KEIL C51 6.03 / KEIL EVAL C51 This

More information

The Roboteq Modbus Implementation User Manual

The Roboteq Modbus Implementation User Manual The Roboteq Modbus Implementation User Manual V1.1, December 21, 2017 Visit www.roboteq.com to download the latest revision of this manual Copyright 2017 Roboteq, Inc Copyright Roboteq Inc. 2018. All Rights

More information

JDICON 400/500 JDICON 401/501. B Interface Description. Universal process controller

JDICON 400/500 JDICON 401/501. B Interface Description. Universal process controller JDICON 400/500 Universal process controller JDICON 401/501 Universal profile controller Universal profile generator B 70.3570.2 Interface Description 10.99/00371593 Contents 1 Introduction 5 1.1 Preface...

More information

Design and Implementation Interrupt Mechanism

Design and Implementation Interrupt Mechanism Design and Implementation Interrupt Mechanism 1 Module Overview Study processor interruption; Design and implement of an interrupt mechanism which responds to interrupts from timer and UART; Program interrupt

More information

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX CP2130 INTERFACE SPECIFICATION 1. Introduction The Silicon Labs CP2130 USB-to-SPI bridge is a device that communicates over the Universal Serial Bus (USB) using vendor-specific control and bulk transfers

More information

EE 332 Real Time Systems Midterm Examination Solution Friday February 13, :30 pm to 4:30 pm

EE 332 Real Time Systems Midterm Examination Solution Friday February 13, :30 pm to 4:30 pm EE 332 Real Time Systems Midterm Examination Solution Friday February 13, 2004 2:30 pm to 4:30 pm Student Name Student Number Question Mark #1 / 15 #2 / 20 #3 / 25 TOTAL / 60 General: Two hours (2:30 pm

More information

BENCHTOP INSTRUMENT. Digital AC/DC Power Meter. Operation Manual V1.0

BENCHTOP INSTRUMENT. Digital AC/DC Power Meter. Operation Manual V1.0 BENCHTOP INSTRUMENT Digital AC/DC Power Meter Operation Manual V1.0 Default Setup Item Default Remark Version 0 Model No. Address 1 1 ~ 255 decimal Baud Rate 96 3 bps, 6 bps, 12 bps, 24 bps, 48 bps, 96

More information

I 2 C Application Note in Protocol B

I 2 C Application Note in Protocol B I 2 C Application Note in Protocol B Description This document is a reference for a possible coding method to achieve pressure, temperature, and status for SMI part readings using I 2 C. This SMI Protocol

More information

Flexi Soft T E L E G R A M M L I S T I N G

Flexi Soft T E L E G R A M M L I S T I N G T E L E G R A M M L I S T I N G This document is protected by the law of copyright, whereby all rights established therein remain with the company SICK AG. Reproduction of this document or parts of this

More information

Peripheral Sensor Interface for Automotive Applications

Peripheral Sensor Interface for Automotive Applications I Peripheral Sensor Interface for Automotive Applications Substandard Powertrain Technical _spec_v2d2_powertrain.doc 08/2016 II Contents 1 1 Introduction 1 2 2 System Setup & Operation Modes 1 3 4 5 6

More information

AN4872 Application note

AN4872 Application note Application note BlueNRG-1 and BlueNRG-2 UART bootloader protocol Introduction The BlueNRG-1 and BlueNRG-2 are very low power Bluetooth low energy (BLE) single-mode systemson-chip, compliant with Bluetooth

More information

SECTION 5 SMART PAYOUT MANUAL SET SOFTWARE IMPLEMENTATION GUIDE

SECTION 5 SMART PAYOUT MANUAL SET SOFTWARE IMPLEMENTATION GUIDE SECTION 5 SMART PAYOUT MANUAL SET SOFTWARE IMPLEMENTATION GUIDE Innovative Technology assume no responsibility for errors, omissions, or damages resulting from the use of information contained within this

More information

ANM071. Keypad decoding technique using TSC80251G1. 1. Description 2. TSC80251G Keyboard interrupt Power down mode

ANM071. Keypad decoding technique using TSC80251G1. 1. Description 2. TSC80251G Keyboard interrupt Power down mode Keypad decoding technique using TSC80251G1 by François Fosse Technical Marketing Engineer Temic France 1. Description This application note demonstrates the use of a matrix keypad including wake up from

More information

MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL

MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL Serial Settings The serial port settings are always 8 data bits, no parity and one stop bit with a baud rate of 115200. Commands and Requests

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

PoKeys protocol specification

PoKeys protocol specification PoKeys protocol specification Copyright PoLabs 2008-2017 All rights reserved Version: 15.8.2017 Compatible PoKeys firmware versions: PoKeys57: 4.2.36 Brief protocol description USB PoKeys USB devices are

More information

Application Note: JN-AN-1003 JN51xx Boot Loader Operation

Application Note: JN-AN-1003 JN51xx Boot Loader Operation Application Note: JN-AN-1003 JN51xx Boot Loader Operation This Application Note describes the functionality of the boot loaders for the NXP, JN514x and wireless microcontrollers, covering the following

More information

Modbus Map: Conext XW/XW+ Device

Modbus Map: Conext XW/XW+ Device Map: Conext XW/XW+ Device 503-0246-01-01 Revision A.3 UNINTENDED OPERATION WARNING The use of this product with communications requires expertise in the design, operation, and programming of the device.

More information

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide Copyright 2008 IMS CONTENTS 1 INTRODUCTION... 3 2 MODULE CONNECTION... 3 2.1 I2C/Serial interface connector...4 2.2

More information

RS-232 Control of the Advantage DRI

RS-232 Control of the Advantage DRI RS-232 Control of the Advantage DRI Biamp Systems, 14130 N.W. Science Park, Portland, Oregon 97229 U.S.A. (503) 641-7287 an affiliate of Rauland-Borg Corp. Introduction This document contains technical

More information

Exceptions and Interrupts ARM Cortex M3

Exceptions and Interrupts ARM Cortex M3 Exceptions and Interrupts ARM Cortex M3 ผศ.ดร. ส ร นทร ก ตต ธรก ล และ อ.สรย ทธ กลมกล อม 1 Introduction! Exception are events! They occur during the execution of the program! ARM exceptions! Exceptions

More information

1 SETTING UP GENERAL FUNCTION TYPE PROTOCOL MESSAGES COMMAND RETURN CODES... 6 TRANSACTION EXAMPLES...

1 SETTING UP GENERAL FUNCTION TYPE PROTOCOL MESSAGES COMMAND RETURN CODES... 6 TRANSACTION EXAMPLES... 1 SETTING UP... 3 1.1 RS232 CONTROL CABLES...3 1.2 RS232 SETTINGS...3 2 GENERAL... 4 3 FUNCTION TYPE... 4 4 PROTOCOL MESSAGES... 4 4.1 MESSAGE FORMATS...4 4.1.1 Message Head...4 4.1.2 Message Body...5

More information

Dell 7609WU RS232 Protocol Document

Dell 7609WU RS232 Protocol Document Dell 7609WU RS232 Protocol Document RS232 Projector Pin Assignment (Facing Projector) RS232 Serial Communication Cable Pin Assignment (Facing Cable) Pin Assignments RS232 PIN DESCRIPTION MINI DIN-6 1 2

More information

AU5017. General Description

AU5017. General Description Features General Description High performance DSP process core High quality on-chip stereo DAC Decodes MP3/WAV audio format Supports bitrate from 32Kbps to 320Kbps Supports MicroSD/HC memory card up to

More information

Dell 4610X RS232 Protocol Document

Dell 4610X RS232 Protocol Document Dell 4610X RS232 Protocol Document RS232 Projector Pin Assignment (Facing Projector) RS232 Serial Communication Cable Pin Assignment (Facing Cable) Pin Assignments RS232 PIN DESCRIPTION MINI DIN-6 1 2

More information

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes Course Introduction Purpose: This course provides an overview of the Direct Memory Access Controller and the Interrupt Controller on the SH-2 and SH-2A families of 32-bit RISC microcontrollers, which are

More information

JMY607H User's Manual

JMY607H User's Manual JMY607H User's Manual (Revision 3.42) Jinmuyu Electronics Co. LTD 2011/6/27 Please read this manual carefully before using. If any problem, please mail to: Jinmuyu@vip.sina.com Contents 1 Product introduction...

More information

DATA SHEET. article numbers P125-1b & P125-1g

DATA SHEET. article numbers P125-1b & P125-1g LC 16.2 TREND DATA SHEET article numbers P125-1b & P125-1g Pottery House, Pottery Road, Dun Laoghaire, Co. Dublin, Ireland. Tel: +353-1-2350279 Fax: +353-1-2350361 Am Gneisenauflöz 6, 66538 Neunkirchen,

More information

IEC /104 Communications Protocol

IEC /104 Communications Protocol expertmeter High Performance Analyzer PM180 IEC60870-5-101/104 Communications Protocol Reference Guide BG0593 Rev. A1 Every effort has been made to ensure that the material herein is complete and accurate.

More information

SST-DN and SST-DN Hardware Reference Guide

SST-DN and SST-DN Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 Hardware Reference Guide Document Edition: 1.1 Document #: 715-0099 Hardware Reference Guide SST-DN4-104-1 and SST-DN4-104-2 Document Edition: 1.1 Date: August 8, 2008 This

More information

App Note Application Note: State-Driven Control of a dpasp using a Microchip PIC.

App Note Application Note: State-Driven Control of a dpasp using a Microchip PIC. Rev: 1.0.1 Date: 8 th July 2009 App Note - 207 Application Note: State-Driven Control of a dpasp using a Microchip PIC. This application note contains a total 3 files, if you have only this pdf text document,

More information

//

// ----------------------------------------------------------------------------------- Filename: FixedMath.h ----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------

More information

Dell S500/S500wi RS232 Protocol Document

Dell S500/S500wi RS232 Protocol Document Dell S500/S500wi RS232 Protocol Document RS232 Projector Pin Assignment (Facing Projector) RS232 Serial Communication Cable Pin Assignment (Facing Cable) Pin Assignments RS232 PIN DESCRIPTION MINI DIN-6

More information

FnIO S Series: NA MODBUS/TCP(UDP) Adapter. with Two RJ-45

FnIO S Series: NA MODBUS/TCP(UDP) Adapter. with Two RJ-45 Preliminary NA-9289 Page 1 of 34 FnIO S Series: NA-9289 MODBUS/TCP(UDP) Adapter with Two RJ-45 Preliminary NA-9289 Page 2 of 34 DOCUMENT CHANGE SUMMARY REV. PAGES REMARKS DATE Editor Released May.2 1,

More information