Experiment Ten THE PROJECT

Size: px
Start display at page:

Download "Experiment Ten THE PROJECT"

Transcription

1 Experiment Ten THE PROJECT Purpose: This project, which will require the rest of the term to complete, allows you the experience of interfacing the embedded microprocessor (you built the system in EET-L) to the personal computer through the serial port. This provides a realistic experience that one often encounters in industry when doing embedded system development. You are to work in teams of or people and each team is required to have one working embedded system from EET-L. Things that need to be done to accomplish this task include:. modification of your embedded system to include a serial port. development of interrupt service procedures, which handle serial communications for the embedded system. operating system in the embedded microprocessor for the transfer of information between the PC and the embedded system. Windows application (using Visual C) for the PC to transfer a file to the embedded microprocessor through the serial port. development of the protocols for an error free transfer of data Serial Port: The serial port is not TTL compatible, but rather is RS-C compatible, which means that the voltages are not.0v, but at least ±V. Because of this, we must translate the voltage levels between TTL levels and RS-C levels. In the past this may have required additional power supplies and some circuitry. Today we have an integrated circuit to accomplish the interface (MAX-) and also to develop the power supply voltages. The MAX- contains receivers, transmitters, and a DC to-dc converter that develops the ±0V for the interface to the PC. The pin-out is shown below for the MAX- integrated circuit. Vcc Power Supply TTL Inputs 0 RS Outputs TTL Outputs 9 RS Inputs GND All capacitors are.0 µf electrolytic with polarities as shown!

2 You need to purchase a 9-pin DB9 male connector (the cable has the female connector) that will be used to interface the PC serial port to the embedded microprocessor through the MAX- integrated circuit. The pin connections on the DB9 connector are as follows: Pin Number Function Carrier Detect Received Data Transmit Data Data Terminal Ready Signal Ground Data Set Ready Request to Send Clear to Send 9 Not used 9 CONNECTOR DB9 The PC serial port (the 9-pin port COM ) will be connected to the embedded system using a NULL modem cable. This cable can be purchased or built and the connections are as shown below: Embedded System PC The NULL modem cable also has the same connections on the embedded side, but we don t need them because we are not going to use them with our system. The embedded microprocessor will use the channel 0 serial port for the connection to the PC and the simple interface, which you must construct, appears below: 0CEB MAX 9 RXD0 0 TXD0 DB9

3 Now that we have learned how to connect the embedded microprocessor to the serial cable we need to learn how to program it. Programming has three main areas:. initialization for serial port 0. programming the Baud rate generator. developing the interrupt service procedures for both receive and transmit data The mode of operation for the serial port will be data bits, start bit, and stop bit without parity. This is mode operation of the serial port and it is compatible with the COM port of the PC operated in same manner. The serial port is configured through the control register located at PCB address FFH. Ilustrated below is the contents of the control register for serial port 0. M,M,M0 = Mode of operation (our case is mode or 00 ) PEN, EVN = parity control (both bits are 0 to disable parity) REN = enables the receiver when set () CEN = clear to send enable (0 to ignor the CTS pin) TB and SBRK are 0 in our case Our control word is 000H (This initally disables the receiver to prevent errors). The Baud rate generator for serial port 0 is programmed through registers: the Baud rate count register and the Baud rate compare register. We are going to use a Baud rate of 900 with no parity and data bits or a 0 bit frame. We never actually program the Baud rate counter, just the Baud rate compare register for the desired Baud rate. Since our microprocessor s operating frequency is Mhz, we program the Baud rate compare register with an 0H at port FF0H for a Baud rate of 900. The program to intialize our serial port follows: MOV DX,0FF0H ;set Baud rate MOV AX,0H MOV DX,0FFH ;set up serial port, recv off MOV AX, MOV DX,0FFH ;clear pending interrupts IN AX,DX MOV DX,0FFH ;clear interrupt mask bit IN AX,DX AND AX, MOV DX,0FFH ;enable receiver IN AX,DX OR AX,0H

4 This software must be placed in the intialization portion of your system just before the STI instruction, which enables interrupts. Once the serial port is initialized comuncation takes place by a series of interrupts. When data is received an interrupt occurs and when data has been transmitted an interrupt occurs. In the intialization software you will find the following: MOV DX,0FF0H ;address interrupt mask register MOV AX,00FCH ;disable all except for timer OUT DX,AL The contents of the AX register must be changed or no serial port interrupt can occur. The MOV AX,00FCH instruction above must be changed to MOV AX,00FH to enable both the Timer Interrupt and the Serial port interrupt. We also need to install the interupt procedures in the interrupt vector table. These are installed with the following software, again before the STI instruction. MOV AX,CS MOV DS:[H],AX ;receive interrupt vector MOV DS:[0H],OFFSET RECV-00H MOV DS:[H],AX ;transmit interrpt vector MOV DS:[H],OFFSET TRANS-00H MOV BYTE PTR DS:[0H],0 ;Connection Flag We now have installed our receiver interrupt (RECV) and our transmit interrupt (TRANS). All we need to do now is write the interrupt service procedure for the receiver and transmitter. Our system will be comnpletely driven by these two interrupts without any need to change the operating system that we have installed if we choose a good protocol. Protocol: Our main purpose for this interface will allow us to download programs from the personal computer to the embedded controller and then run them. To accomplish this we need to define a protocol for our system before we can write the interupt service procedures. The protocol that we establis will allow us to:. Download a program. Run the program. Stop execution of the program. Ensure an accurate transfer of the program. Establish initial communications between the PC and the embedded system You might call this a remote operating system. We need to chose some commands to accomplish the above tasks: Command Byte 00H 0H 0H 0H 0H 0H Function Start Communication Run Program Download Program from PC Abort program Error in download or invalid command No error in download or command

