UM2343 Application note

Similar documents
EVLKSTCOMET10-1. STCOMET smart meter system-on-chip development kit. Features

How to upgrade the firmware on the STEVAL-USBC2DP USB Type-C to DisplayPort adapter

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

STSW-BNRGUI. BlueNRG GUI SW package. Data brief. Features. Description

TN1235 Technical note

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

Motor control power board based on the SLLIMM-nano 2 nd series

UM2167 User manual. OrCAD PSpice model usage instructions

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

AN4782 Application note

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

UM2255 User manual. SPC58NG-DISP user manual. Introduction

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module. Description

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module

Description. July 2016 DocID Rev 2 1/6

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

Getting started with MotionPM real-time pedometer library in X CUBE-MEMS1 expansion for STM32Cube

DT0095 Design tip. Datalogging the SensorTile through a PC. Purpose and benefits. Description

Description. January 2019 DB2381 Rev 3 1/5

AN4045 Application note

STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

Dynamic Electro-Thermal simulator for VIPower products. Description

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

NUCLEO-L433RC-P NUCLEO-L452RE-P

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

USB dongle for the Bluetooth class 1 SPBT3.0DP1 module. Description

UM1750 User manual. STEVAL-IPE023V1: STPMxx programmer. Introduction

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

UM2216 User manual. Getting started with MotionFA fitness activity library in X CUBE MEMS1 expansion for STM32Cube. Introduction

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

EVALSTGAP1AS. Demonstration board for STGAP1AS galvanically isolated single gate driver. Description. Features

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

32F412GDISCOVERY. Discovery kit with STM32F412ZG MCU. Features. Description

STEVAL-IPMnM2N. Motor control power board based on the SLLIMM-nano 2 nd series. Description. Features. RoHS compliant

AN4321 Application note

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

Getting started with MotionPM real-time pedometer library in X-CUBE-MEMS1 expansion for STM32Cube

STSW-BNRG-Mesh. Mesh over Bluetooth low energy. Features. Description. Applications

UM2350. Getting started with MotionPW real-time pedometer for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

Power line communication expansion board based on ST7580 for STM32 Nucleo. Description

32F469IDISCOVERY. Discovery kit with STM32F469NI MCU. Features. Description

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

UM2495. High performance HF reader / NFC initiator IC software expansion for NUCLEO-8S208RB. User manual. Introduction

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

UM2051 User manual. Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery. Introduction

UM2361. Getting started with the ST BlueNRG-Mesh ios application. User manual. Introduction

AN5123 Application note

AN4869 Application note

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

32F746GDISCOVERY. Discovery kit with STM32F746NG MCU. Features. Description

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

UM2084 User manual. Getting started with the ultra-low-power STM32 and LoRa Nucleo pack. Introduction

AN4491 Application note

EVAL6494L. Demonstration board for L6494L gate driver. Description. Features

AN4872 Application note

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

UM2194. Getting started with MotionAW activity recognition for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

UM1719 User manual. The STPM3x evaluation software. Introduction

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

Getting started with X-NUCLEO-53L1A1 long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo

300 ma triple DC-DC converter for powering AMOLED displays. Description. Table 1: Device summary Negative voltage. Auxiliary positive voltage

EV-AUTO-LDOS. L5150GJ-L5300AH7-L4995AK Evaluation Board. Applications. Features. Description

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

AN4624 Application note

AN4820 Application note

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo. Description

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

STEVAL-ISV021V1. Energy harvesting demonstration kit based on SPV1050. Description. Features

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

Getting started with X-NUCLEO-IHM06A1 low voltage stepper motor driver expansion board based on STSPIN220 for STM32 Nucleo

ST Payment Secure Solution Java Card platform with up to 100 Kbytes of user NVM for AMEX payment applications

AN4696 Application note

The BlueNRG-1, BlueNRG-2 BLE OTA (over-the-air) firmware upgrade

UM2330 User manual. ST8500 boot. Introduction

Getting started with osxmotiongc gyroscope calibration library for X-CUBE-MEMS1 expansion for STM32Cube

Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

UM1982 User manual. Multi-Sensor RF 868 MHz platform. Introduction

STM32H7x3I-EVAL. Evaluation board with STM32H7x3XI MCUs. Data brief. Features

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

Getting started with MotionAR activity recognition library in X-CUBE-MEMS1 expansion for STM32Cube

Transcription:

