ST STM3220F-EVAL User manual

UMxxxx
U
ser Manual
STM3220F-EVAL
Evaluation Board
Introduction
The STM32F207IFT6 evaluation board
STM3220F-EVAL is designed as complete
development platform for STMicroelectronic’s
ARM Cortex-M3 core-based STM32F207IFT6
microcontroller with digital camera module
interface, High speed USB OTG, Full speed
USB OTG, Ethernet MAC, FSMC interface, two
channels of CAN2.0A/B compliant interface, 2
channels I2S, 3 channels I2C, 6 channels
USART with smart card support, 3 channels SPI,
SDIO, 3 ADC, 2 DAC, internal 128KB SRAM
and 1MB Flash, JTAG&SWD debugging
support.
The full range of hardware features on the
board is able to help you evaluate all
peripherals (USB OTG HS, USB OTG FS,
Ethernet, Motor Control, CAN, MicroSD card,
Smart card, USART, Audio DAC, RS232, IrDA,
PSRAM, OneNAND, MEMS, EEPROM… etc.)
and develop your own applications. Extension
headers make it possible to easily connect a
daughter board or wrapping board for your
specific application.
Features
■
Four 5V power supply options: Power jack, USB FS connector, USB HS connector or
daughter board.
■
Boot from User Flash, System memory or SRAM.
■
I2S Audio DAC, stereo audio jack.
■
1GByte or more MicroSD card.
■
Both type A&B Smart card support.
■
I2C compatible serial interface 64KBit EEPROM, MEMS and IO Expander.
■
RS232 communication.
■
IrDA transceiver.
■
USB OTG HS and FS with Micro-AB connector.
■
IEEE-802.3-2002 compliant Ethernet connector.
■
Camera module
■
4Mbit PSRAM
■
512Mbit OneNAND
■
Two channels of CAN2.0A/B compliant connection.
■
Inductor Motor Control connector.
Figure 1: STM3220F-EVAL evaluation board

STM3220F-EVAL Board
Qing SHAO Page 2 03/06/2009
■
JTAG ,SW and Trace Debug support.
■
3.2” 240x320 TFT color LCD with touch screen.
■
Joystick with 4-direction control and selector.
■
Reset, Wakeup, Tamper and User button.
■
4 color LEDs.
■
RTC with backup battery.
■
MCU consumption measurement circuit
■
Extension connector for daughter board or wrapping board.

STM3220F-EVAL Board
Qing SHAO Page 3 03/06/2009
Contents
1. Hardware Layout and configuration ...................................................................................... 4
1.1 Power Supply.................................................................................................................. 6
1.2 Boot Option ..................................................................................................................... 7
1.3 Clock Source................................................................................................................... 8
1.4 Reset Source................................................................................................................... 8
1.5 Audio ............................................................................................................................... 8
1.6 EEPROM......................................................................................................................... 8
1.7 CAN................................................................................................................................. 8
1.8 RS232 & IrDA................................................................................................................ 10
1.9 Motor Control................................................................................................................. 10
1.10 Smart Card.................................................................................................................. 11
1.11 MicroSD card............................................................................................................... 12
1.12 MEMS.......................................................................................................................... 12
1.13 Analog Input................................................................................................................ 12
1.14 USB OTG FS............................................................................................................... 13
1.15 Ethernet....................................................................................................................... 13
1.16 USB OTG HS.............................................................................................................. 14
1.17 Camera Module........................................................................................................... 14
1.18 PSRAM and OneNAND .............................................................................................. 14
1.19 Development and Debug support ............................................................................... 14
1.20 Display and Input devices ........................................................................................... 14
1.21 IDD measurement and comparator............................................................................. 15
2. Connector ............................................................................................................................ 17
2.1 Daughter board extension connector CN1,2,3 and CN4 .............................................. 17
2.2 Motor control connector CN5 ........................................................................................ 21
2.3 MicroSD connector CN6 ............................................................................................... 22
2.4 Ethernet RJ45 connector CN7...................................................................................... 22
2.5 USB OTG FS Micro-AB connector CN8 ....................................................................... 23
2.6 USB OTG HS Micro-AB connector CN9....................................................................... 23
2.7 CAN D-type 9-pins male connector CN10(CAN2) & CN12(CAN1) .............................. 24
2.8 Audio connector CN11.................................................................................................. 24
2.9 Trace debugging connector CN13................................................................................ 24
2.10 JTAG debugging connector CN14.............................................................................. 25
2.11 Camera module connector CN15................................................................................ 25
2.12 RS232 connector CN16.............................................................................................. 26
2.13 Analog input connector CN17..................................................................................... 26
2.14 Power connector CN18............................................................................................... 26
2.15 TFT LCD connector CN19 .......................................................................................... 27
2.16 Smart card connector CN20........................................................................................ 27
3. Known limitations and bugs on PCB rev A.......................................................................... 28
4. Schematic............................................................................................................................ 29
Appendix A STM3220F-EVAL IO Assignment........................................................................ 49
Appendix B Document Revision History.................................................................................. 53