5 The transmit interrupt service procedure: Each time that the serial port transmitter is ready the transmit interrupt occurs. In our system we really don t need this interrupt, but since we enabled interrupts for the port, we need to supply an interrupt service procedure for the transmitter. Below is the interrupt service procedure for the transmitter: TRANS PROC FAR USES AX DX MOV DX,0FF0H MOV AX,000h IRET TRANS ENDP ;issue non-specific EOI All the transmitter interrupt service procedure does is tells the interrupt controller within the microprocessor that the interrupt is complete and to allow another interrupt. The reason we don t need any additional software is that our system never transmits more than a single byte back to the PC. If we needed to transmit more than a byte then the interrupt service procedure for the transmitter would need to send additional bytes from a buffer that we would need to set up in the memory. The receiver interrupt service procedure: The receiver interrupt has the responsibility of interpreting all of our commands and will be longer than the transmitter interrupt service procedure. Each time that a byte is received from the PC through the serial port, the system cause a receiver interrupt. At that time it will be our responsibility to process the received byte to interpret it. CSEND MACRO WHAT MOV DX,0FFAH MOV AX,WHAT ENDM RECV PROC FAR USES DS AX BX BP DX MOV AX,0 MOV DS,AX ;DS addresses SRAM MOV DX,0FFH IN AX,DX ;read status (clear interrupt) MOV DX,0FFH ;read data IN AL,DX.IF BYTE PTR DS:[0H] == 0 ;not connected.if AL == 0 ;connect MOV BYTE PTR DS:[0H], IF BYTE PTR DS:[0H] == ;just connected.if AL == ;load 0000:000 MOV BYTE PTR DS:[0H], MOV WORD PTR DS:[H],00H IF BYTE PTR DS:[0H] == ;get low count MOV BYTE PTR DS:[0H], MOV DS:[H],AL

6 RECV IF BYTE PTR DS:[0H] == ;get high count MOV BYTE PTR DS:[0H], MOV DS:[H],AL MOV WORD PTR DS:[H],0 IF BYTE PTR DS:[0H] == ;get program MOV AH,0 ADD DS:[H],AX ;form checksum MOV BX,DS:[H] ;get address MOV [BX],AL ;save byte INC WORD PTR DS:[H] DEC WORD PTR DS:[H].IF ZERO? ;done reading MOV BYTE PTR DS:[0H], IF BYTE PTR DS:[0H] == MOV DS:[H],AL MOV BYTE PTR DS:[0H], IF BYTE PTR DS:[0H] == MOV AH,AL MOV AL,DS:[H].IF AX == DS:[H] MOV BYTE PTR DS:[0H], MOV BYTE PTR DS:[0H], IF BYTE PTR DS:[0H] ==.IF AL == ;run program MOV BYTE PTR DS:[0H], MOV BP,SP MOV WORD PTR [BP0],00H MOV WORD PTR [BP],0 IF BYTE PTR DS:[0H] ==.IF AL == MOV BYTE PTR DS:[0H], MOV BP,SP MOV WORD PTR [BP0],OFFSET TEMP-00H MOV AX,CS MOV [BP],AX MOV DX,0FF0H MOV AX,000H IRET ENDP

7 We now have a working embedded system that can have a program downloaded to 0000:000 for execution. Since our memory extends to 0000:FFF we should have ample space to download a significant program. Our protocol follows the following flow:. Connection begins when the embedded system is first powered and it receives a 00H from the PC, a good connection is signaled by the return of 0H from the embedded system. Once connected a program can be downloaded by sending a 0H from the PC to the embedded system, followed by the low byte of the count, the high byte of the count, the program bytes, and a two byte checksum. The count is the count of the bytes in the file. The checksum is the simple sum of all the bytes of the program, but not the checksum bytes. If a 0H is returned from the embedded system the program was transferred without error and if a 0H is returned an error occurred and the transfer must be retried.. At this point we can only execute the program. A 0H returned indicates execution is occuring.. At this point we can only abort execution. A good abort is indicated by the return of a 0H.. After an abort the system continues back at step. The PC end with its VC DIALOG BOX application should appear as follows: You wil need the Microsoft MSCOMM ActiveX control to use COM PORT on the PC. The help files give examples of the use of the MSCOMM control. The rest of the program should be fairly easy to write since is is driven by the button click events as in Experiment and 9. Feel free to embellish the Windows dialog box with color or whatever you think will make it look better. To be handed in for this experiment:. Listings of all programs for the microprocessor as well as the VC program. A screen snap shot of your dialog box. A short report describing things that you learned though this project.

BASIC INTERRUPT PROCESSING

BASIC INTERRUPT PROCESSING Interrupts BASIC INTERRUPT PROCESSING This section discusses the function of an interrupt in a microprocessor-based system. Structure and features of interrupts available to Intel microprocessors. The

More information

Copyright 2000 by Barry B. Brey The CPU Scheduling Processes

Copyright 2000 by Barry B. Brey The CPU Scheduling Processes Copyright 2000 by Barry B. Brey The CPU Scheduling Processes One method used to schedule processes in a small real-time operating system (RTOS) is via a time slice to switch between various processes.

More information

Serial Interfacing. Asynchronous Frame

Serial Interfacing. Asynchronous Frame Serial Interfacing Serial Data Transfer used by keyboards, plotters, modems and other peripherals with low data transfer rates (low bandwidth) 2 Types: Asynchronous CPU and device are not using a common