Application note EVALKITST8500-1: getting started with ST8500 evaluation kit Introduction The EVALKITST8500-1 is a platform which allows an easy way to evaluate the features and performance of a power line communication (PLC) node based on the ST8500 modem system-on-chip and the STLD1 line driver. This user manual explains the EVALKITST8500-1 hardware and software installation, and details the evaluation of the kits. In particular Section 2: Getting started on page 4 contains the general information on the EVALKITST8500-1 package Section 3: Hardware description and configuration on page 5 gives an overview of the hardware configurations Section 4: PC GUI and evaluation on page 11 contains a short introduction to the PC evaluation graphical user interfaces (GUIs) connection Section 5: STM32 FW upgrade and platform recovery on page 14 explains the flexibility the user may reach thanks to the available STM32 microcontroller This user manual does not explain the functionalities of the various PLC protocols running on the ST8500. Detailed information can be found in the protocol specific documentation, available within the software packages, separately delivered under the Software license agreement by contacting your local ST sales office. Figure 1. EVALKITST8500-1 - ST8500 evaluation kit March 2018 DocID031404 Rev 1 1/ www.st.com

Contents UM2343 Contents 1 Safety precautions.......................................... 3 2 Getting started.............................................. 4 2.1 Included with EVALKITST8500-1................................ 4 2.2 Software packages........................................... 4 2.3 Hardware and software requirements............................ 4 3 Hardware description and configuration........................ 5 3.1 STM32 control board......................................... 5 3.1.1 Power supply configuration................................... 6 3.1.2 Platform mode configuration.................................. 7 3.1.3 Reset and extension connectors............................... 8 3.2 ST8500 module............................................. 8 3.3 STEVAL-ISA175V1 board.................................... 10 3.4 EVALKITST8500-1 LED description............................. 10 4 PC GUI and evaluation...................................... 11 4.1 Smartgrid LabTool evaluation...................................11 4.2 PLC GUI evaluation......................................... 13 5 STM32 FW upgrade and platform recovery..................... 14 5.1 How to upgrade STM32 firmware............................... 14 5.2 How to manage platform recovery.............................. 16 6 Revision history........................................... 18 2/ DocID031404 Rev 1

Safety precautions 1 Safety precautions The development kit must be used only by expert technicians. Due to the high voltage (superior to 50 V ac) present on the parts that are not isolated, it is recommended that special care is taken to ensure safe operation. There is no protection against accidental high voltage human contact. After the disconnection of the board from the mains, none of the live parts should be touched immediately because of potential danger from high voltage from the charged capacitors. It is mandatory to use a mains isolation transformer to perform any tests on the high voltage sections in which test instruments, e.g. spectrum analyzers or oscilloscopes, are used. Do not connect any oscilloscope probes to high voltage sections to avoid damaging instruments and demonstration tools. Warning: STMicroelectronics assumes no responsibility for any consequences that may result from the improper use of this tool. DocID031404 Rev 1 3/

Getting started UM2343 2 Getting started 2.1 Included with EVALKITST8500-1 The box delivery contains EVALKITST8500-1 platform, based on 3 hardware boards One ST8500 module (including the STLD1 line driver as a companion chip), supporting full PLC system based on ST8500 and STLD1 One STM32 mother board, supporting host device and interfaces STEVAL-ISA175V1, wide-range input voltage, 9.4 W power supply board based on VIPER26HD USB cable to the evaluation kit to PC AC power cord to connect the evaluation kit to AC mains supply 2.2 Software packages The ST8500 evaluation kit can be used with several PLC protocols and in different application scenarios. A complete toolset is available for each software package, including Binary images for protocol libraries Source code of application examples Specific PC GUI to easily evaluate protocol functionalities and performance Package documentation (UM, AN, etc.) The EVALKITST8500-1 is delivered with a pre-programmed STM32 firmware, without any specific protocol package. This basic framework enables the firmware upgrade by the dedicated Smartgrid LabTool PC application, included into each package along with the documentation on the upgrade procedure. Packages are separately delivered under the Software license agreement by contacting your local ST sales office. 2.3 Hardware and software requirements Using the EVALKITST8500-1 requires the following software and hardware A PC with the Microsoft Windows operating system. The GUI (graphical user interface) tools work with the Microsoft Windows XP or later and.net Framework 4 A PLC network (e.g. an additional EVALKITST8500-1) to test the communication through the power line The connection between the PC and the EVALKITST8500-1 is made through a USB cable. 4/ DocID031404 Rev 1

