Digi One SP Application guide

Chipsmall Limited consists of a professional team with an average of over 10 year of expertise in the distribution
of electronic components. Based in Hongkong, we have already established firm and mutual-benefit business
relationships with customers from,Europe,America and south Asia,supplying obsolete and hard-to-find components
to meet their specific needs.
With the principle of “Quality Parts,Customers Priority,Honest Operation,and Considerate Service”,our business
mainly focus on the distribution of electronic components. Line cards we deal with include
Microchip,ALPS,ROHM,Xilinx,Pulse,ON,Everlight and Freescale. Main products comprise
IC,Modules,Potentiometer,IC Socket,Relay,Connector.Our parts cover such applications as commercial,industrial,
and automotives areas.
We are looking forward to setting up business relationship with you and hope to provide you with the best service
and solution. Let us make a better world for our industry!
Contact us
Tel: +86-755-8981 8866 Fax: +86-755-8427 6832
Email & Skype: [email protected]om Web: www.chipsmall.com
Address: A1208, Overseas Decoration Building, #122 Zhenhua RD., Futian, Shenzhen, China

DigiConnectSP®and
Digi Connect®Wi‐SP
HardwareReference
90000540_F
Release date: April 2011

© 2011 Digi International Inc.
All Rights Reserved.
Digi, Digi International, the Digi logo, a Digi International Company, Digi Connect SP, Digi Connect Wi-SP,
Net +, NET + OS, Net+Works are trademarks or registered trademarks of Digi International, Inc. in the United
States and other countries worldwide. All other trademarks are the property of their respective owners.
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.

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.
Support Information
To get help with a question or technical problem or make comments and recommendations
about Digi products and documentation, use the following contact information.
General Customer Service and Support
Digi International
11001 Bren Road East
Minnetonka, MN 55343
U.S.A.
United States: 1 877-912-3444
Other Locations: 1 952-912-3444
www.digiembedded.com/support
www.digiembedded.com

4
Contents
Purpose ............................................................................................................................. 3
Related Documentation .................................................................................................... 3
Support Information ......................................................................................................... 3
Chapter 1: Introducing the Digi Connect SP & Digi Connect Wi-SP Hardware ........... 6
Hardware Overview ......................................................................................................... 6
LEDs................................................................................................................................. 7
Reset Button ..................................................................................................................... 8
Antenna ............................................................................................................................ 8
MEI 232/422/485 Switch Settings ................................................................................... 9
DB-9 Connector ............................................................................................................. 10
JTAG Interface ............................................................................................................... 11
Power Jack......................................................................................................................12
Chapter 2: Programming Considerations......................................................................... 13
GPIO............................................................................................................................... 13
General Information ............................................................................................. 13
GPIO Registers..................................................................................................... 13
GPIO Pin Use ................................................................................................................. 14
LEDs............................................................................................................................... 15
General information ............................................................................................. 15
About LEDs.......................................................................................................... 15
Flash ............................................................................................................................... 15
General Information ............................................................................................. 15
Memory ..........................................................................................................................16
Reset Button ................................................................................................................... 16
Appendix A: Specifications ................................................................................................... 17
Network Interfaces ......................................................................................................... 17
Serial Interface ............................................................................................................... 18
Data Rates (bps) ............................................................................................................. 18
Flow Control Options..................................................................................................... 18
Environmental ................................................................................................................ 18

