Mikroe SEMITECH N-PLC Click Installation and operating instructions

AN - MIKROE N-PLC Click Board User Guide v1.0 1
SM2400
MIKROE N-PLC Click Board User Guide
Application Note
September 22, 2023
This publication contains proprietary information which is subject to change without notice and is supplied ‘as is’, without any
warranty of any kind.

AN - MIKROE N-PLC Click Board User Guide v1.0 2
Table of Contents
1 Introduction............................................................................................................................................................3
2 Order Information ..................................................................................................................................................3
3 MIKROE Click Boards..............................................................................................................................................3
3.1 N-PLC Click bundle..........................................................................................................................................3
3.2 click USB adapter............................................................................................................................................4
4 Evaluation and Setup..............................................................................................................................................5
4.1 Connection .....................................................................................................................................................5
4.2 Evaluate G3-FCC ASCII Passthrough...............................................................................................................6
4.3 Evaluate G3-FCC GUI Passthrough.................................................................................................................8
4.4 Evaluate XXR ASCII Passthrough ................................................................................................................. 10
4.5 Evaluate XXR GUI Passthrough.................................................................................................................... 12
4.6 Evaluate G3-FCC MAC ................................................................................................................................. 14
Contact Information.................................................................................................................................................... 16

AN - MIKROE N-PLC Click Board User Guide v1.0 3
1INTRODUCTION
The N-PLC Click board is a Power-Line Communications (PLC) board designed by MIKROE based on the SM2400
universal Narrowband Power Line Communication (N-PLC) modem.
The N-PLC Click board can be ordered as a N-PLC Click bundle, which combines the N-PLC Click board with the N-
PLC Wall Adapter (110/220VAC), enabling performance testing of PLC communication over an AC mains network.
This adapter is also compatible with a wide range of AC plugs, which makes this bundle suitable for use in different
parts of the world.
Also, a click USB adapter is needed to be ordered separately to provide the power and the USB-to-UART interface
for the N-PLC Click board.
This document explains how to use MIKROE N-PLC Click bundle and click USB adapter as a SM2400 EVK to evaluate
various SM2400-based N-PLC solutions, including G3-PLC for FCC band and proprietary XXR modes, by loading
different firmware versions using the SM2400Control GUI.
2ORDER INFORMATION
•N-PLC Click bundle (PID: MIKROE-5677)
•click USB adapter (PID: MIKROE-1433)
•USB 2.0 type A to Mini-B cable (PID: MIKROE-2306)
3MIKROE CLICK BOARDS
3.1 N-PLC CLICK BUNDLE
This bundle provides a Narrowband Power Line Communication (N-PLC) solution that uses existing electrical
power lines to transmit data signals. It allows users to easily combine the N-PLC Click board based on the
programmable N-PLC transceiver from Semitech, the SM2400, with N-PLC Wall Adapter (power line
communication AC coupling circuit) to deliver a flexible and elegant solution for home automation and industrial
control applications.
Combining this board with the N-PLC Wall Adapter (110/220VAC) enables testing of PLC performance over an AC
mains network. This adapter comes with AC plug –EU. A wide range of AC plugs can be ordered separately from
MikroE website, which makes this bundle suitable for use in different parts of the world.
The N-PLC Click board can be powered in two ways –internally and externally. By default, the board power is
provided internally over the LM5158 boost converter in the value of 15V, which is obtained from the 5V
mikroBUS™power rail. When applying an external power supply of 15VDC on the VEXT terminal, the N-PLC Click
board will automatically be powered from the external source thanks to the protection of the converter, which
automatically recognizes the presence of the external power supply and gives it a priority.
The N-PLC Click board is designed for communication in the FCC band (approximately 154kHz –490kHz).
The bundle consists of:
•N-PLC Click
•N-PLC Wall Adapter

AN - MIKROE N-PLC Click Board User Guide v1.0 4
For more information about the N-PLC Click board, please visit MikroE website.
Figure 1 - N-PLC Click bundle
3.2 CLICK USB ADAPTER
The click USB adapter is a compact Shield board developed by MikroE that provides the necessary interface for
connecting Click boards™such as N-PLC Click board to a PC through the USB connection.
The click USB adapter is based on the FT2232H, a dual high-speed USB to a multipurpose UART/FIFO IC from FTDI
Chip. The FT2232H provides the necessary communication lines defined by the mikroBUS™standard. The
mikroBUS™host connector consists of two 1x8 female headers with SPI (MOSI, MISO, SCK, CS), I2C (SDA, SCL),
UART (Tx, Rx), RST, PWM, Analog and Interrupt lines as well as 3.3V, 5V, and GND power lines. The J1 jumper
selects whether UART or I2C interface will be used. For visual presentation, this board features a TX/RX LED that
will indicate the data transfer.
The click USB adapter board can be powered through a USB cable only. Onboard power circuitry generates 3.3V
and 5V. The latter can be used to power up the N-PLC Click board.
Note that some USB hubs are not able to supply sufficient current for the Click board to generate the 15V supply.
It is recommended connecting directly to the PC USB.
SM2400
PWD LED
PLC Signal Jack
Connector
MD1
PLC Signal Jack
3V3
External Power Supply
mikroBUSTM header
TX
RX

