RMV ELECTRONICS INC. Application Note

Similar documents
CEIBO FE-5111 Development System

I/O232-A User s Guide

General-Purpose Microcontroller Module 12a Hardware Reference Release 1.4a (October 11, 2017)

Gottlieb Universal Test Board

CEIBO FE-W7 Development System

CEIBO FE-51RD2 Development System

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

DEV-1 HamStack Development Board

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this?

Basics of UART Communication

AXE033 SERIAL/I2C LCD & CLOCK

TWR98/99. ISP Programming. Application Note. Tenx reserves the right to change or discontinue this product without notice. tenx technology inc.

9 th Generation Plasma Display. Technical Information

1/Build a Mintronics: MintDuino

The Atmel ATmega328P Microcontroller

EASY21x/23x-EVA. Evaluation Board for EASY21x / EASY23x PLC core. General Description. Ordering Information

PCI bit Digital Input/ Output Card for PCI Bus. User s Manual

PC Transporter Components PC Transporter Pinouts

Pre-Lab: Part 1 Using The Development Environment. Purpose: Minimum Parts Required: References: Handouts:

Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications

Device: MOD This document Version: 2. Matches module version: v4. Date: 10 May Description: Lightning and Storm Sensor

KNIGHT S GALLOP ALGO-RHYTHMIC GENERATOR BUILDING GUIDE

H89-Z37 DOUBLE-DENSITY FLOPPY CONTROLLER

ISA Host Controller 15a Hardware Reference Release 1.2 (October 16, 2017)

PCI-1751U. 48-bit Digital Input/Output Card with Universal PCI Bus. User Manual

PIC Serial Peripheral Interface (SPI) to Digital Pot

The Atmel ATmega168A Microcontroller

WICE-SPI Hardware Operation Manual

PCI Host Controller 14a Hardware Reference Release 1.2 (October 16, 2017)

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Downloaded from Elcodis.com electronic components distributor

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

keyestudio Keyestudio MEGA 2560 R3 Board

I2C and SPI Foundation

PIC Microcontroller Introduction

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

ARDUINO MEGA ADK REV3 Code: A000069

SimPLC. User Manual.

Breeze Board. Type A. User Manual.

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials

EasyPIC5 Development System

E6486. User Manual. The New Vision of Touch

Lecture-9 Intel 8085 Microprocessor It is a 40-pin DIP(Dual in package) chip, base on NMOS technology, on a single chip of silicon.

Logic Chip Tester User Manual SW Version /8/2012. Chapter 1 Introduction/Background

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

SM010, Assembly Manual PCB Version 1.0

**Gottlieb system80 Test Eprom V3.3 May 2015 by Marco Albus**

Chapter 19. Floppy Disk Controller Discussion. Floppy Disk Controller 127

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

I2C a learn.sparkfun.com tutorial

Reverse DDS Kit Construction

ARDUINO MEGA 2560 REV3 Code: A000067

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

PIC 28 Pin Board Documentation. Update Version 5.0

Moog Components Group Submux1 Manual December 7, 2009

Bolt 18F2550 System Hardware Manual

The MOD-1016 is a lightning sensor based on the AMS3935. It allows you to detect storms up to 40km away.

QUASAR PROJECT KIT # ATMEL AVR PROGRAMMER

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Locktronics PICmicro getting started guide

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Mercury System SB310

PCI to SH-3 AN Hitachi SH3 to PCI bus

MICROPROCESSOR RELAY FOR PROTECTION OF ELECTRICAL SYSTEMS

Version 1.0c May 6, 2010 ATK3

ED1021 I/O Expander with UART interface & analog inputs

S3 Flash In-System Programmer

ES-562/564U COMBINATION CLOCK/TIMER

SPI Storm Studio. Getting Started Guide. Revision Sep Byte Paradigm

ARDUINO LEONARDO WITH HEADERS Code: A000057

Introduction to I2C & SPI. Chapter 22

Make your own secret locking mechanism to keep unwanted guests out of your space!

Arduino ADK Rev.3 Board A000069

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

VBattery 7 VCC V DD IRLED IS31SE5001 SDA SCL INTB SDB. Figure 1 Typical Application Circuit

Figure 1. JTAGAVRU1 application The JTAGAVRU1 is supported by AVR Studio. Updated versions of AVR Studio is found on

icex-cmtm General specs and Installation guide

AKKON USB CONTROLLER BOARD

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

EASY219 / IEC CANopen Master / Slave

GPIO Option Rev.B

GETTING STARTED. Installing the System 2000 Hardware. Configuring Your System 2000 Hardware. Troubleshooting. Configuring Your System 2000 Network

Chapter Operation Pinout Operation 35

JED MICROPROCESSORS PTY LTD

