XE232NET
Preliminary
June 2007
Low Cost Serial-to-Ethernet Bridge for Embedded Applications
Description
Features
The Xecom XE232NET Serial-to-Ethernet Bridge
  • Miniature Dual-In-line Package: 2.1” x 1.0”
  • modules provide a simple solution for connecting
    TTL compatible serial interface;
    micro-controller based embedded systems to a Local
    Operates from a single +3.3 volt power supply
    Area Network. These modules include all of the
    Includes 10 Base-T Ethernet MAC and PHY
    hardware and software needed to link the serial port
    Embedded protocols include, Ethernet,TCP, IP, UDP,
    on the micro-controller to the local area network.
    ICMP, DHCP, ARP, HTTP, POP3, and SMTP
    The XE232NET Serial-to-Ethernet bridge operates
    Command and control with SerialAT Commands
    much the same as any Xecom serial modem. AT
    IEEE10BASE-Tcompatible
    commands are used for control and configuration of
    Models
    The XE232NET. The XE232NET also utilizes the
    XE232NET-1: Serial-to-Ethernet Bridge module with
    same pin configuration as the Xecom XE5690SM
    Ethernet isolation transformer included
    modem family. This permits one design to support
    XE232NET-2:Serial-to-EthernetBridgemodule
    either Ethernet or dial-up modem connectivity with a
    without isolation transformer.
    simple module swap.
    XE232NET-K: Ethernet Evaluation Kit includes
    XE232NET-1; evaluation board, required cables, and
    Xecom offers two versions of the XE232NET. The
    power supply
    XE232NET-1 with the Ethernet isolation transformer
    XE232NET-1ITR:XE232NET-1withanoperating
    and the XE232NET-2 without the isolation
    range of -40C to +85C
    transformer. An Evaluation Kit is available, model
    XE232NET-2ITR:XE232NET-2withanoperating
    number XE232NET-K
    range of -40C to +85C
    XE232NET Block Diagram
    XECOM
    1
    XE232NET
    XE232NET Mechanical Specifications
    Dim
    Description
    Inches
    MM
    a
    Module Length
    2.10
    53.3
    b
    ModuleWidth
    1.00
    25.4
    c
    Module Height*
    0.32
    8.1
    d
    Total Pin Row Length
    2.00
    50.8
    e
    Pin 2 to Pin 3
    1.50
    38.1
    f
    Adjacent Pins
    0.10
    2.5
    g
    Pin 15 to Pin 16
    0.90
    22.9
    h
    Last Pin to edge
    0.05
    1.3
    i
    Pin Row to Pin Row
    0.90
    22.9
    J
    Pin Length
    0.15
    3.8
    * Module Height with onboard transformer, XE232NET-1
    Interface Pins are .025 inches square
    XECOM
    2
    XE232NET
    XE232NETPinConfiguration
    N/C
    1
    19
    ETX+
    N/C
    2
    18
    ETX-
    17
    ERX+
    16
    ERX-
    15
    /VCC
    14
    /LS
    13
    /CTS
    12
    /DSR
    11
    /RTS
    NACT
    3
    10
    RXD
    /Reset
    4
    9
    TXD
    N/C
    5
    8
    /DTR
    Gnd
    6
    7
    N/C
    Pin Descriptions
    PIN NAME
    DESCRIPTION
    1
    N/C
    No Connection
    2
    N/C
    No Connection
    3
    NACT
    Network Activity is an active high output from the Ethernet bridge indicating that the
    bridge is interacting with the network. NACT may be used to drive an LED to show
    when the Ethernet link is active.
    4
    /Reset
    Reset is an active low input to the XE232NET. A low on this pin initiates a hardware
    reset. /RESET must be active for a minimum of 100 milliseconds to insure a proper
    reset. No external reset is required. This pin should be left open if Reset is not to be
    used.
    5
    N/C
    No Connection
    6
    GND
    Ground reference for the XE232NET
    7
    N/C
    No Connection
    8
    /DTR
    Data Terminal Ready input to the Ethernet Bridge. /DTR is an active low input
    indicating the host equipment is ready to communicate.
    9
    /TXD
    Transmit Data input from the local host equipment.
    10
    /RXD
    Received Data Output from the XE232NET to the local host.
    XECOM
    3
    XE232NET
    Pin Descriptions
    PIN NAME
    DESCRIPTION
    11
    /RTS
    Request to Send input to the Ethernet Bridge. An active Request to Send input
    indicates that the host equipment has information to send. Request to Send can also
    be used for hardware Flow Control. When used for hardware Flow Control, the host
    equipment turns Request to Send off to stop the flow of data from the XE232NET.
    Data Flow is resumed when Request to Send is reactivated.
    12
    /DSR
    Data Set Ready is an active low output from the Ethernet Bridge. Data Set Ready is
    activated when the communications channel is available.
    13
    /CTS
    Clear to Send is an active low output from the Ethernet Bridge. The XE232NET
    activates Clear to Send to indicate to the host equipment that it is ready to transmit
    data. When used as Hardware Flow Control, Request to Send is deactivated to stop
    the flow of data from the host to the XE232NET to prevent data buffers from
    overflowing. Data flow can resume when Clear to Send is reactivated.
    14
    /LS
    Link Status is an active low output from the Ethernet Bridge. A low on this pin
    indicates that the Ethernet link is active. This pin may be used to drive an LED to
    display link status.
    15
    VCC
    3.3 Volt power for the Ethernet Bridge module
    16
    ERX-
    Ethernet Received Data Minus is the negative data input to the XE232NET module.
    Note: XE232NET-2 does not include the isolation transformer. That 1500 volt
    isolation barrier must be provided within the system.
    17
    ERX+
    Ethernet Received Data Plus is the positive data input to the XE232NET module.
    Note: XE232NET-2 does not include the isolation transformer. That 1500 volt
    isolation barrier must be provided within the system.
    18
    ETX-
    Ethernet Transmit Data Minus is the negative data output from the XE232NET
    module. Note: XE232NET-2 does not include the isolation transformer. That 1500
    volt isolation barrier must be provided within the system.
    19
    ETX+
    Ethernet Transmit Data Plus is the positive data output from the XE232NET module.
    Note: XE232NET-2 does not include the isolation transformer. That 1500 volt
    isolation barrier must be provided within the system.
    XECOM
    4
    XE232NET
    XE232NET Electrical Specifications
    Parameter
    Min
    Typ
    Max
    Units
    Comments
    VCC
    3.13
    3.3
    3.47
    Volts
    ICC
    145
    mA
    On Line
    0.35
    mA
    Sleep
    Network Isolation
    1500
    VAC
    XE232NET-1
    Voh
    2.4
    5.0
    Volts
    Vol
    0.4
    Volts
    Vih
    2.0
    5.0
    Volts
    Vil
    -0.3
    0.8
    Volts
    XE232NET ABSOLUTE MAXIMUM RATINGS
    Storage Temperature
    -25 O C to +85 O C
    1 Maximum Operating Temperature Range
    0 O C to +70 O C
    VCC
    3.6 Volts
    1 The XE232NET can be ordered with an Operating Temperature of -40 O C to +85 O C at extra cost.
    Order XE232NET-1ITR or XE232NET-2ITR to specify Industrial Temperature Range (ITR).
    XECOM
    5
    XE232NET
    XE232NET-1 Typical Connection Diagram
    Notes:
    TheEthernettransformerisincludedontheXE232NET-1module.
    Fuses F1 and F2 protect against a power line cross with the network cable. Xecom recommends the
    Littlefuse0461_1.25forthisfunction
    XECOM
    6
    XE232NET
    XE232NET-2 Typical Connection Diagram
    Notes:
    Fuses F1 and F2 protect against a power line cross with the network cable. Xecom recommends the
    Littlefuse0461_1.25forthisfunction
    TransformerT1isincludedontheXE232NET-1module. FortheXE232NET-2Xecomrecommends
    theDeltaElectronicsLF8505EthernetTransformer.
    L1 is a Ferrite Bead for EMI Suppression.
    XECOM
    7
    XE232NET
    XE232NET AT Commands
    The XE232NET uses "AT" commands for
    Omitted Parameters - Most commands include a
    configuration and control. This section describes the
    parameter which determines how the functions will
    AT command format and lists the commands,
    be set. When the command parameter is omitted
    registers and result codes.
    from the command string, it is assumed to be a 0.
    Command Mode: XE232NET enters command
    Escape Characters - A 3 character escape
    mode on power-up, reset, a lost connection, or
    sequence may be entered to switch the modem into
    receipt of the escape code. In command mode the
    command mode while on line.
    The escape
    modem accepts commands from the host on
    character, set by Register S2, must be entered 3
    transmit data. Appropriate result codes are returned
    times in succession to execute the escape. An AT
    on received data.
    command must then be entered within the period
    defined by S12 to enter command mode.
    The
    Command Line Format
    default escape sequence is "~~~"
    AT commands follow a strict format. Each
    command line, except A/, begins with the prefix
    Result Codes - The Ethernet Bridge issues a result
    AT. The "A" and "T" may be both upper case or
    code after each action. Result codes may be sent as
    both lower case but cannot be of different cases.
    full words, one or two digit numeric codes, or may
    be disabled all together. Each result code ends with
    Multiple commands may be combined into a single
    a carriage return when numeric result codes are
    command line of up to 48 characters. Commands
    chosen. When full word result codes are chosen, a
    are executed in the sequence they appear upon
    Line Feed and Carriage Return precede and follow
    receipt of a carriage return. Spaces inserted into the
    each result code.
    command line are not placed in the buffer.
    Email Modes: The XE232NET can transfer
    The command line can be edited with a backspace
    information as an Email from either of two Email
    before it is executed. The backspace erases the
    modes, transmit and receive. Once Email uploading
    previous character in the command line. Register S5
    or downloading is complete the escape sequence,
    allows the user to select a character other than
    default "~~~", terminates Email mode.
    backspace to edit the command line.
    Transmit Email mode is accessed with the AT+ET:n
    If the command buffer overflows, the modem issues
    command. Where “n” represents the destination
    an "ERROR" result code, and the command line is
    Email address. Upon receipt of this command the
    not executed. Register S3 allows the user to select
    XE232NET logs into the Email Server and any data
    a character other than a carriage return to terminate
    placed on TXD will be transferred to the destination
    the command line.
    address as Email.
    Re-Execute Last Command - The A/ command
    TheAT+ER command causes the XE232NET to log
    causes the modem to re-execute the last command
    into the Email server and look for incoming Emails.
    line. This is the only command which does not
    Data from these received emails wil be presented
    require the "AT" prefix.
    on the RXD output.
    XECOM
    8
    XE232NET
    XE232NET AT Commands
    ATDa Send a message to Destination Address a
    AT\Pn Command Parity (whenATB2 orATB5 is
    within the local group.
    selected)
    ATDw.x.y.z Send mesage to the IP address, w.x.y.z
    n=0 even parity
    n=1 odd parity
    ATD:d Connect with listed domain name
    n=2 Mark Parity *
    ATEn Command Echo
    AT\Qn Terminal to adapter Flow Control;
    n=0 Do not echo commands
    n=0 none
    n=1 Echo commands to the system host.*
    n=3 Hardware (RTS/CTS)
    n=4 Software (XON/XOFF)
    ATIn Module Identification codes
    n=0 Respond with Model Number
    AT\Tn DTE interface Speed
    n=1 Respond with Code Revision & Date
    n=6 9600 bps
    n=9 19,200 bps *
    ATQn Select Response Type
    n=10 38,400 bps
    n=0 Full Word Responses (includes a
    n=11 57,600 bps
    carriage return and linefeed before and
    n=12 115,200 bps
    after each response)*
    n=13 230,400 bps
    n=1 Single Character Responses (includes
    a carriage return after the response)
    AT+D=mm,dd,yy Set Date
    n=2 No responses
    mm= month
    dd= day
    ATZ Initiate a soft Reset
    yy= year
    AT&Cn This command controls the operation of
    AT+ER: Causes the XE232NET to log into the
    the Line Status indicator /LS
    Email serverand download messages.
    n=0 /LS always active
    n=1 /LS active when the Ethernet Link is
    AT+ET:n Causes the XE232NET tosend data in
    available *
    Email form to address n.
    AT&Dn Response to deactivation of /DTR
    AT+Pn Password Requirement
    n=0 Ignore /DTR
    n=0 No Password required
    n=1 Drop Ethernet Link if DTR inactive *
    n=1 Password required to connect
    AT&F Return to factory Default settings
    AT+T=hh,mm,ss,n Set Time
    hh= hour
    AT&V Display active configuration
    mm= minute
    AT\Bn Character format for commands
    ss= second
    n=1 7N1; 7 data bits, no parity, one stop bit
    yy= year
    n=2 7P1; 7 data bits, one parity bit, one
    n= a for AM or P for PM
    stop bit
    n=3 8N1; 8 data bits, no parity, one stop bit
    n=5 8P1; 8 data bits, one parity bit, one
    stop bit *
    XECOM
    9
    XE232NET
    XE232NET Registers
    S1
    Automatically connect to network: S0=1 S14
    Sleep Inactivity Timer: S14 sets the length of
    sets the ethernet bridge to automatically
    inactivity before the Ethernet Bridge enters
    complete a network connection. .
    sleep mode. Zero disables sleep mode.
    Range: 0 to 255
    S2
    Escape Character:
    S2 sets the ASCII
    Units: Seconds
    escape character.
    Values of 0-127 select
    Default: 0
    valid characters; values from 128 to 255
    disable the escape sequence.
    S99 DHCP Client: S99 Determines if DHCP
    Range:
    0 to 255
    (Dynamic Host Configuration Protocol) will be
    Units
    ASCII Character
    active.
    Default
    126 (~)
    Range: 0 to 1
    Setting:
    0 = DHCP Disabled
    S3
    Line
    Termination
    Character:
    S3
    1 = DHCP Enabled
    determines the ASCII character which will
    Default: 1
    terminate commands and modem responses.
    Range:
    0 to 127
    S100 Network Port Number: S100 sets the port
    Units
    ASCII Character
    number of the XE232NET for the local
    Default
    13 (Carriage Return)
    network.
    Range: 0-65535
    S4
    Line Feed Character: S4 sets the ASCII
    Default: 0
    character to act as a line feed character in
    modem responses.
    S101 Set IP Address: S101 sets the IP Address of
    Range:
    0 to 127
    the XE232NET. Note when DHCP is selected
    Units
    ASCII Character
    and the XE232NET is connected to a DHCP
    Default
    10 (Line Feed)
    server the IP Address does not need to be set
    manually.
    S5
    Backspace Character:
    S5 defines the
    Format: www.xxx.y.z
    ASCII character used as a backspace to edit
    the command line.
    S102 Set Network Mask: S102 sets the Network
    Range:
    0 to 127
    Mask of the XE232NET. Note when DHCP is
    Units
    ASCII Character
    selected and the XE232NET is connected to a
    Default
    8 (Back Space)
    DHCP server the Network Mask does not need
    to be set manually.
    S12 Escape Code Guard Timer: S12 sets the
    Format: www.xxx.yyy.z
    escape sequence guard timer. If characters
    are received before or after the escape S103 Set Network Gateway: S103 selects the
    sequence, within the guard timer, the modem
    Network Gateway for the XE232NET. Note
    aborts the escape and remains in data mode.
    when DHCP is selected and the XE232NET is
    Range:
    10 to 255
    connected to a DHCP server the Network
    Units
    0.02 Seconds
    Gateway does not need to be set manually.
    Default
    50
    Format: www.xxx.yyy.z
    XECOM
    10
    XE232NET
    XE232NET Registers
    S104 Set DNS IP Address: S103 selects the
    Domain Name Server Address for the
    XE232NET. Note when DHCP is selected
    and the XE232NET is connected to a DHCP
    server the Domain Name Server Address
    does not need to be set manually.
    Format: www.xxx.yyy.z
    S105 Set User Name: S105 stores the User
    Name for the XE232NET. The User Name
    may be up to 8 ASCII characters. The
    default User Name is “USER”. The User
    Name is not reset with the AT&F command
    S106 Set Password: S106 stores the password
    for the XE232NET. The password may be
    up to 8 ASCII characters. The default
    Password is “PASSWORD”. The password
    is not reset with the AT&F command.
    XE232NET Registers
    Digits
    Verbose
    Description
    0
    OK
    Command Successful
    1
    CONNECT
    300 bps or higher connection
    3
    NO CARRIER
    Link not detected
    4
    ERROR
    Error in command line
    XECOM
    11
    XE232NET
    Terms of Sale
    Devices sold by XECOM are covered by the warranty provisions appearing in its Terms of Sale only. XECOM makes no war-
    ranty, express, statutory, implied, or by description regarding the information set forth herein, or regarding the freedom of the de-
    scribed devices from patent infringement. XECOM makes no warranty of merchantability or fitness for any purposes.
    XECOM reserves the right to discontinue production and change specifications and prices at any time and without notice. This
    product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual envi-
    ronmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment, are
    specifically not recommended without additional processing and authorization by XECOM for such application.
    Xecom assumes no responsibility for the use of any circuitry other than circuitry embodied in a Xecom product. No other cir-
    cuits, patents, or licenses are implied.
    Life Support Policy
    Xecom's products are not authorized for use as Critical Components in Life Support Devices or Systems.
    Life Support Devices or Systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) sup-
    port or sustain life, and whose failure to perform, when properly used in accordance with instructions provided in the labeling,
    can be reasonably expected to result in significant injury to the user.
    A Critical Component is any component of a life support device or system whose failure to perform can be reasonably ex-
    pected to cause failure of the life support device or system, or to affect its safety or effectiveness.
    Copyright, Xecom © 2007
    While Xecom, Inc. has made every effort to ensure that the information presented here is accurate, Xecom will not be liable for any damages arising from errors or
    omission of fact. Xecom reserves the right to modify specifications and/or prices without notice. Product mentioned herein are used for identification purposes
    only and may be trademarks and/or registered trademarks of their respective companies.
    Xecom Incorporated
    374 Turquoise Street, Milpitas, CA 95035
    Ph:408-942-2200
    Fax:408-942-1346
    E-Mail: info@xecom.com
    XECOM
    12
    XE232NET