STM3220F-EVAL Board
Qing SHAO Page 4 03/06/2009
1. Hardware Layout and configuration
The STM3220F-EVAL evaluation board is designed around the STM32F207IFT6 in 176-pin
TQFP package. The hardware block diagram Figure 2 illustrates the connection between
STM32F207IFT6 and peripherals (Camera module, LCD, PSRAM, OneNAND, EEPROM,
MEMS, USART, IrDA, USB OTG HS, USB OTG FS, Ethernet, Audio, CAN bus, Smart card,
MicroSD card and Motor Control) and Figure 3 will help you locate these features on the
actual evaluation board.
Figure 2: Hardware Block Diagram
STM32F207IFT6
RS232
transceiver
IrDA
transceiver
Smart Card
interface
3.3V regulator
TFT LCD
MicroSD
card
Audio DAC
BNC connector
MC control
connector
LEDs,Key
JTAG/SWD
MEMS
Potentiometer Smart Card
connector
Integrated RJ45
connector
RS232
DB9 connector
ADC
I2S2
GPIO
MII/RMII
USART6
I2C1
Extension
connector for
GPIOs
MCU
consumption
measurement
PHY
USART3
CAN1 CAN
transceiver CAN
DB9 connector
MC
SDIO
Trace Debug
OTG FS USB Micro-AB
connector
EEPROM
IO expandor Joystick
Touchscreen
USB power
switch
CAN2 CAN
transceiver CAN
DB9 connector
2.8V regulator
2.5V regulator
1.8V regulator
DCMI Camera
module
OTG HS USBMicro-AB
connector
USB power
switch
USB HS
PHY
DAC
FSMCPSRAM
OneNAND

STM3220F-EVAL Board
Qing SHAO Page 5 03/06/2009
Figure 3: STM3220F-EVAL Evaluation board layout
CN8
USB OTG FS
CN14
JTAG
U32
Jo
y
stick
B2
WAKEUP
B4
User Key
B1
RESET
CN19
Color LCD
CN12
CAN1
CN6
MicroSD
card
U16
STM32F207IFT6
CN16
USART3
CN11
Audio Jack
CN1-CN4
Extension header
U11
IrDA
CN17
Motor control
CN17
BNC connecto
r
RV1
Potentiometer
B3
Tamper
CN20
Smartcard
CN9
USB OTG HS
CN7
RJ45
connector
CN10
CAN2
CN18
5V power jack
CN15
Camera module
CN13
Trace

STM3220F-EVAL Board
Qing SHAO Page 6 03/06/2009
1.1 Power Supply
STM3220F-EVAL evaluation board is designed to be powered by 5V DC power supply and to
be protected by PolyZen from wrong power plug-in event. It’s possible to configure the
evaluation board to use any of following Four sources for the power supply.
■
5V DC power adapter connected to CN18, the Power Jack on the board (PSU on silk
screen for Power Supply Unit).
■
5V DC power with 500mA limitation from CN8, the USB OTG FS Micro-AB connector
(FS on silkscreen).
■
5V DC power with 500mA limitation from CN9, the USB OTG HS Micro-AB connector
(HS on silkscreen).
■
5V DC power from both CN1 and CN3, the extension connector for daughter board
(DTB for Daughter Board on silkscreen).
The power supply is configured by setting the related jumpers JP17, JP18 & JP19 as
described in table 1.
Table 1 Power related Jumpers
Jumper Description
JP17
JP17 is used to measure MCU current consumption manually by multi-
meter.
Default setting: Fitted
JP18 is used to select one of the four possible power supply resources.
For power supply jack(CN18) to the STM3220F-EVAL only, JP18 is set
as shown to the right:
(Default Setting)
For power supply from the daughter board connectors(CN1 and CN3) to
STM3220F-EVAL only, JP18 is set as shown to the right:
For power supply from USB OTG FS (CN8) to STM3220F-EVAL only,
JP18 is set as shown to the right:
JP18
For power supply from USB OTG HS (CN9) to STM3220F-EVAL only,
JP18 is set as shown to the right:
HS
FS
DTB
PSU
HS
FS
DTB
PSU
HS
FS
DTB
PSU
HS
FS
DTB
PSU

