Home
UM0621 User manual
Contents
1. Lid 81 N 164 60 plvd gt Sid 9I eva d dd I gt Nota gt lid ZI x or sld Ol 06 8 6vd Sud 9 oor sva eJd v ey Wd HOLD tr y VEND sas csu lp Op PVA ie eva p E Wd sc iva 4 20 09 1010 8 0 0621 Schematics Memories 7 5 Memories Figure 10 OIN EA OLU ere AONATVEMTISAUNVN 89NOCVEMCISONVN 0703716155 vv 81 OIV lt MOT EE EAE 20 24 Schematics 0 0621 7 6 Peripherals Figure 11 Peripherals CN4 USB B MES RIO 22 3 12 4 aoe 0 2 SHELL 0 1K5 3V3 5030106 USB 3V3 3V3 CN5 DB9 male CAN R14 10K 2 02 oe RXO SEMEL 3 vee RXI CAN GND 2000 9616 JP22 SEL D9 TXD R48 Potentiometer 3 21 24 Schematics 7 7 SD Card Figure 12 SD Card 43V3 MicroSD card shell shell shell shell MicroSD 7 8 UART Figure 13 UART 1 14
2. This section is excluded from STM3210E LK NO USB configurations ADC value on LCD Joystick operation Potentiometer rotated CS SS SS SS ES uw gu cul murs E eorr camus rx qo end This section is excluded from STM3210E LK_USB configurations 13 24 Operating the demo program 0 0621 Note 14 24 Press KEY1 a second time to enter mode 2 The blue LED LD4 lights up to indicate mode 2 In this mode you can operate the joystick First press in the joystick A small block cursor is displayed in the center of the LCD screen You can move this cursor in 4 directions using the joystick Pressing in the joystick makes the cursor return to the center of the screen Always press in the joystick before moving the cursor in a new direction Press KEY1 again to enter mode1 again and so on After 5 seconds if no joystick movement or potentiometer change is detected the LCD goes into screen saver mode and displays the ST logo You can still see which mode you are in from the status of the LEDs 4 a b 5 6 7 A USB mass storage device is also implemented by the demo program with two storage partitions on two different media one on an SD card and one on external SRAM through the FSMC flexible static memory controller of the STM32F103E For RVMDK tool users there are 3 project targets with different configurati
3. UM0621 71 User manual STM3210E LK learning kit January 2009 Introduction The STM3210E LK is a version of the STM32 LK learning kit for the STM32F103ZET6 LQFP144 microcontroller The STM32F103ZET6 is high density STM32 microcontroller based on the Cortex M3 core with 512 Kbytes of embedded Flash memory and arich set of on chip peripherals The STM3210E LK learning kit has an embedded ST LINK JTAG emulator allowing it to be used as an evaluation and demonstration board with all required functions for Emulation Debugging Flash programming Interfaces and peripherals provided are USB CAN USART LCD ADC SRAM NOR Flash NAND Flash input keys and joystick Figure 1 STM3210E LK board ST LINK MCU STM32F103ZET6 TARGET MCU DISPLAY 7 5 cw NELLE Key KEY1 2 SRAM JTAG CONNECTOR RESET JOYSTICK Rev 1 1 24 www st com Contents 0 0621 Contents 1 OVUCIVIOW TR 3 14 POMOC siete 3 1 2 Product package Ree 3 1 3 FUNCIONS ented dad 3 1 3 1 EMUWAOR UTI 3 1 3 2 Evaluation system ERG ER 4 2 Connectors and jumpers 5 2 1 Connectors 3
4. 3V3 RS232_TX1 RS232 RXI Ul 104 2 2 104 3 m 2 U J MM 10 Toin T2out 2 R2out R2in L MEME c10 104P ST3232ECTR CN2 DB9 male USARTI 9 male USART2 22 24 UM0621 UM0621 Revision history Revision history Table 5 Document revision history Date Revision Changes 13 Jan 2009 1 Initial release 23 24 UM0621 Please Read Carefully Information in this document is provided 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
5. WO 08 I8 coal 8 98 oS f HS9LCE IX Lb Eld p Et o es 2194 HB Ot se H A od gt 104 vL EL gt SDd TL 66 60d 2 OL 69 WMA ddA 36 sidd 89 19 Idd 99 59 799 59 9 19 Sidd 09 65 8 Lg 4 95 Slad ve 5 3 F ead lt faror faror faror 51 Odd OT oL sidd gt nad os SOAR m gt 644 sv vL 2 Lad 9 N tL cidd 2 vr gt lid 26 SV ST 69 Tid Op 5 1 Hd 8t aror dpor aror aror 884 Odd 9 III ITE er 18d 04 PE 12 1 ovd ZE set 684 gt 06 gt 9 3 d tl p N i IM ad 1 Sldd 87 0 4 9c 04 2 614 02 Nov 3 3 154
6. Table 1 Product package list Item Quantity STM3210E LK board 1 USB A B type cable 1 DB9F F RS 232 cable 1 Product CD ROM 3 Package list 1 Quick start sheet 1 1 3 Functions 1 3 1 Emulator Embedded ST LINK emulator supports all STM32F10x series Cortex M3 USB 2 0 full speed USB power supply Supports emulation of the on board hardware and an external user system Download speed gt 2 kB s Adaptive target system JTAG voltage level is 3 3 V The emulator can provide 5 V power gt 100 mA to the target system through pin 19 of the JTAG interface 4 24 UM0621 Overview 1 3 2 Evaluation system STM32F103ZET6 ST Cortex M3 One 128 KB FSMC SRAM One 512 KB FSMC NOR Flash One 128 MB FSMC NAND Flash One 8 MB SPI Flash Two RS232 9 connectors with jumpers to disconnect them from the STM32 One CAN 9 connector with jumpers to disconnect it from the STM32 Two B type USB connectors with jumpers to disconnect them from the STM32 One SD card socket with jumpers to disconnect it from the STM32 8 MHz main clock oscillator with removable oscillator socket for optional 4 16 MHz 32 kHz oscillator fixed One 128 64 dot matrix LCD Module One 2 interface EEPROM with jumpers to disconnect it from the STM32 Four LEDs One channel potentiometer which can input an analog signal One 5 direction joystick Two GPIO user keys One RESET key Power supply selection Powered b
7. DC errors Correct ADC conversion may be disturbed by USB communication and when an SD card is installed on the board as a removable USB mass storage device When the SD card is plugged in this effects the quality of the ADC power source To prevent this the STM3210E LK board would need additional on board filtering and power separation The demo firmware has a software filtering function if this is not sufficient use the workaround described below Workaround Connect power to the STM3210E LK board using the first method described in Section 4 on page 12 In this case you power on the board using a USB cable on connector CN1 and run the ADC part of the demo before attaching the USB cable to CN4 to run the USB mass storage part of the demo 15 24 UM0621 Schematics Schematics 7 Embedded ST LINK ST LINK 7 1 Figure 6 XL In Xu IN 8 B m 9 Aff 5 gt 9 5 d 5 3 5 RI or _ADT AMOOT E SIS NGHE GRAS ie 9 101 2 5 E MOA VVVVVVY gt EAE eie Ors Ors Ors 55005 5 us lo 52 asnanirus 0184 8 XL a py m 85 v 5 MIN 97 e SWIL i Ol 1 IDA AC 8sn BEA Wess L6 Et lt 8 881 Tey 5 Di 20h r xn qp 110280 uno S
8. N_RX PB8 CAN Receive epee CAN adjustable slope CAN_SP control see Table 4 for details JP17 NOR Flash NOR_CS PG9 NOR Flash Enable JP18 LCD LCD CS PG12 LCD Enable JP19 NAND NAND CS PD7 NAND Flash Enable JP20 SRAM SRAM CS PG10 SRAM Enable 9 24 Connectors and jumpers UM0621 10 24 Table 3 Jumpers for disconnecting peripherals from STM32 continued Jumper Peripheral Signals STM32 I Os Description 2 SCK 6 12 SCK 2 SDA PB7 12 SDA p EEPROM amp SPI CS PB2 SPI Enable Flash SPI MISO PA6 SPI Data Input SPI SCK PA5 SPI Clock SPI MOSI PA7 SPI Data Output JP22 IR transmitter IR transmitter PB1 IR transmitter Table 4 Jumpers for setting operating modes Jumper Function Configuration Description _ Board powered by USB cable Fit jumper to 1 lt gt 2 left connected to JP1 Power Mode 97 _ oard powered by cable Fit jumper to 2 lt gt 3 right connected to 4 JP5 set to 0 5 32 Boot from Flash 4 amp 5 Boot option JP5 set to 1 amp JP4 set to 1 STM32 Boot from SRAM 5 set to 1 amp JP4 set to 0 STM32 Boot from bootloader in System Flash USB disconnection feature jpe 5 P disabled disconnection Close USB disconnection feature enabled CAN load Open CAN load resistor is disabled JP7 resistor Close CAN load resistor is enabled CAN Op
9. Q MOEN rvs oog LS NOSO 40850 tt s EM sWir3 SAU 101 10d 9 of en INO NES ale 5552 2250284 x TAA ASAE urdgp XOTATENLS jejej an mimm m doz 3l3l3ls LED zm Anga tar 6 8 Tor 1540 9 gt oal m 8 1 ONS ies Taira 9 s ra 0 ra oura 1841 8 1 ENE J IaL OND Tsuru 90A PALA 02001 16 24 UM0621 Schematics 7 2 Inputs and outputs Figure 7 Inputs and outputs JP14 UP DOWN RIGHT 25 LEFT 65 LEFT DOWN 43 RIGHT 2 1 SELECT SELECT Joystick JP13 10 6 BEI 4 PAO 2 Key 510 LED 17 24 3 Schematics UM0621 7 3 LCD Figure 8 LCD C52 22uF 2 2uF 2 2uF C50 3V3C48 C46 luF C47 luF C44 R46 LCD 12864 COG LCD 3 18 24 Schematics MCU MCU 0 0621 Figure 9 7 4 NOW 58 580 91 6 1 9LAZEOLATENIS 004 19 24 4 NOW 4 favor 9LAZEOLATENIS
10. 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 PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE 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 supersed
11. d socket connected JP2 amp JP10 to the target MCU 7 24 Connectors and jumpers UM0621 2 2 8 24 Jumpers Figure 4 shows all the jumpers on the STM3210E LK They are further described in two tables Jumpers listed in Table 3 can be used to connect to or disconnect the peripherals on STM3210E LK from the STM32 target MCU e Jumpers listed in Table 4 can be used to set different operating modes Figure 4 Jumper settings JP2 0 1 ei ele e e e e ejeje JSB Disconnection mee eje e e OOo ejos Pinl so cue e 27 CAN Load resister cnp e e 50_03 e E sp 26 e e S0_PuR wisl lelcen_sP UBAT eil 5 s e ec veerle ie 05 32 our e eco 900810 7 e e uon cs UREF 218 cs JP10 es SRM 2 5 P20 5 ros pii e 5 j jsrancs 52 854 95558 le 52 1 50 mxjeel 8355 523 a see mije e o ele oo sis ell eis
12. e I s NITRST 5 JPi2 JPI3 Pi4 Table 3 Jumpers for disconnecting peripherals from STM32 Jumper Peripheral Signals STM32 I Os Description MSD_D1 PC9 SD CARD Data Input MSD_DO PC8 Data Signal 0 MSD_CLK PC12 SD CARD Clock JP2 MSD_CMD PD2 SD CARD Command SD card MSD_D3 PC11 SD CARD Data signal MSD_D2 PC10 SD CARD Data signal SD_PWR PB5 SD card power control MSD_DET 2 MSD DET JP10 MSD_WP PC3 MSD WP USART1_TX 9 USART1 Send USART1_RX PA10 USART1 Receive JP3 USART USART2_TX PA2 USART2 Send USART2_RX PA3 USART2 Receive ky UM0621 Connectors and jumpers Table 3 Jumpers for disconnecting peripherals from STM32 continued Jumper Peripheral Signals STM32 I Os Description VBAT VBAT STM32 MCU VBAT VDDA VDDA STM32 MCU VDDA JP8 MCU power VDD VDD STM32 MCU VDD VREF VREF STM32 MCU VREF VREF VREF STM32 MCU VREF m Sakos OSC32_IN PC14 32K Oscillator input OSC32_OUT PC15 32K Oscillator output JTDO PB3 Data Input JTCK PA14 JTCK JP11 JTAG JTMS PA13 JTMS JTDI PA15 JTDI NJTRST PB4 JTRST LD7 PF6 LD7 LD6 PF7 LD6 JP12 LEDs LD5 PF8 LD5 LD4 9 LD4 User_Button PB10 KEY4 JP13 Keys Anti_Tamper PC13 KEY2 Wakeup PAO KEY1 JOY_DOWN PB15 Down JOY_UP PB14 Up JP14 Joystick JOY_LEFT PB13 Left JOY RIGHT PB12 Right JOY SEL PB11 Select JP15 Potentiometer Potentiometer PC4 ADC Input CAN_TX 9 CAN Send CA
13. ee 6 2 2 9 7 3 Software installation 10 3 1 Embedded ST LINK driver installation 10 3 2 Demonstration program 10 4 Connecting power to the board 11 5 Operating the demo program 12 6 Troubleshooting sexo ce he ens da os 14 6 1 Limitation with reset from IDE during debugging 14 6 2 Analog digital conversion ADC errors 14 7 SCNGEMANGS 15 7 1 Embedded ST LINK 15 7 2 Inputs and outputs 16 7 3 opm 17 oe pee oe 18 7 5 MCMONGS 22545 25 eee tu Reema ee eee ea dor d dose 19 7 6 Peripherals 21 58 28 2 4142 85 08 40 08436 24648586 20 7 7 SD OE ons beanie aes 21 7 8 T 21 2 24 ky UM0621 Contents Revision history 3 24 Overview UM0621 1 Overview 1 1 Features Supports IAR EWARM IDE Supports ARM RVMDK IDE Learning kit for STM32F103xCDE series ST Cortex M3 MCU Hardware and software architecture reference design Embedded ST LINK for debug and programming STM32 target MCU 1 2 Product package
14. en Slow speed operation JP16 adjustable pins 1 amp 2 slope control Close Normal operation UM0621 Software installation 3 Software installation 3 1 Embedded ST LINK driver installation The STM3210E LK box contains the CDs for both IAR and Keil IDEs You can select either one according to your requirements The embedded ST LINK on STM3210E LK is supported by the IDE from both IAR and Keil and can be used to debug and program the board Install one of the IDEs by following the steps listed below 1 Install IAR IDE EWARM or Keil IDE RVMDK from the CDs delivered in the STM3210E LK box 2 Select ST LINK as the debugger in the IDE 3 2 Demonstration program The ST CD available in the STM3210E LK box includes the Demo software and Software library with example programs for some on board peripherals It will help you get started quickly with STM32 11 24 Connecting power to the board 0 0621 4 Note 12 24 Connecting power to the board To start the demo without any debugging tool the board must be powered on There are two ways of doing this Jumper JP6 must always be installed in either case To run the demo with an IAR or Keil IDE and ST LINK the first method must be used With this method both the on board ST LINK and the STM32F103 target MCU are powered by the USB cable connected to the CN1 connector Method 1 Two USB cables are needed when using this power on method 1 Place
15. es 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 2009 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 Singapore Spain Sweden Switzerland United Kingdom United States of America www st com 24 24 3
16. jumper JP1 in position 1 2 2 Poweron the board by attaching a USB cable to connector CN1 3 After power on the demo program starts 4 Then attach another USB cable to connector CN4 to demonstrate the USB mass storage application Method 2 This method requires only one USB cable This cable is also used by the USB mass storage application 1 Place jumper JP1 in position 2 3 2 Power on the board by attaching a USB cable to connector CN4 3 After power on the demo program starts 0 0621 Operating the demo program 5 Operating the demo program To use the demo refer to the flowchart in Figure 5 and to the following procedure 1 After power on the ST logo is displayed on the LCD 2 There are two LCD demos you can switch between them by pressing KEY1 3 Press KEY1 once to enter mode 1 a The orange LED LD6 lights up to indicate mode 1 b In this mode you can modify the input voltage to the target MCU s analog to digital converter by rotating the potentiometer The converted value is displayed on the LCD Figure 5 Demo program flowchart Power on ST logo displayed on LCD i Peripheral initialization Press KEY1 LCD mode 1 LCD mode 2 Orange LED on LD6 Blue LED on LD4 USB enumeration Mass storage 2 partitions with SD card and external Cursor on
17. ons that can be chosen freely in the drop down menu These are STM3210E LK FULL STM3210E LK NO USB and STM3210E LK USB The 1st configuration has full functionality and can be used by full version RVMDK users while the other 2 have limited functionality as their names suggest and can be used by evaluation version RVMDK users For STM3210E LK FULL configuration all parts in the flowchart are present For STM3210E LK NO USB configuration parts surrounded by the dotted line rectangle on the left are not present For STM3210E LK USB configuration parts surrounded by the dotted line rectangle on the right are not present UM0621 Troubleshooting 6 6 1 6 2 Troubleshooting Limitation with reset from IDE during debugging As most IDEs including IAR only perform a software reset they cannot reset the MCU thoroughly After an IDE reset parts of the board hardware may be in an uncertain state and this may lead to errors in some cases For example a reset from the IDE may not reset the LCD properly Workaround When debugging with IAR or MDK to restart debugging without re programming the chip and by using the IAR or debugger reset Use break to stop the program and reset the program counter PC to main and let it run again Todo this press the RESET key on the STM3210E LK board after stopping the program with a break and before making a program counter PC reset Analog digital conversion A
18. y ST LINK USB CN1 connector Powered by target MCU USB CN4 connector IR LED transmitter and receiver 5 24 Connectors and jumpers 0 0621 2 Connectors and jumpers Figure 2 Connector and jumper locations top view jm JP3 s JP6 JP7 JP2 CN7 JP16 CN6 9 JP17 JP18 UP10 JP19 JP20 21 JP11 JP12 JP13 JP14 JP22 JP15 CN8 Figure 3 Connector and jumper positions bottom view pm CN9 6 24 Ti UM0621 Connectors and jumpers 2 1 Connectors Table 2 Connectors PCB Connector marking Description CN1 ST LINK USB connector provides power when JP1 installed on the left 2 CN2 USART1 RS 232 connector 0 connected via to target MCU CN3 USART2 5 232 connector 1 connected via to target MCU CN4 USB USB device connector connected via JP6 to target MCU CN5 CAN CAN connector 9 connected via JP16 to target MCU CN6 JTAG JTAG interface for ST LINK reserved for factory test purposes CN7 MCU External holes around target MCU for 112 I Os can be redefined by user CN8 External ST LINK external interface connected via JP11 to target MCU for JTAG debugging programming target MCU CN9 SD Card SD Car
Download Pdf Manuals
Related Search
Related Contents
vx-2100 vx-2200 operating manual Guía del usuario Samsung BCD-211NS 用户手册 Sem título-1 株式会社ロストアロー クランポン 取扱説明書 Aircore and Indicator Controler User manual v1.4 iStarUSA WQ-990 racks Copyright © All rights reserved.
Failed to retrieve file