More information

=0 Read/Write IER Interrupt Enable Register =1 Read/Write - Divisor Latch High Byte + 2

=0 Read/Write IER Interrupt Enable Register =1 Read/Write - Divisor Latch High Byte + 2 EEE 410 Microprocessors I Spring 04/05 Lecture Notes # 20 Outline of the Lecture Interfacing the Serial Port Serial Port registers Transmitting Serial Data Receiving Serial Data INTERFACING THE SERIAL

More information

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

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

More information

8051 Timers and Serial Port

8051 Timers and Serial Port 8051 Timers and Serial Port EE4380 Fall 2001 Class 10 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Timer: Mode 1 Operation (recap) 16 bit counter. Load the

More information

Sender Receiver Sender

Sender Receiver Sender EEE 410 Microprocessors I Spring 04/05 Lecture Notes # 19 Outline of the Lecture Interfacing the Serial Port Basics of Serial Communication Asynchronous Data Communication and Data Framing RS232 and other

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

Hardware Manual. PCMCIA 1 Port RS EDITION APRIL 1999

Hardware Manual. PCMCIA 1 Port RS EDITION APRIL 1999 Hardware Manual 232 232232 PCMCIA 1 Port RS232 1.1 EDITION APRIL 1999 Guarantee. FULL 36 MONTHS GUARANTEE. We guarantee your interface card for a full 36 months from purchase, parts and labour, provided

More information

Chapter 11: Input/Output Organisation. Lesson 05: Asynchronous RS232C Serial Port data transfer

Chapter 11: Input/Output Organisation. Lesson 05: Asynchronous RS232C Serial Port data transfer Chapter 11: Input/Output Organisation Lesson 05: Asynchronous RS232C Serial Port data transfer Objective Understand the RS232C asynchronous data transfer and signals Learn the RS232C serial port communication

More information

8051SERIAL PORT PROGRAMMING

8051SERIAL PORT PROGRAMMING 8051SERIAL PORT PROGRAMMING Basics of Serial Communication Computers transfer data in two ways: Parallel Often 8 or more lines (wire conductors) are used to transfer data to a device that is only a few

More information

USB/RS232 TO cctalk COMMUNICATION BOARD Technical Information

USB/RS232 TO cctalk COMMUNICATION BOARD Technical Information USB/RS232 TO cctalk COMMUNICATION BOARD Technical Information USB/RS232 to CcTalk COMMUNICATION BOARD 18/04/2016 Manual code: 81043530 ATTENTION: Read this technical manual carefully before installing

More information

ELEG3923 Microprocessor Ch.10 Serial Port Programming

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

More information

Serial Interfaces Part 1. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Serial Interfaces Part 1. ECE 153B Sensor & Peripheral Interface Design Winter 2016 Serial Interfaces Part 1 ECE 153B Sensor & Peripheral Interface Design Serial Interfaces Simple Serial Interfaces RS-232C (UART) Provides for point to point communications, primarily Among the simplest

More information

Programmable Interval Timer CEN433 King Saud University Dr. Mohammed Amer Arafah

Programmable Interval Timer CEN433 King Saud University Dr. Mohammed Amer Arafah Programmable Interval Timer - 8254 CEN433 King Saud University Dr. 1 Functional Diagram 2 8254: Pin Description 3 8254: Read/Write Operations Summary 4 8254 System Interface 5 Control Word Format 6 Possible

More information

8520/8520R. User Manual

8520/8520R. User Manual /R User Manual Warranty All products manufactured by SuperLogics are warranted against defective materials for a period of one year from the date of delivery to the original purchaser. Disclaimer SuperLogics

More information

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013)

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) UNIT I THE 8086 MICROPROCESSOR PART A (2 MARKS) 1. What are the functional

More information

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil Microprocessor By Mrs. R.P.Chaudhari Mrs.P.S.Patil Chapter 1 Basics of Microprocessor CO-Draw Architecture Of 8085 Salient Features of 8085 It is a 8 bit microprocessor. It is manufactured with N-MOS technology.

More information

Hardware Manual PCMCIA DUAL RS EDITION MAY 1999

Hardware Manual PCMCIA DUAL RS EDITION MAY 1999 Hardware Manual 232 232232 PCMCIA DUAL RS232 1.4 EDITION MAY 1999 Guarantee. FULL 36 MONTHS GUARANTEE. We guarantee your interface card for a full 36 months from purchase, parts and labour, provided it

More information

ICP PANEL-TEC PEX3000 II

ICP PANEL-TEC PEX3000 II ICP PANEL-TEC PEX3000 II MODBUS PORT EXPANDER INSTALLATION AND OPERATION GUIDE REVISION HISTORY Revision Date Author Comments 000 29 Aug 2008 Keira Majors Initial release. 001 16 Sep 2008 David Walker

More information

Serial Interfacing. Pulse width of 1 bit

Serial Interfacing. Pulse width of 1 bit ١ ٢ Asynchronous Frame 10 bits 7E1 (7 data bits, even parity, 1 stop bit) Serial Data Transfer used by keyboards, plotters, modems and other peripherals with low data transfer rates (low bandwidth) * *

More information

U C H L T. DSP-Board C32F. Features for DSP Board C32F

U C H L T. DSP-Board C32F. Features for DSP Board C32F HOLE35 RS232 9600 BOD RS232 DSUB9M CONNECTOR 2X32 TI DSP LINK 10 MBOD HOLE35 R U C H DSP-Board C32F L T D (C) RUCH SYSTEM LTD., 1998. DSP SERVOCONTROLLER BOARD FOR EUROBUS. RS422R PAL EPROM 64K8-12V +12V