Propeller Activity Board (#32910)

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

USB-to-I2C. Professional Hardware User s Manual.

BASIC Stamp Activity Board: Features and Specifications

Post Tenebras Lab. Written By: Post Tenebras Lab

Breeze Board. Type B. User Manual.

ARDUINO UNO REV3 Code: A000066

CDN503 HIGH DENSITY I/O ADAPTER USER GUIDE

Assembly Instructions CT-E Screen Read Board

TUG Combo Board

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

PiRyte Mini ATX PSU Revision User Manual

Lecture 25 March 23, 2012 Introduction to Serial Communications

Transcription:

RMV ELECTRONICS INC. Application Note Description: Using more than one ITC232-A on the same Serial Port Application #: 00023 Date: May 1994 Status: Final Version This App note has been super-seeded by the I/O-485 networked boards. However, should you choose to develop your own hardware using our integrated circuit ITC232-A, there are several ways of interfacing more than 1 ITC232-A to the same serial port. Attached are 2 examples, one using 4 bits of a parallel port and the other using the SPI. The systems are meant to allow multiplexing to 16 channels. If you wish to multiplex the serial port to 8 or less or 4 or less you can use other analog multiplexers instead (double multiplexers would allow you to use only 1 IC instead of 2). Using a parallel port (Figure 1): The principle is as follows: One board acts as master; all the others as slaves. The address of the master board is X15 on the analog multiplexers (U1 & U2). The master board is the only one which can select which board you are talking to. However, you can use that board for any other purpose provided you have 6 output lines available (in the example, PA0..PA4 & PA7). If you do not, you can always place an intermediate chip between the port and the lines and select it with just one other pin from another port or devote a master just to switching the other boards around. The master is given control whenever another board makes PA7 go from High to Low. This sends a pulse through C1..Cx to the 555 which is thus triggered hence selecting through A,B,C & D on U1 and U2 X15. Mind that you will not loose the OK message from the last board since the message is issued before the command takes place. Once switched to the master you can do 2 things: be patient and wait until the output of the 555 comes back Low (you could generate an INTL interrupt from the ITC232-A when that happens) or what is more practical, generate a Low pulse on PA4 thus resetting the timer (don't forget to bring PA4 High or to Hi-Z afterward). While, or before you pulse PA4, write ones to PA0..PA3 to retain control by the master, of the multiplexers after the 555 goes back to normal. Execute any tasks you might need with the master. Then, to choose another slave, just write the value of the next board to PA0..PA3. At power-up, the first board connected to the serial port will be the one on X0. Thus, THIS board MUST exist! Configure all your ports as required and make sure PA7 is an output. Make it go High and then Low (remember only the pulses get through the capacitors!) thus triggering the 555. While pin 3 on LM555 is High, FIRST write 31 to PA (this makes PA0..PA4 all 1's) and THEN configure PA as outputs. This is because at power-up PA is all inputs. If you make it outputs before you write to it, the first value out will be 0 on all pins thus resetting the 555 before you have a good address (all 1's) in PA0..PAC. If you write PA first and then make it outputs they immediately appear with the value you wrote to it, following a configuration as outputs. Don't worry too much about the time constant for the 555. Make it long enough to be able to write and configure U3; you will reset it anyway. PA7_I15 is not really necessary, but helps if you are not sure about which device is operating the system. Just make a Low pulse on PA7. Whichever board is in command will relinquish it immediately to the master. This configuration might benefit from assembling the master in a board designed for this purpose and we are open to any kind of possibilities should you wish us to develop some particular application. However the modifications can be implemented in our current boards. You will have to put together a small perforboard containing all but the ITC232-A in the circuit enclosed. Choose an I/O-232 to be the master. Cut the lines connecting the TX and RX lines from the ITC232-A to the voltage driver (MAX232 or TC232). Take these lines from the MAX232 to the 4067 multiplexers in the new board. Remove the MAX232 or TC232 from all the slave boards. Connect power and the X lines from the 4067 to the slave boards using discrete cables or a ribbon cable with a DIP connector that plugs in the MAX232 socket. Connect PA7 from each board to its corresponding capacitor on the board you assembled. Connect 232TX and 232RX from U3 in the master 1

board to X15 on the new board and you are in business! Using the SPI (Figure 2): This other circuit is better than the previous and you should use it if you do not need the A/D converter in the I/O-232 board. Take it out and place a jumper cable to another board containing the 74LS164 and the 4067's. The general idea is to clock out the Serial Synchronic Port (PS), the address of the 4067 pair wanted. First you have to configure PS issuing PCSA132 [Enter] (Polarity Low, in phase). Then just write the address to select the 4067 channel and therefore the ITC232-A you are talking to. For that, send PWS <address> [Enter]. The ITC232-A sends OK first and then carries out the command, thus you should be able to get the OK prompt before you get disconnected from that ITC232-A. This however might not be the case so try it (if it isn't the case then just do not wait for an OK, proceed with the next ITC232-A). C1, C2, R1 and R2 are necessary because after using PS the ITC232-A makes all of its pins inputs (PD). Here is a trick to know which ITC232-A you are talking to: Connect QA-Q on the 74164 to any parallel port. PD itself could be used if you only needed to discriminate between 8 ITC232-A's (in that case use a double 8 channel analog multiplexer thus eliminating one of the chips). Unfortunately PD3 must be connected to VCC but of course you could use 1 pin from PA, PB or PC to read the extra Q on the 74164 if you are multiplexing more than 8 channels. If you are using PD, connect the Q lines from the 74164 to PD via a 20K resistor. This will allow normal reading of the values in PD (command = PRD [Enter]) without interfering with the pulses coming out PS. Of course, reading the address on QA-Q will tell you which ITC232-A you are connected to. 2

3

4

5

6