STM3220F-EVAL Board
Qing SHAO Page 7 03/06/2009
For power supply from power supply jack(CN18) to both STM3220F-
EVAL and daughter board connected on CN1 and CN3, JP18 is set as
shown to the right (daughter board must not have its own power
supply connected)
Vbat is connected to battery when JP19 is set as shown to the right:
JP19 Vbat is connected to 3.3V power when JP19 is set as shown to the right:
(Default setting)
To enable MCU power consumption measurement, JP16 should be re-configured as
described in table 2.
Table 2 MCU Power consumption measurement related Jumpers
JP16
JP16 is useded to bypass MCU power consumption measurement circuit,
it’s set to close by default.
JP16 need to be re-configured to open for MCU power consumption
measurement.
Default setting: Fitted
The LED LD9 is lit when the STM3220F-EVAL evaluation board is powered by the 5V
correctly.
1.2 Boot Option
The STM3220F-EVAL evaluation 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 3 Boot related Switch
Switch Boot from
Switch
configuration
STM3220F-EVAL boot from User Flash when BOOT0 is
set as shown to the right. BOOT1 is don’t care in this
configuration.
(Default setting)
STM3220F-EVAL boot from Embedded SRAM when
BOOT0 and BOOT1 are set as shown to the right.
BOOT0 & 1
STM3220F-EVAL boot from System Memory when
BOOT0 and BOOT1 are set as shown to the right.
HS
FS
DTB
PSU
1 2 3
1 2 3

STM3220F-EVAL Board
Qing SHAO Page 8 03/06/2009
1.3 Clock Source
Four clock sources are available on STM3220F-EVAL evaluation board for STM32F207IFT6
and RTC embedded.
■
X1, 25MHz Crystal for Ethernet PHY.
■
X2, 24MHz Crystal for USB OTG HS PHY.
■
X3, 32KHz Crystal for embedded RTC.
■
X4, 25MHz Crystal with socket for STM32F207IFT6 Microcontroller, it can be
removed from socket when internal RC clock is used.
1.4 Reset Source
The reset signal of STM3220F-EVAL evaluation board is low active and the reset sources
include:
■
Reset button B1
■
Debugging Tools from JTAG connector CN14 and Trace connector CN13
■
Daughter board from CN3
■
RS232 connector CN16 for ISP.
Table 4 Reset Related Jumpers
Jumper Description
JP25
Enable reset of the STM32F207IFT6 embedded JTAG TAP controller each
time a system reset occurs. JP25 connects the TRST signal from the
JTAG connection with the system reset signal RESET#.
Default Setting: Not fitted
1.5 Audio
STM3220F-EVAL evaluation board supports stereo audio play thanks to an audio DAC
CS43L22 connected to both I2S2 port and one channels of DAC of microcontroller
STM32F207IFT6. The CS43L22 can be configured via I2C1. The automatically switch
between the speaker and headphone is supported by both CS43L22 and audio jack with plug
detection pin.
1.6 EEPROM
A 64KBit EEPROM connected to I2C1 bus of STM32F207IFT6.
Table 5 EEPROM Related Jumpers
Jumper Description
JP24 The EEPROM is in Write protection mode when JP24 is closed.
Default Setting: Not fitted
1.7 CAN
STM3220F-EVAL evaluation board supports two channels of CAN2.0A/B complaint CAN bus
communication based on 3.3V CAN transceiver. The two CAN bus are disabled and
disconnected by jumpers from relevant STM32F207IFT6 IO’s which are shared with FSMC
and USB OTG HS. The jumper JP14 and JP15 must be re-set to enable CAN1 while JP10
and JP11 must be re-set to enable CAN2 as listed in table 6 and table 7.
The High-speed mode, standby mode and slope control mode are available and can be
selected by setting JP12 for CAN1 and JP7 for CAN2.

STM3220F-EVAL Board
Qing SHAO Page 9 03/06/2009
Table 6 CAN1 related Jumpers
Jumper Description
CAN1 transceiver is working in standby mode when JP12 is set as shown
to the right:
CAN1 transceiver is working in high-speed mode when JP12 is set as
shown to the right: (default setting)
JP12
CAN1 transceiver is working in slope control mode when JP12 is open.
JP13 CAN1 terminal resistor is enabled when JP13 is fitted.
Default setting: Not fitted
JP14
CAN1_TX is connected to PD1 and all peripherals connected to FSMC
(LCD, PSRAM & OneNAND) are disabled when JP14 is closed.
Default setting: Not fitted
JP15
CAN1_RX is connected to PD0 and all peripherals connected to FSMC
(LCD, PSRAM & OneNAND) are disabled when JP15 is closed.
Default setting: Not fitted
.
Table 7 CAN2 related Jumpers
Jumper Description
CAN2 transceiver is working in standby mode when JP7 is set as shown to
the right:
CAN2 transceiver is working in high-speed mode when JP7 is set as
shown to the right: (default setting)
JP7
CAN2 transceiver is working in slope control mode when JP7 is open.
JP9 CAN2 terminal resistor is enabled when JP9 is fitted.
Default setting: Not fitted
JP10
CAN2_TX is connected to PB13 and USB OTG HS is disabled when JP10
is closed. JP10 must be open for USB OTG HS application.
Default setting: Not fitted
JP11
CAN2_RX is connected to PB5 and USB OTG HS is disabled when JP11
is closed. JP11 must be open for USB OTG HS application.
Default setting: Not fitted
1 2 3
1 2 3
1 2 3
1 2 3

