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 STM322xGEVAL 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
The STM3220G-EVAL demonstration board is a complete demonstration and development
platform for the STM32 F-2 series and includes an embedded STM32F207IGH6 highperformance ARM
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.
®
Cortex-M3 32-bit microcontroller with a cryptographic acceleration cell.
Doc ID 022813 Rev 25/40
STM3220G-EVAL demonstration boardUM1519
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
2
●I
C 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.
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 bl e 1 .
Doc ID 022813 Rev 29/40
STM3220G-EVAL demonstration boardUM1519
Table 1.Power related jumpers and solder bridges
Jumper Description
JP4
JP32
Jumper reserved for future use (RFU). It should be left open.
Default setting: not fitted
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 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:
JP18
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)
10/40Doc ID 022813 Rev 2
UM1519STM3220G-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.
1.4 Boot option
The STM322xG-EVAL demonstration board is able to boot from:
●Embedded user flash
●System memory with boot loader for ISP
●Embedded SRAM for debugging.
The boot option is configured by setting switch SW1 (BOOT1) and SW2 (BOOT0). The
BOOT0 can be configured also via RS232 connector CN16.
Table 2.Boot related switch
BOOTBOOT1Boot source
0Don’t careSTM322xG-EVAL boots from user Flash (default setting)
11STM322xG-EVAL boots from embedded SRAM
10STM322xG-EVAL boots from system memory
1.5 Clock source
Four clock sources are available on the STM322xG-EVAL demonstration board for 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 crystal for embedded RTC
●X4, 25 MHz crystal with socket for the STM32F207IGH6 microcontroller (it can be
removed from socket when internal RC clock is used).
Doc ID 022813 Rev 211/40
STM3220G-EVAL demonstration boardUM1519
1.6 Reset source
The reset signal of the STM322xG-EVAL demonstration board is low active and the reset
sources include:
●Reset button B1
●Debugging tools from JTAG connector CN14 and trace connector CN13
●Daughterboard from CN3
●RS232 connector CN16 for ISP
●ST-LINK/V2.
1.7 EEPROM
A 64 Kbit EEPROM is connected to the I2C1 bus of the STM32F207IGH6.
Table 3.EEPROM related jumper and solder bridge
JumperDescription
1.8 Ethernet
The STM322xG-EVAL demonstration board supports 10M/100M 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 4.Ethernet related jumpers and solder bridges
JumperDescription
JP8
JP6
JP24
JP8 is used to select MII or RMII interface mode.
To enable MII, JP8 is not fitted.
To enable RMII interface mode, JP8 is fitted.
Default setting: not fitted
To enable MII interface mode, set JP6 as shown (default setting):
To enable RMII interface mode, set JP6 as shown:
The EEPROM is in write protection mode when JP24 is fitted.
Default setting: not fitted
12/40Doc ID 022813 Rev 2
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.