background image

Serial Port Basics 

SDR2-USB Configuration Guide rev 1.0 

34 

modem

 cable because it can connect two terminals (DTE’s) without the use 

of modems (DCE’s). Note that GND pins are always connected. 

Most devices have female connectors (DB9 or DB25) if they are configured 
for DCE operation and male connectors if they are configured for DTE 
operation, but this is not always the case. 

There is a simple trick for determining whether a device is DTE or DCE. 
Connect a voltmeter’s ground line to the connector’s GND pin. Then, probe 
the voltage on the TD and RD pins. If the TD pin voltage is small (-
3V<Vin<+3V), the device is configured to receive data on the TD pin, and 
thus is a DCE device. Likewise, if the RD pin voltage is small, the device is 
receiving data on the RD pin, and thus is DTE. 

A.3.3 Handshaking 

Handshaking signals by the receiving device to tell the transmitter “I am 
ready for data” or “I am not ready for data.”  These signals are optional: the 
receiver may always be ready for data or may choose to simply discard data it 
couldn’t process. 

A DTE device asserts the “request to send” (RTS) signal when it is ready to 
receive data and deasserts it when it cannot accept data. Likewise, a DCE 
device asserts “clear to send” (CTS) when it is ready to receive data. The 
RTS and CTS signals form a 

handshaking pair

, and their use constitutes 

RTS/CTS handshaking

The “data terminal ready” (DTR) signal, asserted by the DTE, and the “data 
set ready” (DSR) signal, asserted by the DCE serve similar functions and 
constitute 

DTR/DSR handshaking

. A DTE or DCE devices may employ 

either or both forms of handshaking. Often, deasserting RTS or CTS signals 
“micro” events, such as a buffer that is full but will be empty soon, while 
deasserting DTR or DSR may signal “major” events such as that power has 
not been applied. 

RTS/CTS handshaking and DTR/DSR handshaking are both referred to as 

hardware handshaking

. Another form of handshaking, XON/XOFF or 

software handshaking

, requires that the receiver send a character (Control-S, 

ASCII 19) to halt data transfer and another character (Control-Q, ASCII 
17) to resume transfer. Although this method eliminates the need for the 
RTS, CTS, DTR, or DSR signals, it suffers from slow response time by the 
receiver and renders 2 characters of the 256-character ASCII set unusable. 

A.3.4 Voltage 

levels 

