Digi One SP Application guide

DigiConnectSP and
Digi Connect Wi‐SP
HardwareReference
TM
TM
90000540_E


© Digi International Inc. 2003, 2004, 2005. All Rights Reserved.
The Digi logo is a registered trademark of Digi International, Inc.
Digi Connect SP and Digi Connect Wi-SP are trademarks of Digi International, Inc.
NetSilicon, NET+Works, NET+OS, and NET+ are trademarks of NetSilicon, Inc.
All other trademarks mentioned in this document are the property of their respective owners.
Information in this document is subject to change without notice and does not represent a
commitment on the part of Digi International.
Digi provides this document “as is,” without warranty of any kind, either expressed or implied,
including, but not limited to, the implied warranties of fitness or merchantability for a particular
purpose. Digi may make improvements and/or changes in this manual or in the product(s) and/or the
program(s) described in this manual at any time.
This product could include technical inaccuracies or typographical errors. Changes are periodically
made to the information herein; these changes may be incorporated in new editions of the
publication.


5
Contents
About This Guide .....................................................................................................................7
Purpose.............................................................................................................................7
Related Documentation....................................................................................................7
Chapter 1: Introducing the Digi Connect SP & Digi Connect Wi-SP Hardware ............9
Hardware Overview .........................................................................................................9
LEDs...............................................................................................................................11
Reset Button...................................................................................................................12
Antenna ..........................................................................................................................13
MEI 232/422/485 Switch Settings .................................................................................13
DB-9 Connector .............................................................................................................14
JTAG Interface...............................................................................................................15
Power Jack......................................................................................................................16
Chapter 2: Programming Considerations..........................................................................19
GPIO...............................................................................................................................19
GPIO Pin Use.................................................................................................................21
LEDs...............................................................................................................................21
Flash ...............................................................................................................................22
Memory..........................................................................................................................22
Reset Button...................................................................................................................23
Appendix A: Specifications.................................................................................................. 25
Network Interfaces.........................................................................................................25
Serial Interface ...............................................................................................................26
Data Rates (bps) .............................................................................................................26
Flow Control Options.....................................................................................................26

Contents
6
Environmental................................................................................................................ 26
Power Requirements ...................................................................................................... 27
Mechanical..................................................................................................................... 27
Antenna Information...................................................................................................... 28
RF Exposure Statement.................................................................................................. 32
Overlay Specifications................................................................................................... 33
Appendix B: Certifications ................................................................................................. 35
FCC Part 15 Class A...................................................................................................... 35
Industry Canada ............................................................................................................. 36
International EMC Standards......................................................................................... 37
Appendix C: Change Log.................................................................................................... 39
Revision D......................................................................................................................39
Revision C......................................................................................................................39

7
About This Guide
Purpose
The purpose of this guide is to assist developers creating custom embedded software for the
Digi Connect SP and Digi Connect Wi-SP platform using the NET+OS operating system
and tools.
Related Documentation
See the NS7520 Hardware Reference for information on the NS7520 chip.
See the NET+Works BSP Porting Guide for additional programming information.

Related Documentation
8

9
Introducing the
Digi Connect SP &
Digi Connect Wi-SP
Hardware
CHAPTER 5
Hardware Overview
The following figure identifies various Digi Connect SP and Digi Connect Wi-SP
connectors, LEDs and switches.

Hardware Overview
10
Digi Connect SP Hardware Reference
Digi Connect SP Hardware Overview
Note
MEI switches and the Reset button are in the same location for both the Digi
Connect SP and Digi Connect Wi-SP.
LEDs
Ethernet
connector
Power
DB-9
MEI
switch
Reset
button

11
Digi Connect Wi-SP Overview
LEDs
The Digi Connect SP and Digi Connect Wi-SP provide three LEDs. Two of the LEDs are
connected directly to the hardware; the other is software programmable. See the following
table for more information.
LED Descriptions
LED Color Purpose
Power Red (labeled PWR) This LED is software programmable. The default is that
this LED indicates power (and is therefore always on).
See “LEDs” on page 21 for more information

Reset Button
12
Digi Connect SP Hardware Reference
Reset Button
The behavior of the reset button is user-defined. See “Reset Button” on page 23 and the
NS520 BSP Porting Guide for LED programming information.
Link Green
Network link status:
– On - unit is associated with an access point
– Blinking slowly - unit is in ad hoc mode
– Blinking quickly - unit is scanning for a
network
ACT Yellow
This LED is wired to the Ethernet hardware.
– On indicates bad initialization
– Off indicates ready
– Blinking indicates network activity
LED Descriptions
LED Color Purpose