AN - MIKROE N-PLC Click Board User Guide v1.0 5
Figure 2 - click USB adapter
4EVALUATION AND SETUP
4.1 CONNECTION
•Plug one N-PLC Click board on the mikroBUSTM socket of a click USB adapter according to the pinout on
both boards.
•Plug the PLC Signal Jack of a N-PLC Wall Adapter to the N-PLC Click board.
•Connect the N-PLC Click board to a PC via a Mini USB cable.
•Repeat the above steps to the second set of N-PLC Click bundle and click USB adapter.
•For the initial test, plug both N-PLC Wall Adapters to the same power-strip which is not powered (cold
wire test) as shown in Figure 3.
•Register to the Semitech website, https://semitechsemi.com/register/, once it is approved and activated,
SM2400Control-ME GUI application can be downloaded from the Semitech website:
http://www.semitechsemi.com/solutions/sm9420.php.
mikroBUSTM socket
RX/TX LED Indicator
PWD LED Indicator
Mini USB Connector
FT2232H
I2C/UART Selection

AN - MIKROE N-PLC Click Board User Guide v1.0 6
Figure 3 - Connection
4.2 EVALUATE G3-FCC ASCII PASSTHROUGH
The N-PLC Click board comes pre-programmed with G3-FCC ASCII passthrough firmware. This means that the user
can send ascii messages from one board and receive them on another board by using any serial terminal (e.g., Tera
Term) with CR+LF and 115200 baud rate.
•Connect two N-PLC Click boards as shown in Figure 3.
•Check the COM port numbers from Device Manager and launch two Tera Term windows connected to the
COM port of each board.
•Set up the Serial Port for 115200 baud and set up the Terminal as shown in Figure 4.
USB
Windows PC
USB
Windows PC

AN - MIKROE N-PLC Click Board User Guide v1.0 7
Figure 4 - Tera Term Setups
•Type text from one Tera Term window and check the result from the other.
Figure 5 - Tx and Rx on Tera Term
•By default, the N-PLC Click boards are in ASCII passthrough data mode. The user can send ‘+++’ to change
it to the command mode and send ATO to switch back to data mode. The supported list of AT commands
can be obtained by typing AT&H command in command mode, as shown in Figure 6.

AN - MIKROE N-PLC Click Board User Guide v1.0 8
Figure 6 - Tx/Rx text via Tera Term
4.3 EVALUATE G3-FCC PASSTHROUGH
SM2400Control-ME GUI application is a convenient tool to test and experiment with PLC performance. It can be
downloaded from the Semitech website: http://www.semitechsemi.com/solutions/sm9420.php and used by
performing the following steps:
•Connect two N-PLC Click boards as shown in Figure 3.
•Launch SM2400Control-ME.exe to open two GUI windows.
•Open the Terminal from Tool > Terminal; select ASCII, Add CR+LF and then send ‘+++’ to enter command
mode and send ‘ATX’ command to exit ASCII mode (enter GUI mode) as shown in Figure 7.
Figure 7 - Commands to exit ASCII mode

AN - MIKROE N-PLC Click Board User Guide v1.0 9
•From the main GUI, Configuration tab, click ‘Get Proto’. The GUI will recognize the G3 FCC FW as shown in
Figure 8.
•Repeat the same process to 2nd N-PLC Click bundle.
•Send 100 packets from Tx Test of one GUI and check the received packets from Rx Test of another GUI as
shown in Figure 8. RSSI and SNR can also be found in the Rx GUI.
Figure 8 - G3 FCC GUI Tx/Rx
Note: SM2400Control-ME GUI should be able to automatically connect to the click USB adapter, as shown in
Figure 8. If not, from Configuration tab, click Disconnect, browse to find the right COM port (e.g., COM5) and then
click Connect as shown in Figure 9.

AN - MIKROE N-PLC Click Board User Guide v1.0 10
Figure 9 - Connection to the GUI via COM port
4.4 EVALUATE XXR ASCII PASSTHROUGH
The users can evaluate XXR ASCII passthrough by the following steps:
•Connect two N-PLC Click boards as shown in Figure 3.
•Launch SM2400Control-ME.exe to open two GUI windows.
•From Tools > Terminal, send ‘+++’ to enter command mode and then send ‘ATX’ command to exit ASCII
mode.
•From the main GUI, FWupgrade tab, browse to find img-passthru-xxr-evk2-2023.08.28-7651-master-
a574e039.image, and then click Wr Image to upgrade the firmware to XXR ASCII Passthrough as shown in
Figure 10.
Figure 10 - FW Upgrade
•Once FW upgrade complete is displayed, click Get Proto from Configuration tab. The GUI will be changed
to XXR ASCII passthrough appearance as shown in Figure 11.
This manual suits for next models
1
Table of contents
Other Mikroe Microcontroller manuals
Popular Microcontroller manuals by other brands

AMS
AMS AS7261 Demo Kit user guide

Novatek
Novatek NT6861 manual

Espressif Systems
Espressif Systems ESP8266 SDK AT Instruction Set

Nuvoton
Nuvoton ISD61S00 ChipCorder Design guide

STMicrolectronics
STMicrolectronics ST7 Assembler Linker user manual

Texas Instruments
Texas Instruments Chipcon CC2420DK user manual

Lantronix
Lantronix Intrinsyc Open-Q 865XR SOM user guide

NEC
NEC 78GK0S/K 1+ Series Application note

Intel
Intel Agilex user guide

Cypress
Cypress CY4607 HX2VL quick start guide

DIGITAL-LOGIC
DIGITAL-LOGIC MICROSPACE manual

Texas Instruments
Texas Instruments TMS320F2837 D Series Workshop Guide and Lab Manual










