ST ZigBee dual IF EEPROM Bedienungsanleitung

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

Contents UM1519
2/40 Doc ID 022813 Rev 2
Contents
1 STM3220G-EVAL demonstration board . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.4 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.5 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.6 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.7 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.8 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.9 SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.10 Development and debug 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 CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.16 TFT LCD connector CN19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2 ZigBee module SPZB32W1x2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3 Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4 Board configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.1 STM322xG-EVAL demonstration board setup . . . . . . . . . . . . . . . . . . . . . 25
4.2 STM322xG-EVAL and ZigBee adapter with M24LR64-r memory . . . . . . 25
5 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

UM1519 List of tables
Doc ID 022813 Rev 2 3/40
List of tables
Table 1. Power related jumpers and solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 2. Boot related switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 3. EEPROM related jumper and solder bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 4. Ethernet related jumpers and solder 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 extension connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 10. Daughterboard extension connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 11. Ethernet RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 12. JTAG debugging connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 13. ZigBee adapter pinout description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 14. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

List of figures UM1519
4/40 Doc ID 022813 Rev 2
List of figures
Figure 1. STM322xG-EVAL board and a smartplug node block diagram . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. STM3220G-EVAL board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Figure 3. STM3220G-EVAL board hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 4. STM3220G-EVAL demonstration board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 5. ZigBee adapter layout description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 6. Ethernet RJ45 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 7. JTAG debugging connector 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
Figure 12. STM3220-21-45-46G-EVALEthernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 13. STM3220-21-45-46G-EVALLCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 14. LCD module with both SPI and 16-bit interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 15. STM3220-21-45-46G-EVAL I/O peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 16. STM3220-21-45-46G-EVAL I/O_Expander . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 17. STM3220-21-45-46G-EVAL JTAG and trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 18. STM3220-21-45-46G-EVALPower . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 19. STM3220-21-45-46G-EVALExtension connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

UM1519 STM3220G-EVAL demonstration board
Doc ID 022813 Rev 2 5/40
1 STM3220G-EVAL demonstration board
Figure 2. STM3220G-EVAL board
The STM3220G-EVAL demonstration board is a complete demonstration and development
platform for the STM32 F-2 series and includes an embedded STM32F207IGH6 high-
performance ARM®Cortex-M3 32-bit microcontroller 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 control, CAN, MicroSD card,
smartcard, USART, audio DAC, RS-232, IrDA, SRAM, MEMS, EEPROM… etc.) and
develop their own applications. 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.

STM3220G-EVAL demonstration board UM1519
6/40 Doc ID 022813 Rev 2
1.1 Features
●STM32F207IGH6 microcontroller
●16 Mbit SRAM
●1 Gbyte or more MicroSD card
●Boot from user Flash, system memory or SRAM
●Both ISO/IEC 14443 type A and B smartcards supported
●I2C compatible serial interface 8-Kbyte EEPROM, MEMS and I/O expander
●IEEE 802.3-2002 compliant Ethernet connector
●Two CAN 2.0 A/B channels on the same DB connector
●RS-232 communication
●IrDA transceiver
●USB OTG (HS and FS) with Micro-AB connector
●Inductor motor control connector
●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
●RTC with backup battery
●Extension connector for daughterboard or wrapping board
●JTAG, SW and trace debug support
●Embedded ST-LINK/V2
●Five 5 V power supply options: power jack, USB FS connector, USB HS connector,
ST-LINK/V2 or daughterboard
●MCU consumption measurement circuit.
1.2 Hardware layout and configuration
The STM3220G-EVAL demonstration board is designed around the STM32F207IGH6
microcontroller with a cryptographic acceleration cell in the UFBGA176 package. The
hardware block diagram, Figure 2, illustrates the connection between the STM32F207IGH6
and peripherals (camera module, LCD, SRAM, EEPROM, MEMS, USART, IrDA, USB OTG
HS, USB OTG FS, Ethernet, audio, CAN bus, smartcard, MicroSD card and motor control)
and Figure 3 helps the user locate these features on the actual demonstration board.

