Forenex FR-E2S Series Manuale utente

www.forenex.com.tw -1-
FR-E2Sxy
Ethernet to Serial interface
Reference Manual (Preliminary)
Version: 0.4.2
benson Lon Yu
Approved By Checked By Prepared By
***The content of this document is subject to be change without notice.***

www.forenex.com.tw -2-
Record of revision:
Version Revise Date Page Description
0.1
0.3.5
0.4.0
0.4.1
0.4.2
2014/11/28
2014/12/24
2014/12/31
2015/1/8
2015/05/18
First issue
For PCB revision 2.0
Added description about “ETH to SPI”
Modified E.g.1 and E.g.2 of A-1

www.forenex.com.tw -3-
Contents:
1. Introduction --------------------------------------------------------------------------- 4
1.1) General Description
1.2) System Architecture
1.3) Ordering Information
2. Features --------------------------------------------------------------------------------- 5
2.1) Ethernet Interface
2.2) Serial Interface
3. Electrical Characteristics ---------------------------------------------------------- 6
3.1) Recommended Operating Condition
4. Overview & Dimension ------------------------------------------------------------- 7
4.1) Dimension
4.2) Connector Overview
4.3) LED Status
5. Pin assignment of Connector ---------------------------------------------------- 9
5.1) W1: DC power wafer /Side entry
5.2) H1 : Serial communications Box-Header / Straight entry
5.3) Connect to RS-232/UART-TTL device
5.4) Connect to RS-232/UART-TTL device with flow control
5.5) Connect to RS-485 device
5.6) Connect to SPI slave device
6. Remote Configuration over Web Page------------------------------------------ 12
6.1) The first time to configure E2S board
6.2) Detail of Web Page
7. Ethernet Application Examples --------------------------------------------------- 17
7.1) Connect to the Host via Ethernet cable directly.
7.2) Connect to the Host via LAN.
7.3) Implement existing serial communications via Ethernet cable directly.
7.4) Implement existing serial communications via LAN.
7.5) Connect to Remote Server via INTERNET.
Appendix A. Flow Control Packet over Ethernet ---------------------------------- 21
Appendix B. Communication with SPI device over Ethernet ------------------25

www.forenex.com.tw -4-
1. Introduction
1.1) General Description
The E2S enables the serial target device to have an Ethernet function. Therefore, the
serial target device is able to connect a LAN/ WAN immediately without any hardware change.
The E2S is able to translate the protocol from TCP/IP packet to a kind of serial data
stream just likes RS-232, RS-485, UART-TTL or SPI depends on the different E2S model.
On the other hand, E2S is also to translate the data stream from a serial to TCP/IP packet.
It provides an easier way to connect Ethernet by DHCP client or DNS client. Besides, a
customized web page can configure E2S for an adaptive setting.
1.2) System Architecture
Figure 1. System Architecture.
1.3) Ordering Information
Part number : FR-E2S-xy
Serial interface:
• x =〝U〞- interface Uart-TTL.
=〝R〞- interface RS232.
=〝S〞- interface RS485.
=〝P〞- interface SPI.
• y =〝F〞- Commercial version.
=〝I〞- Industrial version.

www.forenex.com.tw -5-
2. Features
2.1) Ethernet Interface
Features Description
Ethernet Connector RJ45
Ethernet Speed/Duplex Auto-negotiation 10/100Mbps,
Full/Half duplex
Auto-MDIX Yes
Network Services DHCP client , DNS client ,
Web Server, Telnet server
Protocols Supported IP, UDP, TCP
2.2) Serial Interface
About the detail setting of Serial Interface refer to
Section 6) “Remote Configuration over Web Page”
zE2S-UF/ UI model, E2S-RF/RI model
1. UART TTL/ RS-232 signals: 5-wire (TX, RX, CTS, RTS, GND) or
3-wire(TX,RX,GND)
2. Flow control functions: None/ Hardware (CTS, RTS)/ Software (Xon, Xoff).
3. Baud Rate: UART_TTL Support up to 921600 bps.
RS232 Support up to 115200 bps.
zE2S-SF/SI model
1. RS-485 signals: 2-wire (A/Y+, B/Z-)
2. Automatically enable control for the transmitter/ receiver of RS-485.
3. Baud Rate: Support up to 115200 bps.
zE2S-PF/PI model
1. SPI signals: 5-wire (nSS, SCLK, MOSI, MISO, GND)
2. SPI working in the Master mode, support up to 1MHz clock.

