Home

UM1570 User manual - STMicroelectronics

image

Contents

1. 2 9 Board layout bottom 10 STM32F303VCT6 package 11 STM32F303VCT6 block 1 13 Typical 14 STM32FS3DISCOVERY connections image 15 ST LINK V2 connections 16 STM32F3DISCOVERY mechanical drawing 30 STMS82F3DISCOVERY top level 31 ST LINK V2 SWD 32 STM32F303VCT6 33 cm 34 Doc ID 023594 Rev 3 3 36 List of tables UM1570 List of tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 4 36 Applicable tools oru exe ke area x Roe wae oes 1 ON OFF conventions 5 Jumper stale RT 14 Debug connector CN3 SWD 15 Solder bridges Coe ad eA ee RE Ede tie 20 STM32F303VCT6 MCU pin description versus board function 21 Document revision history
2. 35 Doc ID 023594 Rev 3 ky UM1570 Conventions 1 Conventions Table 2 provides the definition of some conventions used in the present document Table 2 ON OFF conventions Convention Definition Jumper JP1 ON Jumper fitted Jumper JP1 OFF Jumper not fitted Solder bridge SBx ON SBx connections closed by solder Solder bridge SBx OFF SBx connections left open Doc ID 023594 Rev 3 5 36 Quick start UM1570 2 2 1 2 2 2 3 2 4 6 36 Quick start The STM32F3DISCOVERY is a low cost and easy to use development kit to quickly evaluate and start development with an STM32 F3 series microcontroller Before installing and using the product please accept the Evaluation Product License Agreement from www st com stm32f3discovery For more information on the STM32F3DISCOVERY and for demonstration software visit www st com stm32f3discovery Getting started Follow the sequence below to configure the STM32F3DISCOVERY board and launch the DISCOVER application 1 Check the jumper positions on the board on CN4 on DISCOVERY selected 2 Connect the STM32F3DISCOVERY board to a PC with a USB cable type A to mini B through the USB ST LINK or USB USER connector to power the board The red LEDs LD1 PWR and LD2 COM light up The eight LED indicators blink sequentially Press the USER button to enable the MEMS gyroscope sensor Observe how t
3. l TIM3_CH4 9 TIM8_CH4_BKIN2 66 46 COMP3_OUT UART4_TX FEN 253 78 USART3_TX TIM8_CH2N UART4_RX SPI3 MISO I2S3 DIN 79 96 USART3_RX TIM8 CH3N UART5 TX PC12 SPI3 MOSI 80 33 1253 DOUT USARTS3 CK PC13 1 CH1N 7 10 2 14 OSC32_IN 8 8 7 E PC15 OSC32 OUT 9 g 8 O PDO CAN_RX 81 34 TIM8_CH4_BKIN2 PD1 82 31 TIM3_ETR PD2 TIM8_BKIN 83 32 UART5__RX TIM2_CH1_ETR RBS USART2_CTS e 2 CH2 USART2_RTS Re PD5 USRT2_TX 86 27 26 36 Doc ID 023594 Rev 3 437 UM1570 Hardware and layout Table 6 STM32F303VCT6 MCU pin description versus board function continued MCU pin Board function gt Ir 5 P 9 S Bia a n t Alternate functions 515 2 ul 9 5 6 5 8 51 4 g TIM2_CH4 PDG USART2_RX En 28 2 CH3 USART2_CK ee ES PD8 USART3_TX 55 40 PD9 USART3_RX 56 39 PD10 USART3_CK 57 42 PD11 USART3 CTS 58 41 CH1 G8 101 USART3_RTS e PD13 TIM4 CH2 G8 IO2 60 43 PD14 TIM4 CH3 G8 103 61 46 TIM4_CH4 G8 104 PD15 SPIE Nes 62 45 TIM4 ETR 16 1 97 15 USART1_TX N 5 TIM17_CH1 2 USART1_RX s gt 19 a TRACECK PR
4. U_IO Peripherals 10 Peripherals SchDoc PFI 15 PB9 5 10 Header 25X2 STMicroelectronics Title STM32F3DISCOVERY NumberMB1035 Rev B 1 PCB SCH Date 9 13 2012 Sheet of 4 4 02S 95 AH3JAOOSIGEJCEIN LS 96 06 69600 500 Figure 12 ST LINK V2 SWD only AH3JAOOSIGEJCEIN LS 1 2 3 4 TCK SWCLK TMS SWDIO L LNRST SWD T SWO 587 al Not Fitted SBIO 100K z 2 2 Board Ident PC13 0 R3 a S z 222 5 10K DI E S z SWD R7 AIN 1 zal 2 t TET alal 5 BAT60JFILM 5 Not Fitted CN3 he len esl le R19 T JTCK _ S US 1 m SB2 7 REE 5 HS T STM32F103C8T6 S _ SWCLK ag 8 BEES R20 y T_JTMS Le co C7 a 22 885 SB6 2
5. T 2 3 4 9 5 AH3JAOOSIGEJCEIN LS 69600 20 Figure 14 Peripherals 1 3 4 VDD USB User D4 D5 MACC Not Fitted 100 BAT60JFILM BAT60JFILM 2 1 16 1 5 C33 Im ve 2 RIEM 22 bv USB DM LL 5 NRST a RIT 22 Su USB DP 100nF 8823 1 4 RIS 100K a 3 9 8 2 4 2 SHELL 0 SB20 330 58 5075 8 05 5 R4 100nF prg USER amp WAKE UP Button 220K RESET Button EIFE o D6 Green Mg PEIS R43 1 2 N B 18 Orange 4 U3 R45 254 L 2 VDD 10 uml 10uF 680 13 CIS 220nF SCE SETC LD10 X SDA 12 Red PES PEI3 cd 1 4 EA 10 19 680 DRDY PER LD9 8 Ble 7 Cor SE 2 R47 1 2 LSM303DLHC gt re LD7 Green R44 1 2 14 105 Orange R42 c PEW AN 1 2 05 LD3 SPII SCK Mon Red SPI MOSI 9 1 2 SPI1_MISO ENTE GD pM if CS I2C SPI Soe ae LD4 MEMS INT2 END Ble MEMS INTI _ 1 2 pus GND 680 GND GND 5 136020 LEDs MEMS Silkscreen for Gyroscope and E compass with acceleromete
6. 1 2 32 SDA SDI SDO 17 PA8 MCO I2C2 SMBAL 1252 TIM1_CH1 USART1_CK COMP3_OUT TIM4_ETR 67 45 PAQ G4_101 I2C2 SCL 1283 TIM1 CH2 USART1 TX COMP5 OUT TIM15_BKIN TIM2_CH3 68 44 PA10 TIM17_BKIN 64 102 12 2 SDA TIM1 USART1_RX COMP6_OUT TIM2_CH4 TIM8_BKIN 69 43 PA11 CH1N USART1_CTS COMP1_OUT TIM4_CH1 TIM1_CH4_BKIN2 USBDM 70 DM 42 22 36 Doc ID 023594 Rev 3 4 UM1570 Hardware and layout Table 6 STM32F303VCT6 MCU pin description versus board function continued MCU pin Board function Main function PA12 Alternate functions TIM16_CH1 TIM1_CH2N USART1_RTS COMP2_OUT CAN TX TIM4_CH2 TIM1 ETR USBDP LQFP100 pin num LSM303DLHC L3GD20 Pushbutton LED SWD USB DP Osc Free I O Power supply CN3 P1 P2 41 PA13 JTMS SWDAT TIM16 G4 103 IR Out USART3 CTS TIM4 72 SWDIO 40 PA14 PA15 JTCK SWCLK G4 104 12 1 SDA TIM8 CH2 TIM1 BKIN USART2 TX JTDI TIM2 CH1 ETR TIM8_CH1 12C1_SCL SPI1_NSS SPI3 NSS I283 WS USART2 RX TIM1 BKIN 76 77 SWCLK 37 38 PBO G3 102 TIM8_CH2N TIM1_CH2N 35 22 PB1 TIM3_CH4 103 TIM8 TIM1_CH3N C
7. measurement 3 V power supply input output B1 user button red LED LD3 blue LED LD4 green LED LD6 orange LED LD8 E 2 EN 8 Wh 8 f JP4 TX RX P1 GND PC3 PAL 5 7 8 599 LD2 red green LED COM USB ST LINN R8 yww st com stm32f3disc 28 ss 88 USB USER CN4 ST LINK overy R29 a E P2 E Hia Im rm 9 C20 A Sg 5 d op S 8 28 8 E 2 5 C1 EN LE C19 2 8 m g 82 PE2 MB1035B PB8 PB6 DISCOVERY selector LSM303DLHC 5 power supply input output STM32F303VCT6 L3GD20 B2 reset button orange LED LD5 green LED LD7 blue LED LD9 red LED LD10 Note Pin 1 of CN3 CN4 JP3 JP4 P1 and P2 connectors are identified by a square 4 Doc ID 023594 Rev 3 9 36 Hardware and layout UM1570 Figure 4 gt Board layout bottom view SB10 SWO 582 SB4 586 589 RESERVED 2 SB1 583 585 588 A 5 7 NRST DEFAULT 587 SBIT TH SB12 MCO d 5513 SB13 RX TX SB14 X
8. 57 UM1570 User manual STM32FSDISCOVERY Discovery kit for STM32F303xx microcontrollers Introduction The STM32F3DISCOVERY is designed to help you explore the features of the STM32 32 bit ARM Cortex M4 mixed signal MCU and develop your applications It is based on an STM32F303VCT6 and includes ST LINK V2 embedded debug tool interface Gyroscope ST MEMS E compass with accelerometer ST MEMS LEDs pushbuttons and a USB mini B connector Figure 1 STM32F3DISCOVERY n HH 5 2 12 3 5 2108 G www st com stm32f3discovery 5 0 re Table 1 Applicable tools Type Part number Evaluation tools STM32F3DISCOVERY February 2013 Doc ID 023594 Rev 3 1 36 www st com Contents UM1570 Contents 1 Conventions i cnn cnc ac De inh oo ch i ili 5 2 Q ick Start ae mm 6 2 1 Getting started 6 2 2 System requirements 6 2 3 Development toolchain supporting the STM32F3DISCOVERY 6 2 4 Order Gode Cas nce bese REOR Sea SER eu 6 3 Features Pec 7 4 Hardware and layout 8 4 1 STMS2F303VCT6 microcontroller 11 4 2 Embedded ST LINK V2 14 4 2 1 Using ST LINK V2 to program debug the STM32F303VCT6 on board 14 4 2 2 Usi
9. gt Reset amp HCLK DE VREF clock FCLK XTAL 32kHz OSC32 OUT control UsARTCLK Backup 12 bit ADC3 RTC Reg lt 4 lt gt AWU 64Byte dump 12 bit ADC4 ADC SAR ETT 1 2 3 4 CLK KC 5 A TIMER2 3 x PA 15 0 4 gt 8 4 Channels ETR as AF 15 0 GPIO PORT B lt gt ES TIMERS 4 Channels ETR as AF x PC 15 0 lt gt KC 7 4 Channels ETR as AF PO 15 0 lt GPIO PORT D lt gt MOSI SD MISO ext SD i spans sckick NSS WS MCLK as AF PE 15 0 GPIO PORT E lt gt 8 k y Sms MOSISD MisO ext SD a SCK CK NSS WS MCLK as PFI7 0 lt GPIO PORTF lt gt x COTY 7 s RX TX CTS RTS as AF 2 USART3 RX TX CTS RTS as AF XX Groups of Touch Sensing lt gt 4 channels as AF Controller UART4 RX TX as AF ke gt 1201 SCL SDA SMBAL as AF KC SCL SDA SMBAL as AF winwaTcHDoe KY bx K 5128 SRAM CAN TX CAN RX WKUP USB SRAM 512B USBDP USBDM 2 Channels 1 Comp gt DAC1 as AF 1 Channel 1 Comp TIMER 16 E gt IF 12 bit Channel BRK as AF gt TIMER gt a
10. 101 amp Ia a TRACEDO S Pen 67102 2 x TRACED1 27103 3 2 E PER 704 2 12 6 TRACED3 5 9 PE7 TIM1_ETR 38 23 ky Doc ID 023594 Rev 3 27 36 Hardware and layout UM1570 Table 6 STM32F303VCT6 MCU pin description versus board function continued MCU pin Board function gt 5 5 9 2 Fle ain a 3 2 2 function Alternate functions 8 8 u 2 8 9 51615 a l PE8 TIM1_CH1N 39 a gt 26 om 9 1 40 25 59 PE10 CH2N 41 ag 28 2 11 TIM1_CH2 42 27 c 12 TIM1_CH3N 43 30 nm PE13 TIM1_CH3 44 mu 29 On PE14 TIM1_CH4_BKIN2 45 A 32 TIM1_BKIN Fels USART3_RX 59 2 OSC_IN 2 2 SDA _IN _SDA PFO TIM1_CH3N 1s ke PF1 OSC_OUT 2 2 5 13 a 6 2 19 10 4 COMP1_OUT 27 13 TIM4_CH4 PF6 I2C2 SCL 73 39 USART3 RTS TIM15 1 SPI2_SCK 10 TIM15_CH2 PF10 SPI2 SCK 11 4 28 36 Doc ID 023594 Rev 3 437 UM1570 Hardware and layout Table 6 STM32F303VCT6 MCU pin descrip
11. 24 36 Doc ID 023594 Rev 3 4 UM1570 Hardware and layout Table 6 STM32F303VCT6 MCU pin description versus board function continued MCU pin Board function Slo E 5 ANS e a 5 a function Alternate functions 8 9 o 9 a G6 102 2 2 SMBAL SPI2 NSS I282 WS PB12 TIM1_BKIN 2 5 4 G6 103 SPI2 SCK I282 PBIS TIM1_CH1N USART3_CTS TIM15_CH1 96 104 SPI2_MISO I2S2_DIN TIM1_CH2N B3 9B USART3 RTS TIM15 2 TIM15 CH1N PB15 54 37 SPI2 MOSI 1252 DOUT PCO 15 6 PC1 16 5 PC2 COMP7 OUT 17 8 TIM1_BKIN2 18 7 PC4 USART1_TX 33 20 PC5 101 USART1_RX 34 19 TIM3_CH1 TIM8_CH1 PC6 282 63 47 6 TIM3_CH2 TIM8_CH2 Per 1253 5 OUT PC8 TIM8 CH3 65 47 OUT 57 Doc ID 023594 Rev 3 25 36 Hardware and layout UM1570 Table 6 STM32F303VCT6 MCU pin description versus board function continued MCU pin Board function gt 8 5 2 function Alternate functions 8 8 u 2 8 9 51615
12. RESET OFF 2 Push Button is not connected to NRST of STM32F303VCT6 SB20 ON B1 Push Button is connected to PAO B1 USER OFF B1 Push Button is not connected to PAO SB13 15 OFF Reserved do not modify RX TX ON Reserved do not modify SB7 ON NRST signal of connector is connected to NRST of STM32F303VCT6 NRST OFF NRST signal is not connected SB10 ON SWO signal of connector is connected to PB3 SWO OFF SWO signal is not connected SB11 OFF incidence on NRST signal of STM32F103C8T6 STM RST ON signal of STM32F103C8T6 is connected to GND S10 ON signal of STM32F303VCT6 is at level 0 through 510 ohm pull down BOOTO OFF BOOTO signal of STM32F303VCT6 is at level 1 through 10K ohm pull up not provided SB21 22 OFF 7 12 only used for USB USER and not connected to P2 to avoid PA11 and PA12 are connected to P2 ERIS OFF signal of STM32F103C8T6 is not used ON clock signal from STM32F103C8T6 is connected to OSC_IN of STM32F303VCT6 1 Default state is shown in bold 2 If SB12 is ON SB17 must be OFF and R33 removed to provide the clock source from the MCO correctly 20 36 4 Doc ID 023594 Rev 3 UM1570 Hardware and layout 4 12 Extension connectors The male headers P1 and P2 can connect the STM32F3DISCOVERY to a standard prototypi
13. an MCU in an external application board using a cable connected to SWD connector The embedded ST LINK V2 supports only SWD for STM32 devices For information about debugging and programming features refer to user manual UM1075 ST LINK V2 in circuit debugger programmer for STM8 and STM32 which describes in detail all the ST LINK V2 features Figure 7 Typical configuration Hardware requirements USB cable type A to mini B Computer with Windows XP Vista or 7 Development toolchains Altium TASKING VX Toolset Atollic TrueSTUDIO EWARM MS31115V1 Table 3 Jumper states Jumper state Description Both CN4 jumpers ST LINK V2 functions enabled for on board programming default ST LINK V2 functions enabled for application through external CN3 GNA JUMPEN connector SWD supported Using ST LINK V2 to program debug the STM32F303VCT6 on board To program the STM32F303VCT6 MCU on the board simply plug in the two jumpers on CN4 as shown in Figure 8 in red but do not use the CN3 connector as that could disturb communication with the STM32F303VCT6 of the STM32F3DISCOVERY Doc ID 023594 Rev 3 ky UM1570 Hardware and layout SWD connector CN4 jumpers ON Figure 8 STM32F3DISCOVERY connections image CN3 4 2 2 Using ST LINK V2 to program debug an external STM32 application It is very easy to use the ST LINK V2 to pro
14. check CRC Capacitive touch sensing 24 keys Full set of integration features on chip resulting in simplified board designs and fewer external components cost reduced Pin compatibility and same API for peripherals as F1 series More than 350 Cortex M based compatible STM32 devices than 70 Cortex M4 based compatible STM32 devices Digital signal processing DSP capability at a competitive price 12 36 Doc ID 023594 Rev 3 ky UM1570 Hardware and layout Figure 6 STM32F303VCT6 block diagram TPIU Power ETM Vonis 4 721036V TRADECLK SWJTAG Trace Trig Voltage reg Veg TRACED 3 lt gt 3 3 V to 1 8V as AF MPU FPU a i JTRST kN 5 g FLASH 256 JTDI lt gt 64 bits POR Supply JTCK SWCLK Cortex M4 CPU Supervision JTMS SWDAT Resetq NRESET JTDO 72 MHz CCM RAM Int UN 8KB v mm PVD 2 mua 5 gt SRAM E 20KB QV QV a GPDMAI RC HS 8MHz 7 channels gt LS XTAL OSC OSC_IN GP DMA2 k gt Pit 4 32 MHz osc_our 5 channels P gt ind wDG32K Temp sensor gt AHBPCLK lt gt Standby __ gt APBPICLK interface 12 bitaDc1 Y a 1650 to 3 6V IF APBP2CLK lt 12 bit ADC2
15. 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 PROPERTY 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
16. 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 2013 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 36 36 Doc ID 023594 Rev 3 ky
17. 0pF 20 a ay 2 36 RN T NRST _stuJtus SWDIO av 2 35 Header 6 22 588 SB9 iA vss_2 i 534 JTMS R22 T v 8MHz PAD 333 USB DP 22 R23 PAI 82 USB DM 100K A10 adi swo STM_RST ae 30 LED STONK pag RC Must be very close to STMS2F103 pin 29 VSSA pas 332 AW MCO gt VDDA PBIS 100 EN 227 L JTMS PAL ppi3 20 Jumpers gt DISCOVERY Selected PA2 PBI2 gt Not Fitted Jumpers OFF gt ST LINK Selected 9 T SWDIO IN Roa la RERESS STM32F3 USARTI RX A Wired on Solder Side cK v a COM 3V JP3 1 SALES STLINK RX T Ed RI z STM32F3 USARTI TX IK LED STLINK S c E SH E Not Fitted wi Me 7 LD BICOLOR CMS Close to JP V RED Not Fitted N PWR 5 Ul D3 5 USB ST LINK 7 C pu BAT60JFILI CNI USV C10 95 en BYPASS C6 EET 1 R12 IKS 100nF 100nF 100nF 100nF 0605 E 5 0603 Input or Output D RI4 0 058 DM LD3985M33 EXT 3V Input or Output USB DP c4 Cl 2 a ao Dz i i RII 100K 100nF 10 X7R 0603 100 usv 5v GND 7 BATGOJFILM s E D 5075BMR 05 SM STMicroelectronics Title STM32F3DISCOVERY ST LINK V2 SWD only Number MB1035 Rev B 1 PCB
18. 2F303VCT6 MCU is also used to drive the second USB mini B connector USB USER which allows the board to be used as a USB Device The STM32F3DISCOVERY can then act as a USB joystick mouse or other similar device If both USBs are connected diodes D4 and D5 protect the board and use the power from the USB ST LINK The board can be powered through this USB USER connector then LED1 PWR lights LED2 COM blinks and it can run an application in standalone mode E compass accelerometer MEMS ST MEMS LSM303DLHC The LSM303DLHC is an ultra compact low power system in package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor It includes a sensing element and an IC interface able to provide the measured acceleration to the external world through 2 serial interface LSM303DLHC has dynamically user selectable full scales of 2g 8g and is capable of measuring acceleration and a magnetic field full scale from 1 3g to 8 19 with an output data rate of 100 Hz or 400 Hz The STM32F303VCT6 MCU controls this motion sensor through the I2C interface Gyroscope MEMS ST MEMS L3GD20 L3GD20 is an ultra compact low power three axis angular rate sensor It includes sensing element and an IC interface able to provide the measured angular rate to the external world through the I2C SPI serial interface 136020 has dynamically user selectable full scales of 250 dps 500 dps 2000 dps and is capable o
19. 3 crystal SP1 RATX SB16 X3 crystal 5515 e SB17 X1 crystal gt 5617 SB18 X1 crystal 25 551 9 5819 BOOTO 2 8820 B1 USER __ oe 5823 B2 RESET SB22 USB USER ee ee oe Note If SB12 is ON SB17 must be OFF and R33 removed to provide the clock source from MCO correctly 10 36 Doc ID 023594 Rev 3 ky UM1570 Hardware and layout 4 1 STM32F303VCT6 microcontroller This ARM Cortex M4 32 bit MCU with FPU has 256 KB Flash 48 KB SRAM 4 ADCs two DAC channels seven comparators four PGAs 13 timers 2 0 3 6 V operation Figure 5 STM32F303VCT6 package STM32F303VCT6 256 Kbytes of Flash memory 48 Kbytes of SRAM LQFP100 14 x 14 mm 530003 1 This device provides the following benefits 72 2 62 from Flash 94 from CCM SRAM Cortex M4 with single cycle DSP MAC and floating point unit Boosted execution of control algorithms More features possible for your applications Ease of use Better code efficiency Faster time to market Elimination of scaling and saturation Easier support for meta language tools Real time performance CCM SRAM core coupled memory 8 Kbytes of SRAM mapped to the instruction bus critica
20. OMP4_OUT AOP3_OUT 36 21 PB2 G3 104 37 24 JTDO TRACESWO TIM2_CH2 TIM4_ETR G5 101 TIM8 CH1N SPI1_SCK SPI3 SCK I283 USART2 TX TIM3 ETR 89 SWO 26 Doc ID 023594 Rev 3 23 36 Hardware and layout UM1570 Table 6 STM32F303VCT6 MCU pin description versus board function continued MCU pin Board function Main function PB4 Alternate functions NJTRST TIM16_CH1 TIM3_CH1 65 102 TIM8_CH2N SPI1_MISO SPI3 MISO I2S3 DIN USART2 RX 17 LQFP100 pin num LSM303DLHC L3GD20 Pushbutton LED SWD USB OSC Free I O Power supply CN3 P1 P2 23 5 TIM16_BKIN TIM3_CH2 TIM8 I2C1 SMBAL SPI1 MOSI SPI3 MOSI I283 DO UT USART2 CK TIM17 CH1 91 24 PB6 TIM16 TIM4_CH1 G5 IOS 2 1 SCL TIM8_CH1 TIM8_ETR_BKIN2 USART1_TX 92 SCL 21 PB7 TIM17 TIM4 CH2 G5 104 I2C1 SDA TIM8 BKIN USART1 TIM3_CH4 93 SDA 22 PB8 TIM16_CH1 TIM4_CH3 SYNCH 12C1_SCL COMP1_OUT CAN_RX TIM8_CH2 TIM1_BKIN 95 17 PB9 TIM17_CH1 TIM4_CH4 2 1 SDA IR OUT CAN TX TIM8_CH3 96 18 PB10 2 SYNCH USART3 47 34 PB11 TIM2 G6 101 USART3 RX COMP2 OUT 48 33
21. SCH _Date 9 13 2012 Sheet2 of 4 1 2 3 4 OZSLINN Figure 13 STM32F303VCT6 MCU PAO 23 15 05 32 OUT PAL 24 14 8 32 __ 12 o 9 4 78 2 2 PC8 gt PCT 34 d 33 4 18 4 17 Pe 16 __ 4 5 4 MCO gt MCO 5 12 PF0 OSC IN Ji 5817 20pF Must be close to the Crystal PFI OSC OUT 57 PDIO C14 PC14 OSC32_IN R29 0 5814 6 8pF IMC306 G 06Q 32 768 C26 15 05 32 OUT R30 0 5816 Not Fitted 6 8pF 6 45 14 PEI3 PEI2 2 41 PEIO 40 PE9 9 PES 8 2 8 4 3 5 4 3 1 lt 5 __ _4 PE 4 9 9 PE6 PE2 fcm1608 0603 20 C21 luF 100nF I STM32F303VCT6 C16 100nF C32 C29 I 1 100 100 25 OZSLINN C28 Poor 4 Poor Poor 7 STMicroelectronics Title STM32F3DISCOVERY STM32F303 MCU NumberMB1035 Rev B 1 PCB SCH _Date 9 13 2012 Sheet3 of 4
22. f measuring rates The STM32F303VCT6 MCU controls this motion sensor through the SPI interface JP3 Idd Jumper labeled Idd allows the consumption of the STM32F303VCTE6 to be measured by removing the jumper and connecting an ammeter e Jumper 2 is powered default e Jumper off an ammeter must be connected to measure the STM32F303VCT6 current If there is no ammeter the STM32F303VCT6 is not powered Doc ID 023594 Rev 3 UM1570 Hardware and layout 4 10 4 10 1 4 10 2 OSC clock OSC clock supply The following information indicates all configurations for clock supply selection from ST LINK From of the STM32F103C8T6 This frequency cannot be changed it is fixed at 8 MHz and connected to PFO OSC_IN of the STM32F303VCT6 Configuration needed SB12 closed 5817 open R33 removed 5 18 R32 C22 C23 X2 don t care Oscillator on board From X2 crystal not provided For typical frequencies and its capacitors and resistors please refer to the STM32F303VCT6 Datasheet Configuration needed SB12 SB17 5818 open R32 R33 C22 C23 X2 soldered Oscillator from external PFO From external oscillator through pin 5 of the P2 connector Configuration needed 5812 open 5817 closed R33 removed 5818 R32 C22 C23 X2 don t care No external oscillator From Internal oscillator HSI only and PF1 can be used as GPIO C
23. gram the STM32 on an external application Simply remove the two jumpers from CN4 as shown in Figure 9 and connect your application to the CN3 debug connector according to Table 4 Note SB7 must be OFF if you use the CN3 pin 5 in your external application Table 4 Debug connector CN3 SWD Pin CN3 Designation 1 VDD_TARGET VDD from application 2 SWCLK SWD clock 3 GND Ground 4 SWDIO SWD data input output 5 NRST RESET of target MCU 6 SWO Reserved Doc ID 023594 Rev 3 15 36 Hardware and layout UM1570 16 36 Figure 9 ST LINK V2 connections image CN3 SWD connector CN4 jumpers OFF Doc ID 023594 Rev 3 UM1570 Hardware and layout 4 3 Power supply and power selection The power supply is provided either by the host PC through the USB cable or by an external 5 V power supply The D1 and D2 diodes protect the 5 V and 3 V pins from external power supplies 5Vand3V can be used as output power supplies when another application board is connected to pins P1 and P2 In this case the 5 V and 3 V pins deliver a 5 V or 3 V power supply and power consumption must be lower than 100 mA 5Vand3V can also be used as input power supplies for example when the USB connectors are not connected to the PC In this case the STM32F3DISCOVERY board must be powered by a power supply unit or by auxiliary equipment complying with standard EN 60950 1 2006 1 1 2009 and mus
24. he blinking of the LEDs indicates the gyroscope movements Press the USER button again to enable the MEMS e compass sensor Keep the board in a horizontal position One of the eight LEDs lights up to indicate the direction of the north Tilt the board and the eight LEDs blink again To examine or modify the Discover project related to this demo visit www st com stm32f3discovery and follow the tutorial Discover the STM32F303xx MCU features download and execute programs proposed in the list of projects 10 Develop your own application using the available examples aR System requirements e Windows PC XP Vista 7 USB type A to Mini B USB cable Development toolchain supporting the STM32F3DISCOVERY e TASKING VX toolset Atollic TrueSTUDIO IAR EWARM Embedded Workbench MDK ARM Order code To order the STM32F303xx Discovery kit use the order code STM32F3DISCOVERY Doc ID 023594 Rev 3 ky UM1570 Features 3 Features The STM32F3DISCOVERY offers the following features STM32F303VCT6 microcontroller featuring 256 KB of Flash memory 48 KB of RAM in an LQFP100 package On board ST LINK V2 with selection mode switch to use the kit as a standalone ST LINK V2 with SWD connector for programming and debugging Board power supply through the USB bus or from an external 3 V or 5 V supply voltage External application power suppl
25. l routines loaded in the 8 Kbyte CCM at startup can be completed at full speed with zero wait states achieving 94 Dhrystone MIPS and CoreMark score 155 at 72 MHz SRAM and CCM SRAM with parity bit 32 bit AHB bus matrix DMA controllers Memory protection unit MPU More performance for critical routines with zero wait state execution from safe CCM SRAM Outstanding power efficiency Stop mode down to 5 7 uA typ RTC 2 uA typ in VBAT mode 2 0 to 3 6 V or 1 8 V 8 power supply range Flexibility to reduce power consumption for applications requiring advanced analog peripherals and low power modes Running at low voltage or on a rechargeable battery Doc ID 023594 Rev 3 11 36 Hardware and layout UM1570 Maximum integration Up to 256 Kbytes of on chip Flash memory 48 Kbytes of SRAM reset circuit internal RCs PLLs more features in space constrained applications e Superior and innovative peripherals Analog 4x 12 bit ADC 5 MSPS reaching 18 MSPS in interleaved mode fast comparators 50 ns programmable gain amplifiers 4 gains 196 accuracy 12 bit DACs Upto 13 timers one 32 bit TIM2 and 12 16 bit timers running up to 144 MHz TIM1 8 or 72 MHz Audio simplex or full duplex 125 interfaces Up to 12 communication interfaces including 5x USART 9 Mbit s SPls 2x 1255 18 Mbit s 2x 1 MHz fast mode plus CAN 1 Mbit s USB full speed Cyclic redundancy
26. ng ST LINK V2 to program debug an external STM32 application 15 4 3 Power supply and power selection 17 4 4 LEDS en alae ae ee ees Ae eee 17 4 5 PUSNDUTIONS ERR EG ee ae 17 45 USB device supported 18 4 7 E compass accelerometer MEMS ST MEMS LSM303DLHC 18 48 Gyroscope MEMS ST MEMSL3GD20 18 49 JP3 ldd os sce ee ewe ARREDRE RR E 18 OSC COCK icq ick e A ACRES ERA 19 4104 OSCclocksupply 19 4102 OSC32kHzclocksupply 19 4 11 Solder bridges 20 4 12 Extension connectors 21 5 Mechanical drawing 30 6 STM32F3DISCOVERY electrical schematics 31 7 REVISION history 35 2 36 Doc ID 023594 Rev 3 ky UM1570 List of figures List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 STMS2FSDISCOVERY inns aether he dde ceases ecd e f Rh vx 1 Hardware block 8 Board layout top
27. ng wrapping board STM32F303VCT6 GPI Os are available on these connectors P1 and P2 can also be probed by an oscilloscope logical analyzer or voltmeter Table 6 STM32F303VCT6 MCU pin description versus board function MCU pin Board function gt 5 8 function Alternate functions 8 u 9 8 5 5 5 2 BOOTO 94 19 i NRST 14 N 3 514 n gt TIM2_CH1_ETR G1 101 USART2_CTS 1 OUT ER TIM8_BKIN TM8_ETR TIM2_CH2 1 102 1 USART2_RTS 24 9 TIM15 CH1N CH3 G1 USART2 TX PA2 COMP2 OUT 25 14 TIM15 1 AOP1 OUT 2 CH4 G1 104 USART2_RX 26 11 TIM15 CH2 2 G2 101 SPI1_NSS NSS I2S3 WS 29 76 USART2_CK 2 2 102 sck 30 d us o ky Doc ID 023594 Rev 3 21 36 Hardware and layout UM1570 Table 6 STM32F303VCT6 MCU pin description versus board function continued MCU pin Board function Main function PA6 Alternate functions TIM16_CH1 TIM3_CH1 G2 103 TIM8 BKIN SPI1_MISO TIM1_BKIN AOP2 OUT 1 OUT LQFP100 pin num LSM303DLHC L3GD20 Pushbutton LED SAO SDO SWD USB OSC Free I O Power supply CN3 P1 18 P2 PA7 TIM17_CH1 TIM3_CH2 62 104 TIM8 1 SPI1_MOSI
28. onfiguration needed 5812 open 5817 closed 5818 closed R32 removed R33 removed C22 C23 X2 don t care OSC 32 kHz clock supply The following information indicates all configurations for the 32 kHz clock supply selection Oscillator on board From Crystal not provided Configuration needed SB14 open 5816 open R29 R30 C14 C26 soldered Oscillator from external PC14 From external oscillator through the pin 7 of P2 connector Configuration needed 5814 open R29 removed 5816 R30 C14 C26 don t care No external oscillator PC14 and PC15 can be used as GPIO Configuration needed 5814 closed 5816 closed R29 removed R30 removed C14 C26 don t care Doc ID 023594 Rev 3 19 36 Hardware and layout UM1570 4 11 Solder bridges Table 5 Solder bridges Bridge State Description SB17 18 OFF X1 C22 C23 R32 and R33 provide a clock PFO PF1 are disconnected from P2 X1 crystal 2 ON PF1 are connected to P2 R32 and R33 must not be fitted SB1 3 5 8 default ON Reserved do not modify SB2 4 6 9 reserved OFF Reserved do not modify C14 C26 R29 and R30 deliver 32 KHz clock PC14 PC15 are not SB14 16 ii connected to P2 VIP a ON PC14 PC15 are only connected to P2 Remove only R26 R29 SB23 ON 182 Push Button is connected to NRST of STM32F303VCT6 B2
29. r D STMicroelectronics Title STM32F3DISCOVERY Peripherals NumberMB1035 Rev 1 5 Date 9 13 2012 Shed of 4 1 3 4 AH3JAOOSIGE JCEIN LS OZSLINN UM1570 Revision history 7 Revision history Table 7 Document revision history Date Revision Changes 10 Sep 2012 1 Initial release 20 Sep 2012 2 Added Figure 7 on page 14 and updated Figure 14 on page 34 07 Feb 2013 5 255 Updated Section 4 1 STM32F303VCT6 microcontroller removed WLCSP package Sigma Delta ADC CEC updated timers and Doc ID 023594 Rev 3 35 36 UM1570 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
30. s AF 1 Channel 1 Comp TIMER 17 K N T Channel BRK as AF 5 4 Channels 2 8 4 Comp channels TIMER 1 PWM lt 1 INxx OUTxx ETR BRK as AF 2 INxx OUTxx NN ey UMERSEEMM BRK as AF K gt svsere Nerone OpAmp4 INxx OUTxx lt gt N K gt SCK NSS as AF GP Comparator 7 RX TX CTS RTS 4 2 GP Comparator SmartCard as AF lt gt USARTI GP Comparator 1 or MS18960V4 Xx Ins 7 OUTs as AF Doc ID 023594 Rev 3 13 36 Hardware and layout UM1570 4 2 4 2 1 14 36 Embedded ST LINK V2 The ST LINK V2 programming and debugging tool is integrated on the STM32F3DISCOVERY The embedded ST LINK V2 can be used in two different ways according to the jumper states Table 3 e Program debug the MCU on board e Program debug
31. t be safety extra low voltage SELV with limited power capability Note The board can be also powered through the USB USER connector and is protected by D4 and D5 diodes when both USBs are connected in which case the 5 V power is around 4 4 volts 4 4 LEDs 101 PWR red LED indicates that the board is powered e 102 COM LD2 default status is red LD2 turns to green to indicate that communications in progress between the PC and the ST LINK V2 e User LD3 red LED is a user LED connected to the I O PE9 of the STM32F303VCT6 e User LD4 blue LED is a user LED connected to the I O of the STM32F303VCT6 User LD5 orange LED is a user LED connected to the I O PE10 of the STM32F303VCT6 User LD6 green LED is a user LED connected to the I O PE15 of the STM32F303VCT6 User LD7 green LED is a user LED connected to the I O PE11 of the STM32F303VCT6 User LD8 orange LED is a user LED connected to the I O PE14 of the STM32F303VCT6 e User LD9 blue LED is a user LED connected to the I O PE12 of the STM32F303VCT6 e UserLD10 red LED is a user LED connected to the I O PE13 of the 2 4 5 Pushbuttons USER user and wake up button connected to the I O PAO of the STM32F303VCT6 2 RESET pushbutton connected to NRST is used to RESET the STM32F303VCT6 Doc ID 023594 Rev 3 17 36 Hardware and layout UM1570 4 6 4 7 4 8 4 9 18 36 USB device supported The STM3
32. tion versus board function continued MCU pin Board function c rI 9 9 Fle ain ala 5 2 7 function Alternate functions 8 9 o 9 515 18 2 513 l 5V 1 5V 2 3V 1 3V 2 20 gt a 2 3 a 2 49 49 a 2 50 50 ky Doc ID 023594 Rev 3 29 36 Mechanical drawing UM1570 5 30 36 Mechanical drawing Figure 10 STM32F3DISCOVERY mechanical drawing 33 82mm 101 288 8 rcs pone 66 00 o o 5 ag yww st com stm32f3discovery R29 E za m im mz 5 8888 53 34mm 16 04mm 15 24mm 97 00mm Doc ID 023594 Rev 3 3 2 lt 96 16 6 Figure 11 STM32F3DISCOVERY electrical schematics STM32F3DISCOVERY top level STM32F3 USARTI RX PCS STM32F3 USARTI TX PC4 ST_LINK_V2 SCHDOC U_ST_LINK PF4 PAS Header 25X2 TCK SWCLK TMS SWDIO T SWO T NRST STM32Fx SchDoc
33. y 3 V and 5 V L3GD20 ST MEMS motion sensor 3 axis digital output gyroscope LSM303DLHC ST MEMS system in package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor Ten LEDs LD1 red for 3 3 V power on 102 red green for USB communication A Eight user LEDs LD3 10 LD4 9 blue LD5 8 orange and LD6 7 green Two pushbuttons user and reset USB USER with Mini B connector Extension header for LQFP100 I Os for quick connection to prototyping board and easy probing A large number of free ready to run application firmware examples are available at www st com stm32f3discovery to support quick evaluation and development Doc ID 023594 Rev 3 7 36 Hardware and layout UM1570 4 8 36 Hardware and layout The STM32F3DISCOVERY is designed around the STM32F303VCT6 microcontroller in a 100 pin LQFP package Figure 2 illustrates the connections between the STM32F303VCT6 and its peripherals ST LINK V2 pushbutton LED USB Gyroscope ST MEMS E compass with accelerometer ST MEMS and connectors Figure 2 and Figure 3 help you to locate these features on the STM32F3DISCOVERY Figure 2 Hardware block diagram Mini USB Embedded ST LINK V2 LEDs LD3 LD10 L3GD20 LSM303DLHC Mini USB Doc ID 023594 Rev 3 ky UM1570 Hardware and layout Figure 3 Board layout top view LD1 red LED PWR CN3 SWD connector

Download Pdf Manuals

image

Related Search

Related Contents

  Ion PGM™ Hi‑Q™ Sequencing Kit User Guide (Pub. no  kaduva inox - Billiger.de  Ventosa 604.12GBE PORTUGUES  p500 ver 2.0 user manual    RD1000™  

Copyright © All rights reserved.
Failed to retrieve file