More information

Select a Data Communication Interface

Select a Data Communication Interface Printer Setup and Operation Select a Data Communication Interface Select a Data Communication Interface You may connect your print engine to a computer using one or more of the available connections. The

More information

Wiring Section 3-3. NQ-Series communication ports support various types of (serial) communication.

Wiring Section 3-3. NQ-Series communication ports support various types of (serial) communication. 3-3 Wiring NQ-Series models have, besides one power connector, a number of communication ports. Please refer to Table 2.2: Common specifications for NQ-Series and Table 2.3: Specifications per NQ-Series

More information

Low-Power-Radio Transceiver IC

Low-Power-Radio Transceiver IC Addressed Mode With Acknowledge Broadcast Mode Automatic Retry Serial Interface Stand Alone Operation Achieves Maximum Range From RF Modules Flow Control Option Two Telemetry I/O Lines (addressed mode

More information

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text In this lecture, serial port communication will be discussed in

More information

RMV ELECTRONICS INC. Application Note:

RMV ELECTRONICS INC. Application Note: RMV ELECTRONICS INC. Application Note: Application #: 00002 Date: September 1994 Description: High Speed Serial Communications Between the PC and the Status: Draft Version ITC232-A. The ITC232-A is capable

More information

ISDA/ISDA4 Protocol Driver Manual. Table of Contents

ISDA/ISDA4 Protocol Driver Manual. Table of Contents ISDA/ISDA4 Protocol Driver Manual Table of Contents ISDA 1 Functional Overview... 3 1.1 Master Serial Port(s)... 3 1.2 Module Internal Database... 4 1.2.1 ISDA Serial Port Driver Access to Database...

More information

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM Preliminary Single-Chip USB to UART Bridge SINGLE-CHIP USB to UART DATA TRANSFER - Integrated USB Transceiver; No External Resistors Required - Integrated Clock; No External Crystal Required - Integrated

More information

The I-7530A RS-232/485/422 to CAN Converter

The I-7530A RS-232/485/422 to CAN Converter The I-7530A RS-232/485/422 to CAN Converter User s Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery

More information

Appendix. Specifications

Appendix. Specifications Appendix A Specifications PC Interface Resources are assigned automatically (Plug&Play) ME-000 PCI/cPCI (Rev..) PCI Local Bus Specification Rev.. ( bit, MHz, Universal-PCI: V/.V) ME-000 PCI-Express PCI

More information

Assembling, Linking and Executing 1) Assembling: .obj obj .obj.lst .crf Assembler Types: a) One pass assembler:

Assembling, Linking and Executing 1) Assembling: .obj obj .obj.lst .crf Assembler Types: a) One pass assembler: Assembling, Linking and Executing 1) Assembling: - Assembling converts source program into object program if syntactically correct and generates an intermediate.obj file or module. - It calculates the

More information

EXPERIMENT TWELVE: USING DISK FILES

EXPERIMENT TWELVE: USING DISK FILES EXPERIMENT TWELVE: USING DISK FILES INTRODUCTION Because just about any program ever written requires the use of a disk file to store or retrieve data, this experiment shows how to create, read, write,

More information

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language 4345 Assembly Language Assembly Language Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology Assembly Language 3-1 Overview of Assembly Language Advantages: Faster as compared

More information

1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them?

1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them? Code No: R05220504 Set No. 1 1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them? 2. Explain clearly with examples the

More information

Forcom Technology Co., Ltd. Intelligent RS-485/422 to RS-232 converter

Forcom Technology Co., Ltd. Intelligent RS-485/422 to RS-232 converter Forcom Technology Co., Ltd. Tel: +886-2-77296880 Fax: +8862-27055495 e-mail: info@forcomtech.com.tw URL: http://www.forcomtech.com.tw Intelligent RS-485/422 to RS-232 converter Model No.: R32TR1 AD-INT

More information

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix)

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix) USER S MANUAL PH232Ex1 Doc No: PH232Ex1-UM-001 #1 RS-232 Serial Port to Ethernet, Terminal Server/Client IPEX (IP Electronix) Contents 1. INTRODUCTION... 3 2. SPECIFICATIONS... 3 3. PACKAGE CHECKLIST...

More information

Product Manual. USB to Optical Adapter Industrial Isolated RS- 232/422/485. Coolgear, Inc. Version 2.1 December 2018 Model Number: USB-COMi-Si-M

Product Manual. USB to Optical Adapter Industrial Isolated RS- 232/422/485. Coolgear, Inc. Version 2.1 December 2018 Model Number: USB-COMi-Si-M USB to Optical Adapter Industrial Isolated RS- 232/422/485 Product Manual Coolgear, Inc. Version 2.1 December 2018 Model Number: USB-COMi-Si-M 2 USB-COMi-SI-M Product Manual Revision History Revision Date

More information

PCI Express 16-Port Serial I/O Cards

PCI Express 16-Port Serial I/O Cards PCI Express 16-Port Serial I/O Cards The PCIe-1600 PCI Express 16-port serial I/O card is a plug & play high-speed serial I/O expansion card for PCI Express bus. Connecting to a PCI Express bus on your

More information

RM024 DVK USER GUIDE VERSION 1.2

RM024 DVK USER GUIDE VERSION 1.2 USER GUIDE VERSION 1.2 Americas: +1-800-492-2320 Asia: +852-2923-0610 REVISION HISTORY Version Revision Date Change Description Approved By 1.0 20 Dec 2012 Initial Release Chris Downey 1.1 15 Apr 2014

