This publication contains proprietary information which is subject to change without notice and is supplied ‘as is’, without any warranty of any kind. Revision History Revision Number Date Tasks 02/2019 SM2400 Serial-2-PLC Adapter User’s Guide initial release. SM2400 EVK User’s Guide UG-SM2400–-177A–-02/2019...
2. Features ............................4 3. Hardware Connection ........................5 3.1 Evaluate ASCII Pass-through Using the SM2400-EVK2 ............5 3.2 Replacing the RS485 Bus with Power Line via SM2400-EVK2 with ASCII Pass-through ..5 4. ASCII Pass-through Configurations ....................7 4.1 Supported AT Commands .......................7 4.2 Supported AT Registers ......................7 4.3 Supported Baud Rates ......................8...
RS232 or RS485 connections without having to modify other parts of the systems or any of the software protocols. At the end of this document, two SM2400-EVK2 adapters with TP pass-through firmware are used as an example of the serial-to-PLC adapter application.
3. Hardware Connection 3.1 Evaluate ASCII Pass-through Using the SM2400-EVK2 The SM2400-EVK2 can be used to evaluate ASCII pass-through by connecting an RS232 device to the host inter- face P1 header on the base board of the SM2400-EVK2 as shown below.
Page 6
SM2400 Power Line EVK2 SM2400 SM2400 SM2400 SM2400 RS232 EVK2 EVK2 EVK2 EVK2 Master RS232 RS232 RS232 RS232 Slave 3 Slave 4 Slave 1 Slave 2 New Power Line RS485 Bus Network with RS232 Devices Figure 3. S M 2400 P ow er Line E V K 2 S M 2400...
4. ASCII Pass-through Configurations This section describes the supported features of the ASCII pass-through configuration, including AT commands, AT registers, baud rates, and factory defaults. 4.1 Supported AT Commands Table 2 lists the supported AT commands. Table 2. Supported AT Commands Command Description Switch to command mode.
Table 3. Supported AT Registers (continued) Register Number Delimiter. 0: SOF no response 1: SOF w/ response 2: ACK 3: NACK On/Off mode. 1: enable 0: disable Band select; XR-specific setting SubCarriers; 4 decimal concatenated numbers, e.g. set of subcarriers "30 40 50 60" is encoded as 30405060. FCC enable (XXR protocol).
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.
5.2 Download ASCII Pass-through Firmware img-passthru-g3-ascii-fcc bundle can be downloaded to the SM2400-EVK2 FCC module using the SM2400Control GUI as described in the SM2400-EVK User Guide. If an FTDI cable is used for downloading, pin 1 (3V3) and pin 2 (Mode1) of header P1 must be connected via a jumper to pull the Mode1 pin high for downloading.
5.3 Send Text Message Using a Serial Terminal After downloading the ASCII pass-through firmware to two SM2400-EVK2 systems, the ASCII messages can be sent between those two EVK systems over the power line via a serial terminal, e.g. Bray's Terminal (https://sites.google.com/site/terminalbpp/).
Page 12
5. Send ATO to switch to data mode. 6. Repeat steps 2 through 4 for the second SM2400-EVK2. 7. Test any ASCII string from one terminal and it should be received and displayed on the 2nd terminal as shown in Figure 9.
Page 13
Send Hello World from Terminal 1 Figure 9. Received from Terminal 2 with Retries Figure 10. SM2400 Serial-to-PLC Adapter User’s Guide UG-SM2400–-177A–-02/2019...
PLC adapters between the sensor and the PC based GUI in a plug-and-play manner as shown in Figure 11. The scope image in Figure 12 shows the message propagation from the sensor to the PC and back. SM2400-EVK2 SM2400-EVK2 RS485 Inclinometer Example Configuration Figure 11.
RS485 Transceiver Circuit to the SM2400-EVK2 Figure 13. 7. References 1. Narrowband OFDM PLC specifications for G3-PLC networks, G3-PLC Alliance, April 2015 2. Specification for PoweRline Intelligent Metering Evolution, revision 1.4, Prime Alliance 2014 SM2400 Serial-to-PLC Adapter User’s Guide UG-SM2400–-177A–-02/2019...
Page 16
Adesto assumes no responsibility or obligations for any errors which may appear in this document, reserves the right to change devices or specifications herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Adesto are granted by Adesto herewith or in connection with the sale of Adesto products, expressly or by implication.
Need help?
Do you have a question about the SM2400-EVK2 and is the answer not in the manual?
Questions and answers