Hardware description and configuration 3 Hardware description and configuration Figure 2 shows the 3 boards integrated into the EVALKITST8500-1 and their main blocks. Figure 2. EVALKITST8500-1 block diagram The up-to-date schematics, placement, BOM and PCB layout of each board are available from www.st.com. 3.1 STM32 control board Figure 3. STM32 control board photo This control board supports the PLC module and allows the connection to The AC mains for the PLC and power The PC to control the platform through the USB connectors The board is based on an STM32 MCU that Supports all data flow between the PC and the evaluation kit Controls the PLC module operation Controls the 2 extension connectors available DocID031404 Rev 1 5/

Hardware description and configuration UM2343 Figure 4. STM32 control board overview 3.1.1 Power supply configuration By default, the power supply is provided by the AC/DC board (STEVAL-ISA175V1), so there is no need to use the external DC power supply. For the lab test, it is possible to power the platform in DC (12 V to 15 V) through the jack connector J101. Table 1. Power supply configuration Power mode AC/DC mode DC mode Jumper configuration J1: close 1-2 (VIPER) J104: close 1-2 (VIPER) J1: close 2-3 (LDO) J104: close 2-3 (JACK) Figure 5. STM32 control board - power jumper V DC LDO: 3.3 V KF33BD DC voltage from jack connector J104 VIN VOUT LDO EN V 3V3 J1 DC voltage from VIPER connector V and V EVALKITST8500-1 J1 J104 AM040309 6/ DocID031404 Rev 1

Hardware description and configuration 3.1.2 Platform mode configuration Two DIP switches are available on the STM32 control board to control the full evaluation kit behavior after the boot. The way to operate the switches is described in Table 2 and Table 3. Table 2. DIP switch S101 - ST8500 boot mode S101 OPEN/up Description PLC FW boot from UART: ST8500 images are loaded through the UART interface from the STM32 CLOSE/down PLC FW boot from SFlash: ST8500 images are read from the SFlash Table 3. DIP switch S102 - STM32 boot mode S102 OPEN/up Description Default mode: Smartgrid LabTool controls the PLC module through the STM32 driver CLOSE/down Pass through mode: the PLC GUI controls the PLC module through the host interface The default platform mode configuration is ST8500 boot: PLC FW boot from UART (S101 is OPEN/up) STM32 boot: default mode (S102 is OPEN/up) Figure 6. STM32 control board - DIP switches (S101 and S102) DocID031404 Rev 1 7/

Hardware description and configuration UM2343 3.1.3 Reset and extension connectors The reset button S100 triggers a system reset: the master reset signal goes to the STM32, which controls the ST8500 reset. Two extensions connectors (J202/J203) are available for the board evolution. Figure 7. STM32 control board - reset button and ext. connectors 3.2 ST8500 module Figure 8. ST8500 module photo The PLC module is connected to the STM32 control board through 2 connectors J201 - high voltage connection (L/N) to interface the PLC to the AC mains J200 - low voltage connection (digital and supply) to interface the module to the control board 8/ DocID031404 Rev 1

Hardware description and configuration Figure 9. ST8500 module overview The basic interface between the host controller and the ST8500 includes the following lines UART RX/TX to support host interface commands RESETn signal to control the modem reset BOOT1 to control the ST8500 boot mode LPMODE to control the ST8500 low power mode Trace UART TX to output firmware binary traces for debug Two DC voltages are provided to the module 8/18 V (15 V typical) to supply the STLD1 line driver 3.3 V as input for the ST8500 section (including 1.1 V on-board DC/DC input and 2.5 V integrated LDO input) DocID031404 Rev 1 9/

Hardware description and configuration UM2343 3.3 STEVAL-ISA175V1 board The board is developed using the VIPER26HD offline high-voltage converter by STMicroelectronics. Figure 10. STEVAL-ISA175V1 photo Note: All information related to the STEVAL-ISA175V1 board is available at www.st.com. Only the 3.3 V and 15 V outputs are used by the EVALKITST8500-1. 3.4 EVALKITST8500-1 LED description When the STM32 and ST8500 are running their firmware, the LEDs activity/status helps to understand the platform operating mode. Figure 11. LEDs mapping Note: As the LED toggle is fully controlled by the FW, the above description reflects the software version behavior. More details are provided on the firmware package delivery. 10/ DocID031404 Rev 1