More information

PESIT Bangalore South Campus

PESIT Bangalore South Campus INTERNAL ASSESSMENT TEST 2 Date : 28/03/2016 Max Marks: 50 Subject & Code : Microprocessor (10CS45) Section: IV A and B Name of faculty: Deepti.C Time: 8:30-10:00 am Note: Answer any complete five questions

More information

Parameter Passing. Procedure line. Calling procedure line. Most subroutines require parameters Can sometimes pass parameters via registers

Parameter Passing. Procedure line. Calling procedure line. Most subroutines require parameters Can sometimes pass parameters via registers Parameter Passing Most subroutines require parameters Can sometimes pass parameters via registers Assume subroutine line will compute the value: y = m*x + b where m,x,b are signed byte values, and y is

More information

PIC-I/O Multifunction I/O Controller

PIC-I/O Multifunction I/O Controller J R KERR AUTOMATION ENGINEERING PIC-I/O Multifunction I/O Controller The PIC-I/O multifunction I/O controller is compatible with the PIC-SERVO and PIC-STEP motor control modules and provides the following

More information

Ready-Set-Go (RSG) Controller: Getting Starter

Ready-Set-Go (RSG) Controller: Getting Starter Ready-Set-Go (RSG) Controller: Getting Starter 1. SETTING UP HYPERTERMINAL FOR THE RSG CONTROLLER 2 1.1 Hardware Setup 2 1.2 Software Setup: Configuring Hyperterminal 2 1.3 Troubleshooting the Installation

More information

Lab 2: 80x86 Interrupts

Lab 2: 80x86 Interrupts ELEC-4601: Microprocessor Systems The Point Lab 2: 80x86 Interrupts Writing software to properly respond to a hardware interrupt is fussy. There is a hardware path from the incoming interrupt signal all

More information

PCI Express 4-Port Industrial Serial I/O Cards

PCI Express 4-Port Industrial Serial I/O Cards PCI Express 4-Port Industrial Serial I/O Cards The PCIe-400i and PCIe-400i-SI PCI Express 4-port industrial serial I/O cards are plug & play high-speed serial I/O expansion cards for the PCI Express bus.

More information

CONNECTING YOUR PC TO THE USB EVALUATION BOARD

CONNECTING YOUR PC TO THE USB EVALUATION BOARD OVERVIEW This application note discusses how to solve the problems you may encounter when you interface the Keil dscope debugger to the Intel USB Evaluation Board using RISM. Typically, these problems

More information

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved. Serial Communication Prof. James L. Frankel Harvard University Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved. Overview of the Serial Protocol Simple protocol for communicating

More information

DIY KIT 123. ATMEL 89xxxx PROGRAMMER

DIY KIT 123. ATMEL 89xxxx PROGRAMMER INTRODUCTION This kit is a powerful programmer for the Atmel 8051 family of microcontrollers. It supports the following devices: 89C1051, 89C2051 and 89C4051 89C51, 89LV51 89C52, 89LV52 89C55, 89LV55 89S8252,

More information

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing CMS-8GP32 A Motorola MC68HC908GP32 Microcontroller Board xiom anufacturing 2000 717 Lingco Dr., Suite 209 Richardson, TX 75081 (972) 994-9676 FAX (972) 994-9170 email: Gary@axman.com web: http://www.axman.com

More information

PK2200 Series. Features. C-Programmable Controller. Specifications Board Size Enclosure Size Operating Temp.

PK2200 Series. Features. C-Programmable Controller. Specifications Board Size Enclosure Size Operating Temp. C-Programmable Controller P00 Series The P00 Series of C-programmable controllers is based on the Zilog Z80 microprocessor. The P00 includes digital, serial, and high-current switching interfaces. The

More information

Hierarchy of I/O Control Devices

Hierarchy of I/O Control Devices Hierarchy of I/O Control Devices 8155 I/O + Timer 2 Port (A,B), No Bidirectional HS mode (C) 4 mode timer 8253/54 Timer 6 mode timer 8255 I/O 2 Port (A,B) A is Bidirectional HS mode (C) Extra controls

More information

C1098 JPEG Module User Manual

C1098 JPEG Module User Manual C1098 JPEG Module User Manual General Description C1098 is VGA camera module performs as a JPEG compressed still camera that can be attached to a wireless or PDA host. Users can send out a snapshot command

More information

PCIe Card Selection Guide. PCIe-CAN Card. PCIe-COM Card. Taiwan Pulse Motion Co.,Ltd. Bus Interface PCI Express x 1 LPE-C122 PCE-C122D PCE-C122T

PCIe Card Selection Guide. PCIe-CAN Card. PCIe-COM Card. Taiwan Pulse Motion Co.,Ltd. Bus Interface PCI Express x 1 LPE-C122 PCE-C122D PCE-C122T PCIe Card Selection Guide PCIe-CAN Card Bus Interface PCI Express x 1 LPE-C122 PCE-C122D PCE-C122T Channels I/O Isolation Voltage Baud Rate Terminator Resistor I/O PIN Type 2 Max. 1 Mbps Jumper for 120

More information

db "Please enter up to 256 characters (press Enter Key to finish): ",0dh,0ah,'$'

db Please enter up to 256 characters (press Enter Key to finish): ,0dh,0ah,'$' PA4 Sample Solution.model large.stack 100h.data msg1 db "This programs scans a string of up to 256 bytes and counts the repetitions of the number 4206 and sums them.",0dh,0ah,'$' msg2 db "Please enter

