NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
UM0997 STEVAL-IPP001V2 STM32 ST7580 RS232/IRDA STM32F103VE M24128 LF33AB - Datasheet Archive
User manual STEVAL-IPP001V2: E-meter demonstration board with PLM Introduction The E-meter demonstration board can be used as a
UM0997 UM0997 User manual STEVAL-IPP001V2 STEVAL-IPP001V2: E-meter demonstration board with PLM Introduction The E-meter demonstration board can be used as a guideline to designing a typical energy meter board for smart metering applications. It was designed to include advanced features as well as to fit the requirements for next generation energy meters. These extra features can be included in the board by modules for easy customizing. The board includes the following functions shown in the block diagram of Figure 1: Energy measurement by an external metrology board Power line communication up to 28.8 kbps LCD display to show energy consumption information USB and RS232/IrDA connectivity Optional ZigBee® communication capability Optional MEMS module support Expansion capability for smartcard interface Figure 1. November 2010 Block diagram Doc ID 17939 Rev 1 1/56 www.st.com Contents UM0997 UM0997 Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 1.2 Safety precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.3 Getting technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4 2 Recommended reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Package checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 E-meter demonstration board with PLM components . . . . . . . . . . . . . . 7 2.1 Microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.4 Power supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.5 Power line communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.6 Metrology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.7 User interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.8 MEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.9 RS32/IrDA serial communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.10 Smartcard expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.11 ZigBee communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.11.1 USB communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.11.2 General purpose configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.12 Status LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.13 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13.1 Jumper placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13.2 Jumper positions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13.3 Jumper description and default value . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.14 2.15 3 Push button description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1 3.2 Metrology board connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 2/56 STM32 STM32 JTAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 ST7580 ST7580 JTAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Doc ID 17939 Rev 1 UM0997 UM0997 Contents 3.4 3.5 Smartcard expansion connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.6 4 RTC calibration connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 ST7580 ST7580 serial communication interface connector . . . . . . . . . . . . . . . . . 18 Board configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.1 Boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2 LCD interface - ZigBee interface configuration . . . . . . . . . . . . . . . . . . . . . 19 4.3 RTC calibration configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.4 Energy meter data line configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.5 RS232/IrDA configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5 BOM list and schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.1 6.2 Metrology board connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.3 User interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.4 LCD connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 6.5 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 6.6 MEMS module connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 6.7 General purpose configuration jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . 46 6.8 Power line modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 6.9 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.10 ZigBee module connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 6.11 7 Top page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 USB connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Doc ID 17939 Rev 1 3/56 List of tables UM0997 UM0997 List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. 4/56 STM32 STM32 resources ST7580 ST7580 function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 STM32 STM32 resources - Energy meter IC function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 STM32 STM32 resources - user interface function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 STM32 STM32 resources - MEMS function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 STM32 STM32 resources - RS232/IrDA function mapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 STM32 STM32 resources - smartcard interface function mapping . . . . . . . . . . . . . . . . . . . . . . . . . 10 STM32 STM32 resources ZigBee module function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 STM32 STM32 resources - configuration jumper function mapping . . . . . . . . . . . . . . . . . . . . . . . . 11 LED description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Push button description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 STM32 STM32 JTAG connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Energy meter IC calibration connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 ST7580 ST7580 JTAG connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 RTC calibration connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Smartcard expansion connector description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 ST7580 ST7580 serial communication connector description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Boot modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 BOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Doc ID 17939 Rev 1 UM0997 UM0997 List of figures List of figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. Figure 25. Figure 26. Figure 27. Figure 28. Figure 29. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Jumper placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Jumper positions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Auto-calibration mode connection diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 STM32 STM32 JTAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Energy meter IC calibration connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 ST7580 ST7580 JTAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 RTC calibration connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Smartcard expansion connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 ST7580 ST7580 serial communication connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Energy meter board connection section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Joystick LED section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 LCD section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 MCU schematic page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 MCU power supply schematic page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 LCD and energy meter IC interfaces options jumpers schematic page . . . . . . . . . . . . . . . 44 MCU JTAG and EEPROM schematic page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 MEMS section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 System JTAG connector, ST7580 ST7580 UART interface and 8051 program Flash memory. . . . 47 ST7580 ST7580 schematic page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 ST7580 ST7580 reset, host interface, and current limit schematic page . . . . . . . . . . . . . . . . . . . . . 49 ST7580 ST7580 filters schematic page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Power supply - RS232/IRDA RS232/IRDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Power supply - SC interface / user inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 ZigBee module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 USB section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Doc ID 17939 Rev 1 5/56 Overview UM0997 UM0997 1 Overview 1.1 Recommended reading This document describes how to configure and use the E-meter demonstration board. Additional information can be found in the following documents which are referenced throughout this document: Third party device datasheets Dedicated application notes and user manuals 1.2 ST device datasheets and data briefs E-meter demonstration board with PLM firmware user manual Safety precautions The board must be used only by expert technicians. Due to the high voltage (220 Vac) special care should be taken with regard to safety. There is no protection against accidental human contact with high voltages. After disconnecting the board from the mains, none of the live parts should be immediately touched because of the energized capacitors. It is mandatory to use a mains insulation transformer to perform any tests on the board in which test instruments such as spectrum analyzers or oscilloscopes are used. Do not connect any oscilloscope probes to high voltage sections in order to avoid damaging instruments and demonstration tools. Warning: 1.3 ST assumes no responsibility for any consequences which may result from the improper use of this tool Getting technical support Technical assistance is provided free to all customers. For technical assistance, documentation, information, and upgrades regarding ST products and services, please refer to your local distributor/office. 1.4 Package checklist The E-Meter demonstration board with PLM kit package includes the following: 6/56 The E-meter demonstration board with PLM A CD-ROM with software and documentation Doc ID 17939 Rev 1 UM0997 UM0997 E-meter demonstration board with PLM components 2 E-meter demonstration board with PLM components 2.1 Microcontroller The system is managed by the STM32F103VE STM32F103VE microcontroller. It is based on the 32-bit ARM Cortex-M3 core with 72 Mhz maximum frequency, 512 KB flash and 64 KB SRAM embedded memories. For further details please refer to the STM32F103xC, STM32F103xD, and STM32F103xE; High-density Performance line, ARM-based 32-bit MCU with up to 512 KB Flash, USB, CAN, 11 timers, 3 ADCs and 13 communication interfaces, datasheet. The microcontroller is driven by an external 8 MHz crystal for the high-speed main clock and a 32768 Hz for low speed RTC clock. The microcontroller can manage the M24128 M24128 EEPROM memory for data storage. Some jumpers are also connected to the microcontroller GPIO in order to allow firmware configuration. 2.2 Debug Software debug is via a standard 20-pin JTAG connection. The JTAG connector is not insulated, so for debugging use the JTAG opto-insulation board (order code: AIJTAG/OPTO-1/A) or a battery supplied notebook, alternatively, supply the board through an insulated AC source. 2.3 Reset The reset sources are: push button reset 2.4 power on reset JTAG reset from an in-circuit emulator Power supplies The board is powered directly by the mains. It includes an insulated extended range power supply validated in the 88 - 256 Vac range and both 50 Hz and 60 Hz frequencies. The power supply consists of an AC-DC based on the Altair04-900 regulator; it provides 13 Vdc with 700 mA maximum current on the main output and 3.3 Vdc with 150 mA on the auxiliary output through an LF33AB LF33AB linear regulator. 2.5 Power line communication The board allows digital data communication through power line modulation using the ST7580 ST7580 power line modem. For more details on the modem, please refer to the ST7580 ST7580; FSK, N-PSK multi-mode power line networking system-on-chip, datasheet. The modem section can be fully separated from the microcontroller in order to allow the full debugging of the ST7580 ST7580 firmware. In fact, this section also includes a JTAG connector, an 8 MHz crystal, and a reset button dedicated to the modem. The ST7580 ST7580 is able to execute custom firmware from the serial flash memory included in the board. The ST7580 ST7580 supports both B-FSK modulation up to 9600 bps and several kinds of both coded and non-coded PSK modulation Doc ID 17939 Rev 1 7/56 E-meter demonstration board with PLM components UM0997 UM0997 (BPSK, QPSK, 8PSK) up to 28.8 kbps. The modem supports dual-channel operation mode and AES-128 AES-128 hardware encryption as well; moreover, it is compliant with CENELEC band A and B, supports zero-crossing transmission synchronization, and has a 1 Arms with 15 Vpp single-ended thanks to its integrated amplifier. The modem is able to self-adapt the current limit network properly driving the Q2 MOSFET when modulation settings are modified. This board section is insulated from the AC mains by an opto-insulator connected between the ST7580 ST7580 zero-crossing pin and a coupler transformer for the transmission/reception part. Table 1 shows the MCU resources mapping used for ST7580 ST7580 management: Table 1. STM32 STM32 resources ST7580 ST7580 function mapping STM32 STM32 resource PA0 (USART2-CTS) GPIO1 PC6 GPIO2 PC7 GPIO4 USART2-RTS T-REQ USART2-TX RXD USART2-RX TXD PC8 2.6 ST7580 ST7580 function RESET Metrology The metrology section is not included in the board but is an external module connected by a standard DIL connector. This allows a modular system to be built for both three-phase and mono-phase meters; at the same time, the modular architecture allows the metrology section to be easily calibrated. A three-phase meter is built connecting the STEVALIPE010V1 STEVALIPE010V1 which supports the STPMC1 plus STPMS1 energy meter chipset; for details on this demonstration board please refer to user manual for the STEVAL-IPE010V1 STEVAL-IPE010V1, UM0746 UM0746; Energy meter demonstration kit based on the STPMC1 and STPMS1. A mono-phase meter is built connecting the STEVAL-IPE002V1 STEVAL-IPE002V1 demonstration board. The STEVAL-IPE003V1 STEVAL-IPE003V1 and STEVAL-IPE004V1 STEVAL-IPE004V1 boards can also be supported but a change in the microcontroller firmware is necessary.Table 2 shows the MCU resources mapping for energy meter IC management: Table 2. STM32 STM32 resources - Energy meter IC function mapping STM32 STM32 resource PB8 SYN SPI2-MOSI/MISO SDA SPI2-SCK SCL SPI2-NSS 8/56 Energy meter function SCS Doc ID 17939 Rev 1 UM0997 UM0997 2.7 E-meter demonstration board with PLM components User interface The board allows user interaction through a joystick and one button; three LEDs and a 2.4" color TFT LCD display with a 240x320 resolution are used as output devices. The LCD connection with the MCU can be chosen between SPI and GPIOs emulating the SPI protocol by software. The LCD board is a spare part of the STM3210B-EVAL STM3210B-EVAL or of the STM3210E-EVAL STM3210E-EVAL. Table 3 shows a summary of the MCU resources mapping: Table 3. STM32 STM32 resources - user interface function mapping STM32 STM32 resource SPI1-SCK/PD5 LCD-CLK SPI1-MISO/PD4 LCD-DO SPI1-MOSI/PD3 LCD-DI PC12 LCD-CS PB0 LCD-RS PB1 LCD-WR PB9 LCD-BACKLIGHT PE15 JOYSTICK-UP PE14 JOYSTICK-LEFT PE13 JOYSTICK-RIGHT PE12 JOYSTICK-SEL PE11 JOYSTICK-DOWN PE10 KEY-BUTTON PE0 LED2 PE1 LED1 PE2 2.8 User interface function LED0 MEMS The board includes an expansion connector for the connection of an optional MEMS module. The connector is compatible with the STEVAL-MKI021V1 STEVAL-MKI021V1 demonstration board for the LIS331AL LIS331AL; for further details, please refer to the UM0614 UM0614; STEVAL-MKI021V1 STEVAL-MKI021V1 demonstration kit for the LIS331AL LIS331AL, user manual and to the LIS331AL LIS331AL; MEMS inertial sensor: 3-axis - ±2g analog output "nano" accelerometer, datasheet. Table 4 gives details on MCU resources mapping: Table 4. STM32 STM32 resources - MEMS function mapping STM32 STM32 resource MEMS function ADC-10 ADC-10 X axis voltage ADC-11 ADC-11 Y axis voltage ADC-12 ADC-12 Z axis voltage Doc ID 17939 Rev 1 9/56 E-meter demonstration board with PLM components 2.9 UM0997 UM0997 RS32/IrDA serial communication The board includes a serial communication interface; it is possible to configure this interface as an insulated RS232 RS232 or as IrDA. Table 5 shows the MCU resources mapping: Table 5. STM32 STM32 resources - RS232/IrDA function mapping STM32 STM32 resource UART4-TX RS232/IrDA-TX UART4-RX 2.10 Serial communication function RS232/IrDA-RX Smartcard expansion The board includes connectors (21) to optionally fit a smartcard interface module. Table 6 shows the MCU resources mapping: Table 6. STM32 STM32 resources - smartcard interface function mapping STM32 STM32 resource USART1-CK SC-CLK USART1-TX SC-TX USART1-RX SC-RX PD2 SC-nOFF PC5 2.11 Smartcard interface function SC-RST ZigBee communication The board includes a connector to optionally fit a ZigBee communication module. The connector is compatible with the SPZB260-PRO SPZB260-PRO module supporting both SPI and UART communication interfaces. The SPI1, used for the ZigBee module, is shared with the LCD so if the SPI1 is used as the interface, the LCD must be used in emulation mode by GPIOs. For further details on interface configuration of the SPZB260-PRO SPZB260-PRO please refer to the SPZB260PRO SPZB260PRO; ZigBee module, datasheet. Table 7 shows the MCU resources mapping: Table 7. STM32 STM32 resources ZigBee module function mapping STM32 STM32 resource SPI1-SCK SLK SPI1-MISO MISO SPI1-MOSI MOSI USART3-RTS nSEL-CTS USART3-CTS RTS USART3-TX HOST-INT-RXD USART3-RX 10/56 ZigBee module function TXD Doc ID 17939 Rev 1 UM0997 UM0997 E-meter demonstration board with PLM components Table 7. STM32 STM32 resources ZigBee module function mapping (continued) STM32 STM32 resource PB10 WAKE PB11 2.11.1 ZigBee module function RSTB USB communication The board supports a USB 2.0 full speed communication. Before connecting the board to a PC, make sure to take all the necessary safety precautions as the USB is not insulated. 2.11.2 General purpose configuration The boards support five general purpose configuration jumpers for the STM32 STM32 firmware, Table 8 shows the resource mapping: Table 8. STM32 STM32 resources - configuration jumper function mapping STM32 STM32 resource PE8 CONF0 PE7 CONF1 PE6 CONF2 PE5 CONF3 PE9 2.12 Description CONF4 Status LEDs Table 9. LED description LED Description D13 General purpose D14 General purpose D15 General purpose DL1 13 V power supply voltage status DL2 3.3 V power supply voltage status Doc ID 17939 Rev 1 11/56 E-meter demonstration board with PLM components 2.13 Jumpers 2.13.1 Jumper placement Figure 2. 2.13.2 Jumper positions Figure 3. 12/56 Jumper placement Jumper positions Doc ID 17939 Rev 1 UM0997 UM0997 UM0997 UM0997 2.13.3 E-meter demonstration board with PLM components Jumper description and default value Table 10. Jumper description Jumper Description Default JP6 DL1 enable Fitted: DL1 enabled Not fitted: DL1 disabled Fitted JP7 DL2 enable Fitted: DL1 enabled Not fitted: DL1 disabled Fitted JP8 To connect mains ground to board ground Fitted: grounds connected Not Fitted: grounds not connected Not Fitted SW3 SW5, SW6 EEPROM address setting Fitted (1-2): address bit 1 Fitted (2-3): address bit 0 Fitted (2-3) SW7, SW9 Boot option Fitted (1-2): boot option bit 0 Fitted (2-3): boot option bit 1 Fitted (1-2) STM32 STM32 VBAT option Fitted (1-2): VBAT from power supply Fitted (2-3): VBAT from battery ß Fitted (1-2) RTC calibration mode Fitted (1-2): normal mode Fitted (2-3): RTC calibration mode Fitted (1-2) SW12 SW13, SW14, SW15 General purpose configuration bit SW19, SW20, SW21, Fitted (1-2): configuration bit 0 SW22, SW23 Fitted (2-3): configuration bit 1 JP11, JP12, JP13, JP14, JP15, JP17, JP18 J11 SW10 SW16, SW17, SW18 JP5 Fitted (1-2) STM32-ST7580 STM32-ST7580 Connection Fitted: STM32-ST7580 STM32-ST7580 control lines connected Not Fitted: STM32-ST7580 STM32-ST7580 control lines not connected Fitted Energy meter board power supply option Fitted: energy meter powered by the board Not fitted: energy meter self powered Fitted Energy meter data line option - Fitted (1-2): data line connected to SPI2-MOSI - Fitted (2-3): data line connected to SPI2-MISO Fitted (2-3) LCD connection option - Fitted (1-2): LCD controlled by SP1 - Fitted (2-3): LCD controlled by GPIOs Fitted (1-2) ST7580 ST7580 external flash enable - Fitted: ST7580 ST7580 run flash firmware - Not fitted: ST7580 ST7580 disabled Doc ID 17939 Rev 1 Not fitted 13/56 E-meter demonstration board with PLM components Table 10. Jumper description (continued) Jumper JP4 Jumper 2.14 UM0997 UM0997 Description Default ST7580 ST7580 external flash hold - Fitted: flash data output disabled - Not fitted: flash data output enabled Not fitted Description Default Push button description Table 11. Push button description Switch S1 STM32 STM32 reset button SW1 ST7580 ST7580 reset button Connector description Figure 4. 14/56 General purpose button SW4 2.15 Description Auto-calibration mode connection diagram Doc ID 17939 Rev 1 UM0997 UM0997 E-meter demonstration board with PLM components Table 12. Connector description Connector Description J9 AC mains connector J8 12 V DC output voltage J3 JTAG connector for ST7580 ST7580 J19 STM32 STM32 RTC calibration connector J21 Smartcard expansion connector J15 JTAG connector for STM32 STM32 J10 Metrology board connector J2 ST7580 ST7580 serial communication interface connector J22, J23 MEMS module connectors J24, J25 ZigBee module connectors J12 LCD connector CN1 RS232 RS232 connector CN2 USB connector Doc ID 17939 Rev 1 15/56 Connectors UM0997 UM0997 3 Connectors 3.1 STM32 STM32 JTAG connector Figure 5. Table 13. STM32 STM32 JTAG connector STM32 STM32 JTAG connector description Pin Description Pin Description Pin Description Even pins Ground 5 TDI 13 TD0 1 VTref +3.3 V 7 TMS 15 notTReset 2 Vsupply +3.3 V 9 TCK 17 DBGRQS - pulled down 3 notTRST 11 RTCK (ground) 19 Pulled down 3.2 Metrology board connector Figure 6. Energy meter IC calibration connector Table 14. Energy meter IC calibration connector description Pin Pin Description 1 Not connected 6 SCLK 2 Not connected 7 Not connected 3 GND 8 SYN 4 SDA 9 Not connected 5 16/56 Description SCS 10 3.3 V Doc ID 17939 Rev 1 UM0997 UM0997 3.3 Connectors ST7580 ST7580 JTAG connector Figure 7. ST7580 ST7580 JTAG connector Table 15. ST7580 ST7580 JTAG connector description Pin Pin Description 1 TCK 6 Pull up 2 GND 7 Not connected 3 TDO 8 NTRST 4 Not Connected 9 Not connected 5 3.4 Description TMS 10 GND RTC calibration connector Figure 8. RTC calibration connector Table 16. RTC calibration connector description Pin Description 1 Fin: frequency coming from the main RTC board 2 GND 3 Clock-In/clock-out 4 Data-in/data-out 5 Interrupt signal-in/interrupt signal-out Doc ID 17939 Rev 1 17/56 Connectors 3.5 UM0997 UM0997 Smartcard expansion connector Figure 9. Smartcard expansion connector Table 17. Smartcard expansion connector description Pin 1 3.3 V 2 CLK 3 TX 4 RX 5 RST 6 NOFF 7 3.6 Description GND ST7580 ST7580 serial communication interface connector Figure 10. ST7580 ST7580 serial communication connector Table 18. ST7580 ST7580 serial communication connector description Pin Pin Description 1 VDD 4 RXD 2 TXD 5 GND 3 18/56 Description T-REQ 6 GND Doc ID 17939 Rev 1 UM0997 UM0997 Board configuration 4 Board configuration 4.1 Boot The board allows the boot options of the STM32 STM32 to be configured by setting jumpers SW7 and SW9: SW7 drives BOOT0 and SW9 drives BOOT1. Table 19, which is taken from the STM32 STM32 RM0008 RM0008; STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx advanced ARM-based 32-bit MCUs, reference manual, shows the boot options of the STM32 STM32. Table 19. Boot modes Boot mode selection pins Boot mode Aliasing BOOT1 x 0 Main Flash memory Main Flash memory is selected as boot space 0 1 System memory System memory is selected as boot space 1 4.2 BOOT0 1 Embedded SRAM Embedded SRAM is selected as boot space LCD interface - ZigBee interface configuration The default communication interface configuration of a ZigBee module is SPI. To use this configuration, the LCD interface must be configured in software emulation mode using GPIOs by properly setting SW16, SW17, and SW18 according to Table 10; in this case the LCD CLK, DO and DI are driven by PD5, PD4, and PD3 respectively. Configuring the ZigBee module in UART mode allows the LCD to be driven by SPI1; in this case R81, R82, R83, and R90 must be removed and SW16, SW17, and SW18 set according to Table 10. In this case the ZigBee module is driven by USART3. 4.3 RTC calibration configuration To calibrate the STM32 STM32 RTC, the SW13, SW14, and SW15 must be set according to Table 10. When these switches are set in RTC calibration mode, PC6, PC7, and PC8 aren't available to drive ST7580 ST7580 GPIOs. The J19 connector is used for STM32-RTC STM32-RTC calibration; for further information on RTC calibration methodology please refer to the AN2604 AN2604; STM32F101xx and STM32F103xx RTC calibration, application note. 4.4 Energy meter data line configuration It is possible to configure if using the SPI2 MOSI or SPI2 MISO as the energy meter data line setting SW10, according to Table 10. Doc ID 17939 Rev 1 19/56 Board configuration 4.5 UM0997 UM0997 RS232/IrDA configuration It is possible to configure the UART4 as insulated RS232 RS232 or as IrDA. Fitting R59, R60 and removing R62 and R63, the UART is used as RS232 RS232; the same UART can be used as IrDA by the opposite configuration. 20/56 Doc ID 17939 Rev 1 BOM Ref. CM3 Part / value Toleran ce % Voltage current INDEPCOSB82721K INDEPCOSB82721K WATT Power line chokes 10 mH 0.7 A Manufacturer RS/distrelec/ other Technology information Packagefootprint Manuf. Through hole EPCOS B82721K2701N020 B82721K2701N020 Through hole Any More info BOM list and schematics BOM list and schematics Table 20. 21/56 5 RS:542-8009 code Digi-Key: 4952739-ND 4952739-ND code Any Doc ID 17939 Rev 1 CN1 PORT 0 R/A DB9 male connector (plug) CN2 USB_TYPE B USB socket Through hole Any Distrelec: 124164 C2 120 pF 5% 50 V X7R/COG ceramic capacitor SMD 0603 Any Any C3, C48 100 pF 5% 50 V X7R/COG ceramic capacitor SMD 0603 Any Any UM0997 UM0997 Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code Doc ID 17939 Rev 1 C4, C7, C13, C14, C15, C17, C18, C19, C21, C22, C43, C47, C49, C50, C51, C52, C53, C65, C66, C64, C75,C78, C79, C80, C81, C82, C83, C87, C88, C89 100 nF 10 % 25 V X7R ceramic capacitor SMD 0603 Any Any C5, C12, C16, C23, C42 10 µF 20 % 10 V Y5V ceramic capacitor SMD 1206 Any More info UM0997 UM0997 Table 20. RS:434-8097 Through EMI hole 15 mm suppression lead X2 capacitor spacing 220 nF X2 20 % 305 Vac C1, C85 10 nF 10 % 25 V X7R ceramic capacitor SMD 0603 Any Any C8 2.2 nF 5% 25 V COG ceramic capacitor SMD 0603 Any Any C9 120 pF 5% 50 V COG ceramic capacitor SMD 0603 Any Any C10 10 nF 10 % 50 V X7R ceramic capacitor SMD 0805 Any Any Epcos B32922A2224M B32922A2224M RS:497-4129 BOM list and schematics 22/56 C6 Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code C11 15 nF 10 % 50 V X7R ceramic capacitor SMD 0805 Any Any C20 47 µF 10 % 16 V Tantalum capacitor SMD 603228 Any RS: 407-0047 350 V Aluminum electrolytic capacitor Through hole 18 mm diameter, 7.5 mm lead spacing Panasonic EEUED2V820S EEUED2V820S RS: 526-2247 250 Vac Chip Monolithic X2 ceramic capacitors SMD 2220 Murata GA355XR7GB3 GA355XR7GB3 33KY06L 33KY06L Distrelec: 830079 16 V Low ESR electrolytic capacitor Through hole 10 mm diameter, 5 mm lead spacing Rubycon 16ZL1000M10X 16ZL1000M10X 20 Distrelec: 801841 Through hole 10 mm diameter, 5 mm lead spacing Rubycon 16ZL470M10X1 16ZL470M10X1 2.5 More info BOM list and schematics 23/56 Table 20. Distrelec: 801839 C24, C25 Doc ID 17939 Rev 1 C26 C27 82 µF 33 nF X2 1000 µF 16 V ZL 20 % 10 % 20 % 470 µF 16 V ZL 20 % 16 V C29, C30, C38, C67, C68, C69, C70, C71, C77 100 nF 10 % 25 V X7R ceramic capacitor SMD 0805 Any Any C31 3.3 µF 20 % 35 V Aluminum electrolytic capacitor Through hole Any Any UM0997 UM0997 C28 Low ESR electrolytic capacitor Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code 20 % 16 V Low ESR electrolytic capacitor Through hole Panasonic EEUFC1C331 EEUFC1C331 RS: 315-0451 100 uF 10 V ZL 20 % 16 V Low ESR electrolytic capacitor Through hole Rubycon 16ZLH100M5x1 1 Distrelec: 801183 C34 2.2 nF - Y1 20 % 250 Vac Y1 Ceramic multi-layer capacitors Through hole Murata DE1E3KX222M DE1E3KX222M A5B Farnell: 3531995 C35 1 nF 5% 50 V COG ceramic capacitor SMD 0805 Any Any C36 470 nF 10 % 16 V X7R ceramic capacitor SMD 0805 Any Any C37 4.7 nF 10 % 50 V X7R ceramic capacitor SMD 0805 Any Any C39 4.7 µF 20 % 25 V electrolytic capacitor Through hole Any Any C40 15 pF 5% 50 V COG ceramic capacitor SMD 0805 Any Any C41 4.7 pF 5% 50 V COG ceramic capacitor SMD 0805 Any Any C44, C45 1 nF 10 % 25 V X7R ceramic capacitor SMD 0603 Any Any C60, C61 10 pF 5% 50 V COG ceramic capacitor SMD 0603 Any Any 24/56 BOM list and schematics 330 µF C33 Doc ID 17939 Rev 1 C32 More info UM0997 UM0997 Table 20. Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code 22 pF 5% 50 V COG ceramic capacitor SMD 0603 Any C72, C90 4.7 µF 20 % 10 V Y5V ceramic capacitor SMD 0805 Murata C76 4.7 nF 10 % 50 V X7R ceramic capacitor SMD 0805 Any Any C84 Doc ID 17939 Rev 1 C62, C63 470 nF 10 % 16 V X7R ceramic capacitor SMD 0805 Any Any C86 10 µF 10 % 10 V Tantalum capacitor SMD 603228 Any RS: 648-0575 C91, C92 47 nF 10 % 50 V X7R ceramic capacitor SMD 0805 Any Any DL1, D14 Green 20 mA Green LED diode SMD 0805 Kingbright KP-2012MGC KP-2012MGC RS: 466-3778 DL2, D15 Yellow 20 mA Yellow LED diode SMD 0805 Kingbright KP-2012SYC KP-2012SYC RS: 466-3835 D13 Red 20 mA Red LED diode SMD 0805 Kingbright KP-2012SRCPRV KP-2012SRCPRV RS: 466-3813 DZ1 P6KE200A P6KE200A 200 V TransilTM diode Through hole DO204AC DO204AC STMicroelectronics P6KE200A P6KE200A D1 LL4148 LL4148 100 V/150 mA Small signal rectifier SMD DO213AA DO213AA Any D3, D5 STPS1L30 STPS1L30 A 30 V/1 A Low drop power Schottky rectifier SMD SMA/DO214AC SMA/DO214AC STMicroelectronics More info BOM list and schematics 25/56 Table 20. Any GRM21BF51A4 GRM21BF51A4 75ZA01L 75ZA01L Distrelec: 830046 ST supply RS: 652-7494 Any ST supply UM0997 UM0997 STPS1L30A STPS1L30A Any Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code More info SM6T15CA SM6T15CA Transil diode SMD SMB/DO214AA SMB/DO214AA STMicroelectronics SM6T15CA SM6T15CA ST supply D6 SM6T6V8C A Transil diode SMD SMB/DO214AA SMB/DO214AA STMicroelectronics SM6T6V8CA ST supply D7, D9 SM4007 SM4007 1000 V/1A D8 STPS2150 STPS2150 150 V/2 A Power Schottky rectifier diode D10 STTH108 STTH108 800 V/1 A High voltage ultrafast rectifier D11 STPS1150 STPS1150 D12 Doc ID 17939 Rev 1 D4 UM0997 UM0997 Table 20. FB1, FB2, FB3 SMD SMA/DO214AC SMA/DO214AC Any RS: 505-4939 STPS2150A STPS2150A ST supply Through STMicroelectronics hole DO-41 DO-41 STTH108 STTH108 ST supply 150 V/1 A Power Through Schottky STMicroelectronics hole DO-41 DO-41 rectifier diode STPS1150 STPS1150 ST supply STPS1L60 STPS1L60 60 V/1 A Power Schottky rectifier diode SMD SMA/DO214AC SMA/DO214AC STMicroelectronics STPS1L60A STPS1L60A ST supply 2A FUSE 250 Vac/2 A Fuse, time delay, 2A Through hole radial 5mm lead spacing Bussmann BK/ETF 2A Farnell:302997 9 1500 mA EMIFIL (Inductor type) chip Ferrite Bead, Impedance 330 ohm SMD 0805 Murata BLM21PG331S BLM21PG331S N1 Digi-Key: BLM21PG331 BLM21PG331 SN1D-ND BLM21PG3 BLM21PG3 31SN1 31SN1 STMicroelectronics 26/56 BOM list and schematics F1 Standard SMD melf/ rectifier diode DO-213AB DO-213AB Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code IC1 ST3232EB ST3232EB DR RS-232 RS-232 drivers and receivers SMD SO16 STMicroelectronics TFDU4301 TFDU4301 IrDA transceiver SMD Vishay semiconductor TFDU4300-TR1 TFDU4300-TR1 code ST3232EBDR ST3232EBDR IC2 RS/distrelec/ other More info ST supply Farnell: 1469607 CLOSE There are no compon ents mounte d JP4, JP5, JP6, JP7 CLOSE 2-way stripline connector Through hole 2.54 mm pitch Mount with jumper: RS: 2518503 JP8 OPEN Not mounted SMD J2 CON6A 6-way 2 row vertical IDC box header Through hole 2.54 mm pitch Any Distrelec: 121631 J3 CON10AP CON10AP 10-way 2 row vertical IDC box header Through hole 2.54 mm pitch Any RS: 473-8254 VDD_12 V 2-way horizontal header, 5.08 mm pitch BOM list and schematics 27/56 Table 20. JP11, JP12, JP13, JP14, JP15, JP17, JP18 Doc ID 17939 Rev 1 Through hole 5 mm pitch RS:251-8086 Not mounte d Tyco Electronics 282815-2 RS: 361-7544 2-way screw terminal RS: 3617320 UM0997 UM0997 J8 Any Ref. J9 BOM (continued) Part / value Toleran ce % MAINS_CO N Voltage current 250Vac / 2.5A WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code Flush-type device plug C8 Snap-in Through hole Schurter Through hole 2.54 mm pitch 90° Any More info UM0997 UM0997 Table 20. Alternati ve: MULTIC OMP, type:JR 201S RS: 473-8349 4300.0099 Distrelec: 110275 Jumper 2-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8086 LCD connector Mount 2 connectors: 8-way (2x4) double row strip line socket Through hole 2.54 mm pitch Any RS: 488-1730 JTAG Right-angled IDC boxed header, 20way 2 row Through hole 2.54 mm pitch 90° Any RS: 473-8377 RTC_CAL 5-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8121 J21 SC_CON NOT FIT Not mounted 7-way stripline connector Through hole 2.54 mm pitch J22 CON3 Not mounted 3-way top entry socket (strip female) Through hole 2.54 mm pitch J12 Not mounted Any RS: 488-1724 Not mounte d BOM list and schematics J11, J20 J19 28/56 CON10 CON10 J15 Doc ID 17939 Rev 1 J10 Right-angled IDC boxed header, 10way 2 row Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code More info Not mounted 2-way top entry socket (strip female) Through hole 2.54 mm pitch Any RS: 488-1724 Not mounte d ZigBee CONN1 Not mounted 6-way top entry socket (strip female) Through hole 2.54 mm pitch Any RS: 488-1724 Not mounte d J25 ZigBee CONN2 Not mounted 6-way top entry socket (strip female) Through hole 2.54 mm pitch Any RS: 488-1724 Not mounte d L1 15 µH 10 % 2.5 A Power inductor SMD 10x10mm body size EPCOS B82464A4153K B82464A4153K Farnell: 7429649 L2 220 µH 10 % 240 mA Power inductor SMD 6x6 mm body size EPCOS B82462A4224K B82462A4224K RS: 495-8048 L3 4.7 µH 20 % 2A Power inductor SMD 6x6 mm body size EPCOS B82462G4472M B82462G4472M Farnell: 7430000 L4 1 mH 10 % 120 mA Inductor SMD 2220 EPCOS B82442H1105K B82442H1105K RS: 496-1347 2A High current (2A) ferrite chip bead, impedance at 100 MHz: 600 ohm SMD 0805 KEKITAGAWA MLB-2012090600PN MLB-2012090600PN Distrelec: 330138 NTC resistor Through hole Disc 5 mm lead spacing EPCOS B57236S0160M B57236S0160M 000 Distrelec: 730576 L5 NTC1, NTC2 BEAD 16 20 % 2.9 A 2.1 W UM0997 UM0997 CON2 J24 Doc ID 17939 Rev 1 J23 BOM list and schematics 29/56 Table 20. Ref. BOM (continued) Part / value Toleran ce % Voltage current 60 V/0.2 A Technology information Packagefootprint Manuf. STripFETTM Power MOSFET WATT SMD SOT23-3L STMicroelectronics Manufacturer code RS/distrelec/ other code 2N7002 2N7002 R1 47 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R2, R3, R5, R6 10 k 1% 1W Professional MELF resistors SMD MMB 0207 Vishay Distrelec: 710082 R4 120 1% 0.1 W Metal film resistor SMD 0603 Any Any R7 10 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R8 39 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R9 330 1% 0.1 W Metal film resistor SMD 0603 Any Any R11, R18 47 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R12 1 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R13 5.1 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R14 24 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R17 Doc ID 17939 Rev 1 Q2 150 1% 0.1 W Metal film resistor SMD 0603 Any Any More info UM0997 UM0997 Table 20. 2N7002 2N7002 BOM list and schematics 30/56 Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code Doc ID 17939 Rev 1 4.7 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R22, R61 1 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R35, R37 6.8 M 5% 0.25 W Metal film resistor SMD 1206 Any Any R36 2.5 k 5% 0.25 W Metal film resistor SMD 1206 Any Any R38 33 k 1% 0.25 W Metal film resistor SMD 1206 Any Any R39 10 5% 0.25 W Metal film resistor SMD 1206 Any Any R40 Not mounted 0.25 W Metal film resistor SMD 1206 R41 10 k 1% 0.25 W Metal film resistor SMD 1206 Any Any R42 75 k 1% 0.25 W Metal film resistor SMD 1206 Any Any R43 15 1% 0.25 W Mini-MELF resistors SMD 1206 Any Vishay Distrelec:7130 30 UM0997 UM0997 R10, R15, R19, R20, R21, R23, R24, R25, R26, R27, R28, R29, R30, R31, R32, R33, R34, R58, R90, R71, R72, R73, R74, R88, R89 More info BOM list and schematics 31/56 Table 20. Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code 1.2 1% 0.25 W Mini-MELF resistors SMD 1206 Any R45 8.2 k 1% 0.25 W Metal film resistor SMD 1206 Any Any R46 1.5 k 5% 0.25 W Metal film resistor SMD 1206 Any Any R47 330 5% 0.25 W Metal film resistor SMD 1206 Any Any R48, R49, R50, R51, R53, R54, R55, R57, R75 10 k 1% 0.1 W Metal film resistor SMD 0603 Any Any R52 Not mounted R56 1 M 1% 0.1 W Metal film resistor SMD 0603 Any Any R59, R60, R80, R81, R82, R83, R84, R85, R86, R87, R91 0 1% 0.1 W Metal film resistor SMD 0603 Any Any R62, R63 0 - not fit R64 Doc ID 17939 Rev 1 R44 5 More info UM0997 UM0997 Table 20. Vishay Distrelec: 713004 Not mounte d SMD 0603 1% 0.1 W Metal film resistor SMD 0603 Any Any 32/56 BOM list and schematics Not mounte d SMD 0603 Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code 47 1% 0.1 W Metal film resistor SMD 0603 Any Any R66, R67 22 1% 0.125 W Metal film resistor SMD 0805 Any Any R68 1 M 5% 0.125 W Metal film resistor SMD 0805 Any Any R69 1.5 k 5% 0.125 W Metal film resistor SMD 0805 Any Any R70 Doc ID 17939 Rev 1 R65 100 1% 0.1 W Metal film resistor SMD 0603 Any Any R76, R77, R78 300 5% 0.125 W Metal film resistor SMD 0805 Any Any R79 47 1% 0.1 W Metal film resistor SMD 0603 Any Any RV1 S14K510 S14K510 10 % Disk-shaped metal-oxide varistor Through hole Epcos SW1, SW4, S1 ST7580 ST7580 reset Tactile switch 100gf Through hole 6X6 mm 5 mm height Any RS:378-6410 SW3 E0 3-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8092 SW5 E1 3-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8092 SW6 E2 3-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8092 More info BOM list and schematics 33/56 Table 20. 510 Vac B72214S0511K B72214S0511K 101 Distrelec: 730933 UM0997 UM0997 Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manuf. Manufacturer code RS/distrelec/ other code 3-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8092 BOOT1 3-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8092 SW10, SW12, SW16, SW17, SW18 Switch 3-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8092 SW11, SW13, SW14, SW15, SW19, SW20, SW21, SW22, SW23 Jumper 3-way stripline connector Through hole 2.54 mm pitch Any RS: 251-8092 CL Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 ZC_IN Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 PA_IN- Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 TP1 TP2 TP3 Test point 34/56 BOM list and schematics BOOT0 SW9 Doc ID 17939 Rev 1 SW7 More info UM0997 UM0997 Table 20. Ref. TP4 TP5 TP6 Doc ID 17939 Rev 1 TP7 TP8 TP9 TP10 Toleran ce % Voltage current Manufacturer RS/distrelec/ other Technology information Packagefootprint PA_IN+ Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 TX_OUT Loop terminal assembly, 1 mm hole Through hole PA_OUT Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 VDDIO Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 VDD Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 VDD_PLL Loop terminal assembly, 1 mm hole Through hole RS: 101-2391 VCC Loop terminal assembly,1 mm hole Through hole RS: 101-2391 VCCA Loop terminal assembly,1 mm hole Through hole RS: 101-2391 More info RS: 101-2391 Part / value WATT Manuf. code code UM0997 UM0997 TP11 BOM (continued) BOM list and schematics 35/56 Table 20. Ref. BOM (continued) Part / value Toleran ce % Voltage current WATT Technology information Packagefootprint Manufacturer Through hole Manuf. code RS/distrelec/ other code More info TP12 RX_IN Loop terminal assembly, 1 mm hole T1 VAC 5024X044 5024X044 SignalTransformer SMD VAC Vacuumschmelze T60403-K5024X044 T60403-K5024X044 T2 TDK REV.C General Transformers Through hole TDK SRW16ES SRW16ES UM0997 UM0997 Table 20. ST supply ST supply 6W RS: 101-2391 ST7580 ST7580 M25P10-A M25P10-A 1 Mbit, serial Flash memory, 50 MHz SPI bus interface SMD SO8 M25P10AVMN6P M25P10AVMN6P LF33AB LF33AB Very low drop voltage regulators with inhibit U4 Altair04-900 U5 STM32F103 STM32F103 VET6 U1 U2 3.3 V Numonix SMD DPAK STMicroelectronics LF33ABDT-TR LF33ABDT-TR RS: 608-5647 ST supply ST supply 32-bit MCU SMD LQFP100 LQFP100 STMicroelectronics STM32F103VET STM32F103VET 6 ST supply 36/56 BOM list and schematics SMD QFNSTMicroelectronics 48 U3 Doc ID 17939 Rev 1 ST7580 ST7580 FSK, N-PSK multi-mode power line networking system-onchip Ref. BOM (continued) Part / value MT008-A MT008-A U9 TSM0505S TSM0505S U10 IL712S-1E IL712S-1E WATT V1 8 MHz Very low capacitance ESD protection Packagefootprint Manuf. SMD SO8 STMicroelectronics M24128BWMN6TP M24128BWMN6TP SMD SOT666 ST USBLC6-2P6 Not mounted RS/distrelec/ other code code ST supply ST supply 5 V/5 V 200 mA DC-DC converter SMD SOIC14 SOIC14 2500 Vrms 10 % Bi-directional Digi Isolator SMD MSOP-8 RS: 510-5431 NVE PCB mount coin cell holder,12 mm 30 ppm More info ST supply Joystick Battery holder Y1,Y3 Manufacturer Technology information 128 Kbit, 64 Kbit and 32 Kbit serial I²C bus EEPROM USBLC62P6 USBLC62P6 - NOT FIT U8 Voltage current M24128BWMN6P M24128BWMN6P U7 Doc ID 17939 Rev 1 U6 Toleran ce % BOM list and schematics 37/56 Table 20. Through hole Keystone 8 MHz crystal Through hole HC49S HC49S Any IL712S-1E IL712S-1E 500 RS: 418-436 RS: 430-653 CR1220 CR1220 lithium coin cell (RS: 597172) RS: 672-0268 UM0997 UM0997 Ref. BOM (continued) Part / value Y2 32.768 Khz ISO1 TLP 421 Toleran ce % 20 ppm Voltage current WATT Technology information Packagefootprint 32.768 kHz crystal Manuf. Manufacturer code Any RS/distrelec/ other code RS: 547-6979 Through hole DIP4 Toshiba Spacer 5 mm metal spacer with inner and outer threads Through hole Any Spacer 35 mm metal spacer with RH and LH internal threads Through hole Any Distrelec: 341077 Washer M3 Any RS: 189-620 Nuts Nut M3 Any Mount this crystal in horizont al position Distrelec: 341130 Washers Doc ID 17939 Rev 1 Optocoupler More info UM0997 UM0997 Table 20. RS: 483-0502 TLP 421 Distrelec: 631515 BOM list and schematics 38/56 6.1 Top page Schematics Schematics 39/56 6 Figure 11. Top Doc ID 17939 Rev 1 UM0997 UM0997 Schematics 6.2 UM0997 UM0997 Metrology board connector Figure 12. Energy meter board connection section 6.3 User interface Figure 13. Joystick LED section 40/56 Doc ID 17939 Rev 1 UM0997 UM0997 6.4 Schematics LCD connector Figure 14. LCD section Doc ID 17939 Rev 1 41/56 Schematics 6.5 UM0997 UM0997 MCU Figure 15. MCU schematic page 42/56 Doc ID 17939 Rev 1 UM0997 UM0997 Figure 16. MCU power supply schematic page Doc ID 17939 Rev 1 Schematics 43/56 Schematics UM0997 UM0997 Figure 17. LCD and energy meter IC interfaces options jumpers schematic page 44/56 Doc ID 17939 Rev 1 UM0997 UM0997 Figure 18. MCU JTAG and EEPROM schematic page Doc ID 17939 Rev 1 Schematics 45/56 Schematics 6.6 UM0997 UM0997 MEMS module connector Figure 19. MEMS section 6.7 General purpose configuration jumpers Figure 20. Mode configuration 46/56 Doc ID 17939 Rev 1 Power line modem Figure 21. System JTAG connector, ST7580 ST7580 UART interface and 8051 program Flash memory UM0997 UM0997 6.8 Doc ID 17939 Rev 1 Schematics 47/56 Schematics 48/56 Figure 22. ST7580 ST7580 schematic page Doc ID 17939 Rev 1 UM0997 UM0997 UM0997 UM0997 Figure 23. ST7580 ST7580 reset, host interface, and current limit schematic page Doc ID 17939 Rev 1 Schematics 49/56 Schematics UM0997 UM0997 Figure 24. ST7580 ST7580 filters schematic page 50/56 Doc ID 17939 Rev 1 UM0997 UM0997 6.9 Schematics Power supply Figure 25. Power supply Doc ID 17939 Rev 1 51/56 Schematics UM0997 UM0997 Figure 26. Power supply - RS232/IRDA RS232/IRDA 52/56 Doc ID 17939 Rev 1 UM0997 UM0997 Schematics Figure 27. Power supply - SC interface / user inputs 6.10 ZigBee module connector Figure 28. ZigBee module Doc ID 17939 Rev 1 53/56 Schematics 6.11 UM0997 UM0997 USB connector Figure 29. USB section 54/56 Doc ID 17939 Rev 1 UM0997 UM0997 7 Revision history Revision history Table 21. Document revision history Date Revision 11-Nov-2010 1 Changes Initial release. Doc ID 17939 Rev 1 55/56 UM0997 UM0997 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST's terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER'S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2010 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 56/56 Doc ID 17939 Rev 1