PC GUI and evaluation 4 PC GUI and evaluation 4.1 Smartgrid LabTool evaluation The 'Smartgrid LabTool' PC GUI supports different useful tools to access the EVALKITST8500-1 FW upgrade tool: to load ST8500 FW to the SPI Flash connected to the STM32 or ST8500 NVRAM tool: read/write NVRAM configuration (from/to the SPI Flash connected to the STM32) Attribute tool: to get and set PLC attributes Trace tool: to configure and capture binary traces for debug Remote FW upgrade tool: to manage FW upgrade through the PLC link (application example - only available in G3 mode when the PAN coordinator is detected) Terminal tool: to send commands and control the STM32 FW All information regarding those tools are available from the help menu on the 'Smartgrid LabTool' GUI itself. Here is the procedure to connect the Smartgrid tool. Hardware setup Switch configuration No jumper on J200 Connect PC to J204 (named 'USB UART') Figure 12. Smartgrid LabTool evaluation - hardware setup Procedure to connect the Smartgrid LabTool 1. Start the 'Smartgrid LabTool' PC GUI 2. Power-up the EVALKITST8500-1 3. Select and open the right COM port (CP2105: standard port, check in the Windows device manager) 4. Press the 'auto detect' button 5. The GUI will show the proper tools based on the detected platform DocID031404 Rev 1 11/

PC GUI and evaluation UM2343 Figure 13. Smartgrid LabTool evaluation - connecting to ST8500 evaluation kit In Figure 14 is shown an example of the 'Smartgrid LabTool' GUI view after the STM32_ST8500/G3_DEVICE platform is detected: Figure 14. Smartgrid LabTool evaluation - after full platform detection Note: MNSH messages are used between the target and Smartgrid LabTool. Type 'help' on the terminal to get more information. 12/ DocID031404 Rev 1

PC GUI and evaluation 4.2 PLC GUI evaluation The PLC GUIs are complete PC tools which enable the access to the ST8500 specific protocol APIs. This requires more specific PLC protocol know-how. To enable this expert mode, the STM32 should boot in 'pass through mode' to interface the GUI directly to the ST8500. All information regarding this tools are available on the specific user manual released with each PLC GUI. Here is the procedure to connect the ST8500 evaluation kit to a PLC GUI Hardware setup Switch configuration Switch S102 - CLOSE/down No jumper on J200 Connect PC to J204 (named 'USB UART') Figure 15. PLC GUI evaluation - hardware setup Note: Procedure to connect the PLC GUI 1. Start the PLC GUI 2. Power-up the ST8500 evaluation kit 3. Start the PLC GUI and follow the instructions from the specific PLC GUI user manual The Smartgrid LabTool can be connected in parallel with the PLC GUI to recover the binary traces. DocID031404 Rev 1 13/

STM32 FW upgrade and platform recovery UM2343 5 STM32 FW upgrade and platform recovery 5.1 How to upgrade STM32 firmware The ST8500 evaluation kit supports the STM32 upgrade through the USB DFU (device firmware upgrade) profile. The GUI included in the STSW-STM32080 package should be used to upgrade the FW (available at www.st.com) After the PC software installation, here is the procedure to follow Hardware setup Switch configuration Switch S101 - OPEN/up Add jumper on J200 (named 'BOOT0') Connect PC to J201 (named 'USB DFU') Figure 16. DFU - hardware setup Procedure to upgrade the STM32 firmware 1. Start the DfuSe Demo tool 2. Power-up the ST8500 evaluation kit 3. STM device in DFU mode' detected 4. Select the new STM32 FW image (xxx.dfu) 5. Start upgrade 6. When the download is completed: remove the jumper from the J200 and reset the ST8500 evaluation kit. 14/ DocID031404 Rev 1

STM32 FW upgrade and platform recovery Figure 17. DFU - software setup Note: Be sure to use the latest DFU image provided by ST to get the full system functionality. DocID031404 Rev 1 15/

STM32 FW upgrade and platform recovery UM2343 5.2 How to manage platform recovery A recovery procedure supported by the Smartgrid LabTool is available to recover the original EVALKITST8500-1 delivery status. Hardware setup Switch configuration: default mode Switch S101/S102 - OPEN/up No jumper on J200 Connect PC to J204 (named 'USB UART) Figure 18. Smartgrid LabTool platform recovery - hardware setup Recovery procedure 1. Start the 'Smartgrid LabTool' GUI 2. Select and open the right COM port 3. Press EVALKITST8500 - recover factory mode 4. Press factory mode to start the procedure The PC tool will erase all data/code stored in the SPI Flash (ST8500 and STM32) and load the factory image into the SPI Flash connected to the STM32. 16/ DocID031404 Rev 1

STM32 FW upgrade and platform recovery Figure. Smartgrid LabTool platform recovery - software procedure DocID031404 Rev 1 17/

Revision history UM2343 6 Revision history Table 4. Document revision history Date Revision Changes 05-Mar-2018 1 Initial release. 18/ DocID031404 Rev 1

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2018 STMicroelectronics All rights reserved DocID031404 Rev 1 /