More information

AB300-Series Automated Filter Wheels

AB300-Series Automated Filter Wheels AB300-Series Automated Filter Wheels User Manual 1049478 August 2006 1. Introduction 1.1 Mission Statement Our mission is to provide our customers with reliable products, on time, and at a fair price.

More information

Product Manual. Mini USB to Terminal RS422 RS485 FTDI Plug-in Adapter. Coolgear, Inc. Version 1.1 April 2018 Model Number: USBG-422MiNi

Product Manual. Mini USB to Terminal RS422 RS485 FTDI Plug-in Adapter. Coolgear, Inc. Version 1.1 April 2018 Model Number: USBG-422MiNi Mini USB to Terminal RS422 RS485 FTDI Plug-in Adapter Product Manual Coolgear, Inc. Version 1.1 April 2018 Model Number: USBG-422MiNi 2 USBG-422MiNi Product Manual Revision History Revision Date Author

More information

UMBC. contain new IP while 4th and 5th bytes contain CS. CALL BX and CALL [BX] versions also exist. contain displacement added to IP.

UMBC. contain new IP while 4th and 5th bytes contain CS. CALL BX and CALL [BX] versions also exist. contain displacement added to IP. Procedures: CALL: Pushes the address of the instruction following the CALL instruction onto the stack. RET: Pops the address. SUM PROC NEAR USES BX CX DX ADD AX, BX ADD AX, CX MOV AX, DX RET SUM ENDP NEAR

More information

MS Protocol Converter. User Manual. Firmware version 2.0 ISI. Instrumental Solutions, Inc.

MS Protocol Converter. User Manual. Firmware version 2.0 ISI. Instrumental Solutions, Inc. MS1-2150 Protocol Converter User Manual Firmware version 2.0 ISI Instrumental Solutions, Inc. WWW.ISIDEV.NET Introduction The MS1-2150 protocol converter can take readings from 1 or more ModBus registers

More information

15693-RW-TTL-PCB1 CONTENT 1. MAIN FEATURES PINNING INFORMATION BAUD RATE SETTING COMMUNICATION PROTOCOL...5

15693-RW-TTL-PCB1 CONTENT 1. MAIN FEATURES PINNING INFORMATION BAUD RATE SETTING COMMUNICATION PROTOCOL...5 15693-RW-TTL-PCB1 13.56Mhz ISO15693 reader/writer module with TTL interface RFID MODULE CONTENT 1. MAIN FEATURES...3 2. PINNING INFORMATION......4 3. BAUD RATE SETTING......5 4. COMMUNICATION PROTOCOL......5

More information

Lesson 4. Stack, Procedures and Macros

Lesson 4. Stack, Procedures and Macros Lesson 4. Stack, Procedures and Macros Computer Structure and Organization Graduated in Computer Sciences / Graduated in Computer Engineering Graduated in Computer Sciences / Graduated in Computer Engineering

More information

ACT-IR8200P. IrDA Compliant Protocol Processor Preliminary Specification. Copyright 2003 ACTiSYS Corporation, All Rights Reserved

ACT-IR8200P. IrDA Compliant Protocol Processor Preliminary Specification. Copyright 2003 ACTiSYS Corporation, All Rights Reserved 48511 Warm Springs Blvd., Suite 206, Fremont, CA 94539 Tel: (510) 490-8024 Fax: (510) 623-7268 Website: http://www.actisys.com E-mail: irda-info@actisys.com IrDA Compliant Protocol Processor Preliminary

More information

7/19/2013. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Chapter Objectives 12 1 BASIC INTERRUPT PROCESSING

7/19/2013. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Chapter Objectives 12 1 BASIC INTERRUPT PROCESSING Chapter 12: Interrupts Introduction In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is

More information

Chapter 12: Interrupts

Chapter 12: Interrupts Chapter 12: Interrupts Introduction In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is

More information

Revision: 5/7/ E Main Suite D Pullman, WA (509) Voice and Fax. Power jack 5-9VDC. Serial Port. Parallel Port

Revision: 5/7/ E Main Suite D Pullman, WA (509) Voice and Fax. Power jack 5-9VDC. Serial Port. Parallel Port Digilent Digilab 2 Reference Manual www.digilentinc.com Revision: 5/7/02 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilab 2 development board (the D2) features the

More information

Digilab 2E Reference Manual

Digilab 2E Reference Manual Digilent 2E System Board Reference Manual www.digilentinc.com Revision: February 8, 2005 246 East Main Pullman, WA 99163 (509) 334 6306 Voice and Fax Digilab 2E Reference Manual Overview The Digilab 2E

More information

HP 48 I/O Technical Interfacing Guide

HP 48 I/O Technical Interfacing Guide HP 48 I/O Technical Interfacing Guide HP 48 I/0 Technical Interfacing Guide CONTENTS INTRODUCTION... 3 WIRED SERIAL I/O HARDWARE... 3 CABLE WIRING... 3 SERIAL FORMAT... 5 Example: an 'H' (48 hex)... 5

More information

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 6 Ch.3 Addressing Modes 1 Chapter Objectives Explain the operation of each data-addressing mode. Use data-addressing modes to form

More information

WiFi to RS-232 adapter user manual

WiFi to RS-232 adapter user manual WiFi to RS-232 adapter user manual WiFi to RS-232 adapter Package Contents: WiFi RS-232 adapter x 1 A4 User manual x 1 Mini USB Cable x 1 White Box Dimension: 11 x 6 x 5 (cm) Total Package Weight: 126