STM3220F-EVAL Board
Qing SHAO Page 10 03/06/2009
1.8 RS232 & IrDA
Both RS232 and IrDA communication is supported by D-type 9-pins RS232 connectors CN16
and IrDA transceiver U11 which are connected to USART3 of STM32F207IFT6 on
STM3220F-EVAL evaluation board. Two signals, Bootloader_BOOT0 and
Bootloader_RESET, are added on RS232 connector for ISP support.
RS232 or IrDA can be selected by setting of JP22:
Table 8 RS232 & IrDA Related Jumpers
Jumper Description
USART3_RX is connected to IrDA transceiver and IrDA communication is
enabled when JP22 is set as shown to the right:
USART3_RX is connected to RS232 transceiver and RS232
communication is enabled when JP22 is set as shown to the right(Default
setting):
JP22
JP22 must be set to open to enable MicroSD card witch shares same IOs
with RS232.
1.9 Motor Control
STM3220F-EVAL evaluation board supports three-phase brushless motor control via a 34-
pins connector CN17, which provides all required control and feedback signals to and from
motor power-driving board. Available signals on this connector includes emergency stop,
motor speed, 3 phase motor current, bus voltage, Heatsink temperature coming from the
motor driving board and 6 channels of PWM control signal going to the motor driving circuit.
JP2 allows to choose two kind to synchronization methods for PFCs (Power Factor
Correction).
The I/O pins used on Motor control connector CN17 are multiplexed with some peripherals on
the board; either motor control connector or multiplexed peripherals can be enabled by setting
of jumpers JP4, JP20 and JP3:
Table 9 Motor Control Related Jumpers
1 2 3
1 2 3

STM3220F-EVAL Board
Qing SHAO Page 11 03/06/2009
Note: MicroSD card must be removed from CN6 for Motor control application.
1.10 Smart Card
STMicroelectronics Smart card interface chip ST8024 is used on STM3220F-EVAL board for
asynchronous 3V and 5V smart cards. It performs all supply protection and control functions
based on the connections with STM32F207IFT6 listed in table 10:
Table 10 Connection between ST8024 and STM32F207IFT6
Signals of
ST8024 Description Connect to
STM32F207IFT6
5V/3V
Smart card power supply selection pin.
PH15
I/OUC
MCU data I/O line
PC6
XTAL1
Crystal or external clock input
PG7
OFF Detect presence of a card
, Interrupt to MCU, share same
pin with Motor controller
PF6
RSTIN
Card Reset Input from MCU
PF7
CMDVCC
Start activation sequence input (Active Low), share same pin
with I2S DAC and Motor control
PG12
Jumper Description
JP2
JP2 allows to have a PFC synchronization signal redirected to the timer 3
input capture 2 pin, additionally to the timer3 external trigger input.
Default setting: Not Fitted
JP1
JP1 should be kept on open when encoder signal is input from pin31 of
CN5 while it should be kept on close when analog signal is from pin31 of
CN5 for special motor.
Default setting: Not Fitted
SB3
Solder bridge SB3 is closed by default to connect BNC connector and
Motor control connector to PF8. For external analog input connected to
TP3 and TP4, SB3 may be disconnected.
It allows to connect an analogue
source to ADC for accuracy and reliability evaluation with minimum noise
induced by components on the board.
Default setting: close
Jumper Description
Multiplexed
peripherals
JP20
MC_BusVoltage is connected to PF6 when JP20 is set as
shown to the right:
SmartCard_OFF is connected to PF6 when JP20 is set as
show to the right (Default setting):
JP3
MC_HeatsinkTemperature is connected to PF7 when JP3 is
closed. JP3 must be open for Smart card.
Default setting: Not Fitted
Smart card
JP4
MC_EmergencySTOP is connected to PI4 when JP4 is
closed.
Default setting: Not Fitted
Camera
module
connected
to CN15
1 2 3
1 2 3