For noise immunity and long cable lengths, RS-232 devices convert 
TTL/CMOS-level signals (0V=logic zero, +5V or +3.3V=logic one) to 
higher voltage bipolar signals. For the TD and RD signal lines, RS-232 
devices use a voltage between –3V and –25V to transmit a one and a voltage 
b3V and +25V to transmit a zero. For the other signal lines (RTS, 

Summary of Contents for DATABRIDGE SDR2-USB

Page 1: ...ACUMEN INSTRUMENTS CORPORATION DataBridge SDR2 USB Configuration Guide revision 1 0 04 2009...

Page 2: ......

Page 3: ...and complete However different versions of this product have different features and capabilities and this manual only reflects one of those versions Therefore Acumen Instruments Corporation assumes no...

Page 4: ......

Page 5: ...es about filenames 12 2 5 Configuring file creation behavior 13 2 6 Adding time stamps to recorded files 13 2 7 Testing your configuration 14 3 Operations 15 3 1 Setup file reading 15 3 2 Record mode...

Page 6: ...acting Acumen Instruments Corporation 29 6 2 1 Technical support 29 6 2 2 U S Mail 29 6 2 3 E mail 29 6 2 4 World Wide Web 29 6 3 Returning Equipment 29 6 4 Warranty 30 6 4 1 One year warranty 30 6 4...

Page 7: ...esigned for use with USB storage media such as USB flash memory keys During Record mode the SDR2 USB s data port accepts RS 232 serial data from your data source The SDR2 USB data port supports baud r...

Page 8: ...idge SDR2 USB On the front of the SDR2 USB are the USB A socket record button and LED indicators The SDR2 USB can be toggled in and out of record mode using the record button located on the front pane...

Page 9: ...ar panel If you use an alternate power source it should be capable of sourcing at least 1W power When you apply power the power indicator should light and the other indicators should flash in sequence...

Page 10: ...om 9600 bps Figure 1 4 Editing a simple setup txt file Close Windows Notepad then right click the USB device s drive letter and click Eject to safely remove the device from your system Insert the USB...

Page 11: ...n data is written to files Add time stamps to recorded files Before you begin be sure you have the documentation available for the device you ll connect to your SDR2 USB If possible be sure you can co...

Page 12: ...ar line temporarily insert at the beginning of the line 2 2 Setting date and time The SDR2 USB features a real time clock that reports a file s last modified date and time The real time clock accurate...

Page 13: ...e front panel The SDR2 USB will the operate normally Step 4 Re edit setup txt Remove the USB storage device from the SDR2 USB and edit the setup file using Windows Notepad on the PC Disable the Curren...

Page 14: ...the setup file with a value of 8N1 7E1 etc 2 4 Specifying a filename and folder By default the SDR2 USB records data to a file called SDR 0000 DAT located in the DATA subfolder in the storage device...

Page 15: ...ldest file found in the recording directory if necessary When this mode is enabled the SDR2 USB will delete the oldest file on the disk whenever recording starts and the storage media has less than 1...

Page 16: ...tamping See section 4 1 5 for more details on custom date time stamps 2 7 Testing your configuration To test your configuration use a null modem adapter or cable to connect a computer running terminal...

Page 17: ...pens it Once the SDR2 USB has successfully opened the file the record indicator turns on and the SDR2 USB enters record mode Once in record mode the SDR2 USB records any data received on the data port...

Page 18: ...om the Windows Command Prompt 3 2 5 Filename generation When operating with Append 0 see section 4 1 3 unique new filenames are generated based on the specified filename This is done to avoid overwrit...

Page 19: ...e systems be sure your card is formatted using FAT or FAT32 Figure 3 2 Formatting a small USB memory key using the FAT file system 3 2 8 Partitions In some cases disks are partitioned to contain multi...

Page 20: ...battery with a Panasonic CR2032 or equivalent making sure the positive face is in contact with the battery clip After replacing the battery be sure to reset the SDR2 USB s time and date 3 4 Resetting...

Page 21: ...p to set the real time clock s time and date values After including these lines in the setup file power up the SDR2 USB and press the record button to synchronize the clock then re edit the setup file...

Page 22: ...ndshaking 0 off DataPortHandshake 0 4 1 3 Recording Behavior Commands Filename default DATA SDR 0000 DAT The Filename command sets both the location and name of the file to be recorded To specify a fo...

Page 23: ...recorder to restart recording every hour use FileCloseSeconds 3600 3600 seconds 60 minutes 1 hour FileCloseBytes The FileCloseBytes setup file line configures the recorder to close the current file an...

Page 24: ...command to provide a template for the timestamps as they are inserted into the file Timestamp field format values are case sensitive month day and year fields must be specified in capital letters whil...

Page 25: ...connector allows for starting and stopping recording via external switches buttons or TTL CMOS digital logic The J4 connector also provides alternate outputs for the front panel fault data and record...

Page 26: ...LED s cathode to this contact and its anode to VDD via a current limiting resistor Limit current to 10 mA max Data indicator output Function is similar to the front panel Data indicator Pulses momenta...

Page 27: ...2023 ND For use with DF11 crimp contacts e g DF11 2428SCA Digi Key part number H2300 ND or pre crimped wires Digi Key part number H3BXG 101LL CW where LL length in inches C color code W wire gauge cod...

Page 28: ......

Page 29: ...count the number of rapid blinks Each sequence is separated by a 1 second pause in the blink pattern Exception 2 Root Directory Full A FAT FAT16 root directory can have only 512 directory entries few...

Page 30: ...cement Exception 8 Buffer Error firmware error Rare error that may occur in customized or beta firmware versions Contact Acumen to report Exception 9 Tasking Error firmware error Rare error that may o...

Page 31: ...Corporation 2625 N Loop Drive Suite 2200 Ames IA 50010 USA 6 2 3 E mail Acumen Instruments Corporation can be reached via e mail at info acumeninstruments com 6 2 4 World Wide Web Acumen Instruments C...

Page 32: ...by Acumen Instruments Corporation 6 4 3 Limitations ACUMEN INSTRUMENTS CORPORATION SHALL IN NO EVENT HAVE OBLIGATIONS OR LIABILITIES TO BUYER OR ANY OTHER PERSON FOR LOSS OF PROFITS LOSS OF USE OR IN...

Page 33: ...f asynchronous serial data Common PC s transfer data using the EIA RS 232C also known as V 28 or V 24 Updated versions of this standard include RS 232D and EIA TIA 232E but most literature still refer...

Page 34: ...98 NT 2000 A 2 1 Data rates and the UART Computer hardware designers solve this problem by allowing the computer to respond to characters less frequently A Universal Asynchronous Receiver Transmitter...

Page 35: ...of devices data terminal equipment DTE and data communication equipment DCE Your computer s serial port is configured for DTE operation since the computer acts as a terminal Modems and many other ser...

Page 36: ...hen it is ready to receive data The RTS and CTS signals form a handshaking pair and their use constitutes RTS CTS handshaking The data terminal ready DTR signal asserted by the DTE and the data set re...

Page 37: ...50V it is signaling the DCE to stop sending data A few devices particularly devices that communicate at low data rates or over short cables bypass the voltage conversion altogether These devices often...

Page 38: ......

Page 39: ...USB requires a 5 to 30 VDC power source power source via connectors J7 and J1 on SDR2 USB J1 is inaccessible on the SDR2 USB without removing the enclosure Recording Mode 12 VDC see data sheet Idle 12...

Page 40: ...ta bits 7 or 8 stop bits 1 or 2 Parity None even odd Handshaking RTS CTS none Table B 4 Serial communications specifications for the SDR2 USB B 3 USB socket Socket Type USB A receptacle storage capaci...

Page 41: ...Specifications SDR2 USB Configuration Guide rev 1 0 39 Notes...

Reviews: