background image

September 2012

Doc ID 022813 Rev 2

1/40

UM1519

User manual

ZigBee

® 

dual IF EEPROM adapter for the STM322xG-EVAL

Introduction

This user manual describes the ZigBee

®

 adapter for the STM322xG-EVAL needed to 

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 

Figure 1

, it is 

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.

STM322xG-EVAL board and a smartplug node block diagram

www.st.com

Summary of Contents for ZigBee dual IF EEPROM

Page 1: ...e is used for the communication of the STM32W and the dual interface EEPROM onboard In Figure 1 it is possible to take a quick look at the STM322xG Eval board and a smartplug node block diagram The du...

Page 2: ...ug support 14 1 11 Display and input devices 14 1 12 Daughterboard extension connector CN1 2 3 and CN4 15 1 13 Ethernet RJ45 connector CN7 22 1 14 JTAG debugging connector CN14 22 1 15 Power connector...

Page 3: ...older bridges 12 Table 5 SRAM related jumpers 13 Table 6 LCD modules 14 Table 7 Daughterboard extension connector CN1 15 Table 8 Daughterboard extension connector CN2 17 Table 9 Daughterboard extensio...

Page 4: ...CN14 22 Figure 8 Power supply connector CN18 23 Figure 9 ZigBee and dual interface EEPROM adapter for STM322xG EVAL 27 Figure 10 STM3220 21 45 46G EVAL 28 Figure 11 STM3220 21 45 46G EVALMCU 29 Figur...

Page 5: ...icrocontroller with a cryptographic acceleration cell The full range of hardware features on the board is provided to help the user evaluate all peripherals USB OTG HS USB OTG FS Ethernet motor contro...

Page 6: ...plug in Joystick with 4 direction control and selector Reset wake up tamper and user button RTC with backup battery Extension connector for daughterboard or wrapping board JTAG SW and trace debug sup...

Page 7: ...CONTROL CONNECTOR S EY 4 3 0OTENTIOMETER 3MARTCARD CONNECTOR NTEGRATED 2 CONNECTOR 23 CONNECTOR 3 0 2 53 24 XTENSION CONNECTOR FOR 0 S 0 9 53 24 TRANSCEIVER CONNECTOR 3 4RACE EBUG 4 3 53 ICRO CONNECT...

Page 8: ...ure 4 STM3220G EVAL demonstration board layout V OTOR CONTROL ICRO3 CARD 4RACE 4 5 R 53 4 3 53 4 3 34 6 OLOR AMERA MODULE AMERA EXTENSION CONNECTOR 5 OYSTICK 5SER KEY 4AMPER 3MARTCARD 7AKEUP 2ESET 26...

Page 9: ...ive sources for the power supply 5 V DC power adapter connected to JP18 the power jack on the board 5 V DC power with 500 mA limitation from CN8 the USB OTG FS Micro AB connector 5 V DC power with 500...

Page 10: ...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...

Page 11: ...r the STM32F207IFT6 and RTC embedded X1 25 MHz crystal for Ethernet PHY with socket It can be removed when clock is provided by the MCO pin of the MCU X2 26 MHz crystal for USB OTG HS PHY X3 32 kHz cr...

Page 12: ...M Ethernet communication by a PHY DP83848CVV U5 and integrated RJ45 connector CN7 Both MII and RMII interfaces can be selected by setting jumpers JP5 JP6 and JP8 as listed below Table 3 EEPROM related...

Page 13: ...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 SB1 SB1 is used to select clock source only for RMII mode To con...

Page 14: ...f after the first correct communication between PC and ST LINK V2 enumeration Red LED on when initialization between PC and ST LINK V2 is successfully finished Green LED on after successful target com...

Page 15: ...nformation please refer to Table 8 to Table 10 it allows the connection of a ZigBee smartplug coordinator and the I2C RF dual interface EEPROM M24LR64 r 10 PD5 FSMC_D4 11 PD6 FSMC_D5 12 PD7 FSMC_D6 13...

Page 16: ...e_D3 8 PC13 Anti Tamper Remove R143 10 GND 12 PI9 LED3 Remove R141 14 PI11 ULPI_DIR Remove R62 16 PF1 FSMC_A1 18 PF3 FSMC_A3 20 PF4 FSMC_A4 22 PF6 SmartCard_OFF Remove R126 24 PF8 LCD_CS 26 PF10 Audio...

Page 17: ...1 PB0 ULPI_D1 13 PB2 BOOT1 15 PF12 FSMC_A6 17 PF14 FSMC_A8 19 GND 21 PG1 FSMC_A11 23 PE8 FSMC_D5 25 PE10 FSMC_D7 27 PE12 FSMC_D9 29 PE14 FSMC_D11 31 PE15 FSMC_D12 33 PB11 ULPI_D4 35 PH7 MII_RXD3 Remov...

Page 18: ...sconnect motor control board from CN5 Table 9 Daughterboard extension connector CN3 Pin Description Alternative function How to disconnect with function block on STM322xG EVAL board 1 GND 3 PI1 I2S_CK...

Page 19: ...NC 47 EMU_3V3 49 EMU_5V 2 PI2 IO_Expander_INT Remove R136 4 PI0 I2S_CMD 6 PH14 DCMI_D4 MC Remove camera module from CN15 Disconnect motor control board from CN5 8 PA13 TMS SWDIO 10 GND 12 PA12 OTG_FS...

Page 20: ...ternative function How to disconnect with function block on STM322xG EVAL board 1 GND 3 PI6 DCMI_D6 MC Remove camera module from CN15 Disconnect motor control board from CN5 5 PI4 DCMI_D5 MC Remove ca...