STM3220F-EVAL Board
Qing SHAO Page 12 03/06/2009
Smart card shares some IO’s with Motor control connector CN5 and I2S bus for Audio.
Some jumper has to be re-configured to enable Smartcard as listed below:
Table 11 Smartcard Related Jumpers
Jumper Description
JP21
SmartCard_IO is connected to PC6 when JP21 is closed. JP21 must be
open for Audio DAC connected to I2S.
Default setting: Not Fitted
JP3 & JP20 Description of JP3 and JP20 is in chapter 1.9 Motor control.
1.11 MicroSD card
The 1GByte or more MicroSD card connected to SDIO of STM32F207IFT6 is available on the
board. MicroSD card Detection is managed by standard IO port PH13. MicroSD card shares
same IO’s with Motor control & RS232. The jumper JP22 must be open and Motor control
connector (CN6) must be disconnected for MicroSD card.
Table 12 MicroSD card related Jumpers
Jumper Description
JP22 Description of JP22 is in chapter 1.8 RS232 & IrDA.
1.12 MEMS
A ST MEMS device LIS302DL is connected to I2C1 bus of STM32F207IFT6 on the board.
1.13 Analog Input
One BNC connectors CN17 is connected to PF8 of STM32F207IFT6 as external analog input
when Motor control connector is not used. The 50 ohm terminal resistor can be enabled by
closing of solder bridge SB8. A low pass filter can be implemented for BNC connector by
replacing of R74 and C59 with right value of resister and capacitor as requested by end user’s
application.
Note: For ADC accuracy measurement please use TP3 & TP4 as described in table 9 on
chapter 1.9
There are also 2 analog signals available on the board:
1. 10K ohm potentiometer RV1 connected to PC2 via jumper JP23.
2. IDD measurement output signal connected to PF9 for power consumption test in RUN,
SLEEP and STOP mode.
Table 13 Potentiometer related Jumpers
Jumper Description
JP23
Potentiometer RV1 is connected to PC2 when JP23 is closed. JP23 must
be open for Ethernet application.
Default setting: Not fitted
SB8 The 50ohm terminal resistor is enabled when SB8 is closed.
Default setting: open

STM3220F-EVAL Board
Qing SHAO Page 13 03/06/2009
1.14 USB OTG FS
STM3220F-EVAL evaluation board support USB OTG full speed communication via a USB
Micro-AB connector (CN8) and USB power switch (U1) connected to VBUS. The evaluation
board can be powered by this USB connection at 5V DC with 500mA current limitation.
The LED LD6 will be light when power switch (U1) is ON and STM3220F-EVAL works as a
USB host or if VBUS is powered by another USB host when STM3220F-EVAL works as a
USB device. The LD5 will be light when over-current is occurred.
1.15 Ethernet
STM3220F-EVAL evaluation board support 10M/100M Ethernet communication by a PHY
DP83848CVV (U5) and integrated RJ45 connector (CN7). Both MII and RMII interface mode
are supported and can be selected by setting of jumpers JP5, JP6 and JP8 as listed below:
Table 14 Ethernet Related Jumpers and solder bridges
Jumper Description
JP8
JP8 is used to select MII or RMII interface mode. MII is enabled when JP8
is open while RMII interface mode is enabled when JP8 is close.
Default setting: Not Fitted
JP6 should be set as shown to the right when MII interface mode is
enabled(Default setting):
JP6 JP6 should be set as shown to the right when RMII interface mode is
enabled:
25MHz clock for MII or 50MHz clock for RMII is provided by MCO at PA8
when JP5 is set as shown to the right (Default setting):
25MHz clock is provided by external crystal X1 (for MII interface mode
only) when JP5 is set as shown to the right:
JP5
JP5 has to be kept open when clock is provided by external oscillator U3
(not fit by default)
JP23 Description of JP23 is in chapter 1.13 Analog Input.
SB1
SB1 is used to select clock source only for RMII mode, the clock from
MCO is connected to RMII_REF_CLK when SB1 is closed.
Default setting: open
SB2
SB2 is used to select clock source only for RMII mode, the clock from
pin25 of Ethernet PHY U5 is connected to RMII_REF_CLK when SB2 is
closed.
Default setting: close
A tes tpoint TP2 is available on the board for PTP_PPS feature test, it can be used only when
JP11 is kept on open. (Note: there are no problem of conflict between PTP_PPS output &
ULPI data bus, pls. refer to 6.1.9.3 interface protection of USB3300. TBC)
1 2 3
1 2 3
1 2 3
1 2 3

