TM 90000632_B TM
Contents About This Guide ..................................................................................................................... 5 Scope of Reference Manual ............................................................................................. 5 Kits Contents .................................................................................................................... 5 Related Documentation .........................................................................................
GPIO .............................................................................................................................. 37 Embedded Module LEDs............................................................................................... 41 Embedded Module Reset ............................................................................................... 42 Flash ...............................................................................................................................
About This Guide ••••••••••••••••••••••••••••••••••••••••••••••••••• Scope of Reference Manual The scope of this guide is to enable developers to integrate the Digi Connect EM or Digi Connect Wi-EM modules into other devices. Graphics illustrate the placement and dimensions of components for both the modules and the development board. Information for both the Digi Connect EM and the Digi Connect Wi-EM are identical unless called out specifically in the manual.
Kits Contents Complete development board with EIA-232 serial ports, signal status indicators, logic analyzer connectors, test points, and a self-contained GPIO test bed.
Hardware debugger Complete set of networking protocols and applications software Related Documentation See the NS 7520 Hardware Reference for information on the NS 7520 chip. 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.
Support Information 8 D i g i C o n n e c t E M & W i - E M H a r d w a r e R e f e r e n c e
About the Embedded Module C H A P T E R 1 Overview Digi Connect EM and Digi Connect Wi-EM Overview The embedded modules are part of the Digi Connect family of device servers that provide simple, reliable and cost-effective network connections for serial devices.
Support Information From medical systems to building control and industrial automation, in virtually any application where embedded serial connectivity over Ethernet is needed, the embedded module is the ideal choice, delivering high-performance functionality. Cautions To guard against damage to the module due to electrostatic discharge (ESD), do not remove it from its protective packaging until you have been properly grounded.
About the Embedded Module Types of Modules The following describes the three types of Digi Connect EM and three types of Digi Connect Wi-EM modules: Choosing a Module for Your Product Although any of the embedded modules can be designed into your product, a JTAG header would typically be used only for debugging during the development process.
Types of Modules DC-EM-02T-ST C . Digi Connect EM Modules Model Description Figure Used for development purposes only DC-EM-02T-JT JTAG interface Pin headers for Ethernet and LED functionality.
About the Embedded Module Digi Connect Wi-EM Modules Model Description DC-WEM-02T-NC Figure No JTAG interface Pin headers LED functionality Dual RP-SMA Antenna Connector Ordered independently of development kit for use in your implementation DC-WEM-02T-C DC-WEM-02T-S No JTAG interface LED array Dual RP-SMA Antenna Connector Ordered independently of either development or integration kit for use in your implementation.
Connectors: Power and Serial Interface Another option for both signal reception and design flexibility is to use a "pig tail" cable Digi part number DC-ANT-EC to separate the antenna from the module. This allows the module to fit inside your product but the antenna to be placed outside the device.
About the Embedded Module Power and Serial Interface Pin Assignments Pin Signal Name Description and Notes 6 DTR/GPIO-5 Port 1 DTR (output)/GPIO-5 7 CTS/GPIO-2 Port 1 CTS (input)/GPIO-2 8 DCD/GPIO-1/SPI_EN Port 1 DCD (input)/GPIO-1/SPI enable 9 DSR/GPIO-3 Port 1 DSR (input)/GPIO-3 10 /RST Reset (input) 11 RXD/GPIO-9 Port 2 RXD (input)/GPIO-9 12 TXD/GPIO-8 Port 2 TXD (output)/GPIO-8 Connectors: Ethernet Interface The following table shows the pinout of the RJ-45 connector..
Connectors: Antenna Connectors: Antenna The Digi Connect Wi-EM has 2 RP-SMA antenna connectors labeled P2 and P3. Wi-EM Antenna Connectors 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 the product not expressly approved by Digi International could void the user’s authority to operate the device.
About the Embedded Module Reset Switch The behavior of the reset switch is determined by software, which means that it has a predefined behavior in the integration kit. In the development kit, its behavior is determined by your implementation. See the following table for details. Reset Switch Behavior Kit Integration Behavior The reset switch does one of the following: If pressed and released immediately, the device is rebooted.
Module LEDs LED behavior can be determined by your implementation. See the following table for more information.. LED Behaviors LED Top left (green) Top right (green) Pin Header EM Integration Kit Digi Connect EM Integration Kit Digi Connect Wi-EM 1 (+) 3 (-) Serial port activity: Off - the serial channel is idle. Blinking - serial data is transmitted or received. 5 (+) 7 (-) Network link status: Off - no link has been detected. On - a link has been detected.
About the Embedded Module Digi Connect EM Pin Header Locations pin 12 4 3 2 1 Ethernet pin header pin 1 8 6 7 5 4 2 3 1 LED pin header Digi Connect Wi-EM Pin Header Locations 19
Module LEDs 20 Digi Connect EM & Digi Connect Wi-EM Hardware Reference
About the Development Board C H A P T E R 2 Overview This chapter provides information on the development board, a hardware platform from which you can determine how to integrate the embedded module into your design. For additional information, see the schematic and mechanical drawings. If you have installed the development kit or integration kit, you can access the schematic from the Start menu.
Ports Basic Description Ports The development board provides the following ports: 22 Serial Port 1 (P1) and Serial Port 2 (P2) Ethernet Port (P12) D i g i C o n n e c t E M & W i - E M H a r d w a r e R e f e r e n c e
About the Development Board GPIO Port (P3) Serial Port 1 (P1) and Serial Port 2 (P2) Serial port 1 and port 2 are DB-9 male connectors labeled P1 and P2. Use the following figure and table for pin orientation and pin assignment information.
Ports Ethernet Port (P12) The Ethernet port of the Digi Connect EM embedded module (labeled P12) is an 8-pin RJ-45 jack meeting the requirements of ISO 8877 for 10/100Base-T. When two descriptions are shown for a pin, the second is for use with 802.3af powered Ethernet.
About the Development Board GPIO Port Pin Assignments Pin Signal Name 1 GND 2 GPIO-9 3 GPIO-8 4 GPIO-7 5 GPIO-6 6 GPIO-5 7 GPIO-4 8 GPIO-3 9 GPIO-2 10 GPIO-1 Connectors and Blocks The development board provides the following connectors and blocks: JTAG Debugger Connector (P4) SPI Connector (P11) and SPI Jumper Block Logic Signal Analyzer Header (P6) Main Connector (P8) JTAG Debugger Connector (P4) This 14-pin male vertical header labeled P4 mates with a JTAG debugger plug (
Connectors and Blocks JTAG Debugger Connector Pin Orientation 13 pin 1 14 2 JTAG Debugger Connector Pin Assignments Signal 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 SPI Connector (P11) This connector is used for a Serial Peripheral Interface (SPI) connection. When enabled, signals are disconnected from serial port 1 and GPIO connectors.
About the Development Board SPI Pin Assignments Signal Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10 SPI-EN GND SPI-CLK GND SPI-TX GND SPI-RX GND Not connected Not connected SPI Jumper Block The SPI jumper block determines whether the SPI connector is connected or not. If SPI is off (the default), serial and GPIO signals are routed to switch banks 1 through 4.
Connectors and Blocks Logic Analyzer Header Pin Orientation Pin 1 Pin 2 Pin 19 Pin 20 Logic Analyzer Header Pin Assignments 28 Pin Signal 1-8 Not connected 9 /RST 10 Not connected 11 DTR/GPIO-5 12 TXD-2/GPIO-8 13 CTS/GPIO-2 14 RXD-2/GPIO-9 15 DSR/GPIO-3 16 TXD-1/GPIO-6 17 RTS/GPIO-4/SPI_CLK 18 RXD-1/GPIO-7 19 DCD/GPIO-1/SPI_EN 20 GND D i g i C o n n e c t E M & W i - E M H a r d w a r e R e f e r e n c e
About the Development Board Main Connector (P8) This 12-pin connector is used to interface with the embedded module. See the following figure for pin orientation. Main Connector Pin Orientation Pin 2 Pin 12 Pin 1 Pin 11 Power Jack (P17) The Power Jack is a barrel connector that accepts 9 to 30 VDC +/- 5%. The jack is labeled P17. The following table shows the polarity of the power jack.
Switches The following figure schematically represents the polarity of the power jack Power Jack Polarity Schematic. Ground +9 to +30 VDC Switches The development board provides the following switches: Reset Switch (SW5) Serial/GPIO Switch Bank 3 (SW3) and Switch Bank 4 (SW4) GPIO Switch Bank 1 (SW1) and 2 (SW2) Reset Switch (SW5) This push button switch is labeled SW5. Pressing it sets the module’s /RST line low, holding the module in a hard reset until the switch is released.
About the Development Board Serial/GPIO Switch Bank 3 (SW3) and Switch Bank 4 (SW4) Each switch bank holds five slide switches that enable either serial or GPIO signaling between the development board and the module. When set for GPIO signaling, SW3 works in conjunction with SW1, and SW4 works with SW2. See "GPIO Switch Bank 1 (SW1) and 2 (SW2)" on page 32 for more information. See the following table for SW3 and SW4 switch definitions.
Development Board LEDs GPIO Switch Bank 1 (SW1) and 2 (SW2) GPIO Switch Bank 1 and Switch Bank 2, labeled SW1 and SW2, are two sets of five slide switches that set GPIO inputs to logic levels of high (switch to left) or low (switch to right). If the GPIO port is configured as an output, then the switch should always be to the left. If there is an external device connected to P3, the switch should always be set to the left. Each GPIO port can be used independently.
About the Development Board LED Descriptions Board Label CR4 CR5 CR6 CR7 CR8 CR9 CR10 -18 CR20 Description DTR Color or State Indication Yellow Active Green Inactive Off Not connected or signal not being driven Flickering Serial activity Green Inactive Flickering Serial activity Green Inactive Yellow Active Green Inactive Off Not connected or signal not being driven Yellow Active Green Inactive Off Not connected or signal not being driven Yellow Active Green Inacti
Test Points LED Descriptions Board Label CR21 Description Color or State Indication On Ethernet power present from external powered Ethernet connector (Ethernet hub or switch) Off No powered Ethernet voltage EPWR, Powered Ethernet Enabled Test Points The development board provides 25 test points that can be identified by board label or test point number. The board labels are adjacent to each test point on the board. The test point numbers are in the development board schematic drawings.
About the Development Board Test Point Descriptions Test Point Board Label Description TP11 IO-1 GPIO-1 TP12 IO-2 GPIO-2 TP13 IO-3 GPIO-3 TP14 IO-4 GPIO-4 TP15 IO-5 GPIO-5 TP17 3.3V 3.
Test Points 36 D i g i C o n n e c t E M & W i - E M H a r d w a r e R e f e r e n c e
Programming Considerations C H A P T E R 3 This chapter addresses the embedded modules programming considerations. Note This chapter applies only to development kit customers. GPIO General Information The NS7520 processor supports 16 general purpose I/O (GPIO) lines, some of which are reserved for specific functions and some of which can be customized.
GPIO GPIO Registers Two registers, PORTA and PORTC, govern the 16 GPIO pins. Each is responsible for eight GPIO pins, and each pin has four bits that completely describe its behavior. The four bits that describe the GPIO behavior are its mode (CMODE), direction (CDIR), special function (CSF--only applicable to PORTC), and data value. The first three bits describe the functionality of the GPIO pin.
Programming Considerations GPIO Pin Use GPIO Pin Use Name TXD/ GPIO-6 DTR/ GPIO-5 See the description RXD/ GPIO-7 Register Bit PORTA7 PORTA6 PORTA5, PORTA4 PORTA3 Category Allocated Allocated Allocated Allocated External Interface Description Pin 4 on the main header Used for port 1 serial transmit but can be reassigned as GPIO input or output. If used with the development board, this pin maps to GPIO-6.
GPIO GPIO Pin Use Name DSR/ GPIO-3 CTS/ GPIO-2 DCD/ GPIO-1 TXD2/ GPIO-8 40 Register Bit PORTA2 PORTA1 PORTA0 PORTC7 Category Allocated Allocated Allocated Allocated External Interface Description Pin 9 on the main header Used for the port1 serial DSR signal but can be reassigned as GPIO input or output. If used with the development board, this pin maps to GPIO-3. Pin 7 on the main header Used for the port 1 serial CTS signal but can be reassigned as GPIO input or output.
Programming Considerations GPIO Pin Use Name Green LED RXD2/ GPIO-9 Yellow LED Register Bit PORTC4 PORTC3 Category External Interface Description Allocated Connected to the green LED (the one above the red LED) Used as the NET+OS green LED but can 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 low. Pin 11 on the main header Used for port 2 serial receive but can be reassigned as GPIO input or output.
Embedded Module Reset For information on LED control, see the NET+Works BSP Porting Guide. About Embedded Module LEDs Embedded Module LED Description LED Description Green (above yellow LED) This LED is wired to the network hardware and provides an indication of link status. Green (the one above the red LED) This LED is software programmable and is wired to processor GPIO register bit PORTC4 and wired to be lit when low.
Programming Considerations Reset Characteristics Characteristic Specification Delay 200 milliseconds (typical) Threshold 2.93 V Minimum Hold Time 1 microsecond pulse Soft Reset NET+OS provides an internal facility to enact a soft reset, but it is the responsibility of a specific implementation to choose a reasonable trigger to invoke it. One choice is to use a GPIO pin as a signal to trigger a soft reset.
Flash 44 Digi Connect EM & Wi-EM Hardware Reference
Specifications A P P E N D I X A Network Interfaces Digi Connect Wi-EM Embedded Module Standard: IEEE 802.11b Data Rate: Up to 11 Mbps with automatic fallback 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: 2 x RP-SMA Digi Connect EM Embedded Module Standard: IEEE 802.
Serial Interface Serial Interface Two serial ports, one with full modem control signals and the other with TXD and RXD only.
Specifications Operating Conditions Symbol Description VCC Supply Voltage Min Typ Max Unit 3.14 3.3 3.
Mechanical Mechanical Module Dimensions Dimension Digi Connect EM Digi Connect Wi-EM Length: 1.935 in (49.149 mm) 1.935 in (49.149 mm) Width: 1.575 in (40.005 mm) 1.855 in (47.117 mm) Fully populated Fully populated 0.615 in (15.621 mm) 0.575 in (14.605 mm) Pin Header Model Pin Header Model 0.262 in (6.655 mm) 0.301 in (7.645 mm) Height: Layouts and Dimensions The following dimensions and layouts are for both the Digi Connect Wi-EM and Digi Connect EM.
Specifications Digi Connect Wi-EM (w/LED Array) Top 49
Layouts and Dimensions Front 50 Digi Connect EM & Wi-EM Hardware Reference
Specifications Bottom 51
Layouts and Dimensions Digi Connect Wi-EM (w/LED Pin Headers) Top 52 Digi Connect EM & Wi-EM Hardware Reference
Specifications Front Bottom 53
Layouts and Dimensions Digi Connect EM (w/RJ-45 and LED Array) Top 54 Digi Connect EM & Wi-EM Hardware Reference
Specifications Front 55
Layouts and Dimensions Bottom 56 Digi Connect EM & Wi-EM Hardware Reference
Specifications Digi Connect EM (with Ethernet and LED Pin Headers) Top 57
Layouts and Dimensions Front Bottom 58 Digi Connect EM & Wi-EM Hardware Reference
Specifications Recommended PCB Layouts The following graphics are the recommended PCB layouts for the Digi Connect Wi-EM and Digi Connect EM (both populated and unpopulated versions). It is recommended that you use the Digi Connect Wi-EM PCB layout for future flexibility since it is slightly wider than the Digi Connect EM.
Recommended PCB Layouts Digi Connect Wi-EM (w/LED Pin Headers) 60 Digi Connect EM & Wi-EM Hardware Reference
Specifications Digi Connect EM (w/RJ-45 and LED Array) 61
Recommended PCB Layouts Digi Connect EM (with Ethernet and LED Pin Headers) 62 Digi Connect EM & Wi-EM Hardware Reference
Specifications Antenna Information Antenna Strength The following diagram demonstrates the strength of the signal received by the antenna on both a horizontal and vertical plane. The diagram shows the magnetic field when the antenna is in a vertical position. The red line represents the horizontal plane and the dotted green lined represents the vertical plane. You can see in the illustration that at 90degrees, the signal strength is (as expected) 0.
RF Exposure Statement Antenna Description Values VSWR < or = 2.0 Dimension 10.0x108.5 Weight Connector 10.5g RP-SMA RF Exposure Statement The Digi Connect Wi-EM module complies with the RF exposure limits for humans as called out in RSS-102.
Specifications 2.4 GHz, and effective radiated power less than the 3 watt requirement for a mobile device (>20 cm separation) operating at 2.4 GHz. Safety Statements To avoid contact with electrical current: Never install electrical wiring during an electrical storm. Never install an ethernet connection in wet locations unless that connector is specifically designed for wet locations. Use caution when installing or modifying ethernet lines.
Safety Statements Do not hold any component containing a radio such that the antenna is very close to or touching any exposed parts of the body, especially the face or eyes, while transmitting. Do not operate a portable transmitter near unshielded blasting caps or in an explosive environment unless it is a type especially qualified for such use Any external communications wiring you may install needs to be constructed to all relevant electrical codes.
Certifications A P P E N D I X B This product complies with the following standards. FCC Part 15 Class B Radio Frequency Interference (RFI)(FCC 15.105) The Digi Connect EM has been tested and found to comply with the limits for Class B digital devices pursuant to Part 15 Subpart B, of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential environment.
Industry Canada Labeling Requirements (FCC 15.19) This device complies with Part 15 of FCC rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
Certifications Declaration of Conformity (In accordance with FCC Dockets 96-208 and 95-19) Manufacturer’s Name: Digi International Corporate Headquarters: 11001 Bren Road East Minnetonka MN 55343 Manufacturing Headquarters: 10000 West 76th Street Eden Prairie MN 55344 Digi International declares, that the products:EM-02T-JT Product Name: Digi Connect EM Model Numbers: 50000873-xx Product Name: Digi Connect Wi-EM Model Numbers: 50000879-xx to which this declaration relates, meet the requireme
International EMC Standards International EMC Standards The Digi Connect EM and Digi Connect Wi-Em meet the following electromagnetic emissions standards: EN55022 EN55024 EN 300 324 EN 301 489 VCCI AS 3548 RSS 210 (IC: 1846A-50M879 (Digi Connect Wi-EM) FCC Part 15 Subpart C (FCC ID: MCQ-50M879 (Digi Connect Wi-EM) Safety Standards The embedded modules meet the following safety standards: 70 UL 60950-1 CSA 22.2 No.
Sample Application: TTL Signals to EIA-232 A P P E N D I X C The following schematic is an example of how to convert the module’s TTL signals to EIA-232.
GND 1 2 GND RESET SWITCH SW1 3 4 P6 2 4 6 8 10 12 SOCKET 2X6 1 3 5 7 9 11 DIGI ONE EM CONNECTOR +5V 0.1uF 2 2 C6 1 0.1uF C4 1 GND 25 24 ADM211E 2 3 1 28 9 4 27 23 18 17 13 7 6 20 21 8 5 26 22 19 15 16 12 14 U1 RS-232 LINE RECVR 5RX 4TX 2 1 GND C5 0.1uF C3 0.
Digi International Inc. 2003, 2004. All Rights Reserved. The Digi logo is a registered trademark of Digi International, Inc. Connectware, Digi Connect EM and Digi Connect Wi-EM 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.