Home
STM3221G-EVAL evaluation board
Contents
1. 8 L t 1 02 jo 81948 sew NOW 1v 3 9 9t Sv Vc 0 ZENLS ien gt 4 GES EE de 91104359 90451 LS 01008 19100 op pan Tone WIHI09LV8 08 err 0 60 MS 00 mr 9 9HDILIFACCNLS 9HOILOFACEINLS 9HDILICICCNLS 08 eer SHDILOCICCINLS 68 adoc adoz 010 SO bi err I I D TT GHB TST 0 RE 01009 pe lei err a sd 124 06 oni IH RSS ZEZ de sida Toe 2185 TUN od SUN Elad EEE EIN 1104 BOO pu
2. 1 8V regulator USB power switch 2 5V regulator eez eo 2 8V regulator Microphone 3 3V regulator ADC Amplifier Audio Jack DAC 1252 Audio DAC 12 1 5 Joystick LEDs Key GPIO IO expandor Extension STM32F2171GH6 Touchscreen connector for GPIOs Camera Camera extension DOMI module connector SRAM FSMC OTGES USB Micro AB connector LCD USB power switch MicroSD SDIO MII RMII PHY Integrated RJ45 card connector MC control MC 1 connector CAN CAN transceiver DB9 connector CAN2 JTAG Debug RS232 RS232 Trace transceiver DB9 connector USART3 IrDA ST LINK V2 transceiver Smart Card Smart Card Potentiometer ADC interface connector MS19603V1 437 Doc ID 018640 Rev 5 7 65 Hardware layout and configuration UM1065 Figure3 STM3221G EVAL evaluation board layout CN6 CN5 U16 STM32F2071GH6 MicroSD card Motor control CN7 RJ45 011 connector IrDA CN8 USB OTG FS CN9 CN10 USB OTG HS CAN CN2
3. L Jp eus 6002 22 2 H9S 49d sgZgWusqunN 1891 9 145 01 06 201 21U0OJ 29 90J9IIN 1 S AISI op j 012 001 0 104 L NIAdGOPTLLS T Mfg 1205 18 m X01 GDHOOI MOO LFGOCEOPZ INV z e dez 6 18550049 v na B 5 GE 21 SSA MS NS 552 9 8 gt Sida Za EM AIEGI ES rida 91 9 12 JNOVTISdLS t X01 1 Sa t x vaar 88 v WAY qu s S 17 Su 02 1Z ae o OE 604 E edd Lad LESTE X01 904 sa 148 e sad sc en t poq 1 0 102210100 AIT NES 01 oas rad dd e 904 x Za Su Idd 6C lt qu oad oE EE vt WM X01 TX 32 ic 10pouuoo AITTE X oda nx c DA dA 5 EIO TIHVNS wx c Md avoni 92 574 TX 148 9104 L
4. v T 02 Jo 9945 58 4 20 oipny TVA3 9 97 97 15 06 CENLS au 1 edi 10121581 b mm auoor 861 71001 wog L 5613 6 IO o SI EAE ic SE 29208 91 4 ren Layer TZU pin f ZI 5 44001 ST Buydnoo 10 5 5 44001 44001 8 T 0c 01 GARE een orld any aur l GOIRI onu O00 TEST ISS 6 0 SSOupPE OTL 02 8012 1012 1012 22165650 anro LT 01 too SE LC EE 2 8 9 _ 61 02 74179 019 862 62 91 3001 T n jespeeu puoudi 10 EIS v SATH 1 B T ino ova ony gt SUE 5 IX 411 5012 180 880 aus 06 VNB 62 560 ie 10puedxo 80 1955 10 8051 5554 Ee TE Ot ld 101 2 6E 94 SEIS vn GERO BE LE 924 8910 9 984 9 T 684 v NI Jncc00 4nzco o 169 982 10 49 00550 on 5 5 4 DIZTE 8 gt 901 6 4 4 9en GUE GOO y 2 1
5. Table 33 5 3221 pinout continued Pin no Pin name Description C8 VDD 10 B11 PD6 FSMC NWAIT A11 PD7 FSMC C10 PG9 FSMC NE2 B10 PG10 9 PG11 ETHER TXEN B8 PG12 SmartCard CMDVCC A8 PG13 ETHER TXDO A7 PG14 ETHER TXD1 D7 VSS 11 C7 VDD 11 B7 PG15 USER BUTTON A10 TDO A9 4 JTAG_TRST A6 PB5 CAN2 RX ETHER PPS OUT ULPI_D7 B6 PB6 1201 SCL B5 PB7 FSMC NL D6 BOOTO BOOTO A5 PB8 ETHER TXD3 34 Index B4 PB9 12 1 SDA 4 FSMC NBLO A3 PE1 FSMC NBL1 D5 VSS SA C6 VDD 3 POR Disable C5 VDD SA 4 4 5 8 1 Stop C4 PI5 VSYNC TIM8 pin 3 UH C3 6 6 TIM8 2 pin 7 VH C2 D7 MC TIM8 pin 11 WH Doc ID 018640 Rev 5 41 65 Schematics UM1065 4 Schematics The following schematic diagrams are listed Figure 17 STM3221G EVAL on page 43 Figure 18 MCU on page 44 Figure 19 USB OTG HS on page 45 Figure 20 Camera on page 46 Figure 21 Ethernet on page 47 Figure 22 Audio on page 48 Figure 23 USB OTG FS on page 49 Figure 24 SRAM on page 50 Figure 25 LCD on page 51 Figure 26 RS 232 and IrDA on page 52 Figure 27 CAN on page 53 Figure 28 peripherals on page 54 Figure 29 expander on page 55 Figure 30 MicroSD Card on page 56 Figure 31 Motor contr
6. 0 8 sjejeudueg OI TVA3 9 9t St LZ 0Z ZEWLS 001 5 15 pe 0919 05 0 4 14001 Jojouronuojod 0 12 wasn 4401 AN PEIO 5194 so 4986 A ru earren IAN C 634 DE SEE BETA AE SWAN 5 0101 7 Pure ZINI d L9NINSI E9OFCIA 25 5 188 E s OM 19001 ms 9 sin T4 9 ORA I SAS 680 101 SACK XonsKof 1opuedxo OL z Schematics Figure 28 54 65 Schematics UM1065 v 02 Jo 8112248 2 9878W 5qunN Ol IWAS 9 9t St LC 02 28 16 S231U0J 29 90J2IIA 1S expander 88 0 5 301 01 XIOIISHdWIS SET t L 4 Y 0 E 9 CgXQ ssoappe vcn 3LLOLISSdIALLS DOE INI TZEZ e NI INI NI Lvas Os ere Ee m XS A ODA Figure 29 55 65 Doc ID 018640 Rev 5 UM1065 Schematics Fig
7. v 4 I 0c Jo 0112248 5 24 0 9878WequnN VOJI 92 cS8 1VA3 9 BERE LGS CENLS a 1 S ee d EKO RS 232 and IrDA zo 152 00691041 8 ON 100A SO i 1 2 BE eis qu p gt WdHHIFCELS 10 6 SINO Doc ID 018640 Rev 5 Schematics Figure 26 52 65 Schematics CAN v c 0c Jo 1112945 2 9878WW 5qunN NYO 1 9 4 12 02 CENLS au 16 39101 954 021 O CCIAHS9NS E Odd JIA E 5 5 HNVO Su a NV o pur 6gd UM1065 Figure 27 53 65 Doc ID 018640 Rev 5 UM1065 Doc ID 018640 Rev 5 peripherals z n 04 2115545
8. 01 Spi ON d 554 INI 554 oN AI quor ON pum 5 ON X qug H2 4 OMA 07 EIO 1d ov 87 E E sv d 004 9v 304 904 6v soa sasa d 194 EN EEA EEA ODA ZOA SOT 90 1 LOA 60 1 TION cv SIV LIV EIN 6IV 9N Doc ID 018640 Rev 5 50 65 Schematics UM1065 LCD Figure 25 02 P 6 HOS SOd ZO 9878WJ3oqumN GO T IVA3 S Ov Sere OLENS 15 401 JO 9 5 4 CONO QDH00 I MOO LFCIOCEOFC IAV 101200102 QIT OJ 01 145 avag TNT ggg amor i Siro au 51 65 Doc ID 018640 Rev 5 UM1065
9. X01 JES Iv ed N EIO IN iga _ 90 Sid 4 E 2 wW ZE IN tv Wy 1d ZIZ ZIK 18 18 SI Myd 1 S d O1Ved FEI oad eg PIO _ 88 Sid sVd vat 9 SQ 0185 SN 1 Yd sva SIN nad Old EN tyd zad lt tVd IIN Vd 1 8911 pl d IVd gurez TU 744 EN OVa Sad 414 posada 501 von 102A paadu sor Tod iat 8 r t 1 Doc ID 018640 Rev 5 44 65 Schematics UM1065 USB OTG HS Figure 19 v 02 39 i 9945 Hos gOd zO SH 910 GSN WAT 9r Sv VC 0 061415 S921U04 29 90J9 IN 1 LAVSOLTdSI 5 18544 da quo ber Se 1040 EE err E anro 298 94 EIS EIE mro 21 cS EE ON Oni od E
10. Doc ID 018640 Rev 5 48 65 Schematics UM1065 a USB OTG FS v 04 jo 18948 HOS SOd zO 9878WuequmN eize 5 badirala 904 59 90451 LS SO za 106 and a ILA C 0813 e O E E ose T 2 erea SOSA 1000066 LY pres G 0 E E 3 5 ze 8 di at EE 5 Passan 8 Wd NH o 5 snoga H m 7 NI CE AS EEE err b E OL 02 91 029 v t Figure 23 49 65 Doc ID 018640 Rev 5 UM1065 Schematics SRAM Figure 24 v 0c Jo 812545 LLOZ L 5 804202 9 8 NVHS 1VA3 9 BEER UZU CENLS 1116 49001 810 lt INIGNVN9O c 4 0 X EAEN OE 014001 D proze cw 184 tad IXVSECL EEAGLZ0LOZAO TIWOI TIH9IFCOLAA 1951
11. UM1065 ATA User manual STM3221G EVAL evaluation board Introduction The STM3221G EVAL evaluation board is a complete demonstration and development platform for the STM32F2 series and includes an embedded STM32F2171GH6 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 you 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 your own applications Extension headers make it possible to easily connect a daughter board or wrapping board for your specific application The in circuit ST LINK tool can be easily used for JTAG and SWD interface debugging and programming Figure 1 STM3221G EVAL evaluation board January 2012 Doc ID 018640 Rev 5 1 65 www st com Contents UM1065 Contents 1 E E b baki OE kak 4 1 1 Features 4 1 2 Demonstration software 4 1 3 ig DC 4 1 4 Delivery recommendations 5 2 Hardware layout and configuration 6 2 1 Powersupply 522522554252 ho d dde d ad 9 2 2 norme p M 10 2 3 sc idus 11 2
12. A10 22 PE7 FSMC 04 24 PE9 FSMC D6 26 PE11 FSMC DO 28 PE13 FSMC 010 30 GND 32 PB10 DO 34 PH6 RXD2 Remove RS5 Doc ID 018640 Rev 5 ZO UM1065 Connectors E Table 18 Daughterboard extension connector CN2 continued 5 How to disconnect with function block on Pin Description Alternative Function STM3221G EVAL board Remove camera module from CN15 GO BEALAK Disconnect motor control board from CN5 Remove camera module from CN15 50 2 amp Disconnect motor control board from CN5 Table 19 Daughter board extension connector CN3 How to disconnect with function block on Pin Description Alternative Function STM3221G EVAL board 1 GND 3 125 CK 5 PH15 5 3 5 MC Disconnect motor control board from CN5 Remove MicroSD Card from CN6 E MicroSD Card detect amp MC 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 8 Remove 18 MicroSDCard D1 amp 17 PC9 25 16 19 5 21 6 125 amp Smartcard JP21 open 23 PG7 Smartcard 25 PG5 FSMC A15 27 FSMC A13 29 PD15 FSMC D1 31 PD14 FSMC DO 33 PD12 FSMC A17 SB15 op
13. DB ESE t 119 Ten be Doc ID 018640 Rev 5 46 65 Schematics UM1065 Ethernet Figure 21 t 02 jo 619216 8022 9878WoqumN 9 9 4 12 02 CENLS au S21u04 29 90J2 N1S 4 91109 15 5 1 8 I zl 01 aero mro f mro eik 912 EAEN OT MATS T 9c LC 6 le 80 Isa UNO zizin anro 19 95 EAEN T oF dez e AMAOSPSESdG CC 01y 10u op W0 0S ASHSTLLINS 324205 SIE ZHWST TX fora 701 EAE L Tra TZE RL arr Cc 0 ZE 87 ANN TITA woos 1240 IVAS DXCCEILIS 2502 IVAS DXPCEIALIS V 188 ZIZ 188 ut posnun uongmztjuoo peog 47 65 Doc ID 018640 Rev 5 UM1065 Schematics Audio Figure 22
14. oe 01 saad he 16 m 11001 ro L 9012 s 19 gd SED A MMe ONON AGAS XOY RC E E p GE 1 LSTA 012301 Gre EAEN EAREN Doc ID 018640 Rev 5 58 65 Schematics UM1065 JTAG and trace Figure 33 v 02 Jo 1112345 5 894060 GUEREN 938 1 9 1 3 9 9 0 CENLS au S31U043129 90J2IIN 1 S 92841 3g jou op 3 Jou 863 0 14 op EAEN AG TTO 0TI HSTA 11109 59 65 Doc ID 018640 Rev 5 UM1065 Schematics Power Figure 34 14 02 Jo 8119945 LLOZ EL LE GEO 5 19828 22 IVA3 9 9t Sv LcC 0c CEINLS 15 qnot 1605 SATH 6 E ur ut
15. 2 12 2 13 2 14 2 15 16 65 MEMS A ST MEMS device LIS302DL is connected to I2C1 bus of STM32F2171GH6 on the board Potentiometer There is one 10 Kohm potentiometer RV1 connected to PF9 of STM32F2171GH6 on the board ADC Two test points TP3 AIN and TP4 are placed close to port PC1 of the MCU allowing precise measurements on ADC1 ADC2 or ADC3 channel 11 As PC1 is also used as current A input on the motor control connector it is recommended to remove R219 to optimize noise immunity on this input A potentiometer RV1 is connected to PF9 of STM32F2171GH6 If needed a low pass filter R74 and C59 can be placed on this input to reduce the bandwidth of the analog input PF9 It is also possible to place the Ethernet PHY U5 in low power mode in order to reduce the noise induced by this high frequency peripheral Power down pin MII INT in the schematic is connected to PB14 of the MCU so this I O can be to be configured as output low during analog precision measurement USB OTG FS The STM3221G EVAL evaluation board enables USB full speed communication via USB micro AB connector CN8 and USB power switch U1 connected to VBUS The evaluation board can be powered by this USB connection at 5 V DC with a 500 mA current limitation LED LD6 indicates that either e Power switch U1 is ON and the STM3221G EVAL functions as a USB host or VBUS is powered by another USB host while the STM3221G EVAL
16. z at TXS SACK 5 1147 TAIRA z Z CAE zen 6 an 18 Asn EL EEN Ee 207 ASA Es E 9 s ed t 154 SISA T ES AEN 10 CO0XNH 44001 AS SH SrigA wrvosvws 841 9 Pei 17 anor 5 95 GHKk 90125 TE AO AS d 5 sen SIND SIC VOELA9S0NSZ 8 D Doc ID 018640 Rev 5 60 65 Schematics 61 65 USB OTG FS v t 4 0c Jo 6112248 1102 11 11 ZE 05 809 2 0 9878WoqunN Jojoeuuoo uorsuejx3 IVA3 9 9v St L2 02 ZEWLS S231U0J129 90J2 IA 1 SIOd Tas RIEN MISSE ere LISTA EIA LXE yas IHd Tas ST Jas EAS ST Old AS ala E als 25 ba ba ba b
17. JE KE ZE T re NT ZAR A EAO re pr n 219 d The camera extension connector CN23 is available the boards to connect the ST camera plug in board 2 19 SRAM The 16 Mbit SRAM is connected to FSMC bus of the STM32F2171GH6 which shares the same 1 with CAN1 bus JP3 and JP10 must not be fitted for SRAM and LCD application Table 14 SRAM related jumpers Jumper Description Connect 4 to SRAM as A20 by setting JP1 as shown Default setting 123 e e e JP1 Connect 4 to trace connector 13 as D1 by setting JP1 as shown 123 Connect to SRAM as A19 by settiing JP2 as shown Default setting 123 e e e JP2 Connect to trace connector CN13 as TRACE DO by setting JP2 as shown 123 ky Doc ID 018640 Rev 5 19 65 Hardware layout and configuration UM1065 2 20 Note 20 65 1 2 Development and debug support Version 2 of the ST LINK called ST LINK V2 is embedded on the board This tool allows onboard program loading and debugging of the STM32F using the JTAG SWD interface Third party debug tools are also supported by the JTAG CN14 or Trace CN13 connectors To communicate with the embedded ST LINK V2 a specific driver needs to be installed on your PC To download and install this driver refer to the software and development tools page for the STM32F family ava
18. 8 30 3 6 USB OTG HS Micro AB connector 9 31 3 7 CAN D type 9 pin male connectors CN10 CAN1 CAN2 31 3 8 Audio connector ea 31 3 9 Trace debugging connector CN13 32 3 10 debugging connector 14 32 3 11 Camera module connector 15 33 3 12 RS 232 connector UNIO bare dre den 34 3 13 Power connector 18 34 3 14 TFT LCD connector CN19 34 3 15 Smartcard connector 20 35 3 16 SPLINK V2 connector CN21 re RR o 35 3 17 Camera extension connector 23 36 3 18 STMS221G EVAL 36 4 Schematics ha Rar Rr a RERO RR CR RC d 42 5 Revision history 64 Doc ID 018640 Rev 5 3 65 Overview UM1065 1 1 1 2 1 3 4 65 Overview Features STM32F217IGH6 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 smartcard support 2 compatible serial interface 8 Kbytes EEPROM MEMS and I O expander IEEE 802 3 2002 compliant ethernet connector
19. Jumper JP4 JP32 Description Jumper reserved for future use RFU Default setting Fitted Default setting 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 JP18 JP18 selects one of the five possible power supply sources Selects the ST LINK V2 USB connector CN21 power supply set JP18 as shown HS Default setting FS eo DTB PSU STIk To select power supply jack CN18 power supply set JP18 as shown HS FS PSU To select daughterboard connector CN1 and CN3 power supply set JP18 as shown HS FS eo DTB PSU eo STIk eo Doc ID 018640 Rev 5 9 65 Hardware layout and configuration UM1065 Note 2 2 10 65 Table 1 Power related jumpers and solder bridges continued Jumper Description To select USB OTG FS 8 power supply set JP18 as shown HS dis e DTB PSU STIk eo To select USB OTG HS CN9 power supply set JP18 as shown HS FS JP18 DTB cont PSU STIk eo To select power supply jack CN18 power supply to both STM3221G EVAL and daughterboard connected on CN1 and HS o o CN3 set JP18 as shown daughterboard must not have its own FS ec power supply connected DTB eo PSU eo STIk eo To conne
20. t UM1065 Figure 35 Doc ID 018640 Rev 5 UM1065 Schematics STLINK V2 Figure 36 v 0c Jo 0219946 Hos gOd zO 98LgWPqUNN CNANI TLS IAGO 9 5 2 06 CENLS as S31U0J 29 90J2 IA 1S ORU 153 ASYN SWI NI OIGMS OMS 1 00V IOCV JINSH i GH 001 10 E 5 G37 asn 2 ged r gsn PIN TISHS TISHS Wd 8sn 01 15 ASN TETA ZOA IZKO LS ASN MIOMS 1 WLS OIGMS 5 WLS 4194 5 HUS Soll 922 2906 a 9c 2 Swirl 222056 ISOW zs 86 1 62 8 XNHIS 06 L OMS 88 9 na asa ze NI 080 TE 5 adden ED EIO DW E SNIN Wise gt Hm Sr T 7 OE 918260146115 sin NI 250 Doc ID 018640 Rev 5 62 65 Schematics UM1065 3 2 LCD module with SPI and 16 bit interface Figure 37 a
21. 5 GND MS18659V1 3 14 TFT LCD connector CN19 One 34 male header CN19 is available on the board for connecting LCD module board MB785 Please refer to Section 2 21 Display and input devices for details 34 65 Doc ID 018640 Rev 5 UM1065 Connectors 3 15 Smartcard connector CN20 Figure 16 Smartcard connector CN20 resa 11234 EEN 3 t 5678 Front view Table 31 Smartcard connector CN20 Pin number Description Nm Description 1 VCC 5 GND 2 RST 6 NC 3 CLK 7 4 8 17 Card presence detection pin 18 Card presence detection pin 3 16 ST LINK V2 connector CN21 The USB type B connector CN21 is for ST LINK V2 connected between the STM3221G EVAL evaluation board and the PC for board debugging ky Doc ID 018640 Rev 5 35 65 Connectors UM1065 3 17 Camera extension connector CN23 Table 32 Camera extension connector CN23 Pin number Description Pin number Description 1 1V8 2 1V8 3 GND 4 GND 5 NC 6 NC 7 GND 8 GND 9 NC 10 NC 11 GND 12 GND 13 SCL 14 SDA 15 Camera_Plug 16 GND 17 Camera_RST 18 NC 19 Camera_XSDN 20 Camera_CLK 21 GND 22 GND 23 DCMI_DO 24 DCMI_D1 25 DCMI_D2 26 DCMI_D3 27 DCMI_D4 28 DCMI_D5 29 DCMI_D6 30 DCMI_D7 31 HSYSC 32 VSYSC 33 PIXCLK 34 NC 35 NC 36 NC 37 GND 38 GND 39 2 8 40 2 8 3 18 STM3221G
22. 2 amp Remove MicroSD Card from CN6 38 PA14 TCK SWCLK 40 125 DIN Motor control connector CN5 Figure 5 Control connector CN5 33 3129 2725 23 2119 171513119 7 5 3 1 E B E E E 34 3230 282624 2220 181614 1210 8 6 4 2 Viewed from above PCB MS18913V1 Table 21 Motor Control connector CN5 Description CN5 CN5 Description Emergency stop 4 1 2 GND PWM UH PI5 3 4 GND PWM UL PH13 5 6 GND PWM VH PI6 7 8 GND PWM VL PH14 9 10 GND PWM WH PI7 11 12 GND PWM WL PH15 13 14 PC4 BUS voltage Doc ID 018640 Rev 5 ky UM1065 Connectors Table 21 Motor Control connector CN5 continued Description CN5 pin CN5 pin diris Description Phase A current PC1 15 16 GND Phase B current PC2 17 18 GND Phase C current 19 20 GND NTC bypass relay PH8 21 22 GND Dissipative brake PWM PC8 23 24 GND 45V power 45V 25 26 PC5 Heatsink temperature PFC SYNC PH10 and PH11 27 28 VDD_Micro PFC PWM PH12 29 30 GND Encoder A PD12 31 32 GND Encoder B PD13 33 34 PB8 Encoder Index 3 3 MicroSD connector CN6 Figure 6 MicroSD connector CN6 Table 22 MicroSD connector CN6 Pin number Description Pin number Description 1 SDIO D2 PC10 5 SDIO CLK PC12 2 SDIO D3 PC11 6 Vss GND 3 SDIO CMD PD2 7 S
23. 4 Reset source 11 2 5 pata aia DR RR 11 2 6 EEPROM e ge E eea Ea E gu 12 27 CAN ee ee EEE 12 2 8 RS 232 and irDA s ua DERE RO Redi 13 2 9 Motor control 1 14 210 Smartcard 4552455644045 3859866045 024050494655 RAE QR 15 Zbl MicroSD 324051240 56 15 212 MEMS 1247242645 IS ene ce ene EN dd 16 213 Potentiometer 16 214 ccr 16 215 5x ORARE RR GE x EEG E ERG xau 16 246 Ethernet bec os Ste as RR ton Ea ace 17 2 17 USBOTGHS ERE ER eR tee 18 2 18 Camera module 18 219 284 AAA 19 2 20 Development and debug 20 2 21 Display and input devices 21 3 CONNGCIOIS Egk E rnini erreren E Etb 22 3 1 Daughter board extension connectors CN1 2 3and4 22 2 65 Doc ID 018640 Rev 5 437 UM1065 Contents 3 2 Motor control connector 5 28 3 3 MicroSD connector 6 29 3 4 Ethernet RJ45 connector 7 30 3 5 USB OTG FS Micro AB connector
24. 5 65 65
25. RJ gt e TOR 5 ddv e 555tc35529530075uggct 80180 9522 12 eU por IZER GE EKE KR EE EEE ZE EEE ezen 914 0100891009 E 50 01008 EE 52242 bod SSIES a E sss Odd Se 684 REN SES S EEE 084 18d Zz 01008 Lad prai EE DEE E 984 Sad Tldd EN 144 784 94 a AE dav GOZ ZTO a 81 05 1Dd 194 GE Lid 5 gt AS a E ZZ 884 9c 634 B b 0194 9c 60d 0 8c AS LT RC edd 21984 62006 EIZ sad 6 0 tad BEE EE BEE 0184 lei od 9 idd pg 1 218 Gg a pe 9Hd Sle 2 1 Essa Ode Tod LHd se 8Hd EO Lod SE 0124 AER TE i STVA Sed EIZ 5 SERES REEI Re erpe eae 4874 ZNO be zz Zr GO ba SG OO bar e rd ba m 391 PNI HOISOS F9SCCNIC MB b db ba ba ba ba doy b ba SG E SG SS SG b bi SG KA E s e ie E P e e Pe e 154 95999 22 E ddV EARI ODA 44 AS
26. 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 25 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 wakeup 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 5V power supply options Power jack USB FS connector USB HS connector ST LINK V2 or daughterboard MCU consumption measurement circuit Demonstration software Demonstration software is preloaded in the board s Flash memory for easy demonstration of the device peripherals in standalone mode For more information and to download the latest version please refer to STM3221G EVAL demonstration software available on web www st com mcu Order code To order the STM32F2171GH6 MCU evaluation board use the order code STM3221G EVAL Doc ID 018640 Rev 5 437 UM1065 Overview 1 4 Delivery recommendations Several verifications are needed before using the board for the first time to make sure that nothing has been damaged during shipment and no components are unplugged and lost When the board is extracted from its plastic bag please check that no component remains in the b
27. functions as a USB device LED LD5 indicates an over current Doc ID 018640 Rev 5 437 UM1065 Hardware layout and configuration 2 16 Note Ethernet The STM3221G EVAL evaluation board enables 10 100M ethernet communication by a PHY DP83848CVV U5 and integrated RJ45 connector CN7 Both MII and RMII interface modes can be selected by setting jumpers JP5 JP6 and JP8 as listed below Table 11 Ethernet related jumpers and solder bridges Jumper Description JP8 selects 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 interface mode set JP6 as shown Default setting 123 e e e JP6 To enable RMII interface mode set JP6 as shown 123 To provide 25 MHz clock for or 50 MHz clock for by at EAO set 123 JP5 as shown Default setting eee JP5 To provide 25 MHz clock by external crystal X1 for interface mode only set 123 JP5 as shown eee When clock is provided by external oscillator U3 JP5 must not be fitted Default setting SB1 selects clock source only for RMII mode To connect the clock from MCO to RMII REF CLK close SB1 The resistor R212 has to be removed in this case Default setting Open SB1 A test point TP2 is available on the board for the PPS feature test The Ethernet PHY U5 be powered dow
28. solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and services described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein No license express or implied by estoppel or otherwise to any intellectual property rights is granted under this document If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES 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 PROPE
29. 1 pinout continued Pin no Pin name Description G4 PH3 ETHER_COL H4 PH4 USB_HS_NXT J4 PH5 USB_FS_POWER_ON R2 USB HS DO 14 55 55 K4 VDD_4 N4 PA4 Audio OUT P4 5 USB HS CK P3 PA6 CAM PIXCK PA7 ETHER DV N5 ETHER 0 ADC12 14 pin 14 Bus voltage P5 PC5 2 12 15 pin 26 Heatsink R5 PBO USB HS 1 R4 PB1 USB_HS_D2 M6 PB2 R6 PF11 USB FS OVERCURRENT P6 PF12 FSMC A6 M8 VSS6 N8 VDD 6 N6 PF13 FSMC A7 R7 PF14 FSMC A8 P7 PF15 FSMC A9 N7 PGO FSMC A10 M7 PG1 FSMC A11 R8 PE7 FSMC_D4 P8 PE8 FSMC_D5 P9 PE9 FSMC D6 M9 vSS 7 N9 VDD 7 R9 PE10 FSMC D7 P10 PE11 FSMC DO R10 PE12 FSMC D9 N11 PE13 DIO P11 PE14 FSMC D11 38 65 Doc ID 018640 Rev 5 UM1065 Connectors 4 Table 33 STM3221G EVAL pinout continued Pin no Pin name Description R11 PE15 5 D12 R12 PB10 USB HS D3 R13 PB11 ULPI D4 M10 VCAP1 VCAP 1 2V N10 VDD 1 M11 PH6 ETHER RXD2 N12 PH7 ETHER RXD3 M12 PH8 CAM HSYNC MC NTC bypass M13 PH9 CAM DO L13 PH10 1 5 pin 27 PFC SYNC L12 PH11 D2 MC 27 PFCSYNC K12 PH12 CAM D3 5 CH3 pin 29 PFCPWM H12 VSS 14 J12 VDD 14 P12 PB12 D5 P13 PB13 D6 CAN2 TX R14 PB14 ETHER INT R15 PB15 OneNAND INT P15 PD8 FSMC_D13 P14 PD9 FSMC D14 N15 PD10 FSMC
30. 1 CN16 ST LINK V2 USART E REN DUM cu be Extension race connector DTB CN14 JTAG CN19 Color LCD E Audio jack 2v8 GIA CAMERA xw 754 CN15 22 Camera module Ow CN18 ee d le CN23 Camera extension connector 5V power jack aL 95 022 EGET Gete RV1 Ziba E b Potentiometer MC IER S P SESS 58 GKN Ge dE CN20 B3 Wakeup Smartcard Tamper Joystick Msiglr Q2 B4 082 User 8 65 Doc ID 018640 Rev 5 UM1065 Hardware layout and configuration 2 1 Power supply The STM3221G EVAL evaluation 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 evaluation board to use any of 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 the extension connector for daughterboard DTB for daughterboard on silkscreen The power supply is configured by setting the related jumpers JP4 JP32 JP18 and JP19 as described in Table 1 Table 1 Power related jumpers and solder bridges
31. 232 CTS signal when JP34 is fitted This configuration is used for boot loader application only Default setting Not fitted Doc ID 018640 Rev 5 13 65 Hardware layout and configuration UM1065 2 9 1 14 65 Motor control The STM3221G EVAL evaluation board enables a three phase brushless motor control via 34 connector CN5 which provides all required control and feedback signals to and from the motor power driving board Available signals on this connector include 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 The solder bridge SB18 allows to choose two kinds of synchronization methods for PFCs Power Factor Correction while the SB17 can be set for different signals on pin 31 of CN5 The 1 pins used on motor control connector CN5 are multiplexed with some peripherals on the board either motor control connector or multiplexed peripherals can be enabled by the setting of solder bridges SB10 SB11 SB12 SB14 SB15 and SB16 Table 7 Motor control solder bridges Solder Description Multiplexed bridge peripherals When closed SB18 redirects the PFC synchronized signal to timer 3 SB18 capture pin 2 in addition to the timer external trigger input Default setting Open For CN5 encoder signal input pin 31
32. 32 EE 0E 108 B BS cc oas ae TAI ONASA ENA Lida 8 9 INASA Zra Esc ean d EM Tu 6l 9c IDA EIG 81 1 EIO jaaa PLAS 10 I r 1 79 9 c 102100 Ta 18 st ME Y LA ods a Lad 104 904 o es zr qu eee 5 1 9 11845 81 10 8 su v L m 21 Su 9 32 50 TNO a 63 65 Doc ID 018640 Rev 5 Revision history UM 1065 5 64 65 Revision history Table 34 Document revision history Date Revision Changes 15 Apr 2011 1 Initial release 23 2011 2 Updated preliminary watermarks Added Section 1 4 Delivery recommendations 26 July 201 1 3 Updated Section 2 16 Ethernet Section 2 17 USB OTG HS and Section 4 Schematics Updated Table 1 JP4 description Table 4 JP24 description and 07 Oct 2011 4 Section 4 Schematics Added warning in Chapter 2 5 and note in Chapter 2 20 09 Jan 2012 5 Added note in Chapter 2 5 and updated Section 4 Schematics Doc ID 018640 Rev 5 UM1065 Please Read Carefully Information in this document is provided
33. 6 2 7 12 65 EEPROM A 64 Kbit EEPROM is connected to the I2C1 bus of STM32F2171GH6 Table 4 related jumper and solder bridge Jumper Description JP24 EEPROM is in Write Protection mode when JP24 is not fitted Default setting Not fitted CAN The STM3221G EVAL evaluation board enables two channels of CAN2 0A B compliant CAN bus communication based on a 3 3 V CAN transceiver on one DEO connector 10 The two CAN buses can be disconnected by jumpers from the relevant STM32F2171GH6 I Os which are shared with FSMC and USB HS JP3 and JP10 must be refitted to enable or as listed in Table 5 High speed Standby and Slope Control modes can be selected by setting jumper JP7 Table 5 CAN related jumpers Jumper Description To connect CAN1 TX to CAN transceiver set as shown 123 JP3 To connect CAN2 TX to CAN transceiver set as shown 123 To connect 1 RX to CAN transceiver set JP10 shown 123 e e JP10 To connect CAN2 to CAN transceiver set JP10 as shown 123 PDO and PB5 are disconnected from the CAN transceiver and used for FSMC and USB OTG HS when jumper JP10 is not fitted default setting To enable the selected CAN transceiver to work in Standby mode set JP7 as 123 shown e e JP7 Toenable the selected CAN transceiver to work in High speed mode set JP
34. 7 as 123 shown Default setting ewe To enable the selected CAN transceiver to work in Slope Control mode do not fit JP7 JP9 To enable the terminal resistor for the selected CAN fit a jumper on JP9 Default setting Not fitted Doc ID 018640 Rev 5 UM1065 Hardware layout and configuration 2 8 RS 232 and IrDA Both RS 232 and IrDA communication is enabled by D type 9 pin RS 232 connector CN16 and IrDA transceiver U11 which are connected to USART3 of STM32F2171GH6 on the STM3221G EVAL evaluation board For ISP support two signals are added on the RS 232 connector CN16 e Bootloader RESET shared with CTS signal e Bootloader BOOTO shared with DSR signal RS 232 or IrDA can be selected by setting JP22 and ISP can be enabled by setting JP29 and JP34 as shown in Table 6 Table 6 RS 232 and IrDA related jumper Jumper Description To connect USART3 RX to IrDA transceiver and enable IrDA communication 123 set JP22 as shown eee JP22 To connect USART3_RX to RS 232 transceiver and enable RS 232 123 communication set JP22 as shown Default setting To enable MicroSD Card which shares same I Os with RS 232 JP22 is not fitted Bootloader BOOTO is managed by pin 6 of CN16 RS 232 DSR signal when JP29 is JP29 closed This configuration is used for boot loader application only Default setting Not fitted Bootloader RESET is managed by pin 8 of CN16 RS
35. D15 N14 PD11 FSMC A16 N13 PD12 5 A17 2 pin 33 EnB M15 PD13 FSMC 18 2 pin 33 EnB J13 VDD 8 M14 PD14 FSMC DO L14 PD15 FSMC D1 L15 PG2 A12 K15 PG3 FSMC A13 K14 PG4 FSMC_A14 K13 5 FSMC A15 J15 PG6 LEDO J14 PG7 SmartCard_CK H14 PG8 LED1 912 55 9 Doc ID 018640 Rev 5 39 65 Connectors UM1065 40 65 Table 33 5 3221 pinout continued Pin no Pin name Description H13 VDD 9 H15 PC6 SmartCard 10 Audio 125 G15 PC7 LED3 G14 PC8 SDIO_D0 pin23 Dissipative Brake F14 PC9 SDIO D1 125 CKIN F15 E15 PA9 USB FS VBUS D15 PA10 USB FS ID C15 PA11 USB FS DM B15 PA12 USB FS DP A15 PA13 TMS F13 VCAP2 VCAP 1 2V F12 VSS 2 G13 VDD_2 E12 PH13 8 pin 5 UL MicroSD Card detect E13 PH14 DAI 8 2 pin 9 VL D13 PH15 MC TIM8 pin 13 WL SmartCard_3 5V E14 PIO Audio 125 WS D14 125 14 12 Expander INT C13 PI3 Audio 125 DOUT D9 VSS 15 C9 VDD 15 A14 PA14 JTAG TCK A13 PA15 TDI B14 PC10 SDIO D2 RS232 TX B13 PC11 SDIO D3 RS232 A12 PC12 SDIO CK B12 PDO FSMC D2 CAN1 RX C12 PD1 FSMC DOI GAN TX D12 PD2 SDIO CMD D11 FSMC CLK D10 PD4 FSMC_NOE C11 PD5 FSMC_NWE D8 VSS_10 Doc ID 018640 Rev 5 ky UM1065 Connectors
36. DIO DO PC8 4 3V3 8 SDIO_D1 PC9 10 MicroSDcard_detect PH13 ky Doc ID 018640 Rev 5 29 65 Connectors UM1065 3 4 Ethernet RJ45 connector CN7 Figure 7 Ethernet RJ45 connector CN7 1 8 Front view MS19171V1 Table 23 RJ45 connector Pin T Pin EEE n mber Description n mber Description 1 TxData 2 TxData 3 RxData 4 Shield 5 Shield 6 RxData 7 Shield 8 Shield 3 5 USB OTG FS Micro AB connector CN8 Figure 8 USB OTG FS connector CN8 Front view MS19172V1 Table 24 USB OTG FS Micro AB connector CN8 Pin number Description Pin number Description 1 VBUS PA9 4 ID PA10 2 D PA11 5 GND 3 0 PA12 30 65 Doc ID 018640 Rev 5 ky Connectors USB OTG HS Micro AB connector CN9 Figure 9 USB HS connector CN9 519172 1 Table 25 USB OTG HS Micro AB connector CN9 Pin number Description Pin number Description 1 VBUS 4 ID 2 D 5 GND 3 CAN D type 9 pin male connectors CN10 CAN1 CAN2 Figure 10 CAN D type 9 pin male connector CN10 CAN1 or CAN2 00000 6 7 8 9 Front view MS19173V1 Table 26 CAN D type 9 pin male connector 10 Pin number Description Pin number Description 1 4 8 9 NC 7 CANH 3 5 6 GND 2 CANL 3 8 Audio connector CN11 A 3 5 mm stereo
37. EVAL pinout Table 33 STM3221G EVAL pinout Pin no Pin name Description A2 PE2 TRACE CLK FSMC A23 A1 PES DO0 FSMC A19 B1 4 _ 1 FSMC A20 B2 PE5 02 A21 B3 TRACE D3 FSMC A22 C1 VBAT VBAT D2 18 ANTI TAMP2 LCD HSYNC D1 1 TAMP BUTTON 36 65 Doc ID 018640 Rev 5 ky UM1065 Connectors Table 33 5 3221 pinout continued Pin no Pin name Description E1 PC14 OSC32 IN 32K OSC F1 PC15 OSC32 OUT 32K OSC D3 PI9 LED2 10 4 11 USB HS DIR F2 VSS 13 F3 VDD 13 E2 PFO FSMC 0 H3 PF1 FSMC_A1 H2 PF2 FSMC_A2 J2 PF3 FSMC A3 J3 PF4 FSMC A4 K3 PF5 FSMC A5 G2 VSS 5 G3 VDD 5 K2 PF6 SmartCard OFF K1 SmartCard RESET L3 PF8 LCD CS L2 PF9 POTENTIOMETER L1 PF10 Audio G1 PHO OSC IN OSC IN H1 PH1 OSC OUT OSC OUT J1 NRST RESET BUTTON M2 PCO USB HS STP M3 PC1 ETHER MDC ADC123 11 pin 15 Current A M4 PC2 ETHER TXD2 MC ADC123 1 2 pin 17 Current B M5 ETHER TX CLK MC ADC123 13 pin 19 Current C M1 VSSA N1 VREF P1 VREF R1 VDDA N3 PAO WKUP WAKEUP_BUTTON N2 PA1 ETHER_RX_CLK P2 PA2 ETHER_MDIO F4 PH2 ETHER_CRS Doc ID 018640 Rev 5 37 65 Connectors UM1065 Table 33 5 322
38. F Remove R126 24 PF8 LCD CS 26 PF10 Audio Remove R196 28 PH1 OSC OUT Remove R86 SB7 closed 30 GND 32 PC2 TXD2 MC SB12 open 34 VREF 36 PA1 JP6 open 38 PH2 CRS Remove RS3 40 MII COL Remove RS3 42 PH5 OTG FS PowerSwitchOn Remove R18 44 NC 1 1 46 48 50 GND Table 18 Daughterboard extension connector CN2 Pin Description Alternative Function How to 2 eee Block on 1 GND 3 ULPI DO 5 PA5 ULPI CLK Remove R69 7 PA7 MIL RX DV Remove RS2 JP8 open 9 PC5 RXD1 Remove R58 Doc ID 018640 Rev 5 23 65 Connectors UM1065 24 65 Table 18 Daughterboard extension connector CN2 continued Pin Description Alternative Function Howto DIEN block on 11 PBO ULPI_D1 13 PB2 BOOT1 15 PF12 5 6 17 PF14 5 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 5 D12 33 PB11 DA 35 7 MIL RXD3 Remove RS3 37 PH9 DCMI DO Remove camera module from CN15 39 GND 2 APP VCC 4 4 Audio OUT Remove R115 6 PA6 Remove camera module from CN15 8 RXDO Remove RS2 10 GND 12 PB1 02 14 PF11 OTG FS Overcurrent Remove R15 16 PF13 5 A7 18 PF15 FSMC A9 20 PGO 5
39. JHC CATIVOSH 4c 9 1n88sn cm 0d 1411 ed ee EAE Od E 8 ODDA E OMA E sa 8 ar ar aa amp wa be 14111 2 EIZA SnHA 100006517 SEa 6NO VIN 907TA 1 FS WISIPICSdIALS NAASE mn sn E pe nis DK T c E 0 t 45 65 Doc ID 018640 Rev 5 UM1065 Schematics Camera Figure 20 v 4 02 jo 19945 LLOZ LWLL ewg 422 9878WoqunN 1VA3 9 9t St LZ 02 ZEWLS om S91U04 29 90J9 IN 1 OSASA ERREZE OSASH IWOG unum IWOd ISA Boule vas mro 0512 RE 1 20 041 12 612 ETNO UKO 8A1 EAST 6 8 000 0 08 aro 582 062 ONEIN 015 BATH val 18544 LA 9A SA A EA ONASA 125 ISA OSASH 98d SIND OSASA N IOXId 9Vd WOPe MAHSPLLNS L
40. RTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2012 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com ky Doc ID 018640 Rev
41. SB17 must be open For 5 special motor analog signal input pin 31 SB17 must be SBU closed Default setting Open To connect MC_EmergencySTOP to P14 close SB16 Camera module SB16 connected to Default setting Open CN15 Te t MC_E 2 SB10 connect to PB8 close 5810 Default setting Open To connect MC Cu tA to PC1 cl SB11 sbi CurrentA to close Ethernet Default setting Open To connect MC CurrentB to PC2 close SB12 SB12 Default setting Open To connect EnB to PD13 close SB14 Default setting Open FSMC SB15 To connect EnA to PD12 close SB15 Default setting Open Some 0 ohm resistors have to be removed or soldered to enable motor control application except the solder bridges configurations mentioned above R34 R58 amp H51 to be removed R66 R204 amp R205 to be soldered MicroSD Card must be removed from CN6 for motor control application Doc ID 018640 Rev 5 437 UM1065 Hardware layout and configuration 2 10 Smartcard STMicroelectronics smartcard interface chip ST8024 is used on STM3221G EVAL board for asynchronous 3 V and 5 V smartcards It performs all supply protection and control functions based on the connections with STM32F2171GH6 listed in Table 8 Table 8 Connection between 518024 STM32F217IGH6 Connect to ST8024 signals Description STM32F217IGH6 5 3 Smartcar
42. able to control communication with the OTG PHY U8 When this issue occurs the only way to recover OTG PHY control is to power the board OFF and ON This issue is fixed on MB786 version or newer Camera module A camera module is connected to DCMI bus of STM32F2171GH6 and shares the same 1 with the motor control connector SB16 must be kept open default setting for camera module application There are two possible modules and omnivision cameras populated on the CN15 connector of the board e 1 3Megapixel Module 01302 1045 Camera OV9655 2 Megapixel Module CNO20VAH2554 C Camera 2640 Table 13 Camera module related jumpers Jumper Description To set power down mode for the camera module JP26 is fitted JP26 Default setting Not fitted SB16 Description SB16 is in Section 2 9 Motor control When the camera demo loaded in Flash is executed some green pixels may appear in high contrast zones depending on the image captured The camera is not firmly restricted on its connector 15 It is possible that during shipment the camera could be unplugged In such case you need to plug it into the right position as shown on the picture below pin 1 dot on top left corner of the socket It is not recommended to remove it in order to avoid false contact later Doc ID 018640 Rev 5 437 UM1065 Hardware layout and configuration Figure 4 Pin 1 camera plug rae mt
43. ag Main components to verify are 1 25 MHz crytals X1 and X4 may have been removed by a shock 2 The camera connected on socket CN15 located on the right side of the board under the JTAG connector may be unplugged If this is the case please refer to the note in Section 2 18 Camera module to make sure to replug it in the correct position 3 MicroSDCard may have been ejected from its connector CN6 top left corner of the board The plastic protection on the camera should be removed carefully as the connection is very fragile Doc ID 018640 Rev 5 5 65 Hardware layout and configuration UM1065 2 6 65 Hardware layout and configuration The STM3221G EVAL evaluation board is designed around the STM32F217IGH6 microcontroller with cryptographic acceleration cell the UFBGA176 package hardware block diagram Figure 2 illustrates the connection between STM32F2171GH6 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 will help you locate these features on the actual evaluation board Doc ID 018640 Rev 5 ky UM1065 Hardware layout and configuration Figure 2 Hardware layout and configuration
44. audio jack CN11 is available on the STM3221G EVAL board to support a headset headphone amp microphone integrated Doc ID 018640 Rev 5 31 65 Connectors UM1065 3 9 3 10 32 65 Trace debugging connector CN13 Figure 11 Trace debugging connector CN13 4 19 17 15 13 119 7 5 3 DU UI 0000000 D D DI D DI DU D 20 18 16 14 12 108 6 4 2 Viewed from above PCB MS19143V2 Table 27 Trace debugging connector CN13 Pin number Description Pin number Description 1 3 3 V power 2 TMS PA13 3 GND 4 TCK PA14 5 GND 6 TDO PB3 7 KEY 8 TDI PA15 9 GND 10 RESET 11 GND 12 TraceCLK PE2 13 GND 14 TraceDO PE3 SWO PB3 15 GND 16 TraceD1 PE4 or nTRST PB4 17 GND 18 TraceD2 PE5 19 GND 20 TraceD3 PE6 JTAG debugging connector CN14 Figure 12 JTAG debugging connector CN14 4 19 17 15 13 11 9 7 5 3 DU UI DU UI o 0 UI D 00 0 D DI D DI DU D D 20 18 16 14 12 108 6 4 2 Viewed from above PCB MS19143V2 Table 28 JTAG debugging connector CN14 Pin number Description Pin number Description 1 3 3 V power 2 3 3 V power 3 4 4 GND 5 PA15 6 GND 7 PA13 8 GND Doc ID 018640 Rev 5 437 UM1065 Connectors Table 28 JTAG debugging connector CN14 Pin number Description Pin number Description 9 PA14 10 GND 11 RTCK 12 GND 13 PB3 14 GND 15 RESET 16 GND 17 DBGRQ 18 GND 19 DBGACK 20 GND 3 11 Ca
45. board Please refer to Table 17 and Table 20 for details Table 17 Daughter board extension connector CN1 Pin Description Alternative function How to disconnect with function block on STM3221G EVAL board 1 GND 3 Trace 00 FSMC 19 Keep JP2 on 2 lt gt 3 5 5 Trace D2 7 LCD HSYNC 9 PC14 OSC32 IN Remove R84 5 4 closed 11 PC15 OSC32 OUT Remove R85 SB5 closed 13 10 ER Remove RS3 15 PFO FSMC AO 17 PF2 FSMC A2 19 GND 21 PF5 FSMC A5 23 PF7 Smartcard RST 25 PF9 Potentiometer Remove R151 27 PHO OSC IN SB6 closed 29 PCO ULPI STP 31 PC1 MII MDC SB11 open 33 MII TX CLK Remove R51 35 WakeUP Remove R139 37 PA2 MDIO 39 GND 41 PHA ULPI NXT Remove R61 43 NC 45 NC 47 3V3 5 49 EMU EN 22 65 Doc ID 018640 Rev 5 UM1065 Connectors Table 17 Daughter board extension connector CN1 continued Pin Description Alternative function How to disconnect with function block on STM3221G EVAL board 2 PE2 Trace CLK 4 4 Trace DI 8 5 A20 Keep JP1 2 lt gt 3 6 PE6 Trace D3 8 PC13 Anti Tamper Remove R143 10 GND 12 PI9 LED3 Remove R141 14 111 DIR Remove R62 16 PF1 FSMC A1 18 PF3 FSMC A3 20 4 FSMC 4 22 PF6 Smartcard OF
46. connector CN14 and trace connector CN13 Daughterboard from CN3 RS 232 connector 16 for ISP 2 2 5 Audio The STM3221G EVAL evaluation board enables stereo audio play and microphone recording by an external headset connected on audio jack CN11 An audio DAC CS43L22 is connected to the 1252 port and the DAC channel and a microphone amplifier is connected to ADC of the STM32F217IGH6 The CS43L22 can be configured I2C1 and the external PLL 036 can provide an external clock which is connected to the 125 pin PC9 Note To avoid speaker damage it is mandatory to connect the headphone to the board on CN11 during debug of audio code When the program is stopped on a breakpoint a DC voltage may be applied to the speaker which induces power consumption incompatible with the speaker Warning Signall2S SD is close to signal TCK SWCLK of the JTAG SWD interface so to avoid possible communication issues on JTAG SWD when the 125 interface is used the recommendations are to 1 Prefer usage of embedded ST LINK V2 to external tool connected on CN14 2 Configure PI3 GPIO in low speed 2 MHz or 10 MHz Table 3 Audio related jumpers Jumper Description JP16 Description of JP16 is in Table 10 on page 15 JP33 microphone amplifier can be disabled when JP33 is fitted Default setting Not fitted Doc ID 018640 Rev 5 11 65 Hardware layout and configuration UM1065 2
47. ct Vbat to the battery set JP19 as shown 123 JP19 To connect Vbat to 3 3 V power set JP19 as shown Default setting 123 LED 1 09 is lit when the STM3221G EVAL evaluation board is powered by 5 V correctly Boot option The STM3221G EVAL evaluation board is able to boot from e Embedded User Flash e System memory with boot loader for ISP e Embedded SRAM for debugging The boot option is configured by setting switch SW1 BOOT1 and SW2 BOOTO The BOOTO can be configured also via RS 232 connector CN16 Table 2 Boot related jumpers BOOT 0 BOOT 1 Boot source 0 10r 0 STM3221G EVAL boots from User Flash Default setting 1 1 STM3221G EVAL boots from Embedded SRAM 1 0 STM3221G EVAL boots from System Memory Doc ID 018640 Rev 5 437 UM1065 Hardware layout and configuration 2 3 Clock source Four clock sources are available on STM3221G EVAL evaluation board for STM32F217IGH6 and RTC embedded e X1 25 MHz crystal for ethernet PHY with socket It can be removed when clock is provided by MCO pin of the MCU 2 26 MHz crystal for USB OTG HS PHY e 32 kHz crystal for embedded RTC e KA 25 MHz crystal with socket for STM32F2171GH6 microcontroller it can be removed from socket when internal RC clock is used 2 4 Reset source The reset signal of STM3221G EVAL evaluation board is low active and the reset sources include e Reset button B1 e Debugging tools from JTAG
48. d power supply selection pin PH15 data 1 line PC6 XTAL1 Crystal or external clock input PG7 OFF Detect presence of a card MCU interrupt share same pin with motor controller RSTIN Card reset input from MCU PF7 Start activation sequence input Active Low share GMDVeU same pin with 125 DAC and Motor control Pap Smartcard shares some 1 with 125 bus for Audio Some jumper settings need to be reconfigured to enable smartcard as indicated below Table 9 Smartcard related jumper Jumper Description To connect Smartcard 10 to PC6 JP21must be fitted JP21 JP21 must not be fitted for Audio DAC connection 125 Default setting Not fitted 2 11 MicroSD Card The 1 GByte or more MicroSD Card connected to SDIO of STM32F2171GH6 is available on the board MicroSD Card detection is managed by the standard I O port PH13 MicroSD Card shares 1 with motor control RS 232 and audio The jumpers JP22 and JP16 must be refit and motor control connector CN5 must be disconnected for MicroSD Card function Table 10 MicroSD Card related jumpers Jumper Description JP22 Description of JP22 is in Section 2 8 RS 232 and IrDA 9 is connected to MicroSDCard D1 when JP16 is set as shown to the right 123 Default setting JP16 9 is connected to 125 CKIN when 16 is set as show to the right 123 e e Doc ID 018640 Rev 5 15 65 Hardware layout and configuration UM1065
49. en 35 PD10 FSMC D15 37 PD8 5 D13 39 GND 41 PB13 DOA 2 TX 43 12 DCMI_D3 8 MC Remove camera module from CN15 Disconnect motor control board from CN5 45 NC 47 EMU 3V3 l 1 Doc ID 018640 Rev 5 25 65 Connectors UM1065 Table 19 Daughter board extension connector CN3 continued Pin Description Alternative Function Howto 2 plock on 49 EMU_5V 2 2 Remove R136 4 PIO 125 CMD Remove camera module from CN15 OMI 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 Remove MicroSD Card from CN6 E pos Disconnect motor control board from CN5 20 LED4 Remove R140 22 PG8 LED2 Remove R154 24 PG6 LED1 Remove R155 26 PG4 FSMC_A14 E 28 PG2 FSMC A12 30 GND SB14 open FSMSIME Duns motor control board from CN5 34 PD11 FSMC A16 36 PD9 FSMC D14 38 PB15 OneNAND Remove R53 40 PB14 INT Remove R41 42 PB12 ULPI_D5 44 NC 1 46 48 APP 3V3 50 GND 26 65 Doc ID 018640 Rev 5 UM1065 Connectors Table 20 Daughter board extension connector CN4 Pin Description Alternative F
50. ilable www st com the install shield is called ST LINK V2 USBdriver exe Third party toolchains Atollic TrueSTUDIO KEIL ARM MDK IAR EWARM and Tasking VX Toolset support ST LINK V2 according to the following table Table 15 Third party toolchain support Manufacturer Toolchain Version Atollic TrueSTUDIO 2 1 EWARM 6 20 4 Keil MDK ARM 4 20 Tasking VX Toolset ARM Cortex M 4 0 1 The embedded ST LINK V2 connects to the PC via a standard USB cable from connector CN21 The bicolor LED LD10 COM indicates the status of the communication as follows e Slow blinking Red Off At power on before USB initialization e Fastblinking Red Off 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 communication initialization Blinking Red Green During communication with target Green On Communication finished and OK Orange On Communication failure It is possible to power the board via CN21 embedded ST LINK V2 USB connector even if an external tool is connected to CN13 trace or CN14 external JTAG SWD If the I2S interface is used refer to the warning in Chapter 2 5 Doc ID 018640 Rev 5 437 UM1065 Hardware layout and configuration 2 21 Display and input devices The 3 2 TFT color LCD connec
51. mera module connector CN15 Figure 13 Camera module connector CN15 ABARRI IBE 111111 du ed tr tr tr ti tite ta 78 ZG GOGOE E E GOGO EGE GE D E 241 1 1 1 1 1 1 1 1 1151 1 1 1 1 111 1 1 Front view Table 29 Camera module connector CN15 Pin number Description Pin number Description 1 DGND 13 XCLK1 2 DGND 14 Y6 PI6 3 SIO D PB9 15 DGND 4 AVDD 2 8V 16 5 4 5 SIO C PB6 17 PCLK PA6 6 RESET 18 4 14 7 VSYNC PI5 19 YO PH9 8 PWDN 20 12 9 HREF 8 21 Y1 PH10 10 DVDD 1 8V 22 Y2 PH11 11 DOVDD 2 8V 23 AGND 12 Y7 PI7 24 AGND 437 Doc ID 018640 Rev 5 33 65 Connectors UM1065 3 12 RS 232 connector CN16 Figure 14 RS 232 connector CN16 with ISP support 6789 Front view MS19173V1 Table 30 5 232 connector CN16 with ISP support 3 13 Power connector CN18 The STM3221G EVAL evaluation board can be powered from a 5 V DC power supply via the external power supply jack CN18 shown in Figure 15 The central pin of CN18 must be positive Figure 15 Power supply connector CN18 Pin number Description Pin number Description 1 NC 6 Bootloader BOOTO 2 RS232 PC11 f NC 3 RS232 TX PC10 8 Bootloader RESET 4 NC 9 NC
52. n TIN 91V 39001 foor 001 SIN 0104 ZIZ drea gogr IE EO Ur 190 840 Yid jp 14 804 Lad odd sad pad gn be 107 5001 001 990 190 9 0 950 160 E380 HIT 590 Hei I ES Sea 710 104 004 094 N 9141 19d Mm 2194 Td SIV 0124 904 Sif Tid 654 164 TID 804 304 124 yn gt gt 90d OXCICEILS Diari ru 10 pont oq PINOYS pr 0194 Sod EA _ 68 SN XXCIEIALES 101 0 SSA 01 BERIO SW sasn sionpoud ATEWLLS sunny Garik 104 8V YN Pun 10 SSA 10 AAA 01 Don aq prnoo eni uondo sy DERIO tW asn amma 19 poarosoy yu TN 054 UV a Sa rren FIN bled cz iD AE did crad QD tV fd UNT WO vdd tf dd muc Qoa SV 052 od A va 684 Lid N SV SH Lela LAILOZATEWILS A d 11 cad Ld llid rud QUA SV Cid 9d
53. n by regulating PB 14 In RMII mode it is not possible to use MCO to output the 50 MHz clock to PHY due to the PLL limitation explained in chapter 2 6 5 of STM32F20x amp STM32F21x Errata sheet 50005 In such a case it is possible to provide the 50 MHz clock by soldering a 50 MHz oscillator ref SM7745HEV 50 0M or equivalent on the U3 footprint located under CN3 and also removing jumper on JP5 This oscillator is not provided with the board Doc ID 018640 Rev 5 17 65 Hardware layout and configuration UM1065 2 17 Note 2 18 Note 18 65 1 USB OTG HS The STM3221G EVAL evaluation board enables USB OTG high speed communication via USB micro AB connector CN9 USB high speed PHY U8 and USB power switch U4 connected to VBUS The evaluation board be powered by this USB connector 9 at 5 V DC with a 500 mA current limitation LED LD7 indicates that power switch U4 is ON and the STM3221G EVAL is working as USB host or that VBUS is powered by another USB host when the STM3221G EVAL is working as a USB device LD8 indicates an over current The USB bus is shared with CAN2 bus JP10 and must be kept open for USB OTG HS Table 12 MicroSD Card related jumper Jumper Description To disable USB PHY 08 JP31 is not fitted 4 1 Default setting Fitted On boards MB786 prior to version it is possible that after a board RESET the MCU is no longer
54. ol on page 57 Figure 32 Smartcard on page 58 Figure 33 JTAG and trace on page 59 Figure 34 Power on page 60 Figure 35 USB OTG FS on page 61 Figure 36 STLINK V2 on page 62 Figure 37 3 2 LCD module with SPI and 16 bit interface on page 63 42 65 Doc ID 018640 Rev 5 ky Schematics UM1065 STM3221G EVAL Figure 17 8 L jo 19905 GK HOS gdz I TVAG O ESE USOS 26 015 gt 2001495 PIEIASODIW PIAS n 201406 OV 09425 INVN UOSIAV HIS jm ETETE sqroqduog ni PSST 010 ASN 54 DLO 80 PAPS SH DLO asn SH 1 asn N t puruen J0pouuoo aoqtps MITO PS UEUKO vary Lavsn n aequos 43 65 Doc ID 018640 Rev 5 UM1065 Schematics MCU Figure 18
55. ted to FSMC bus and 4 general purpose color LEDs LD 1 2 3 4 are available as display devices A touchscreen connected to an I O expander 024 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 Cu Pin name Pin connection Rud Pin name Pin connection 1 CS FSMC PG10 18 PD14 FSMC D12 2 RS FSMC 0 19 PD15 FSMC D13 3 WR SCL FSMC NWE 20 PD16 5 DIA 4 RD FSMC NOE 21 PD17 5 D15 5 RESET RESET 22 BL_GND GND 6 PD1 FSMC_DO 23 BL_Control 5V 7 PD2 FSMC_D1 24 VDD 3V3 8 PD3 FSMC_D2 25 VCI 3V3 9 PD4 FSMC_D3 26 GND GND 10 PD5 FSMC_D4 27 GND GND 11 PD6 5 DE 28 BL VDD 45V 12 PD7 5 D6 29 SDO NC 13 PD8 5 D7 30 SDI NC 14 PD10 5 D8 31 XL 1 expander 924 15 PD11 FSMC D9 32 XR 1 expander U24 16 PD12 FSMC D10 33 YD expander 024 17 PD13 5 D11 34 YU expander U24 Doc ID 018640 Rev 5 21 65 Connectors UM1065 3 Connectors 3 1 Daughter board extension connectors CN1 2 3 and 4 Four male headers CN1 2 3 and 4 can be used to connect with a daughterboard or standard wrapping board to STM3221G EVAL evaluation board A total number of 140 GPIOs are available on the board Each pin on CN1 2 3 and 4 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM3221G EVAL evaluation
56. unction Howto pIock on 1 GND s jie 2 00 5 Pia 05 amp MC Giden module from CN15 7 PEO FSMC BLO Remove RS5 9 PB8 MII_TXD3 A MC SB10 open Disconnect motor control board from CN5 11 BOOTO BOOTO 13 PB6 12 1 SCL Remove R103 15 PB4 TRST 17 PG15 User button Remove R150 19 GND 21 PG12 See DVCC amp Remove R128 23 PG10 FSMC_NE3 Remove LCD board MB785 from CN19 25 PD7 FSMC_NE1 Remove R52 27 PD5 5 NAE 29 FSMC CLK 31 PD2 MicroSDCard_CMD 33 PDO FSMC_D2 amp CAN1_RX JP10 open 35 11 MicroSDCard D3 8 JP22 open RS232 IrDA RX Remove MicroSD Card from CN6 37 PA15 TDI 39 GND Remove camera module from CN15 PIT Disconnect motor control board from CN5 an jpe DOMLVSYNC amp MC berea motor contr board from CNS 6 PE1 FSMC BL1 8 PB9 I2C1 SDA Remove 111 10 GND 12 PB7 FSMC NL 14 PB5 07 amp CAN2 JP10 open 16 PB3 TDO SWO Doc ID 018640 Rev 5 27 65 Connectors UM1065 3 2 28 65 Table 20 Daughter board extension connector CN4 Pin Description Alternative Function Howto Geak block on 18 PG14 TXD1 Remove RS6 20 PG13 MIL TXDO Remove RS6 22 PG11 TX EN Remove RS6 24 PG9 FSMC Remove R47 26 PD6 FSMC NWAIT Remove R54 28 PD4 FSMC_NOE 30 GND 32 PD1 FSMC_D3 amp CAN1_TX JP3 open 34 PC12 MicroSDCard_CLK Remove MicroSD Card from CN6 36 PC10
57. ure 30 MicroSD Card v 02 Jo 2 9878WqunN ASON IVA3 9 9t Sv LC70C CENLS 1 S GSIN JH8CISIAS 10 149905115 0005 8005 9NO Albe ORE I 8 64 59 EAEN Doc ID 018640 Rev 5 56 65 Schematics UM1065 Motor control Figure 31 v 02 Jo SPS 05 04 2 0 9878WzoqunN 103009 JOJO IVA3 9 9t Sv LC 0 CENLS S231U0J 29 90J2 IA 1 S 39300 10 0 ag 100 82 JOJOBUUOD JOJON 012 5 lt OA do uadg 8 4 984 0 LSA EURO OW T ond 92 TN DES 290 Mum 3g jou op 650 0 ANY 4 T ag tia lod 1 2 57 65 Doc ID 018640 Rev 5 UM1065 Schematics Smartcard Figure 32 v 02 Jo 9112545 680 202 98LgWPqUNN 5 9tr Sv LC 0 CENLS au 01 1
Download Pdf Manuals
Related Search
Related Contents
FIELD CONTROLS RF-1 User's Manual Q Multímetro digital automático 5 en 1 HI 38054-100 - Hanna Instruments Portugal MANUEL D`INSTRUCTIONS XCAPTURE-ー 取扱説明書 (ソフトウェ臨) Copyright © All rights reserved.
Failed to retrieve file