STM3220F-EVAL Board
Qing SHAO Page 14 03/06/2009
1.16 USB OTG HS
STM3220F-EVAL evaluation board support USB OTG High speed communication via a USB
Micro-AB connector (CN9), USB High speed PHY (U8) and USB power switch (U4)
connected to VBUS. The evaluation board can be powered by this USB connector (CN9) at
5V DC with 500mA current limitation.
The LED LD7 will be light when power switch (U4) is ON and STM3220F-EVAL works as a
USB host or if VBUS is powered by another USB host when STM3220F-EVAL works as a
USB device. The LD8 will be light when over-current is occurred.
The USB ULPI bus is shared with CAN2 bus, the JP10 and JP11 must be kept on open for
USB OTG HS.
1.17 Camera Module
A 1.3Mega Pixel camera module is connected to DCMI bus of STM32F207IFT6 and shares
same IOs with motor control connector. JP4 must be kept on open for Camera module
application.
Table 15 Camera module Related Jumpers
Jumper Description
JP26 The camera module is in power down mode when JP26 is closed.
Default setting: Not Fitted
JP4 Description of JP4 is in chapter 1.9 Motor control.
1.18 PSRAM and OneNAND
The 4Mbit PSRAM and 512Mbit OneNAND are connected to FSMC bus of STM32F207IFT6
which shares same IO’s with CAN1 bus. The JP14 and JP15 must be kept on open for
PSRAM, OneNAND and LCD application.
1.19 Development and Debug support
The two debug connectors available on STM3220F-EVAL evaluation board are:
1. CN14, standard 20-pins JTAG interface connector that is compliant with debug tools of
ARM7 and ARM9.
2. CN13, SAMTEC 20-pins connector FTSH-110-01-L-DV for both SWD and Trace that is
compliant with ARM CoreSight debug tools.
1.20 Display and Input devices
The 3.2” TFT color LCD connected to FSMC bus and 4 general purpose color LED’s (LD
1,2,3,4) are available as display device. A touch screen connected to IO expander (U24), 4-
direction joystick with selection key, general purpose button (B4), Wakeup button (B2) and
Tamper detection button (B3) are available as input devices.
Table 16 LCD modules
3.2” TFT LCD with touch screen (CN16)
Pin on
CN16 Pin name Pin connection Pin on
CN16 Pin name Pin connection
1 CS FSMC_NE3 (PG10) 18 PD14 FSMC_D12
2 RS FSMC_A0 19 PD14 FSMC_D13
3 WR/SCL FSMC_NWE 20 PD16 FSMC_D14
4 RD FSMC_NOE 21 PD17 FSMC_D15
5 RESET RESET# 22 BL_GND GND
6 PD1 FSMC_D0 23 BL_Control +5V
7 PD2 FSMC_D1 24 VDD +3V3
8 PD3 FSMC_D2 25 VCI +3V3

STM3220F-EVAL Board
Qing SHAO Page 15 03/06/2009
9 PD4 FSMC_D3 26 GND GND
10 PD5 FSMC_D4 27 GND GND
11 PD6 FSMC_D5 28 BL_VDD +5V
12 PD7 FSMC_D6 29 SDO NC
13 PD8 FSMC_D7 30 SDI NC
14 PD10 FSMC_D8 31 XL IO expander
U24
15 PD11 FSMC_D9 32 XR IO expander
U24
16 PD12 FSMC_D10 33 YD IO expander
U24
17 PD13 FSMC_D11 34 YU IO expander
U24
1.21 IDD measurement and comparator
For IDD measurement the circuit below is implemented on STM3220F-EVAL.
Figure 4: STM3220F-EVAL IDD measurement circuit
In Run mode, IDD current is measured thanks to TSC101BILT (U14) connected to the 1ohm
shunt resistor. In this case IDD_CNT_EN remains at high level during measurement and
JP16 jumper must be removed.
In Halt mode, the operational amplifier TSC101BILT (U14) is connected on the 1Kohm shunt
resistor. To measure a current corresponding to the Halt mode the procedure is:
1. Configure ADC to measure voltage on IDD_measurement pin.
2. Configure PA0 as interrupt input on falling edge
3. Enter in Halt or active Halt mode with IDD_CNT_EN Low
4. LP_WAKEUP falling edge wakeup the MCU after 100ms
5. start ADC conversion as soon as possible after wakeup in order to measure the
voltage corresponding to Sleep mode on 1uF capacitor
6. Reset the counter by programming IDD_CNT_EN High in less than 50mS after
the wakeup to avoid 1Kohm to be connected later on VDD_MCU
In Halt mode, the 1K resistor is connected when T1 become off after entering in Halt mode.
Q13 output of the counter allows connecting the 1K when the current IDD becomes very low.
The measurement timing is given below:
Figure 5: STM3220F-EVAL IDD Halt mode measurement timing diagram

STM3220F-EVAL Board
Qing SHAO Page 16 03/06/2009
Halt mode IDD measurement timing
IDD_CNT_EN (PI8)
Q13= LOW_POWER_EN
(T1 pin 3)
Q14n = Switch
control (U15 pin 4)
Run
0150mS
Halt
Q14 = LP_WAKEUP
(PA0)
300mS
Wake-up Clear CNT
450mS
IDD Measure
MCU mode
The halt mode measurement procedure can be used in Halt mode and slow or fast active Halt
modes if the IDD current do not exceed 60uA else the Run measurement procedure need to
be used up to 60mA.

