United Electronic Industries DN-SL-514 Series, DNA-SL-514, DNR-SL-514, DNF-SL-514 User Manual

DNx-SL-514
User Manual
Synchronous Serial Interface Board
with Differential Inputs/Outputs for the
May 2018
PN Man-DNx-SL-514
© Copyright 1998-2018 United Electronic Industries, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording, or otherwise without prior written permission.
Information furnished in this manual is believed to be accurate and reliable. However, no responsibility is assumed for its use, or for any infringement of patents or other rights of third parties that may result from its use.
All product names listed are trademarks or trade names of their respective companies.
See the UEI website for complete terms and conditions of sale:
http://www.ueidaq.com/cms/terms-and-conditions/
Contacting United Electronic Industries
Mailing Address:
27 Renmar Avenue Walpole, MA 02081 U.S.A.
For a list of our distributors and partners in the US and around the world, please contact a member of our support team:
Support:
Telephone: (508) 921-4600 Fax: (508) 668-2350
Also see the FAQs and online “Live Help” feature on our web site.
Internet Support:
Support
Website: www.ueidaq.com FTP Site: ftp://ftp.ueidaq.com
: support@ueidaq.com
Product Disclaimer:
WARNING!
DO NOT USE PRODUCTS SOLD BY UNITED ELECTRONIC INDUSTRIES, INC. AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS.
Products sold by United Electronic Industries, Inc. are not authorized for use as critical components in life support devices or systems. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. Any attempt to purchase any United Electronic Industries, Inc. product for that purpose is null and void and United Electronic Industries Inc. accepts no liability whatsoever in contract, tort, or otherwise whether or not resulting from our or our employees' negligence or failure to detect an improper purchase.
Specifications in this document are subject to change without notice. Check with UEI for current status.
DNx-SL-514 Synchronous Serial Interface Board i
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.

Table of Contents

Table of Contents
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Organization of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 SL-514 Board Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.1 Synchronous Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.2 Data Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.3 Data Word Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.4 FIFO Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.5 Software Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.5 Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.6 Device Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7 Device Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7.1 Master/Slave Device Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7.2 Serial Port Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.7.3 FIFO Operation & Timestamping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.7.4 Error Checking & Status Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.7.5 Termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.7.6 Electrical Specification for Serial Port Lines . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.8 Wiring & Connectors (pinout) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Chapter 2 Programming with the High-Level API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1 About the High-level Framework. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.2 Creating a Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3 Configuring the Resource String. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.4 Configuring an SSI Master Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.5 Configuring an SSI Slave Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.6 Configuring Minimum Pulse Widths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.7 Configuring the Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.8 Configuring Timestamps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.9 Reading Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.10 Writing Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.11 Cleaning-up the Session. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 3 Programming with the Low-Level API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1 About the Low-level API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Low-level Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3 Low-level Programming Techniques. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.3.1 Configuring Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3.2 Setting the Baud Rate Using the PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.3.3 Enabling SSI Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3.4 Writing Slave Data for Transmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
DNx-SL-514 Synchronous Serial Interface Board ii
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.
Table of Contents
3.3.5 Reading Received Master Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.3.6 Reading Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
DNx-SL-514 Synchronous Serial Interface Board iii
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.

List of Figures

List of Figures
Chapter 1 – Introduction1
1-1 Photo of DNA-SL-514 Synchronous Serial Board .........................................................6
1-2 Block Diagram of SL-514...............................................................................................7
1-3 SSI Transmission Waveform .........................................................................................8
1-4 Example of Debouncing and Tv time Delays.................................................................9
1-5 Settable Termination Circuit Diagram..........................................................................11
1-6 Pinout Diagram of the SL-514 Board...........................................................................12
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.

Chapter 1 Introduction

This document outlines the feature set and use of the DNx-SL-514 interface board for synchronous serial interface (SSI) applications.
The following sections are provided in this chapter:
Organization of this Manual (Section 1.1)
SL-514 Board Overview (Section 1.2)
Features (Section 1.3)
Specification (Section 1.4)
Indicators (Section 1.5)
Device Architecture (Section 1.6)
Device Description (Section 1.7)
Wiring & Connectors (pinout) (Section 1.8)
DNx-SL-514 Synchronous Serial Interface Board
Chapter 1 1
Introduction

1.1 Organization of this Manual

