ST ZigBee dual IF EEPROM User Manual
ST ZigBee dual IF EEPROM User Manual

ST ZigBee dual IF EEPROM User Manual

Adapter for the stm322xg-eval
Table of Contents

Advertisement

Quick Links

ZigBee
Introduction
This user manual describes the ZigBee
manage a smartplugW network system through the STM322xG-EVAL board. The ZigBee
adapter for the STM322xG-EVAL has been developed in order to interface the STM322xG-
EVAL board with the ZigBee coordinator. The ZigBee coordinator is connected to the
STM322xG demonstration board through the adapter that allows SPI, I²C and UART
communication. The user can properly set jumpers JP3 and JP4 in order to choose how to
communicate between the STM32W and STM32F2xx. The I²C interface is used for the
communication of the STM32W and the dual interface EEPROM onboard. In
possible to take a quick look at the STM322xG-Eval board and a smartplug node block
diagram. The dual interface EEPROM "M24LR64r" onboard is accessible from both the
STM32W and the STM32F2xx via I²C interface and remotely by means of an RF reader.
Therefore, it is possible to read and update parameters from inside (I²C) and outside (RF)
the application. It therefore allows final application data management:
IDentification: read-only unique identifier
Traceability: trace code, date, BOM code, etc.
Inventory: supply chain visibility
Live update: application parameter update
Remote activation: code enabler
Maintenance: wireless access to events/logs
Diagnostics: possible real-time wireless access to parameters
Figure 1.
September 2012
®
dual IF EEPROM adapter for the STM322xG-EVAL
STM322xG-EVAL board and a smartplug node block diagram
Doc ID 022813 Rev 2
®
adapter for the STM322xG-EVAL needed to
UM1519
User manual
Figure
1, it is
www.st.com
1/40

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZigBee dual IF EEPROM and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST ZigBee dual IF EEPROM

  • Page 1: Figure 1. Stm322Xg-Eval Board And A Smartplug Node Block Diagram

    Live update: application parameter update ■ Remote activation: code enabler ■ Maintenance: wireless access to events/logs ■ Diagnostics: possible real-time wireless access to parameters Figure 1. STM322xG-EVAL board and a smartplug node block diagram September 2012 Doc ID 022813 Rev 2 1/40 www.st.com...
  • Page 2: Table Of Contents

    Contents UM1519 Contents STM3220G-EVAL demonstration board ......5 Features ........... 6 Hardware layout and configuration .
  • Page 3 UM1519 List of tables List of tables Table 1. Power related jumpers and solder bridges ........10 Table 2.
  • Page 4 List of figures UM1519 List of figures Figure 1. STM322xG-EVAL board and a smartplug node block diagram ..... . 1 Figure 2.
  • Page 5: Stm3220G-Eval Demonstration Board

    Extension headers make it possible to easily connect a daughterboard or wrapping board for specific applications. The in-circuit ST-LINK tool can be easily used for JTAG and SWD interface debugging and programming. Doc ID 022813 Rev 2...
  • Page 6: Features

    I2S audio DAC, stereo audio jack for headset ● 3.2" 240x320 TFT color LCD with touchscreen ● 4 color LEDs ● Camera module and extension connector for ST camera plug-in ● Joystick with 4-direction control and selector ● Reset, wake-up, tamper and user button ●...
  • Page 7: Figure 3. Stm3220G-Eval Board Hardware Block Diagram

    UM1519 STM3220G-EVAL demonstration board Figure 3. STM3220G-EVAL board hardware block diagram Doc ID 022813 Rev 2 7/40...
  • Page 8: Figure 4. Stm3220G-Eval Demonstration Board Layout

    STM3220G-EVAL demonstration board UM1519 Figure 4. STM3220G-EVAL demonstration board layout 8/40 Doc ID 022813 Rev 2...
  • Page 9: Power Supply

    5 V DC power with 500 mA limitation from CN9, the USB OTG HS Micro-AB connector ● 5 V DC power with 500 mA limitation from CN21, the ST-LINK/V2 USB connector ● 5 V DC power from both CN1 and CN3, the extension connector for the daughterboard (DTB for daughterboard on silkscreen).
  • Page 10: Table 1. Power Related Jumpers And Solder Bridges

    Default setting: fitted JP18 is used to select one of the four possible power supply resources. To select the ST-LINK/V2 USB connector (CN21) power supply, set JP18 as shown: (default setting) For power supply jack (CN18) to the STM322xG-EVAL, JP18 is set as shown to the...
  • Page 11: Boot Option

    UM1519 STM3220G-EVAL demonstration board Table 1. Power related jumpers and solder bridges (continued) Jumper Description To connect Vbat to the battery, set JP19 as shown: JP19 To connect Vbat to 3.3 V power, set JP19 as shown: (default setting) Note: The LED LD9 is lit when the STM322xG-EVAL demonstration board is correctly powered by the 5 V.
  • Page 12: Reset Source

    Debugging tools from JTAG connector CN14 and trace connector CN13 ● Daughterboard from CN3 ● RS232 connector CN16 for ISP ● ST-LINK/V2. EEPROM A 64 Kbit EEPROM is connected to the I2C1 bus of the STM32F207IGH6. Table 3. EEPROM related jumper and solder bridge Jumper Description The EEPROM is in write protection mode when JP24 is fitted.
  • Page 13: Sram

    UM1519 STM3220G-EVAL demonstration board Table 4. Ethernet related jumpers and solder bridges (continued) Jumper Description To provide 25 MHz clock for MII or 50 MHz clock for RMII by MCO at PA8, set JP5 as shown (default setting): To provide 25 MHz clock by external crystal X1 (for MII interface mode only) set JP5 as shown: When clock is provided by external oscillator U3, JP5 must not be fitted (default setting).
  • Page 14: Development And Debug Support

    UM1519 1.10 Development and debug support The version 2 of the ST-LINK, called ST-LINK/V2, is embedded on the board. This tool allows onboard program loading and debugging of the STM32F using the JTAG or SWD interface. Third-party debug tools are also supported by the JTAG (CN14) or trace (CN13) connectors.
  • Page 15: Daughterboard Extension Connector Cn1, 2, 3 And Cn4

    UM1519 STM3220G-EVAL demonstration board Table 6. LCD modules (continued) 3.2” TFT LCD with touchscreen (CN16) Pin on CN16 Pin name Pin connection FSMC_D4 FSMC_D5 FSMC_D6 FSMC_D7 PD10 FSMC_D8 PD11 FSMC_D9 PD12 FSMC_D10 PD13 FSMC_D11 1.12 Daughterboard extension connector CN1, 2, 3 and CN4 Four male headers CN1, 2, 3 and CN4 can be used to connect the daughterboard or standard wrapping board to the STM322xG-EVAL demonstration board.
  • Page 16 STM3220G-EVAL demonstration board UM1519 Table 7. Daughterboard extension connector CN1 (continued) How to disconnect with function Description Alternative function block on STM322xG-EVAL board Potentiometer Remove R151 OSC_IN SB6 open ULPI_STP MII_MDC SB11 open MII_TX_CLK Remove R51 WakeUP Remove R139 MII_MDIO ULPI_NXT Remove R61 EMU_3V3...
  • Page 17: Table 8. Daughterboard Extension Connector Cn2

    UM1519 STM3220G-EVAL demonstration board Table 7. Daughterboard extension connector CN1 (continued) How to disconnect with function Description Alternative function block on STM322xG-EVAL board APP_3V3 Table 8. Daughterboard extension connector CN2 How to disconnect with function Description Alternative function block on STM322xG-EVAL board ULPI_D0 ULPI_CLK Remove R69...
  • Page 18: Table 9. Daughterboard Extension Connector Cn3

    STM3220G-EVAL demonstration board UM1519 Table 8. Daughterboard extension connector CN2 (continued) How to disconnect with function Description Alternative function block on STM322xG-EVAL board PF11 OTG_FS_Overcurrent Remove R15 PF13 FSMC_A7 PF15 FSMC_A9 FSMC_A10 FSMC_D4 FSMC_D6 PE11 FSMC_D8 PE13 FSMC_D10 PB10 ULPI_D3 MII_RXD2 Remove RS5 Remove camera module from CN15.
  • Page 19 UM1519 STM3220G-EVAL demonstration board Table 9. Daughterboard extension connector CN3 (continued) How to disconnect with function Description Alternative function block on STM322xG-EVAL board EMU_5V I2S_MCK & JP21 open SmartCard_IO SmartCard_CLK FSMC_A15 FSMC_A13 PD15 FSMC_D1 PD14 FSMC_D0 PD12 FSMC_A17 SB15 open PD10 FSMC_D15 FSMC_D13...
  • Page 20: Table 10. Daughterboard Extension Connector Cn4

    STM3220G-EVAL demonstration board UM1519 Table 9. Daughterboard extension connector CN3 (continued) How to disconnect with function Description Alternative function block on STM322xG-EVAL board FSMC_A14 FSMC_A12 SB14 open. PD13 FSMC/MC Disconnect motor control board from CN5. PD11 FSMC_A16 FSMC_D14 PB15 OneNAND_INT Remove R53 PB14 MII_INT...
  • Page 21 UM1519 STM3220G-EVAL demonstration board Table 10. Daughterboard extension connector CN4 (continued) How to disconnect with function Description Alternative function block on STM322xG-EVAL board Smartcard_CMDVCC & PG12 Remove R128 CLD_VSYNC Remove LCD board MB785 from PG10 FSMC_NE3 CN19 FSMC_NE1 Remove R52 FSMC_NWE FSMC_CLK MicroSDCard_CMD...
  • Page 22: Ethernet Rj45 Connector Cn7

    STM3220G-EVAL demonstration board UM1519 Table 10. Daughterboard extension connector CN4 (continued) How to disconnect with function Description Alternative function block on STM322xG-EVAL board PA14 TCK/SWCLK I2S_DIN 1.13 Ethernet RJ45 connector CN7 Figure 6. Ethernet RJ45 connector CN7 Table 11. Ethernet RJ45 connector CN7 Pin number Description Pin number...
  • Page 23: Power Connector Cn18

    UM1519 STM3220G-EVAL demonstration board Table 12. JTAG debugging connector CN14 Pin number Description Pin number Description 3.3 V power 3.3 V power PA15 PA13 PA14 RTCK RESET# DBGRQ DBGACK 1.15 Power connector CN18 The STM322xG-EVAL demonstration board can be powered from a DC 5 V power supply via the external power supply jack (CN18) shown in Figure 7.
  • Page 24: Zigbee Module Spzb32W1X2.1

    ZigBee module SPZB32W1x2.1 UM1519 ZigBee module SPZB32W1x2.1 The SPZB32W is a low power consumption ZigBee module optimized for embedded applications. It enables OEMs to easily add wireless capability to electronic devices. The module is based on the SN260 ZigBee network processor which integrates a 2.4 GHz, IEEE 802.15.4-compliant transceiver as well as IEEE 802.15.4 PHY and MAC.
  • Page 25: Board Configuration

    UM1519 Board configuration Board configuration STM322xG-EVAL demonstration board setup Set up the STM322xG-EVAL board as follows: ● Keep jumper JP16, JP21 and JP22 not fitted ● Set JP5 in 1-2 position, and JP6 in 2-3 position ● Disconnect motor control board from CN5 ●...
  • Page 26 Board configuration UM1519 Table 13. ZigBee adapter pinout description (continued) STM32 Extension ZigBee adapter I/O STM322xG-EVAL I/O assignment pin name connector pin. no assignment MicroSDCard_D2 & RS232-IrDA_TX PC10 CN4 - Pin 36 ZIG_SCLK (SPI3) (remove MicroSD card from CN6) MicroSDCard_D3 & RS232- PC11 IrDA_RX (JP22 open, remove CN4 - Pin 35...
  • Page 27: Schematics

    UM1519 Schematics Schematics Figure 9. ZigBee and dual interface EEPROM adapter for STM322xG-EVAL AM12005v1 Doc ID 022813 Rev 2 27/40...
  • Page 28 Schematics UM1519 Figure 10. STM3220-21-45-46G-EVAL AM12006v1 28/40 Doc ID 022813 Rev 2...
  • Page 29: Figure 11. Stm3220-21-45-46G-Evalmcu

    UM1519 Schematics Figure 11. STM3220-21-45-46G-EVALMCU AM12007v1 Doc ID 022813 Rev 2 29/40...
  • Page 30: Figure 12. Stm3220-21-45-46G-Evalethernet

    Schematics UM1519 Figure 12. STM3220-21-45-46G-EVALEthernet AM12008v1 30/40 Doc ID 022813 Rev 2...
  • Page 31: Figure 13. Stm3220-21-45-46G-Evallcd

    UM1519 Schematics Figure 13. STM3220-21-45-46G-EVALLCD To I/O expandor AM12009v1 Doc ID 022813 Rev 2 31/40...
  • Page 32: Figure 14. Lcd Module With Both Spi And 16-Bit Interface

    Schematics UM1519 Figure 14. LCD module with both SPI and 16-bit interface AM12004v1 32/40 Doc ID 022813 Rev 2...
  • Page 33: Figure 15. Stm3220-21-45-46G-Eval I/O Peripherals

    UM1519 Schematics Figure 15. STM3220-21-45-46G-EVAL I/O peripherals +2V8 +3V3 R107 +2V8 10 K R151 R152 Potentiometer VDD_IO 3386P-103H[10%] VD D SD O 100nF Reserved C122 MEMS_SDA 10nF MEMS_SCL MEMS_I NT1 INT1 MEMS_I NT2 INT2 Reserved To I O expandor LI S302D L Green R155 LED 1...
  • Page 34: Figure 16. Stm3220-21-45-46G-Eval I/O_Expander

    Schematics UM1519 Figure 16. STM3220-21-45-46G-EVAL I/O_Expander +2V8 100nF TouchScreen_ Y- TouchScreen_ X- TouchScreen_Y+ IO_Expandor_SCK SCLK TouchScreen_X+ IO_Expandor_ SDA SDA T EXP _IO 9 R136 0 IO_Expandor_INT EXP _IO10 Data in EXP _IO11 A0/Data Out EXP _IO12 R117 STMP E811QTR I2C device address:0x82 R116 100K +2V8...
  • Page 35: Figure 17. Stm3220-21-45-46G-Eval Jtag And Trace

    UM1519 Schematics Figure 17. STM3220-21-45-46G-EVAL JTAG and trace Z5V1 Z5V1 Z5V1 Z5V1 Z5V1 Z5V1 AM12012v1 Doc ID 022813 Rev 2 35/40...
  • Page 36: Figure 18. Stm3220-21-45-46G-Evalpower

    Schematics UM1519 Figure 18. STM3220-21-45-46G-EVALPower ZEN056V130A24 LS E5 V CN18 C106 10uF DC- 10B SMAJ5.0A- T R C112 100nF BNX002-01 +3V3 VDD _ MCU JP32 LD1086D2M33TR +3V3 LD1117S18T R Vout Vout +1V8 C113 220uF 220uF 10uF C116 100nF 10uF TP 6 2V 5 LD1117S25TR +2V 5...
  • Page 37: Figure 19. Stm3220-21-45-46G-Evalextension Connector

    UM1519 Schematics Figure 19. STM3220-21-45-46G-EVALExtension connector P E2 P I2 P I0 P H15 P H14 PC13 P H13 P A13 EXT_PC14 P C13 EXT_PC15 P I9 R E S ET # P A12 11 12 11 12 P A11 P A10 13 14 13 14...
  • Page 38: References

    References UM1519 References AN4139, application note STEVAL-IHP004V1 schematics diagram M24LR64-r - datasheet SPZB32W1A2.1 Module - datasheet 38/40 Doc ID 022813 Rev 2...
  • Page 39: Revision History

    UM1519 Revision history Revision history Table 14. Document revision history Date Revision Changes 09-Jul-2012 Initial release. 27-Sep-2012 Modified: Figure 3 Doc ID 022813 Rev 2 39/40...
  • Page 40 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.

Table of Contents