www.forenex.com.tw -6-
3. Electrical Characteristics
3.1) Recommended operating condition:
GND = 0V, DC-IN = 5V, Ta = 25 ºC .
Parameter Symbol Min Typ. Max Unit Remark
DC IN 4.5 5 5.5 V
Power supply Current 250 300 mA
Power consumption Watt 1.25 1.5 W
In/out 3.3 V 5V tolerant
UART TTL
(E2S-UF/ UI model) Baudrate 1200 921600 bps
In ±15 V
out ±5 ±5.5 V
RS-232 signal level
(E2S-RF/RI model) Baudrate 1200 115200 bps
Note.1
In ±15 V
out 5V V
RS-485 signal level
(E2S-SF/SI model) Baudrate 1200 115200 bps
Note.2
In/out 3.3 V 5V tolerant
SPI Interface
(E2S-PF/PI model) Frequency 200K 1M Hz
0
80 ºC Commercial
Operation Temperature -25
80 ºC Industrial
Storage Temperature -40 130 ºC
Note.1 Detail refers to SP3232EET.
Note.2 Detail refers to ISL4485E.

www.forenex.com.tw -7-
4. Overview & Dimension
4.1) Dimension : 67mm(L) × 40mm(W) × Max. 19.5mm(H)
Unit:mm
Figure 2. Dimension Diagram.

www.forenex.com.tw -8-
4.2) Connector Overview
J1RJ45
Ethernet
H12.0mmBoxheader
SerialSingal
W12.0mm2pin
DC5VInput
PowerLED
LinkLED
FullduplexLED
SpeedLED
Figure 3. Connector Overview
Name Description Remarks
W1 DC Power in Wafer 2 pin, 2.0mm.
H1 Serial signals connector Box Header 2x5 pin, 2.0mm, DIP Straight.
J1 Ethernet connector RJ-45
4.3) LED Status
Name Status Description
Light Ethernet was already linked.
Dark Ethernet is not connected
Link LED
Blinking When Ethernet is in receiving or transmitting state.
Light Ethernet work in 100BASE-TX mode.
Speed LED Dark Ethernet work in 10BASE-T mode.
Light Ethernet work in Full-duplex mode
Full duplex LED Dark Ethernet work in Half-duplex mode

www.forenex.com.tw -9-
5. Pin assignment of Connector
5.1) W1 : DC -in Wafer, 1x2 pin, 2.0mm, Side entry
SideView
Pin1
DC‐in
Pin2
GND
Pin No. Signal I/O Description
1 DC-IN I External DC 5V input
2 GND P Ground
5.2) H1: Serial communications Box-Header, 2x5 pin, 2.0mm, Straight entry
TopView
Pin
1
3
5
7
9
Pin
2
4
6
8
10
H1
ForE2S-UF/UI (UART TTL) and E2S-RF/RI (RS-232)
Pin No. Signal I/O Description
1 GND P Ground
2 RX I Receive Data form external Device
3 TX O Transmitte Data to external Device
4 - - -
5 GND P Ground
6 - - -
7 RTS O Request To Send
8 CTS I Clear to send
9 DC-IN P External DC input (as same as W1)
10 DC-IN P External DC input (as same as W1)

www.forenex.com.tw -10-
ForE2S-SF/SI (RS-485)
Pin No. Signal I/O Description
1 GND P Ground
2 - - -
3 - - -
4 A/Y+ IO Non-inverting driver in/out
5 GND P Ground
6 B/Z- IO Inverting driver in/output
7 - - -
8 - - -
9 DC-IN P External DC input (as same as W1)
10 DC-IN P External DC input (as same as W1)
ForE2S-PF/PI (SPI)
Pin No. Signal I/O Description
1 GND P Ground
2 MISO I Receive Data form external Device
3 MOSI O Transmitte Data to external Device
4 - - -
5 GND P Ground
6 - - -
7 SCLK O SPI Clock output
8 nSS O Slave Select output (Active low)
9 DC-IN P External DC input (as same as W1)
10 DC-IN P External DC input (as same as W1)
Questo manuale è adatto per i seguenti modelli
2
Indice

