More information

Rapid28iXL PIC Prototyping PCB User Manual

Rapid28iXL PIC Prototyping PCB User Manual Description Features This is a PCB designed to facilitate the rapid prototyping of a device based on a 28 pin Microchip PIC microcontroller. To allow users to focus on their application, we take care of

More information

Saturn Reader User Manual

Saturn Reader User Manual FCC Compliance Saturn Reader User Manual Version 1.00 On Track Innovations Ltd. (O T I) P/N 1100054F P/N 1100054F page 0 FCC Compliance FCC Compliance This device (Reader Saturn 3000) complies with Part

More information

BeagleBone Black USB Expansion RS232 Module Cape Coolgear, Inc. Version 1.1 September 2017 Model Number:

BeagleBone Black USB Expansion RS232 Module Cape Coolgear, Inc. Version 1.1 September 2017 Model Number: BeagleBone Black USB Expansion RS232 Module Cape Product Manual Coolgear, Inc. Version 1.1 September 2017 Model Number: USB-2COM-BB 2 USB-2COM-BB Product Manual Revision History Revision Date Author Comments

More information

Dual Serial Shield User Manual

Dual Serial Shield User Manual Dual Serial Shield User Manual PN: 2050 Berkshire Products, Inc. Phone: 770-271-0088 http://www.bkp-store.com/ Rev: 1.00 Copyright 2013 Table of Contents 1 Introduction... 2 1.1 XB compatibility... 2 2

More information

Ver.2.20 COM-2P(PCI)H COM-4P(PCI)H Features Cable & Connector (Option)

Ver.2.20 COM-2P(PCI)H COM-4P(PCI)H Features Cable & Connector (Option) RS-C ch Serial I/O Board with Isolation COM-P(PCI)H RS-C ch Serial I/O Board with Isolation COM-P(PCI)H This board is a PCI interface board for performing RS-C serial communications with external devices

More information

Lab 8 RS232 October 22, 2015

Lab 8 RS232 October 22, 2015 Lab 8 RS232 October 22, 2015 In this lab you will use the Serial Communications Interface (SCI) system on the HCS12 microcontroller to send and receive characters using the RS232 signal format. You will

More information

Rapid40iXL PIC Prototyping PCB User Manual

Rapid40iXL PIC Prototyping PCB User Manual Description This is a PCB designed to facilitate the rapid prototyping of a device based on a 40 pin Microchip PIC microcontroller. To allow users to focus on their application, we take care of key housekeeping

More information

1. Implemented CM11 protocol

1. Implemented CM11 protocol 1. Implemented CM11 protocol 1.1. Housecodes and Device Codes. The housecodes and device codes range from A to P and 1 to 16 respectively although they do not follow a binary sequence. The encoding format

More information

Assignment no:4 on chapter no :3 : Instruction set of 8086

Assignment no:4 on chapter no :3 : Instruction set of 8086 Assignment no:4 on chapter no :3 : Instruction set of 8086 1) Describe any two string operation instruction of 8086 with syntax & one example of each. 1] REP: REP is a prefix which is written before one

More information

1.14 RS232 Serial Data Interface (Optional):

1.14 RS232 Serial Data Interface (Optional): GENERAL 1.14 RS232 Serial Data Interface (Optional): An RS232 Serial Data Interface has been incorporated for aircraft requiring this type of connection. This feature allows customers to use the Alpha

More information

Features: Analog to Digital: 12 bit resolution TTL outputs, RS-232 tolerant inputs 4.096V reference (1mV/count) 115K max speed

Features: Analog to Digital: 12 bit resolution TTL outputs, RS-232 tolerant inputs 4.096V reference (1mV/count) 115K max speed The Multi-I/O expansion board gives users the ability to add analog inputs and outputs, UART capability (for GPS or modem) and isolated high current outputs to the Flashlite 386Ex. Available in several

More information

MP Assignment III. 1. An 8255A installed in a system has system base address E0D0H.

MP Assignment III. 1. An 8255A installed in a system has system base address E0D0H. MP Assignment III 1. An 8255A installed in a system has system base address E0D0H. i) Calculate the system addresses for the three ports and control register for this 8255A. System base address = E0D0H

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Name : MICROPROCESSORS AND INTERFACING Code : AEC021 Class : B.

More information

Wrenchman, Inc Old Hwy. # 8 Suite # 122 New Brighton, Minnesota (651)

Wrenchman, Inc Old Hwy. # 8 Suite # 122 New Brighton, Minnesota (651) Wrenchman, Inc. 1801 Old Hwy. # 8 Suite # 122 New Brighton, Minnesota 55112 (651) 638-9012 468X Interface Cable Specifications The Interface Cable emulates the Async RS-232 logical interface supported

More information

QuVIS CONNECTOR PINOUT GUIDE

QuVIS CONNECTOR PINOUT GUIDE QuVIS CONNECTOR PINOUT GUIDE The following sections describe the rear panel connector pinouts. Analog Audio/LTC timecode breakout cable AES Digital Audio connector (rear panel) GPI I/O connector RS-422

More information

The I-7530A-MR Modbus RTU to CAN Converter

The I-7530A-MR Modbus RTU to CAN Converter The I-7530A-MR Modbus RTU to CAN Converter User s Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery

More information

Appendix A Cable Pinouts

Appendix A Cable Pinouts Appendix A Cable Pinouts This appendix lists the cables and connector pinout assignments for the cables used with the ERX-7xx models and ERX-14xx models. Topic Page SRP I/O Module 163 CT1 and CE1 I/O Modules

More information