13
Antenna
The Digi Connect Wi-SP is available with 1 RP-SMA connector. The antenna is connected
to the product with a reverse polarity SMA connector (sub-miniature size A). The antenna
only fits on the product one way to ensure a proper connection. Another option for both
signal reception and design flexibility is to use a 30cm antenna extension cord (Digi part
number DC-ANT-E-24DP) with .5dB loss to separate the antenna from the product..
MEI 232/422/485 Switch Settings
These switches set the MEI (multiple electrical interface) line protocol on the serial
interface.
Antenna Description
Type Desktop Dipole 30 cm
Antenna Extension Cord
Part number DC-ANT-24DT DC-ANT-24DP DC-ANT-E-24DP
Gain 1.8 dBi 2 dBi -.5dB
Caution: This Part 15 radio device operates on a non-interference basis
with other devices operating at this frequency when using the antennae
listed in the Antenna Specification table. Any changes or modification to
user’s authority to operate the device.
the product not expressly approved by Digi International could void the
Function Switch Setting
1 2 3 4
EIA-232 Up Down Down Down
EIA-422/485 full-duplex Down Up Down – If up, termination.
– If down, no termination
EIA-485 half-duplex Down Down Up

DB-9 Connector
14
Digi Connect SP Hardware Reference
DB-9 Connector
The figure and table provide information on DB-9 pin orientation and pin assignments.
DB-9 Pin Orientation
*If switch 4 is up, termination.
If down, no termination.
Up/On
Down/Off
EIA-232 EIA-422/485
Full-Duplex
EIA-485
Half-Duplex
**
0
0000006
Pin 1 Pin 5
Pin 6 Pin 9

15
JTAG Interface
The Digi Connect SP Development Kit is provided with the case opened, providing access
to the JTAG interface which mates with a JTAG debugger plug (for example, the Macraigor
Raven included in the kit). See the following table for pin assignments on the JTAG adapter
block provided.
DB-9 Pin Assignments
Pin EIA-232 EIA-422/485
Full-Duplex EIA-485
Half-Duplex
1 DCD CTS- Not used
2 RXD RXD+ RXD+
3 TXD TXD+ TXD+
4DTR RTS- Notused
5 GND GND GND
6DSR RXD- RXD-
7RTS RTS+ Notused
8CTS CTS+ Notused
9 NA TXD- TXD-
JTAG Debugger Connector Pin Assignments
Pin
1Pin
2Pin
3Pin
4Pin
5Pin
6Pin
7Pin
8Pin
9Pin
10 Pin
11 Pin
12 Pin
13 Pin
14
VCC+ GND /TRST GND TDI GND TMS GND TCK GND TDO /SRST VCC+ GND

Power Jack
16
Digi Connect SP Hardware Reference
Digi Connect SP JTAG Debugger Connector
Power Jack
The Power Jack is a barrel connector that accepts 9 to 30 VDC +/- 5%. The jack is labeled
as P11 on the development board. The following table shows the polarity of the power jack.
The following figure schematically represents the polarity of the power jack.
Power Jack Polarity
Contact Polarity
Center +9 to +30 VDC
Outer Ground

17
Power Jack Polarity, Schematic

Power Jack
18
Digi Connect SP Hardware Reference

19
Programming
Considerations
CHAPTER 6
This chapter discusses programming consideration for the Digi Connect SP and Digi
Connect Wi-SP and the NS7520 processor it is based on.
GPIO
General Information
The NS7520 processor supports 16 general purpose I/O (GPIO) pins, some of which are
reserved for specific functions and some of which can be customized. These pins fall into
three categories:
Those labeled “Reserved” in the following table are dedicated to a specific use
and must not be reprogrammed, or the unit may not operate correctly. Often,
these pins are not connected to external interfaces.
Those labeled “Allocated” in the following table are exposed to an external
interface and allocated to a specific use by the software but can be customized
safely with code modifications.
Those labeled “Available” are exposed to an external interface, not controlled
directly by the software, and can be customized.

GPIO
20
Digi Connect SP Hardware Reference
GPIO Registers
Two registers, named PORTA and PORTC, govern the 16 GPIO pins. Each register is
responsible for eight pins, and each GPIO pin uses the following four bits to completely
describe its behavior:
Mode (CMODE)
Direction (CDIR)
Special function (CSF). This is only applicable to PORTC.
Data value
The first three bits describe the functionality of the GPIO pin. The data bit provides the
current value of the pin when read and allows control of the value of an output pin when
written.
In order to configure a pin as either a GPIO input or GPIO output, the corresponding bit
positions in the appropriate register must be configured according to the information in the
following table:
Since each register controls 8 GPIO pins, it is safest to read the full 32 bit register, modify
the bits corresponding to the pin, and then write the full 32 bits back. In this way, the
behavior of other GPIO pins will be preserved.
For more information regarding the format and programming of the GPIO registers, see the
NS7520 Hardware Reference.
GPIO Configuration
Input Output
– CMODE = 0
–CDIR=0
–CSF=0
–CMODE=0
–CDIR=1
– CSF = 0
Other manuals for One SP
6
This manual suits for next models
1
Table of contents
Other Digi Cables And Connectors manuals