STM3220F-EVAL Board
Qing SHAO Page 17 03/06/2009
2. Connector
2.1 Daughter board extension connector CN1,2,3 and CN4
Four male headers CN1,2,3 and CN4 can be used to connect with daughter board or
standard wrapping board to STM3220F-EVAL evaluation board. All total 140 GPI/Os are
available on it.
Each pin on CN1,2,3 and CN4 can be used by a daughter board after disconnecting it from
the corresponding function block on STM3220F-EVAL evaluation board. Please refer to table
17 to table 20 for detail.
Table 17 Daughter board extension connector CN1
Pin Description Alternative
Function How to disconnect with function block
on STM3220F-EVAL board
1 GND - -
3 PE3 Trace_D0 -
5 PE5 Trace_D2
7 PI8 IDD_CNT_EN -
9 PC14 OSC32_IN SB4 open
11 PC15 OSC32_OUT SB5 open
13 PI10 MII_RX_ER Remove RS3
15 PF0 FSMC_A0 -
17 PF2 FSMC_A2 -
19 GND - -
21 PF5 FSMC_A5 -
23 PF7 SmartCard_RS
T &MC JP3 open
25 PF9 IDD_Measure
ment & MC Remove R82
Disconnect Motor Control board from CN5
27 PH0 OSC_IN SB6 open
29 PC0 ULPI_STP -
31 PC1 MII_MDC -
33 PC3 MII_TX_CLK Remove RS5
35 PA0 WakeUP Remove R139
37 PA2 MII_MDIO -
39 GND - -
41 PH4 ULPI_NXT Can not be used on daughter board
43 NC - -
45 NC - -
47 EMU_3V3 - -
49 EMU_5V - -
2 PE2 Trace_CLK -
4 PE4 Trace_D1 -
6 PE6 Trace_D3 -
8 PC13 Anti-Tamper Remove R143
10 GND - -
12 PI9 LED3 Remove R141
14 PI11 ULPI_DIR Can not be used on daughter board
16 PF1 FSMC_A1 -
18 PF3 FSMC_A3 -
20 PF4 FSMC_A4 -
22 PF6 SmartCard_OF
F & MC JP20 open
24 PF8 MC Disconnect Motor Control board from CN5
26 PF10 MC Disconnect Motor Control board from CN5
28 PH1 OSC_OUT SB7 open

STM3220F-EVAL Board
Qing SHAO Page 18 03/06/2009
30 GND - -
32 PC2 MII_TXD2 &
potentiometer JP23 open
34 VREF+ - -
36 PA1 MII_RX_CLK JP6 open
38 PH2 MII_CRS Remove RS3
40 PH3 MII_COL Remove RS3
42 PH5 OTG_FS_Pow
erSwitchOn Remove R18
44 NC - -
46 NC - -
48 APP_3V3 - -
50 GND - -
Table 18 Daughter board extension connector CN2
Pin Description Alternative
Function How to disconnect with function block
on STM3220F-EVAL board
1 GND - -
3 PA3 ULPI_D0 -
5 PA5 ULPI_CLK Can not be used on daughter board
7 PA7 MII_RX_DV Remove RS2, JP8 open
9 PC5 MII_RXD1 Remove RS2
11 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 Remove RS3
37 PH9 DCMI_D0 Remove camera module from CN15
39 GND - -
2 APP_VCC - -
4 PA4 Audio_DAC_O
UT Remove R115
6 PA6 DCMI_PIXCK Remove camera module from CN15
8 PC4 MII_RXD0 Remove RS2
10 GND - -
12 PB1 ULPI_D2 -
14 PF11 OTG_FS_Over
current Remove R15
16 PF13 FSMC_A7 -
18 PF15 FSMC_A9 -
20 PG0 FSMC_A10 -
22 PE7 FSMC_D4 -
24 PE9 FSMC_D6 -
26 PE11 FSMC_D8 -
28 PE13 FSMC_D10 -
30 GND - -
32 PB10 ULPI_D3 -
34 PH6 MII_RXD2 Remove RS5
36 PH8 DCMI_HSYNC
& MC Remove camera module from CN15
Disconnect Motor Control board from CN5
38 PH10 DCMI_D1 &MC Remove camera module from CN15

