manufacturer of I/O-rich SBCs, operator interfaces, handheld instruments, and development tools for embedded control low cost single board computers, embedded controllers, and operator interfaces for scientific instruments & industrial control development tools for embedded control order our low cost I/O-rich embedded control products embedded controller manufacturer profile single board computers & embedded controllers development tools & starter kits for your embedded design operator interfaces with touchscreens and graphical user interface plug-in expansion modules for digital & analog I/O C language & Forth language integrated development tools, IDE single board and embedded computer accessories embedded controller enclosures, bezels, environmental gaskets
Table of Contents

Introduction

Serial Communications Basics

RS232

RS422

RS485

UART Wildcard Hardware

Connecting To Mosaic Controller

Selecting the Module Address

RS422/485 Configuration Jumpers

Protocol Configuration and Direction Control Registers

Modem Handshaking Signals

UART Module Field Header

Cable Connections

Software

Overview of the Software Device Driver Functions

Installing the UART Module Driver Software

Using the Driver Code with C

Using the Driver Code with Forth

UART Direction Control in a Multitasking System

Glossary

Overview of Glossary Notation

Glossary Quick Reference

Glossary Entries

C Demonstration Program (in pdf)

Forth Demonstration Program (in pdf)

Hardware Schematics (in pdf)

UART Wildcard User Guide

<< Previous | Next>>

Cable Connections (continued)

Table 1-7 Cable for Dual RS232 9-pin D Connectors

UART Wildcard: cable for dual RS232 9 pin D connector

Table 1-7 illustrates the connections required to implement two RS232 ports, each using a 9-pin D-type connector as found on many laptops. Note that TxD at the local UART Wildcard connects to RxD at the remote, and the local RxD connects to TxD at the remote. Also note that the RS232 handshaking signals RTS and CTS are connected to each other with a shorting wire at the D connector. Similarly, the RS232 handshaking signals DSR and DTR are connected to each other at the D connector. This standard scheme makes the remote computer think that it is always OK to send and receive data.

Table 1-8 Connections for Dual RS422 Serial Ports

UART Wildcard: connections for dual RS422 serial ports

Table 1-8 defines the connections for dual RS422 ports. Local RCV pins connect to remote XMIT pins, and the polarities of the local and remote pins match (+ to +, − to −).

Table 1-9 defines the connections for dual RS485 ports. Local XCV (transceive) pins connect to remote XCV pins, and the polarities of the local and remote pins match (+ to +, − to −). Note that the two "RS485" jumper caps must be installed for each port that is configured as RS485; these short RCV+ to XMIT+, and RCV− to XMIT− for the specified serial channel.

Table 1-9 Connections for Dual RS485 Serial Ports

UART Wildcard: connections for dual RS485 serial ports

<< Previous | Next>>


Home|Site Map|Products|Manuals|Resources|Order|About Us
Copyright (c) 2006 Mosaic Industries, Inc.
Your source for single board computers, embedded controllers, and operator interfaces for instruments and automation