Stm32f4-Evb User Manual
Stm32f4-Evb User Manual
Stm32f4-Evb User Manual
STM32F2/4
Evaluation Board
Introduction
The STM32F417IGH6 evaluation board
STM32F2/4-EVB is designed as complete
development platform for STMicroelectronics
ARM Cortex-M3 core-based STM32F417IGH6
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,
2channels 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, CAN, SD card, Smart card, USART, Audio DAC, RS232, PSRAM,NAND, 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.
RS232 communication.
IrDA transceiver.
Camera module
4Mbit PSRAM
512Mbit NAND
4 color LEDs.
Contents
1. Hardware Layout and configuration ....................................................................................5
1.1 Power Supply ....................................................................................................................7
1.2 Boot Option .......................................................................................................................8
1.3 Clock Source......................................................................................................................8
1.4 Reset Source.....................................................................................................................9
1.5 Audio .................................................................................................................................9
1.6 EEPROM...........................................................................................................................9
1.7 CAN...................................................................................................................................9
1.8 RS232 .............................................................................................................................10
1.9 SD card.......................................................................................................................... 10
1.10 MEMS............................................................................................................................11
1.11 USB OTG FS............................................................................................................... 11
1.12 Ethernet....................................................................................................................... 11
1.13 USB OTG HS
.............................................................................................................11
........................................................................................... 12
.......................................................................................................19
.....................................................................................20
BLOCK DIAGRAM
USB POWER
SWITCH
3.3V REGULATOR
OTG HS
2.5V REGULATOR
MCU
CONSUMPTION
MEASUREMENT
DAC
AUDIO DAC
GPIO
FSMC
TFT LCD
SD CARD
DB9
CONNECTOR
DB9
CONNECTOR
DB9
CONNECTOR
MEMS
EEPROM
STM32F417IGH6
NAND
PSRAM
USB
CONNECTOR
I2S
I2C1
LED,KEY
USB HS
PHY
DCMI
CAMERA
MODULE
USB
CONNECTOR
OTG FS
SDIO
JTAG/SWD
DEBUG
RS232
TRANSCEIVER
UART1
RS232
TRANSCEIVER
UART2
USB POWER
SWITCH
MII/RMII
CAN1
UART3
CAN2
PHY
RJ45
CONNECTOR
CAN
TRANSCEIVER
DB9
CONNECTOR
CAN
TRANSCEIVER
DB9
CONNECTOR
5V DC power adapter connected to CN6, the Power Jack on the board (PSU on silk screen
5V DC power with 500mA limitation from CN12, the USB OTG FS Mini-B connector (FS on
silkscreen).
5V DC power with 500mA limitation from CN13, the USB OTG HS Mini-B connector (HS on
silkscreen).
The power supply is configured by setting the related jumpers JP1,JP7 as described in table 1.
Table 1 Power related Jumpers
JUMPER
Description
JP1 is used to select one of the four possible power supply resources.
For power supply jack(CN6) to the STM32F2/4-EVB only, JP1 is set as shown
to the right:
(Default Setting)
J1
PSU
FS
HS
JP1
PSU
FS
HS
J1
PSU
FS
HS
JP7
Vbat is connected to 3.3V power when JP1 is set as shown to the right:
(Default setting)
1
2 3
The LED D9 is lit when the STM32F2/4-EVB evaluation board is powered by the 5V correctly.
The boot option is configured by setting switch SW1 (BOOT1) and SW2 (BOOT0).
Table 2 Boot related Switch
BOOT0
BOOT1
Boot from
JP3
JP4
BOOT0
BOOT1
the right.
1
Y1, 25MHz Crystal with socket for STM32F417IGH6 Microcontroller, it can be removed
The reset signal of STM32F2/4-EVB evaluation board is low active and the reset sources
include:
1.5 Audio
STM32F2/4-EVB evaluation board supports stereo audio play thanks to an audio DAC
CS43L22 connected to both I2S2 port and one channels of DAC of microcontroller
STM32F417IGH6. 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 STM32F417IGH6.
1.7 CAN
STM32F2/4-EVB 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 STM32F417IGH6 IOs CAN2 is shared with USB OTG
HS. The switch must be re-set to enable CAN2 as listed in table 6 and table 7.
Description
JP8
Description
JP9
SW5-7
SW5-5
1.8 RS232
Description
SW3-1
SW3-3
Description
SW2-1
SW2-3
SW2-5
SW2-7
Description
SW5-1
SW5-3
1.10 MEMS
1.12 Ethernet
STM32F2/4-EVB evaluation board support 10M/100M Ethernet communication by a PHY
IP101A (U7) and integrated RJ45 connector (CN7). Both MII and RMII interface mode are
supported and can be selected by setting of Jumper JP6 and Switch SW2 as listed below:
Table 6 Ethernet Related Jumpers
Jumper
Description
25MHz clock is provided by external crystal X1 (for MII interface mode only)
when JP6 is set as shown to the right:
1
JP6
25MHz clock for MII or 50MHz clock for RMII is provided by MCO when JP6 is
set as shown to the right (Default setting):
1
Table 7 Ethernet Related Switch(shared with UART2)
Switch_ ON
Description
ETH_RX_CLK is connected to PA1 and USART2_RTS
SW2-4
is disabled(SW2-3
OFF)
Default setting: fitted
SW2-6
Switch_ON
Description
ULPI_D0 is connected to PA3 and USART2_RX is disabled(SW2-7 OFF)
SW2-8
SW3-6
SW3-8
SW4-8
SW5-2
SW5-4
SW5-6
SW5-8
Pin name
Pin connection
CN16
1
Pin on
Pin name
Pin connection
RS
FSMC_A0(PF0)
CN16
CS
FSMC_NE3 (PG10)
WR/SCL
FSMC_NWE(PD5)
RD
FSMC_NOE(PD4)
RESET
RESET#
PD0
FSMC_D0(PD14)
PD1
FSMC_D1(PD15)
PD2
FSMC_D2(PD0)
PD3
FSMC_D3(PD1)
10
PD4
FSMC_D4(PE7)
11
PD5
FSMC_D5(PE8)
12
PD6
FSMC_D6(PE9)
13
PD7
FSMC_D7(PE10)
14
PD8
FSMC_D8(PE11)
15
PD9
FSMC_D9(PE12)
16
PD10
FSMC_D10(PE13)
17
PD11
FSMC_D11(PE14)
18
PD12
FSMC_D12(PE15)
19
PD13
FSMC_D13(PD8)
20
PD14
FSMC_D14(PD9)
21
PD15
FSMC_D15(PD10)
22
BL_GND
GND
23
BL_CONTR
+5V
24
VDD
+3.3V
OL
25
VCI
+3.3V
26
GND
GND
27
GND
GND
28
BL_VDD
+5V
29
SDO
SDO(PB6)
30
SDI
SDI(PB9)
31
XL
XL
32
XR
XR
33
YD
YD
34
YU
YU
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 STM32F2/4-EVB evaluation board. All total 140 GPI/Os are
available on it.
Description
Alternative Function
PE2
FSMC_A23
PE3
FSMC_A19
PE4
FSMC_A20
PE5
FSMC_A21
PE6
FSMC_A22
VBAT
--
PI8-RTC_AF2
GPIO(KEY)
PC13-RTC_AF1
GPIO(TAMPER)
PC14-OSC32_IN
OSC32_IN
10
PC15-OSC32_OUT
OSC32_OUT
11
PI9
CAN1_RX
12
PI10
ETH_RX_ER
13
PI11
ULPI_DIR
14
VSS-14
GND
15
VDD_14
VCC
16
PF0
FSMC_A0
17
PF1
FSMC_A1
18
PF2
FSMC_A2
19
PF3
FSMC_A3
20
PF4
FSMC_A4
21
PF5
FSMC_A5
22
VSS_5
GND
23
VDD_5
VCC
24
PF6
GPIO(SDC_WP)
25
PF7
26
PF8
27
PF9
28
PF10
29
PH0-OSC_IN
OSC_IN(25MHz)
30
PH1-OSC_OUT
OSC_OUT(25MHz)
31
NRST
31
PC0
ULPI_STP
33
PC1
ETH_MDC
34
PC2
ETH_TXD2
35
PC3
ETH_TX_CLK
36
VDD_12
VDD
37
VSSA
GND
38
VREF+
VREF+
39
VDDA
VDDA
40
PA0-WKUP
41
PA1
42
PA2
43
PH2
ETH_CRS
44
PH3
ETH_COL
Description
Alternative Function
45
PH4
ULPI_NXT
46
PH5
----
47
PA3
48
VSS_4
GND
49
VDD_4
VCC
50
PA4
AUDIO_DAC
51
PA5
ULPI_CLK
52
PA6
CAM_PCLK
53
PA7
ETH_RX_DV
54
PC4
ETH_RXD0
55
PC5
ETH_RXD1
56
PB0
57
PB1
58
PB2
GPIO(TOUCH_INT)
59
PF11
GPIO(SD_RDY)
60
PF12
FSMC_A6
61
VSS_6
GND
62
VDD_6
VCC
63
PF13
FSMC_A7
64
PF14
FSMC_A8
65
PF15
FSMC_A9
66
PG0
FSMC_A10
67
PG1
FSMC_A11
68
PE7
FSMC_D4
69
PE8
FSMC_D5
70
PE9
FSMC_D6
71
VSS_7
GND
72
VDD_7
VCC
73
PE10
FSMC_D7
74
PE11
FSMC_D8
75
PE12
FSMC_D9
76
PB13
FSMC_D10
77
PE14
FSMC_D11
78
PE15
FSMC_D12
79
PB10
80
PB11
81
VCAP1
VCAP1
82
VDD_1
VCC
83
PH6
ETH_RXD2
84
PH7
ETH_RXD3
85
PH8
CAM_HSYNC
86
PH9
CAM_DATA0
87
PH10
CAM_DATA1
88
PH11
CAM_DATA2
Description
Alternative Function
89
PH12
CAM_DATA3
90
VSS_14
GND
91
VDD_14
VCC
92
PB12
93
PB13
94
PB14
GPIO(LCDBKL_CTL)
95
PB15
GPIO(K_SEL)
96
PD8
FSMC_D13
97
PD9
FSMC_D14
98
PD10
FSMC_D15
99
PD11
FSMC_A16
100
PD12
FSMC_A17
101
PD13
FSMC_A18
102
VSS_8
GND
103
VDD_8
VCC
104
PD14
FSMC_D0
105
PD15
FSMC_D1
106
PG2
FSMC_A12
107
PG3
FSMC_A13
108
PG4
FSMC_A14
109
PG5
FSMC_A15
110
PG6
FSMC_INT2
111
PG7
ZIGBEE_WAKE
112
PG8
ZIGBEE_INT
113
VSS_9
GND
114
VDD_9
VCC
115
PC6
I2S_MCK
116
PC7
----
117
PC8
SDC_D0
118
PC9
SDC_D1
119
PA8
ETH_MCO
120
PA9
121
PA10
122
PA11
USB_FS_DN
123
PA12
USB_FS_DP
124
PA13
JTMS
125
VCAP2
VCAP2
126
VSS_2
GND
127
VDD_2
VCC
128
PH13
CAN1_TX
129
PH14
CAM_DATA4
130
PH15
----
131
PI0
I2S_CMD
132
PI1
I2S_CLK
Description
Alternative Function
133
PI2
TOUCH_INT
134
PI3
I2S_DIN
135
VSS_15
GND
136
VDD_15
VCC
137
PA14
JTCK
138
PA15
139
PC10
SDC_D2
140
PC11
SDC_D3
141
PC12
SDC_CLK
142
PD0
FSMC_D2
143
PD1
FSMC_D3
144
PD2
SDC_CMD
145
PD3
FSMC_CLK
146
PD4
FSMC_NOE
147
PD5
FSMC_NWE
148
VSS_10
GND
149
VDD_10
VCC
150
PD6
FSMC_NWAIT
151
PD7
FSMC_NE1
152
PG9
FSMC_NE2
153
PG10
FSMC_NE3
154
PG11
ETH_TX_EN
155
PG12
----
156
PG13
ETH_TXD0
157
PG14
ETH_TXD1
158
VSS_11
GND
159
VDD_11
VCC
160
PG15
----
161
PB3
162
PB4
163
PB5
164
PB6
I2C1_SCL
165
PB7
FSMC_NL
166
BOOT0
BOOT0
167
PB8
ETH_TXD3
168
PB9
I2C1_SDA
169
PE0
FSMC_NBL0
170
PE1
FSMC_NBL1
171
RFU
Reserved
172
VDD_3
VCC
173
PI4
CAM_DATA5
174
PI5
CAM_VSYNC
175
PI6
CAM_DATA6
176
PI7
CAM_DATA7
Description
Pin name
SDC_D3
PC11
SDC_CMD
PD2
VSS
VDD
SDC_CLK
VSS
SDC_D0
PC8
SDC_D1
PC9
SDC_D2
PC10
CD
SD_RDY
PF11
WP
SDC_WP
PF6
PC12
Pin number
Description
TxData+
TxData-
RxData+
Shield
Shield
RxData-
Shield
Shield
Pin number
Description
VBUS (PA9)
D- (PA11)
D+ (PA12)
ID (PA10)
GND
Pin number
Description
VBUS
D-
D+
ID
GND
Table 15 CAN D-type 9-pins male connector CON4 (CAN2) & CON2(CAN1)
Pin number
Description
1,4,8,9
NC
CANL
CANH
3,5,6
GND
Description
Pin number
Description
3.3V power
3.3V power
JTRST/PB4
GND
JTDI/PA15
GND
JTMS/PA13
GND
JTCK/PA14
10
GND
11
RTCK
12
GND
13
JTDO/PB3
14
GND
15
RESET#
16
GND
17
DBGRQ
18
GND
19
DBGACK
20
GND
Description
Pin number
Description
CAM_DATA3/PH12
CAM_DATA2/PH11
CAM_DATA5/PI4
CAM_DATA4/PH14
CAM_DATA7/PI7
CAM_DATA6/PI6
TBD/PI2
TBD/PI1
RESET#
10
11
NC
12
SDA/PB9
13
CAM_HSYNC/PH8
14
SCL/PB6
15
CAM_VSYNC/PI5
16
GND
17
CAM_PCLK/PA6
18
GND
19
+3V3
20
CLK
21
+3V3
22
GND
23
CAM_DATA1/PH10
24
CAM_DATA0/PH9
25
CAM_GPIO0
26
CAM_GPIO1/
27
NC
28
NC
29
NC
30
NC
31
GND
32
GND
Description
Pin number
Description
NC
NC
RS232_RX
NC
RS232_TX
NC
NC
NC
GND
Description
Pin number
Description
NC
NC
RS232_RX
RS232_RTS
RS232_TX
RS232_CTS
NC
NC
GND
Pin number
Description
Pin number
Description
FSMC_NE3/PG10
FSMC_A0/PF0
FSMC_NWE/PD5
FSMC_NOE/PD4
RESET#
FSMC_D0
FSMC_D1
FSMC_D2
FSMC_D3
10
FSMC_D4
11
FSMC_D5
12
FSMC_D6
13
FSMC_D7
14
FSMC_D8
15
FSMC_D9
16
FSMC_D10
17
FSMC_D11
18
FSMC_D12
19
FSMC_D13
20
FSMC_D14
21
FSMC_D15
22
GND
23
LCDBKL_CTL/PB14
24
+3V3
25
+3V3
26
GND
27
GND
28
+3V3
29
SCL/PB6
30
SDA/PB9
31
X1
32
X2
33
Y2
34
Y1
3.
Schematic