adesto SM2400-EVK2 Manual do utilizador - Página 9

Procurar online ou descarregar pdf Manual do utilizador para Placa-mãe adesto SM2400-EVK2. adesto SM2400-EVK2 16 páginas. Serial-2-plc adapter

5. ASCII Pass-through Using USB to TTL RS232 Adaptor with SM2400-EVK2

ASCII pass-through can also be tested using a USB to TTL RS232 adapter connected to the host interface connec-
tor P1 on the base board of the SM2400-EVK2 as described in the top portion of Figure 5 below.

5.1 Hardware Connection

The connection to the UART port is available on the SM2400-EVK2M base board on the header P1, where pin 5 is
external transmit, pin 4 is external receive, and pin 7 is ground as shown below.
This UART port can be connected either directly to the TTL-level UART port on the host device (if available), or to
a USB port via a USB-to-UART converter, also known as FTDI (Digikey Part No. 768-1204-ND). The latter method
of the connection is illustrated by Table 6 and Figure 5.
Table 6. Connecting the FTDI Device to the SM2400-EVK2 Base Board
Please note that the mini-USB cable and the FTDI cable can't be used at the same time.
Table 5. Factory Defaults
Parameter/Mode
UART baud rate
XXR
G3
FTDI TTL-232R-RPi
RXD (Yellow cable)
TXD (Orange cable)
GND (Black cable)
Default
115200 (mode 15)
Modcod = 1
bitsPrBaud = 1
repetition = 4
Subc2200 = 30405060
Modcod = 0
BitsperBaud = 1
Repetitions = 4
ToneMap = 0x03F
Coherent = 1
Delimiter = 0
SM2400-EVK2 Base Board
EX_UART_RX
(Pin 4 of P1 Header)
EX_UART_TX
(Pin 5 of P1 Header)
GND
(Pin 7 of P1 Header)
SM2400 Serial-to-PLC Adapter User's Guide
9
UG-SM2400–-177A–-02/2019