STM3220F-EVAL Board
Qing SHAO Page 19 03/06/2009
Disconnect Motor Control board from CN5
40 PH11 DCMI_D2 &MC Remove camera module from CN15
Disconnect Motor Control board from CN5
Table 19 Daughter board extension connector CN3
Pin Description Alternative
Function How to disconnect with function block
on STM3220F-EVAL board
1 GND - -
3 PI1 I2S_CK -
5 PH15 SmartCard_3/5
V & MC Disconnect Motor Control board from CN5
7 PH13 MicroSDCard_
defect & MC Remove MicroSD card from CN6
Disconnect Motor Control board from CN5
9 PC13 Anti-Tamper Remove R143
11 RESET# Reset button -
13 PA11 OTG_FS_DM Remove R17
15 PA9 VBUS_FS Remove USB cable from CN8
Remove R18
17 PC9 MicroSDCard_
D1 & MC Remove MicroSD card from CN6
Disconnect Motor Control board from CN5
19 EMU_5V - -
21 PC6 I2S_MCK &
SmartCard_IO JP21 open
23 PG7 SmartCard_CL
K -
25 PG5 FSMC_A15 -
27 PG3 FSMC_A13 -
29 PD15 FSMC_D1 -
31 PD14 FSMC_D0 -
33 PD12 FSMC_A17 -
35 PD10 FSMC_D15 -
37 PD8 FSMC_D13 -
39 GND - -
41 PB13 ULPI_D6 &
CAN2_TX -
43 PH12 DCMI_D3 &
MC Remove camera module from CN15
Disconnect Motor Control board from CN5
45 NC - -
47 EMU_3V3 - -
49 EMU_5V - -
2 PI2 IO_Expandor_I
NT 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_DP Remove R19
14 PA10 OTG_FS_ID Remove R21
16 PA8 MCO JP5 open
18 PC8 MicroSDCard_
D0 & MC Remove MicroSD card from CN6
Disconnect Motor Control board from CN5
20 PC7 LED4 Remove R140
22 PG8 LED2 Remove R154
24 PG6 LED1 Remove R155
26 PG4 FSMC_A14 -
28 PG2 FSMC_A12 -
30 GND - -

STM3220F-EVAL Board
Qing SHAO Page 20 03/06/2009
32 PD13 MC Disconnect Motor Control board from CN5
34 PD11 FSMC_A16 -
36 PD9 FSMC_D14 -
38 PB15 OneNAND_INT Remove R53
40 PB14 MII_INT Remove R41
42 PB12 ULPI_D5 -
44 NC - -
46 NC - -
48 APP_3V3 - -
50 GND - -
Table 20 Daughter board extension connector CN4
Pin Description Alternative
Function How to disconnect with function block
on STM3220F-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 camera module from CN15
JP4 open
7 PE0 FSMC_BL0 -
9 PB8 MII_TXD3 &
MC Remove RS5
Disconnect Motor Control board from CN5
11 BOOT0 BOOT0 -
13 PB6 I2C1_SCK Remove R103
15 PB4 TRST -
17 PG15 User button Remove R150
19 GND - -
21 PG12 SmartCard_C
MDVCC Remove R128
23 PG10 FSMC_NE3 Remove LCD board MB785 from CN19
25 PD7 FSMC_NE1 Remove R52
27 PD5 FSMC_NWE -
29 PD3 FSMC_CLK -
31 PD2 MicroSDCard_
CMD -
33 PD0 FSMC_D2 &
CAN1_RX JP15 open
35 PC11 MicroSDCard_
D3 &
RS232/IrDA_R
X
JP22 open
Remove MicroSD card from CN6
37 PA15 TDI -
39 GND - -
2 PI7 DCMI_D7 &
MC Remove camera module from CN15
Disconnect Motor Control board from CN5
4 PI5 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 JP11 open
16 PB3 TDO/SWO -
18 PG14 MII_TXD1 Remove RS6
20 PG13 MII_TXD0 Remove RS6
22 PG11 MII_TX_EN Remove RS6
24 PG9 FSMC_NE2 Remove R47
26 PD6 FSMC_NWAIT Remove R54
This manual suits for next models
1
Table of contents
Other ST Motherboard manuals

ST
ST STM32L4R9I-EVAL User manual

ST
ST AEK-POW-LDOV01J User manual

ST
ST SPC584B-DISP User manual

ST
ST STEVAL-PLC001V1 User manual

ST
ST STM32439I-EVAL User manual

ST
ST EVALSP1310CPU User manual

ST
ST ST7 Series User manual

ST
ST STM32F779I-EVAL User manual

ST
ST NUCLEO-F031K6 User manual

ST
ST PTB801DC User manual

ST
ST STA304 User manual

ST
ST M24LR-DISCOVERY User manual

ST
ST STEVAL-MKI019V1 User manual

ST
ST EVSPIN32G4-DUAL User manual

ST
ST UM0920 User manual

ST
ST SPC58XXADPT292S User manual

ST
ST EVALSP320SCPU User manual

ST
ST STM32L4 Series User manual

ST
ST STSW-S2LP-KNX-DK User manual

ST
ST STEVAL-L6982CDR User manual