5
Power Requirements ...................................................................................................... 18
Mechanical ..................................................................................................................... 19
Antenna Information ...................................................................................................... 20
Antenna Strength ................................................................................................. 20
Antenna Details.................................................................................................... 20
RF Exposure Statement.................................................................................................. 23
Overlay Specifications ................................................................................................... 24
Appendix B: Certifications ................................................................................................... 26
FCC Part 15 Class A ...................................................................................................... 26
Radio Frequency Interference (RFI) (FCC 15.105(a).......................................... 26
Labeling Requirements (FCC 15.19)................................................................... 26
Modifications (FCC 15.21).................................................................................. 26
Cables (FCC 15.27) ............................................................................................. 26
Industry Canada ............................................................................................................. 27
International EMC Standards......................................................................................... 27
Appendix C: Change Log ..................................................................................................... 28
Revision E ......................................................................................................................28
Revision D......................................................................................................................28
Revision C......................................................................................................................28

6
Introducing the Digi Connect SP &
Digi Connect Wi-SP Hardware
CHAPTER 1
Hardware Overview
The following figure identifies various Digi Connect SP and Digi Connect Wi-SP connectors, LEDs
and switches.
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

7
Digi Connect SP Hardware Reference
Digi Connect Wi-SP Overview
LEDs
Digi Connect SP and Digi Connect Wi-SP have three LEDs. Two 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 15 for more 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

8
Reset Button
The behavior of the reset button is user-defined. See “Reset Button” on page 16 and the NS520 BSP
Porting Guide for LED programming information.
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..
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

9
Digi Connect SP Hardware Reference
MEI 232/422/485 Switch Settings
These switches set the MEI (multiple electrical interface) line protocol on the serial interface.
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
*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
**

10
DB-9 Connector
The figure and table provide information on DB-9 pin orientation and pin assignments.
DB-9 Pin Orientation
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-
0
0000006
Pin 1 Pin 5
Pin 6 Pin 9

11
Digi Connect SP Hardware Reference
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.
Digi Connect SP JTAG Debugger Connector
JTAG Debugger Connector Pin Assignments
Pin
1
Pin
2
Pin
3
Pin
4
Pin
5
Pin
6
Pin
7
Pin
8
Pin
9
Pin
10
Pin
11
Pin
12
Pin
13
Pin
14
VCC+ GND /TRST GND TDI GND TMS GND TCK GND TDO /SRST VCC+ GND

12
Power Jack
The Power Jack is a locking 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. Customers wishing to
purchase the locking barrel connector for their DC supply, please contact Digi.
Power Jack Polarity, Schematic
Power Jack Polarity
Contact Polarity
Center +9 to +30 VDC
Outer Ground

13
Digi Connect SP Hardware Reference
Programming Considerations
CHAPTER 2
This chapter discusses programming considerations 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 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.

14
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 Pin Use
GPIO Configuration
Input Output
– CMODE = 0
–CDIR=0
–CSF=0
–CMODE=0
–CDIR=1
– CSF = 0
GPIO Pin Use
Register Bit Category External
Interface Description
PORTA7 -
PORTA0 Reserved NA NA
PORTC7 Reserved NA NA
PORTC6 Allocated Connected to the
red LED
Used as a power indicator (always on).
It could be reassigned as a general
purpose LED. It must remain a GPIO
output for the LED to operate correctly.
The LED is lit when the signal is a logic
"high."
PORTC5 Available Connected to the
reset button. It should be configured as a GPIO input.
PORTC4 -
PORTC0 Reserved NA NA

15
Digi Connect SP Hardware Reference
LEDs
General information
The device server has two types of LEDs:
LEDs connected directly to GPIO pins on the processor and controlled directly in
software
LEDs connected to other hardware components (normally the Ethernet hardware) and
not directly programmable by the operating system
The development kit supplies software to control the LEDs. This behavior can often be modified by
manipulating the LED table in the BSP code. See gpio.c for details.
As with any GPIO output, the GPIO register must be properly configured in order to assert values
on the pin. The appropriate bits should be configured as:
CMODE = 0
CDIR = 1
CSF=0
About LEDs
The device server has three LEDs:
The green LED is wired directly to the Ethernet hardware and indicates that a link has
been established.
The yellow LED is wired directly to the Ethernet hardware and signals Ethernet activity.
The red LED is software programmable. It is wired to processor GPIO register bit
PORTC6. The LED is wired to be active high. The development kit software is
implemented by default so that this LED reflects "power" (and is, therefore, always lit).
Flash
General Information
Digi Connect SP and Digi Connect Wi-SP device servers each have 4 MB of flash memory, which is
controlled by chip select 0, located at 0x02000000.

16
Memory
Digi Connect SP and Digi Connect Wi-SP device servers each have 16 MB of SDRAM memory,
which is controlled by chip select 1, located at 0x00000000 in the processor address space and
aliased at 0x04000000 and 0x08000000. The application program (EOS) is loaded at address
0x08080000.
Reset Button
The device servers have a push button connected to a GPIO pin. This pin is named
"/INIT." In the processor, the GPIO register bit associated with "/INIT" is PORTC5. The GPIO pin
will read as high normally, and low when the button is pushed. See "Reset Button" on page 8 for the
external location.

17
Digi Connect SP Hardware Reference
Specifications
APPENDIX A
Network Interfaces
Digi Connect SP
RJ-45 connector
10/100Base-T
Half- and full-duplex support
Digi Connect Wi-SP
Standard: IEEE 802.11b
Data Rate: Up to 11 Mbps with automatic fallback
WEP (64-bit and 128-bit encryption)
WPA (Wi-Fi Protected Access)/WPA2/802.11i
Frequency: 2.4 GHz
Modulation: CCK (11/5 Mbps), DQPSK (2 Mbps), DBPSK (1 Mbps)
Transmit power: 16 dBm typical
Receive sensitivity:
– 1Mbps: -92 dBm
– 2Mbps: -89 dBm
– 5.5Mbps: -87 dBm
– 11Mbps: -82 dBm
Antenna connector: RP-SMA
10/100Base-T auto-sensing
Half- and full-duplex support

18
Serial Interface
One EIA-232/422/485 switch-selectable serial port with full modem control.
Data Rates (bps)
50, 110, 134, 150, 200, 300, 600, 1200, 2400, 3600, 4800, 9600, 19200, 38400, 57600, 115200,
230400
Flow Control Options
RTS/CTS, XON/XOFF, None
Environmental
Power Requirements
Note: The Digi Connect SP and Digi Connect Wi-SP must be powered by a
Listed LPS or Class II power supply rated 9-30 VDC, 0.37 A minimum.
Digi Connect SP Digi Connect Wi-SP
Ambient Temperature -40oF to 185oF
(-40oC to 85oC)
-4oF to 185oF
(-20oC to 85oC)
Storage Temperature -400F to 2570F
(-400C to 1250C)
Humidty 5% to 90%
Altitude 12000 feet
(3657.60 meters)

19
Digi Connect SP Hardware Reference
Mechanical
Digi Connect SP
Length: 3.876 inches (9.846 cm)
Width: 1.680 inches (4.267 cm)
Height: 0.999 inches (2.537 cm)
Unit Weight: 2.29 oz (64.92 g)
Digi Connect Wi-SP
Length: 3.876 inches ( 9.846 cm)
Width: 1.680 inches (4.267 cm)
Height: 0.999 inches (2.537 cm)
Unit Weight: 1.968 oz ( 55.792 g)
Antenna: .408 oz (11.567 g)
Total Unit with Antenna: 2.376 oz (67.359 g)
Other manuals for One SP
6
This manual suits for next models
1
Table of contents
Other Digi Cables And Connectors manuals