User Manual VScom PCI Cards VScom Industrial Card

User Manual VScom PCI Cards VScom Industrial Card User Manual VScom PCI Cards VScom Industrial Card Edition: July 2011 Tel: +49 40 528 401 0 Fax: +49 40 528 401 99 Web: www.visionsystems.de Support: service@visionsystems.de The software described in this

More information

User s Manual Closer to Real, Zigbee Module ZIG-100. Wireless Communication. ROBOTIS CO.,LTD

User s Manual Closer to Real, Zigbee Module ZIG-100. Wireless Communication. ROBOTIS CO.,LTD User s Manual 2006-07-06 Closer to Real, Wireless Communication ROBOTIS CO.,LTD. www.robotis.com +82-2-2168-8787 Contents 1. Page 02 2. Zigbee Setting Page 06 3. PC Interface Zig Board Schematic Page 10

More information

LAB 3: Programming in Assembly Language

LAB 3: Programming in Assembly Language INTERNATIONAL ISLAMIC UNIVERSITY OF MALAYSIA Kulliyyah Of Engineering Department Of Electrical Engineering ELECTRICAL AND COMPUTER ENGINEERING LAB II (ECE 2202) Name: Matric Number: Group: Section: Date:

More information

General Specifications

General Specifications General Specifications GS 48D50Z00-00E-N C0-950-00 Basic Communication System ProSafe-COM A major part of this functionality is mapped upon an industrial PC, thus representing ProSafe- COM. The basic hardware

More information

USB to serial chip CH340

USB to serial chip CH340 The Data Sheet of CH340 (the first) 1 USB to serial chip CH340 1 Introduction English Data Sheet Version: 2C http://wch.cn CH340 is a USB bus conversion chip, it can realize USB to UART interface or USB

More information

Product Manual. 2 Port USB to RS-422 /485 Optical Isolated Adapter. Coolgear, Inc. Version 1.1 March 2018 Model Number: USB-2COMi-Si-M

Product Manual. 2 Port USB to RS-422 /485 Optical Isolated Adapter. Coolgear, Inc. Version 1.1 March 2018 Model Number: USB-2COMi-Si-M 2 Port USB to RS-422 /485 Optical Isolated Adapter Product Manual Coolgear, Inc. Version 1.1 March 2018 Model Number: USB-2COMi-Si-M 2 USB-2COMi-Si-M Product Manual Revision History Revision Date Author

More information

TABLE OF CONTENTS. Communication Functions

TABLE OF CONTENTS. Communication Functions TABLE OF CONTENTS Chapter 1: Chapter 2: Chapter 3: Chapter 4: General Features....................................................... 1-1 Functions......................................................

More information

RS-422A/485 Serial I/O Board with Isolation for PCI. Features. Cable & Connector (Option) Product Configuration List.

RS-422A/485 Serial I/O Board with Isolation for PCI. Features. Cable & Connector (Option) Product Configuration List. Ver..0 RS-A/ Serial I/O Board with Isolation for PCI ch ch COM-PD(PCI)H This board is a PCI bus interface board for performing RS-A/ serial communications with external devices. The has two RS-A/ serial

More information

A4 Sample Solution Ch3

A4 Sample Solution Ch3 A4 Sample Solution Ch3 2. AL, AH, BL, BH,CL,CH,DLl, DH 3. AX, BX, CX, DX, SP, BP, SI, DI, CS, DS, ES, SS, FS, GS 4. EAX, EBX, ECX, EDX, ESP, EBP, EDI, ESI 5. RAX, RBX, RCX, RDX, RSP, RBP, RSI, RDI and

More information

Embedded Systems and Software. Serial Communication

Embedded Systems and Software. Serial Communication Embedded Systems and Software Serial Communication Slide 1 Using RESET Pin on AVRs Normally RESET, but can be configured via fuse setting to be general-purpose I/O Slide 2 Disabling RESET Pin on AVRs Normally

More information

DEBUGGING SERIAL COMMUNICATIONS WITH OTHER DEVICES

DEBUGGING SERIAL COMMUNICATIONS WITH OTHER DEVICES DEBUGGING SERIAL COMMUNICATIONS WITH OTHER DEVICES NOTE: This application note is intended for users connecting an external device to a HomeVision serial port. It may be helpful to users connecting to

More information

Cable Pinouts. SRP I/O Module

Cable Pinouts. SRP I/O Module Cable Pinouts A This appendix lists the cables and connector pinout assignments for the cables used with the ERX-7xx models and ERX-14xx models. Topic Page SRP I/O Module A-1 CT1 and CE1 I/O Modules A-4

More information

Objectives. Saving Interrupt Vectors. Writing a Custom Interrupt Handler. Examples of use of System functions for Input-Output and Interrupts

Objectives. Saving Interrupt Vectors. Writing a Custom Interrupt Handler. Examples of use of System functions for Input-Output and Interrupts ICT106 Fundamentals of Computer Systems Week 11 Practical Examples of use of System functions for Input-Output and Interrupts Objectives To illustrate how to write interrupt service routine (ISR) for Intel

More information

LM058 Bluetooth Serial Adapter SMA Antenna 100m m Range SPP GAP + Wireless DTR DSR RTS CTS

LM058 Bluetooth Serial Adapter SMA Antenna 100m m Range SPP GAP + Wireless DTR DSR RTS CTS LM0 Bluetooth Serial Adapter SMA Antenna Features The can communicate with another Bluetooth serial adapter or Bluetooth devices such as laptops, desktops, PDA s or mobile phones. Supports Bluetooth Serial

More information