UM1519 STM3220G-EVAL demonstration board
Doc ID 022813 Rev 2 7/40
Figure 3. STM3220G-EVAL board hardware block diagram
!-V
-2XXXXX6
34-&)'(
23
TRANSCEIVER
)R$!
TRANSCEIVER
3MARTCARD
INTERFACE
6REGULATOR
4&4,#$
-ICRO3$
CARD
!UDIO$!#
-#CONTROL
CONNECTOR
,%$S+EY
*4!'
-%-3
0OTENTIOMETER
3MARTCARD
CONNECTOR
)NTEGRATED2*
CONNECTOR
23
$"CONNECTOR
!$#
)3
'0)/
-))2-))
53!24
)#
%XTENSION
CONNECTORFOR
'0)/S
0(9
53!24
#!.
#!.
TRANSCEIVER
#!.
$"CONNECTOR
-#
3$)/
4RACE
$EBUG
/4'&3 53"-ICRO!"
CONNECTOR
%%02/-
)/EXPANDOR
*OYSTICK
4OUCHSCREEN
53"POWER
SWITCH
#!.
6REGULATOR
6REGULATOR
6REGULATOR
$#-)
#AMERA
MODULE
/4'(3 53"-ICRO!"
CONNECTOR
53"POWER
SWITCH
53"(3
0(9
$!#
&3-#
32!-
34,).+6
#AMERAEXTENSION
CONNECTOR
-ICROPHONE
!MPLIFIER
!UDIO*ACK
!$#

STM3220G-EVAL demonstration board UM1519
8/40 Doc ID 022813 Rev 2
Figure 4. STM3220G-EVAL demonstration board layout
!-V
#.
-OTORCONTROL
#.
-ICRO3$CARD
#.
4RACE
#.
*4!'
5
)R$!
#.
53"/4'&3
#.
53"/4'(3
#.
34,).+6
#.
#OLOR,#$
#.
#AMERAMODULE
#.
#AMERAEXTENSION
CONNECTOR
5
*OYSTICK
"
5SERKEY
"
4AMPER
#.
3MARTCARD
"
7AKEUP
"
2ESET
26
0OTENTIOMETER
#.
6POWERJACK
#.
!UDIOJACK
#.
53!24
#.
#!.
5
34-&)'(
#.
2*
CONNECTOR
#.#.
%XTENSION

UM1519 STM3220G-EVAL demonstration board
Doc ID 022813 Rev 2 9/40
Figure 5. ZigBee adapter layout description
1.3 Power supply
The STM322xG-EVAL demonstration board is designed to be powered by 5 V DC power
supply and to be protected by PolyZen from a wrong power plug-in event. It is possible to
configure the demonstration board to use any of the following five 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 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).
The power supply is configured by setting the related jumpers JP4, JP32, JP18 and JP19,
as described in Ta ble 1 .

STM3220G-EVAL demonstration board UM1519
10/40 Doc ID 022813 Rev 2
Table 1. Power related jumpers and solder bridges
Jumper Description
JP4 Jumper reserved for future use (RFU). It should be left open.
Default setting: not fitted
JP32
MCU_VDD is connected to 3.3 V power when JP32 is closed and MCU current
consumption measurement can be done manually by multi-meter when JP32 is
open.
Default setting: fitted
JP18
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
right: (default setting)
To select daughterboard connector (CN1 and CN3) power
supply, set JP18 as shown:
To select USB OTG FS (CN8) power supply, set JP18 as shown:
To select USB OTG HS (CN9) power supply, set JP18 as shown:
To select power supply jack (CN18) power supply to both STM322xG-EVAL
and daughterboard connected on CN1 and CN3, set JP18 as shown
(daughterboard must not have its own power supply connected)
Inhaltsverzeichnis
Andere ST Adapter Handbücher




