This SL-514 User Manual is organized as follows:
Introduction
Chapter 1 provides an overview of DNx-SL-514 features, device architecture, connectivity, and logic.
Programming with the High-Level API
Chapter 2 provides an overview of the how to create a session, configure the session, and interpret results with the high-level framework API.
Programming with the Low-Level API
Chapter 3 is an overview of low-level API commands for configuring and using the SL-514 series board.
Appendix A - Accessories
This appendix provides a list of accessories available for use with the DNx-SL-514 board.
Index
The index provides an alphabetical listing of the topics covered in this manual.
NOTE: A glossary of terms used with the PowerDNA Cube/RACK and I/O
boards can be viewed or downloaded from www.ueidaq.com.
DNx-SL-514 Synchronous Serial Interface Board
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.
Chapter 1 2
Introduction
Manual Conventions
To help you get the most out of this manual and our products, please note that we use the following conventions:
Tips are designed to highlight quick ways to get the job done or to reveal good ideas you might not discover on your own.
NOTE: Notes alert you to important information.
CAUTION! Caution advises you of precautions to take to avoid injury, data loss, and damage to your boards or a system crash.
Text formatted in bold typeface generally represents text that should be entered
verbatim. For instance, it can represent a command, as in the following example: “You can instruct users how to run setup using a command such as
setup.exe.” Bold typeface will also represent field or button names, as in “Click Scan
Network.”
Text formatted in fixed typeface generally represents source code or other text that should be entered verbatim into the source code, initialization, or other file.
Examples of Manual Conventions
Before plugging any I/O connector into the Cube or RACKtangle, be sure to remove power from all field wiring. Failure to do so may cause severe damage to the equipment.
Usage of Terms
Throughout this manual, the term “Cube” refers to either a PowerDNA Cube product or to a PowerDNR RACKtangle applicable. The term DNR is a specific reference to the RACKtangle, DNA to the
PowerDNA I/O Cube, and DNx to refer to both.
rack mounted system, whichever is
DNx-SL-514 Synchronous Serial Interface Board
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.
Chapter 1 3
Introduction

1.2 SL-514 Board Overview

1.2.1 Synchronous
Serial Interface
The DNx-SL-514 boards are high performance synchronous serial interface boards.
DNA-SL-514, DNR-SL-514, and DNF-SL-514 boards are compatible with the Cube, RACKtangle, and FLATRACK chassis respectively. These board versions are electronically identical and differ only in mounting hardware. The DNA version is designed to stack in a Cube chassis. The DNR/F versions are designed to plug into the backplane of a RACK chassis.
SL-514 boards provide four independent channels, each having overvoltage protection and opto-isolation.
The SL-514 offers four synchronous serial interface (SSI) channels. Each SSI channel can be programmed independently, and each SSI channel offers a master and slave port. Each master or slave port can be enabled independently.

1.2.2 Data Rates Supported data rates are between 300 bps to 1.3 Mbps, programmed

independently per channel.
The master output clock is generated with 0.1% or better accuracy.
1.2.3 Data Word
Length
Supported data word lengths are programmable from 3 to 32 bits, programmed independently per channel.

1.2.4 FIFO Storage Master (receive) data storage is provided via a 2048 word x 32 bit FIFO. Slave

(transmit) data storage is provided via a 1024 word x 32 bit FIFO.
1.2.5 Software
Support
Software included with the DNx-SL-514 provides a comprehensive yet easy to use API that supports all popular operating systems including Windows, Linux, real-time operating systems such as QNX, RTX, VxWorks and more.
DNx-SL-514 Synchronous Serial Interface Board
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.
Chapter 1 4
Introduction

1.3 Features A summary of features of the SL-514 synchronous serial interface is provided

below:
Up to 4 independent synchronous serial channels. Each channel offers
a master and a slave serial port.
Electrical specifications: RS-485/422 complaint. Fully differential I/O
using at RS-422 / RS-485 logic voltage levels
Data rates: programmable up to 1.3 Mbps
Data word length: programmable from 3 to 32 bits
Master clock source is generated with 0.1% or better accuracy
FIFO storage: 2048x32 FIFO for master (allowing 1024 data words
along with 1024 timestamps) and 1024x32 FIFO for slave, with watermark. Asynchronous event/interrupt generated upon FIFO full.
Start/stop all channels simultaneously
Debouncing/glitch removal on clock and data (when debouncing is
enabled, the maximum baud rate is restricted to 1.65 Mbaud)
Protection 7 kV ESD, 350V isolation
Power consumption 2W
DNx-SL-514 Synchronous Serial Interface Board
May 2018 www.ueidaq.com
508.921.4600
© Copyright 2018
United Electronic Industries, Inc.
SSI Ports
Baud Rate up to  MHz
Baud Rates available User selectable 0.1% accuracy or better
Data Word Length 3 - 32 bits
FIFO (on each channel) Input: 2048 word, Output: 1024 word
GENERAL SPECIFICATIONS
Protection 7 kV ESD, 350V isolation
Input High / Low voltage RS-422/485 compatible
Output High / Low voltage RS-422/485 compatible
RS-422/485 termination resistors
Software selectableȰ
Electrical Isolation 350 Vrms, chan-chan and chan-chassis
Input/output buer chip LTC1687 or equivalent
Power consumption < 3W
Operating range Tested -40 to +85 °C
Humidity range 0 - 95%, noncondensing
Vibration IEC 60068-2-6
IEC 60068-2-64
5 g, 10-500 Hz, sinusoidal 5 g (rms), 10-500 Hz, broad-band random
Shock IEC 60068-2-27
50 g, 3 ms half sine, 18 shocks @ 6 orientations 30 g, 11 ms half sine, 18 shocks @ 6 orientations
MTBF 350,000 hours
Chapter 1 5
Introduction

1.4 Specification Technical specifications for the DNx-SL-514 board are listed in Table 1-1.

Table 1-1 DNx-SL-514 Technical Specifications
Loading...
+ 23 hidden pages