Page 21: ...DCMI_VSYNC MC Remove camera module from CN15 Disconnect motor control board from CN5 6 PE1 FSMC_BL1 8 PB9 I2C1_SDA Remove R111 10 GND 12 PB7 FSMC_NL 14 PB5 ULPI_D7 CAN2_RX JP10 open 16 PB3 TDO SWO 18...

Page 22: ...g connector CN14 38 PA14 TCK SWCLK 40 PI3 I2S_DIN Table 10 Daughterboard extension connector CN4 continued Pin Description Alternative function How to disconnect with function block on STM322xG EVAL b...

Page 23: ...be positive Figure 8 Power supply connector CN18 1 16 TFT LCD connector CN19 One 34 pin male header CN19 is available on the board for connecting the LCD module board MB785 Please refer to Section 1...

Page 24: ...or which integrates a 2 4 GHz IEEE 802 15 4 compliant transceiver as well as IEEE 802 15 4 PHY and MAC The module is controlled by means of a standard serial interface SPI allowing connection to a var...

Page 25: ...pe identifier and a 3 bit chip enable Address E2 E1 E0 plus 1 bit for read write operation To address the memory array the 4 bit device type identifier is 1010b 0xA So the second group of the device s...

Page 26: ...PD2 MicroSDCard_CMD CN4 Pin 31 ZIG_HOST_INT PC8 MicroSDCard_D0 MC remove MicroSD card from CN6 disconnect motor control board from CN5 CN3 Pin 18 ZIG_RSTB PH13 MicroSDCard_defect MC remove MicroSD car...

Page 27: ...30 31 32 33 34 35 36 37 38 39 40 J1 Mini JTAG Conn 10 Pins J1 Mini JTAG Conn 10 Pins 1 2 3 4 5 6 7 8 9 10 CN4 Header 20x2 Female Bottom CN4 Header 20x2 Female Bottom 1 2 3 4 5 6 7 8 9 10 11 12 13 14...

Page 28: ...Schematics UM1519 28 40 Doc ID 022813 Rev 2 Figure 10 STM3220 21 45 46G EVAL AM12006v1...

Page 29: ...7 D8 D9 D10 D11 D12 A16 A17 D0 D1 A12 A13 A14 A15 DCM I _D4 D2 D3 DCM I _D5 DCM I _D6 DCM I _D7 DCM I _D 0 7 A 0 20 D 0 15 ULPI _D 0 7 VBUS_FS PF 0 15 PF 0 15 PG 0 15 PG 0 15 PH 0 15 PH 0 15 PI 0 11 P...

Page 30: ...19 N C 20 N C 21 AVDD3 3 22 PFBOU T 23 RBI AS 24 25MHz_OUT 25 LED_ACT COL AN_EN 26 LED_SPEED AN1 27 LED_LIN K AN0 28 RESET_N 29 MDIO 30 MDC 31 IOVDD33 32 X2 33 X1 34 IOGND 35 DGND 36 PFBI N2 37 RX_CL...

Page 31: ...YU 34 CN19 3 2 L CD_connector MB785 with AM 240320D4TOQW T00H R 3V3 5 V To I O expandor RESET D 0 15 A 0 20 A 0 20 D 0 15 FSMC_NWE FSMC_ NOE FSMC_NE3 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14...

Page 32: ...R2 4K7 SDI SDO RD RS Soldered for Serial interface only Soldered for i80 system 16 bit interface The 34 pin connector to motherboard for both serial 16bit interface Compatible with MB694 with touchscr...

Page 33: ...PB9 PB6 R153 220K 1 4 3 2 B2 WKUP C124 do not fit 3V3 R138 100 R148 4K7 1 4 3 2 B4 USER C130 100nF 3V3 R160 100 R142 4K7 1 4 3 2 B3 Tamper C118 100nF 3V3 R156 100 R139 330 R150 0 R143 0 Anti_Tamper W...

Page 34: ...C 6 Data in 7 IN0 8 IN1 9 GND 10 IN2 11 IN3 12 X 13 Vio 14 Y 15 X 16 U29 STMPE811QTR R135 10K 2V8 I2C device address 0x82 I2C device address 0x8 8 2V8 2V8 R116 100K R132 100K IO_Expandor_SCK IO_Expand...

Page 35: ...N A R95 N A R9 8 do not fit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3V3 3V3 R105 10K R106 10K R99 10K R92 N A R 1040 R 100 do not fit R 9 do not fit TRACE_D 3 TRACE_D 2 TRACE_D 1 TRACE_D 0...

Page 36: ...5 TP6 2V 5 C96 220uF Vin 3 Vout 2 1 U30 LD1117S18TR C116 10uF 1V8 1V8 3V3 VDD _MCU JP32 SV 1 SG 2 CV 3 CG1 4 CG2 5 CG3 6 U25 BNX002 01 C106 10uF E5V 1 3 2 CN18 DC 10B Z1 SMAJ5 0A TR C112 100nF 1 2 3 U...

Page 37: ...P B10 P B11 PB12 PB13 PB14 PB15 PC0 2 C P 1 C P PC3 P C 4 P C 5 PC6 PC7 PC8 PC9 P C10 P C11 P C12 PC13 EXT_PC14 EXT_PC15 PD0 P D1 P D2 P D3 P D4 P D5 P D6 P D7 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15 P...

Page 38: ...References UM1519 38 40 Doc ID 022813 Rev 2 6 References 1 AN4139 application note 2 STEVAL IHP004V1 schematics diagram 3 M24LR64 r datasheet 4 SPZB32W1A2 1 Module datasheet...

Page 39: ...UM1519 Revision history Doc ID 022813 Rev 2 39 40 7 Revision history Table 14 Document revision history Date Revision Changes 09 Jul 2012 1 Initial release 27 Sep 2012 2 Modified Figure 3...

Page 40: ...RRANTIES 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 UNLES...

Reviews: