Discovery kit for STM32F303xx microcontrollers Introduction The STM32F3DISCOVERY is designed to help you explore the features of the STM32 F3 32-bit ARM® Cortex™-M4 mixed-signal MCU, and develop your applications. It is based on an STM32F303VCT6 and includes an ST-LINK/V2 embedded debug tool interface, Gyroscope ST MEMS, E-compass with accelerometer ST MEMS, LEDs, pushbuttons and a USB mini-B connector.
UM1570 Conventions 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 2 5/36...
Check the jumper positions on the board, JP3 on, CN4 on (DISCOVERY selected). 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.
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.
Hardware and layout UM1570 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).
UM1570 Hardware and layout Figure 3. Board layout (top view) Note: Pin 1 of CN3, CN4, JP3, JP4, P1 and P2 connectors are identified by a square. Doc ID 023594 Rev 2 9/36...
Hardware and layout UM1570 Figure 4. Board layout (bottom view) RoHS 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 2...
UM1570 Hardware and layout 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 This device provides the following benefits. ●...
Page 12
Hardware and layout UM1570 ● Maximum integration: – Up to 256 Kbytes of on-chip Flash memory, 48 Kbytes of SRAM, reset circuit, internal RCs, PLLs, WLCSP package available, More features in space- constrained applications. ● Superior and innovative peripherals: – Analog: 4x 12-bit ADC 5 MSPS reaching 18 MSPS in interleaved mode, 3x 16-bit Sigma Delta ADC up to 50 KSPS, fast comparators (50 ns), programmable gain amplifiers (4 gains, 1% accuracy).
Hardware and layout UM1570 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 ● Program/debug the MCU on board, ●...
STM32F3DISCOVERY connections image 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 program the STM32 on an external application. Simply remove the two jumpers from CN4 as shown in Figure 9, and connect your...
5 V and 3 V 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+A11/2009, and must be safety extra low voltage (SELV) with limited power capability.
The STM32F303VCT6 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.
OSC clock supply The following information indicates all configurations for clock supply selection. ● MCO from ST-LINK. From MCO of the STM32F103C8T6. This frequency cannot be changed, it is fixed at 8 MHz and connected to PF0-OSC_IN of the STM32F303VCT6. Configuration needed: –...
Hardware and layout UM1570 4.11 Solder bridges Table 5. Solder bridges Bridge State Description X1, C22, C23, R32 and R33 provide a clock. PF0, PF1 are disconnected from P2. SB17,18 (X1 crystal) PF0, PF1 are connected to P2 (R32 and R33 must not be fitted). SB1,3,5,8 (default) Reserved, do not modify SB2,4,6,9 (reserved)
Hardware and layout 4.12 Extension connectors The male headers P1 and P2 can connect the STM32F3DISCOVERY to a standard prototyping/wrapping board. STM32F303VCT6 GPI/Os are available on these connectors. P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.
Page 22
Hardware and layout UM1570 Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function TIM16_CH1, TIM3_CH1, G2_IO3, TIM8_BKIN, SPI1_MISO, TIM1_BKIN, AOP2_OUT, COMP1_OUT TIM17_CH1, TIM3_CH2, G2_IO4, TIM8_CH1N, SPI1_MOSI, TIM1_CH1N, COMP2_OUT MCO, I2C2_SMBAL, I2S2_MCK, TIM1_CH1, USART1_CK, COMP3_OUT,...
Page 23
UM1570 Hardware and layout Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function TIM16_CH1, TIM1_CH2N, USART1_RTS, PA12 COMP2_OUT, CAN_TX, TIM4_CH2, TIM1_ETR, USBDP JTMS-SWDAT, TIM16_CH1N, PA13 G4_IO3, IR-Out, USART3_CTS, TIM4_CH3 JTCK-SWCLK, G4_IO4, I2C1_SDA, PA14 TIM8_CH2, TIM1_BKIN,...
Page 24
Hardware and layout UM1570 Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function NJTRST, TIM16_CH1, TIM3_CH1, G5_IO2, TIM8_CH2N, SPI1_MISO, SPI3_MISO/I2S3_DIN, USART2_RX, TIM17_BKIN TIM16_BKIN, TIM3_CH2, TIM8_CH3N, I2C1_SMBAL, SPI1_MOSI, SPI3_MOSI/I2S3_DO UT, USART2_CK, TIM17_CH1 TIM16_CH1N, TIM4_CH1, G5_IO3, I2C1_SCL,...
Page 25
UM1570 Hardware and layout Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function G6_IO2, I2C2_SMBAL, SPI2_NSS/I2S2_WS, PB12 TIM1_BKIN, USART3_CK, AOP4_OUT G6_IO3, SPI2_SCK/I2S2_CK, PB13 TIM1_CH1N, USART3_CTS TIM15_CH1, G6_IO4, SPI2_MISO/I2S2_DIN, PB14 TIM1_CH2N, USART3_RTS TIM15_CH2, TIM15_CH1N, PB15...
Page 26
Hardware and layout UM1570 Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function TIM3_CH4, TIM8_CH4_BKIN2, COMP3_OUT TIM8_CH1N, UART4_TX, PC10 SPI3_SCK/I2S3_CK, USART3_TX TIM8_CH2N, UART4_RX, PC11 SPI3_MISO/I2S3_DIN, USART3_RX TIM8_CH3N, UART5_TX, PC12 SPI3_MOSI/ I2S3_DOUT, USART3_CK PC13 TIM1_CH1N...
Page 27
UM1570 Hardware and layout Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function TIM2_CH4, USART2_RX TIM2_CH3, USART2_CK USART3_TX USART3_RX PD10 USART3_CK PD11 USART3_CTS TIM4_CH1, G8_IO1, PD12 USART3_RTS PD13 TIM4_CH2, G8_IO2 PD14 TIM4_CH3, G8_IO3 TIM4_CH4, G8_IO4, PD15...
Page 28
Hardware and layout UM1570 Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function TIM1_CH1N TIM1_CH1 PE10 TIM1_CH2N PE11 TIM1_CH2 PE12 TIM1_CH3N PE13 TIM1_CH3 PE14 TIM1_CH4_BKIN2 TIM1_BKIN, PE15 USART3_RX OSC_IN, I2C2_SDA, TIM1_CH3N OSC_OUT, I2C2_SCL COMP1_OUT TIM4_CH4,...
Page 29
UM1570 Hardware and layout Table 6. STM32F303VCT6 MCU pin description versus board function (continued) MCU pin Board function Main Alternate functions function Doc ID 023594 Rev 2 29/36...
UM1570 Revision history Revision history Table 7. Document revision history Date Revision Changes 10-Sep-2012 Initial release. 20-Sep-2012 Added Figure 7 on page 14 and updated Figure 14 on page 34 Doc ID 023594 Rev 2 35/36...
Page 36
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.
Need help?
Do you have a question about the STM32F3DISCOVERY and is the answer not in the manual?
Questions and answers