Discovery kit for STM32F3 series with STM32F334C8 MCU
Introduction
The STM32F334 discovery kit (32F3348DISCOVERY) helps the user discover the full range
of features of the STM32F334 line and develop applications. It is based on
STM32F334C8T6 and includes ST-LINK/V2-1 embedded debug tool interface,
high-brightness LED dimming with buck converter, buck/boost converter, LEDs and
pushbuttons.
The board comes with a comprehensive STM32 software HAL library with various packaged
software examples, as well as direct access to mbed™ online resources at http://mbed.org.
Table 1 provides the definition of some conventions used in the present document.
Table 1. ON/OFF conventions
ConventionDefinition
Jumper JPx ONJumper fitted
Jumper JPx OFFJumper not fitted
Solder bridge SBx ONSBx connections closed by Solder
Solder bridge SBx OFFSBx connections left open
6/33DocID025953 Rev 2
Page 7
UM1735Ordering and product information
2 Ordering and product information
The STM32F334 discovery kit is a low-cost and easy-to-use development kit to quickly
evaluate and start a development with an STM32F3 series microcontroller.
Before installing and using the product, please accept the Evaluation Product License
Agreement from www.st.com/epla.
For more information on the STM32F334 discovery board and for demonstration software,
visit www.st.com/stm32f3-discovery.
2.1 Product marking
Tools marked as "ES" or "E" are not yet qualified and as such, they may be used only for
evaluation purposes. ST shall not be liable for any consequences related with other ways of
use of such non-qualified tools, for example, as reference design or for production.
Examples of location of "E" or "ES" marking:
•on target STM32 microcontroller part mounted on the board (for illustration, refer to
section "Package information" in its datasheet at www.st.com)
•next to the evaluation tool ordering part number, as a label stuck or a silk-screen
printed on the board
2.2 Order code
To order the Discovery kit for STM32F334 line microcontrollers, use the order code:
STM32F3348-DISCO.
DocID025953 Rev 27/33
32
Page 8
FeaturesUM1735
3 Features
The STM32F334 discovery board offers the following features:
•STM32F334C8T6 microcontroller featuring 64 Kbytes of Flash memory, 16 Kbytes of
RAM in an LQFP48 package
•on-board ST-LINK/V2-1 with selection mode switch to use the kit as a standalone
programming and debugging tool (with SWD connector for programming and
debugging)
•mbed™-enabled (mbed.org)
•USB ST-LINK with re-enumeration capability and three different interfaces:
–virtual COM port
–mass storage
–debug port
•board power supply: through USB bus or from an external 5 V supply voltage
•external application power supply: 3 V and 5 V
•high brightness LED dimming with buck converter
•one buck/boost converter
•six LEDs:
–LD1 (red) for 3.3 V power on
–LD2 (red/green) for USB communication
–four user LEDs: LD3 (red), LD4 (orange), LD5 (green) and LD6 (blue)
•two pushbuttons (user and reset)
•extension header for LQFP48 I/Os for a quick connection to the prototyping board and
easy probing
8/33DocID025953 Rev 2
Page 9
UM1735Hardware layout
069
4 Hardware layout
The STM32F334 discovery board has been designed around the STM32F334C8T6
microcontroller in a 48-pin LQFP package.
Figure 2 illustrates the connections between the STM32F334C8T6 and its peripherals
(ST-LINK/V2-1, high brightness LED dimming with buck converter, buck/boost converter,
LEDs, pushbuttons).
Figure 3 and Figure 4 help you to locate these features on the STM32F334 discovery board.
The ST-LINK/V2-1 programming and debugging tool is integrated on the STM32F334
discovery board.
The embedded ST-LINK/V2-1 tool supports only SWD for STM32 devices. For information
about debugging and programming features, refer to user manual UM1075 (ST-LINK/V2 incircuit debugger/programmer for STM8 and STM32) that describes in detail all the STLINK/V2 features.
The changes versus ST-LINK/V2 are listed below.
•New features supported on ST-LINK/V2-1:
–USB software re-enumeration
–virtual COM port interface on USB (Section 4.1.3)
–mass storage interface on USB
–USB power management request for more than 100 mA power on USB
•Features not supported on ST-LINK/V2-1:
–SWIM interface
–minimum supported application voltage limited to 3 V
There are two different ways to use ST-LINK/V2-1, depending on the jumper states (see
Table 2 ):
•program/debug the MCU on board (Section 4.1.4)
•program/debug an MCU in an external application board using a cable connected to
SWD connector CN3 (Section 4.1.5)
Table 2. Jumper states
Jumper stateDescription
Both CN3 jumpers ONST-LINK/V2-1 functions enabled for on board programming (default)
Both CN3 jumpers OFF
ST-LINK/V2-1 functions enabled for application through external CN2
connector (SWD supported)
4.1.1 Drivers
ST-LINK/V2-1 requires a dedicated USB driver that, for Windows XP, 7 and 8, can be found
at www.st.com.
In case the STM32F334 discovery board is connected to the PC before the driver is
installed, some discovery interfaces may be declared as “Unknown” in the PC device
manager. In this case the user must install the driver files (Figure 5), and from the device
manager update the driver of the connected device.
Note:Prefer using the “USB Composite Device” handle for a full recovery.
12/33DocID025953 Rev 2
Page 13
UM1735Hardware layout
Figure 5. Updating the list of drivers in device manager
4.1.2 ST-LINK/V2-1 firmware upgrade
ST-LINK/V2-1 embeds a firmware upgrade mechanism for in-situ upgrade through the USB
port. As the firmware may evolve during the life time of the ST-LINK/V2-1 product (for
example new functionality, bug fixes, support for new microcontroller families), it is
recommended to visit www.st.com periodically in order to stay up-to-date with the latest
firmware version.
4.1.3 VCP configuration
ST-LINK/V2-1 supports virtual COM port (VCP). To enable this function, the solder bridges
SB14 and SB16 (See Figure 4: Bottom layout) for mbed support are closed. Table 4: Solder
bridges indicates this with ON state.
DocID025953 Rev 213/33
32
Page 14
Hardware layoutUM1735
4.1.4 Using ST-LINK/V2-1 to program/debug the STM32F334 MCU
on board
To program the STM32F334 MCU on board, simply plug in the two jumpers on CN3, as
shown in Figure 6 in red, but do not use the CN2 connector as that could disturb
communication with the STM32F334C8T6 of the STM32F334 discovery board.
Figure 6. STM32F334 discovery board connections
14/33DocID025953 Rev 2
Page 15
UM1735Hardware layout
4.1.5 Using ST-LINK/V2-1 to program/debug an external STM32 application
It is very easy to use ST-LINK/V2-1 to program an STM32 microcontroller on an external
application. Simply remove the 2 jumpers from CN3 as shown in Figure 7 and connect your
application to the CN2 debug connector according to Tab l e 3.
Note:SB11, must be OFF if you use CN2 pin 5 (NRST) in your external application.
SB17, must be OFF if you use CN2 pin 6 (SWO) in your external application.
Table 3. Debug connector CN2 (SWD)
PïnCN2Designation
1VDD_TARGETVDD from application
2SWLCKSWD clock
3GNDGround
4SWDIOSWD data input/output
5NRSTRESET of target MCU
6SWOReserved
DocID025953 Rev 215/33
32
Page 16
Hardware layoutUM1735
Figure 7. ST-LINK/V2-1 connections
4.2 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 STM32F334 discovery board requires to the Host PC 500mA, but around 300mA is
needed for its demo, 100mA for an extension board and a safety margin of 100mA.
The D2 and D3 diodes protect the 5 V pins from external power supplies:
•5 V and 3 V can be used as output power supplies when an extension board is
connected to pins P1 and P2.
In this case, the 5V_O and 3V_O pins deliver a 5 V or 3.3 V power supply and the
power consumption of the extension board must be lower than 100 mA.
•5 V can also be used as input power supplies, e.g. when the USB connector is not
connected to the PC. ( 5V_I pin of P1 Header)
In this case, the STM32F334 discovery board must be powered by a power supply unit
16/33DocID025953 Rev 2
Page 17
UM1735Hardware layout
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.
4.2.1 Power supply input from the USB connector
ST-LINK/V2-1 supports USB power management allowing to request more than 100 mA
current to the host PC.
All parts of the STM32F334 discovery board and extension board can be powered from the
ST-LINK/V2-1 USB connector CN1 (U5V or VBUS). Note that only the ST-LINK/V2-1 part is
power supplied before the USB enumeration as the host PC only provides 100 mA to the
board at that time. During the USB enumeration, the STM32F334 discovery board requires
500 mA of current to the Host PC. If the host is able to provide the required power, the
targeted STM32 microcontroller is powered and the red LED LD1 is turned on, thus the
STM32F334 discovery board and its extension board can consume a maximum of 500 mA
current, not more. If the host is not able to provide the required current, the targeted STM32
microcontroller and the MCU part including the extension board are not power supplied. As
a consequence the red LED LD1 remains turned OFF. In such case it is mandatory to use
an external power supply as explained in the next chapter.
Warning: If the maximum current consumption of the STM32F334 discovery and its
extension boards exceeds 500 mA, it is mandatory to power the STM32F334 discovery
using an external power supply connected to 5V_IN.
Note:In case of this board is powered by an USB charger or USB battery then there is no USB
enumeration so the led LD1 remains OFF permanently and the target MCU is not powered.
In this specific case the jumper JP1 needs to be ON to allow target MCU to be powered
anyway. This is a special use without enumeration and JP1 is not soldered. To use this
optional power supply, solder a 2 pins header in JP1 and set a jumper (you can use a
jumper plugged on P3 or P4)
4.2.2 External power supply inputs: 5V_IN
The external power source 5V_IN is automatically detected, in this case the current
consumption of STM32F334 discovery board and extension board exceed the allowed
current on USB. In this condition it is still possible to use the USB for communication, for
programming or debugging only, but it is mandatory to power supply the board first using
5V_IN then connect the USB cable to the PC. Proceeding this way ensures that the
enumeration occurs thanks to the external power source.
The following power sequence procedure must be respected:
1.Connect the external power source to 5V_IN.
2. Power on the external power supply 5V_IN.
3. Check that LD1 is turned on.
4. Connect the PC to USB connector CN1.
If this order is not respected, the board may be supplied by VBUS first then by 5V_IN, and
the following risks may be encountered:
DocID025953 Rev 217/33
32
Page 18
Hardware layoutUM1735
1.If more than 500 mA current is needed by the board, the PC may be damaged or the
current supply can be limited by the PC. As a consequence the board is not powered
correctly.
2. 500 mA is requested at enumeration (since JP1 must be OFF) so there is risk that the
request is rejected and the enumeration does not succeed if the PC cannot provide
such current. Consequently the board is not power supplied (LED LD1 remains OFF).
4.3 LEDs
•LD1 PWR:
The red LED indicates that the board is powered.
•LD2 COM:
LD2 default status is red. LD2 turns to green to indicate that communications are in
progress between the PC and ST-LINK/V2-1.
•User LD3:
The red LED is a user LED connected to the I/O PB6 of the STM32F334C8T6.
•User LD4:
The orange LED is a user LED connected to the I/O PB8 of the STM32F334C8T6.
•User LD5:
The green LED is a user LED connected to the I/O PB9 of the STM32F334C8T6.
•User LD6:
The blue LED is a user LED connected to the I/O PB7 of the STM32F334C8T6.
4.4 Pushbuttons
•B1 USER:
User and Wake-Up button connected to the I/O PA0 of the STM32F334C8T6.
•B2 RESET:
The pushbutton connected to NRST is used to RESET the STM32F334C8T6.
4.5 High brightness LED dimming with buck converter
The STM32F334 discovery integrates a high brightness LED dimming feature. This function
has been designed with on-chip peripherals MCU to reduce the number of external
components generally included in analog components based solutions for LED dimming.
The default LED Voltage supply is 5 Volts from 5V_OUT signal or can be provided by an
external voltage through CN4 (Vext signal) and by removing the solder of SB18. This
external voltage must be between 5 and 15 Volts.
LED information:
•reference LE-CWC12100-D, 1W, Everluck
•VF = 2.8V Typical
•IF = 350mA Max
18/33DocID025953 Rev 2
Page 19
UM1735Hardware layout
To design a high brightness LED dimming application, refer to the following documentation
and firmware:
•For details concerning I/O ports, refer to the STM32F334C8T6 datasheet.
•For information on software development, see DISCOVER application software on
www.st.com/stm32f3-discovery.
•For more detail concerning high brightness LED dimming, refer to AN4885 high
brightness LED dimming using the STM32F334 discovery kit.
•STM32Cube library available from www.st.com/stm32f3-discovery.
Warning: The high brightness of this LED can be very dangerous for your eyes...
For safety reasons, the maximum high brightness LED forward current has been limited by
software to 250 mA and an optical cube-shaped protection has been placed over the LED.
Do not override this current limitation and do not remove the optical protection while the
LED is operating.
The STM32F334C8T6 MCU controls this high brightness LED dimming feature through the
High-Resolution Timers interface.
Note:If LED buck converter is used then buck/boost converter cannot be enabled.
4.6 Buck/boost converter
The STM32F334 discovery includes a buck/boost converter. This DC/DC converter function
has been designed with on-chip peripherals MCU and is able to convert an input Voltage
(Vin on CN5) from 3 Volts to 15 Volts to an output voltage (Vout on CN7) from 3 Volts to 15
Volts.
Input current on Vin (CN5) or output current on Vout (CN7) are limited to 500 mA max.
Whatever the input or output voltage conditions are.
The STM32F334C8T6 MCU controls this Buck / Boost converter feature through the HighResolution Timers interface.
To design a buck/boost converter application, refer to the following documentation and
firmware:
•For details concerning I/O ports, refer to the STM32F334C8T6 datasheet.
•For information on software development, see DISCOVER application software on
www.st.com/stm32f3-discovery.
•For more detail concerning the buck/boost converter, refer to AN4449 buck boost
converter using the STM32F334 discovery kit.
•STM32Cube library available from www.st.com/stm32f3-discovery.
Note:If buck/boost converter is used then LED buck converter cannot be enabled.
4.7 JP3 (Idd)
Jumper JP3, labeled Idd, allows the consumption of STM32F334C8T6 to be measured by
removing the jumper and connecting an ammeter.
•Jumper on: STM32F334C8T6 is powered (default).
•Jumper off: an ammeter must be connected to measure the STM32F334C8T6 current,
(if there is no ammeter, the STM32F334C8T6 is not powered).
DocID025953 Rev 219/33
32
Page 20
Hardware layoutUM1735
4.8 BOOT0 Configuration
BOOT0 is at level “0” through a pull-down R31. If you want to set BOOT0 at level “1”, it can
be configured by setting a jumper between P2.6 (BOOT0) and P2.5 (VDD).
This facility is offered for fast and instantaneous configuration.
Note:If you need to set BOOT0 at level "1" continuously, then unsolder the resistor R31 to avoid a
consumption of 6 mA while connecting pin P2.6 (BOOT0) and P2.5 (VDD) with a jumper or
with a wire.
4.9 USART configuration
The USART2 interface available on PB3 and PB4 of the STM32F334C8T6 can be
connected to ST-LINK/V2-1 MCU to use the virtual COM port function.
By default the USART2 communication between the target STM32F334C8T6 and
ST-LINK/V2-1 MCU is not enabled.
To use the virtual COM port function with:
•The on-board STM32F334C8T6, then set SB14 and SB16 ON.
•An external MCU then remove solder from SB14 and SB16, solder an 2 pins header on
JP4, then you can connect RX and TX of the external MCU directly to RX and TX of
JP4.
4.10 OSC clock supply
If PF0 and PF1 are only used as GPIOs instead of as a clock, then SB13 and SB15 are
closed and R29 and R30 are removed. (SB12 must be open)
MCO from ST-LINK/V2-1 (from MCO of the STM32F103CBT6)
This frequency cannot be changed, it is fixed at 8 MHz and connected to PF0-OSC_IN of
the STM32F334C8T6. The configuration needed is:
–SB12 closed and SB13 open
–R30 removed
HSE Oscillator on board from X2 crystal (not provided)
For typical frequencies and its capacitors and resistors, please refer to the
STM32F334C8T6 Datasheet. The configuration needed is:
–SB12, SB13, SB15 open
–X2, R29, R30, C20, C21 soldered
Oscillator from external PF0 (from external oscillator through pin 7 of the P1 connector)
The configuration needed is:
–SB13 closed
–SB12 open
–R30 removed
Note:Please refer to the AN2867 for oscillator design guide for STM32 microcontrollers.
20/33DocID025953 Rev 2
Page 21
UM1735Hardware layout
4.11 Solder bridges
Table 4. Solder bridges
BridgeState
(1)
Description
SB13, 15 (X2 crystal)
OFFX2, C20, C21, R29 and R30 provide a clock. PF0, PF1 are disconnected from P1.
ONPF0, PF1 are connected to P1 Remove only R29 and R30
SB3,5,8,10 (default)ON Reserved, do not modify
SB2,4,7,9 (reserved) OFFReserved, do not modify
ON B2 Push Button is connected to NRST of STM32F334C8T6
SB20 (B2-RESET)
OFFB2 Push Button is not connected to NRST of STM32F334C8T6
ONB1 Push Button is connected to PA0
SB21 (B1-USER)
OFFB1 Push Button is not connected to PA0
PA2, PA3 of STM32F103CBT6 are not connected to PB4, PB3 of
STM32F334C8T6
PA2, PA3 of STM32F103CBT6 are connected to PB4, PB3 of STM32F334C8T6,
then SW0 cannot be used and SB17 must be OFF
SB14, 16
(VCP RX, TX)
OFF
(2)
ON
ON LED Buck is powered from 5V_OUT
SB18 (Vext)
OFFLED Buck is powered from CN4
ON Default position.
SB22 (L3)
OFFUse CN6 for Current measurement.
SB1 (ST-LINK/V2-1
PWR)
ON ST-LINK/V2-1 module is powered
OFFST-LINK/V2-1 module is not powered
ON Default position.
SB19 (LED)
OFFUse it connecting 2 wires for Current measurement.
SB11 (NRST)
ON
T_NRST signal from connector CN2 and STM32F103CBT6, is connected to
NRST of STM32F334C8T6
OFFT_NRST signal is not connected
OFFSWO signal is not connected
SB17 (SWO)
ON
SWO signal of connector CN3 is connected to PB3, then USART_TX cannot be
used and SB16 must be OFF
OFFNo incidence on NRST signal of STM32F103CBT6
SB6 (STM_RST)
ONNRST signal of STM32F103CBT6 is connected to GND
SB12 (MCO)
ON
MCO clock signal from STM32F103CBT6 is connected to OSC_IN of
STM32F334C8T6.
OFFMCO signal of STM32F103CBT6 is not used.
1. Default value is in bold.
2. Default state is OFF for boards labeled MB1142 B-01 and older.
DocID025953 Rev 221/33
32
Page 22
Hardware layoutUM1735
4.12 Extension connectors
The male headers P1 and P2 can connect the STM32F334 discovery board to a standard
prototyping/wrapping board. STM32F334C8T6 GPI/Os are available on these connectors.
P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter.
Table 5. Extension connectors
MCU pinBoard funtion
(1)
Main function
-
-
BOOT044
NRST7
PA010
PA111
PA212
PA313
PA414
PA515
PA616
PA717
LQFP48 pin num.
-
-
SYSTEM
VCP
-
-
-
-
-
BOOT0
-
NRST
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PushButtons
LED
-
-
-
-
-
-
-
RESET
-
USER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Buck/boost
Vin
Vou t
-
-
-
Vin_Sense
-
Vout_Sense
-
-
-
-
Buck LED
Free I/O
Power SupplyP1P2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
9
-
-
-
11
-
-
-
12
-
-
-
13
-
-
-
14
-
-
-
-
-
PA4
PA5
PA6
PA7
15
-
16
-
17
-
18
CN5
CN7
SBx
-
-
6
-
-
-
-
-
-
-
-
-
-
2
-
-
-
-
-
-
-
-
-
-
-
-
-
2
-
-
-
SB11, 20
SB21
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PA829
22/33DocID025953 Rev 2
-
-
P1_Drive
-
-
-
19
-
-
-
Page 23
UM1735Hardware layout
Table 5. Extension connectors (continued)
MCU pinBoard funtion
(1)
Main function
PA930
PA1031
PA1132
PA1233
PA1334
PA1437
PA1538
LQFP48 pin num.
SYSTEM
-
-
-
-
SWDIO
SWCLK
-
VCP
PushButtons
LED
Buck/boost
Buck LED
Free I/O
Power Supply
P1
P2
CN5
CN7
SBx
-
-
-
-
-
-
-
18
-
-
-
N1_Drive
-
-
-
-
-
-
-
17
-
-
-
N2_Drive
-
-
-
-
-
-
-
16
-
-
-
P2_Drive
-
-
-
-
-
-
-
15
-
-
-
PA1 2
-
-
-
-
-
-
-
-
14
-
-
-
-
-
-
-
-
13
-
-
-
-
-
-
-
12
-
-
-
-
-
-
-
-
-
PA1 5
PB018
PB119
PB220
PB339
PB440
PB541
PB642
-
-
-
SWO
-
-
-
-
-
-
USART_TX
USART_RX
-
-
-
-
-
-
-
19
-
-
-
-
BK_Sense
-
-
-
-
-
-
-
-
-
-
-
-
PB1
PB2
-
-
20
-
21
-
-
-
-
-
-
-
-
-
-
-
11
-
SB17, 16
-
-
-
-
-
-
-
10
-
SB14
-
-
-
-
RED
-
-
PB5
-
-
-
-
-
-
-
9
-
8
-
-
-
DocID025953 Rev 223/33
32
Page 24
Hardware layoutUM1735
Table 5. Extension connectors (continued)
MCU pinBoard funtion
(1)
Main function
PB743
PB845
PB946
PB1021
PB1122
PB1225
PB1326
PB1427
PB1528
LQFP48 pin num.
SYSTEM
-
-
-
-
-
-
-
-
-
VCP
PushButtons
LED
Buck/boost
Buck LED
Free I/O
Power Supply
P1
P2
CN5
CN7
SBx
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
BLUE
ORANGE
GREEN
-
-
-
-
-
-
-
-
-
-
-
-
-
RC
-
-
-
-
-
-
-
PB10
PB11
-
BK_Drive
PB13
-
-
PB15
-
-
-
-
-
-
-
22
-
23
-
-
23
-
-
22
-
-
21
-
-
20
-
-
7
-
4
-
3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PC132
-
-
-
PC143
-
PC154
PF05
PF16
-
-
24/33DocID025953 Rev 2
-
-
-
-
OSC_IN
-
OSC_OUT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PC13
PC14
PC15
-
-
-
-
-
-
-
-
-
3V
5V_IN
-
-
-
-
-
-
-
-
-
-
-
-
SB12, 13
SB15
-
-
4
-
5
6
7
8
-
1
-
-
-
-
-
-
-
-
1
-
-
Page 25
UM1735Hardware layout
Table 5. Extension connectors (continued)
MCU pinBoard funtion
(1)
Main function
-
LQFP48 pin num.
-
SYSTEM
-
VCP
PushButtons
LED
Buck/boost
Buck LED
Free I/O
Power Supply
P1
P2
CN5
CN7
-
-
-
-
-
-
-
-
3
-
5V_OUT
-
-
-
-
-
-
VDD24
-
-
-
-
VDD36
-
-
VDD48
VBAT1
VDDA9
GND23
GND35
GND47
VSSA8
1. Signals available depending on SBx value. Refer to Table 4: Solder bridges or schematics in Section 6.
MOSFETs rep laced by new family, several Resistors and Capacitors values.
Rev A-01 --> PCB label MB1142 A-01
Rev B-01 --> PCB label MB1142 B-01,
DocID025953 Rev 227/33
32
Page 28
Electrical schematicsUM1735
25
ST-LINK/V2-1 (SWD only)
MB1142B-01
28-May-14
Title:
Size:Reference:
Date:Sheet: of
A4
Revision:
STM32F3348-DISCO
Project:
USB_DM
USB_DP
STM_RST
T_JTCK
T_JTCK
T_JTDO
T_JTDI
T_JTMS
STM_JTMS
STM_JTCK
OSC_IN
OSC_OUT
T_NRST
AIN_1
+3V3_ST_LINK
+3V3_ST_LINK
SWIM_IN
SWIM_IN
SWIM
SWIM_RST_IN
SWIM_RST
USB_DM
USB_DP
USB
VCC
1
D-
2
D+
3
ID
4
GND
5
SHELL
6
CN1
USB-MINI-typeB
COM
ST-LINK Power
+3V3_ST_LINK
Board Ident: PC13=0
T_JTCK
T_JTMS
SWD
+3V3_ST_LINK
1
2
3
4
CN3
SB3SB2
SB5SB4
SB8SB7
SB10SB9
STM_JTMS
STM_JTCK
SWCLK
SWDIO
SWD
RESERVED
DEFAULT
+3V3_ST_LINK
T_SWDIO_IN
T_SWO
LED_STLINK
LED_STLINK
+3V3_ST_LINK
Red
_Green
21
34
LD2
LD_BICOLOR_CMS
SWDIO
SWCLK
TCK/SWCLK
TMS/SWDIO
VDD3V
Not Fitted
MCO
MCO
T_JRST
12345
6
CN2
Header 6
AIN_1
T_NRST
T_SWO
NRST
SWO
SB11
SB17
T_NRST
T_SWO
SB6
RC Must be very close to STM32F103 pin 29
51
2
GND
3
4
BYPASS
INH
VinVout
U2 LD3985M33R
D1
BAT60JFILM
Idd
TX
RX
SB14
SB16
USART_RX
USART_TX
Close to JP
Not Fitted
STLINK_TX
STLINK_RX
Not Fitted
LD1
LED, red
C12
100nF
C6
100nF
C16
100nF
C10
100nF
C3
1uF
C11
1uF
C8
100nF
C4
100nF
C9
10nF
C13
20pF
C14
20pF
C15
100nF
C40
20pF
12
X1
8MHz
+3V3_ST_LINK
R16
4K7
R17
2K7
USB_RENUMn
PWR_EXT
PWR_ENn
+3V3_ST_LINK
JP1
312
T1
9013-SOT23
R13
10K
R15
36K
U5V
+3V3_ST_LINK
R14
100
USB_RENUMn
U5V
PA14
PA13
R65
100
R18
100
R6
1K
R23
10K
R91K5
R10 0
R8100K
R11 0
R27
4K7
R28
4K7
R26
100K
R24 10K
R22
100K
R25 [NA]
R3
10K
R4
22
R1
[NA]
R1222R1922R21
22
R2
0
R7
100R5100
PWR_ENn
TP2
TP1
U5V3VEN
1
GND
2
VO
4
NC
5
GND
7
VI
6
PG
3
U1 LD39050PU33R
R20
10K
C1
1uF
C2
100nF
C7
1uF
C5
100nF
+3V3_ST_LINK
5 Volts Output
3 Volts Output
5 Volts From External
SB1
5V_IN
5V_OUT
5V_IN
5 Volts From USB ST-LINK
3V_OUT
JP4
JP3
JP2
+3V3_ST_LINK
+3V3_ST_LINK
D2
STPS1L30AD3STPS1L30A
3
4
5
G
SD
6
2
1
T2
STT7P2UH7
VBAT
1
PA7
17
PC13
2
PA12
33
PC14
3
PB0
18
PC15
4
JTMS/SWDIO
34
OSCIN
5
PB1
19
OSCOUT
6
VSS_2
35
NRST
7
PB2/BOOT1
20
VSSA
8
VDD_2
36
VDDA
9
PB10
21
PA0
10
JTCK/SWCLK
37
PA1
11
PB11
22
PA2
12
PA15/JTDI
38
PA3
13
VSS_1
23
PA4
14
PB3/JTDO
39
PA5
15
VDD_1
24
PA6
16
PB4/JNTRST
40
PB12
25
PB5
41
PB13
26
PB6
42
PB14
27
PB7
43
PB15
28
BOOT0
44
PA8
29
PB8
45
PA9
30
PB9
46
PA10
31
VSS_3
47
PA11
32
VDD_3
48
U3
STM32F103CBT6
Not Fitted
Figure 10. ST-LINK/V2-1 (SWD only)
Jumpers ON --> DISCOVERY Selected
Jumpers OFF --> ST-LINK Selected
28/33DocID025953 Rev 2
Page 29
UM1735Electrical schematics
35
STM32F3348CT6 MCU
MB1142B-01
16-Apr-14
Title:
Size:Reference:
Date:Sheet: of
A4
Revision:
STM32F3348-DISCO
Project:
PB5
PB6PB7
PA4
PA5
PA6
PA7
PA11
PA12
PA9
PA10
PB12
PB13
PB14
PB15
PB10
PB11
PB8
PA0
PB9
PA1
PB1
PB2
PA15
PB3
PB0
PA3
PA13
PA14
PB4
PA2
PA8
BOOT0
MCO
PF1-OSC_OUT
PA0
NRST
PB0
PC15
PC14
BOOT0
PF1
PF0
Must be close to the Crystal
NRST
MCO
12
X2
8MHz
PC13
PF0-OSC_IN
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PA8
PA9
PA10
PA11
PA12
PA13
PA14
PA15
PB1
PB2
PB3
PB4
PB5
PB6PB7
PB8
PB9
PB10
PB11
PB12
PB13
PB14
PB15
PC13
Not Fitted
R31 510
PA0B_USER
SBx Must be very close to the STM32F334
RC
Vout_Sense
P2_Drive
BK_Sense
Vin_Sense
BK_Drive
B_USER
PB6
LD_D
LD_D
LD_U
LD_L
LD_R
LD_U
LD_L
LD_R
VDD
All this block must be very close to the STM32F334
VDDA
VBAT
1
PA7
17
PC13
2
PA12
33
PC14
3
PB0
18
PC15
4
PA13
34
PF0/OSCIN
5
PB1
19
PF1/OSCOUT
6
VSS_2
35
NRST
7
PB2
20
VSSA
8
VDD_2
36
VDDA
9
PB10
21
PA0
10
PA14
37
PA1
11
PB11
22
PA2
12
PA15
38
PA3
13
VSS_1
23
PA4
14
PB3
39
PA5
15
VDD_1
24
PA6
16
PB4
40
PB12
25
PB5
41
PB13
26
PB6
42
PB14
27
PB7
43
PB15
28
BOOT0
44
PA8
29
PB8
45
PA9
30
PB9
46
PA10
31
VSS_3
47
PA11
32
VDD_3
48
U4
STM32F334C8T6
PC14
PC15
PF1-OSC_OUT
PF0-OSC_IN
VDD
VDD
VDD
BOOT0
BK_Drive
BK_SensePB0
PB12
Vout_Sense
Vin_SensePA1
PA3
RC
P2_DrivePA11
PB14
N1_Drive
N2_DrivePA10
PA9
P1_DrivePA8
N1_Drive
P1_Drive
N2_Drive
SWCLK
SWDIO
SWDIO
SWCLKPA14
PA13
C25
100nF
C24
100nF
C17
100nF
L1
Ferrite
C22
100nF
USART_TX
USART_RX
PB3
PB4
VDDA
PB7
PB8
PB9
VDD
USART_TX
USART_RX
SWO
SWOPB3
C21
20pF
C20
20pF
R29 220
R30
0
SB12
SB13
SB15
C18
1uF
C19
100nF
Figure 11. STM32F334C8T6 MCU
DocID025953 Rev 229/33
32
Page 30
Electrical schematicsUM1735
45
LED BUCK converter
MB1142B-01
14-May-14
Title:
Size:Reference:
Date:Sheet: of
A4
Revision:
STM32F3348-DISCO
Project:
NRST
NRST
RESET Button
VDD
R42
[NA]
VDD
B_USER
USER & WAKE-UP Button
PA0
BK_Sense
BK_Drive
R33
10K
D4
STPS1L40A
R37
33R
LED BUCK converter
VEXT
PB12
PB0
With LPB1
LEDs
LD_D
LD_D
LD_U
LD_L
LD_R
LD_U
LD_L
LD_R
R36
330
R38
1K
R35
1K
R40
510
U
D
LR
LD6
LED, blue
LD3
LED, red
LD5
LED, green
LD4
LED, orange
White
LPB
LPB1
LPB_10_10
12
34
B2
SW-PUSH-CMS_BLACK
12
34
B1
SW-PUSH-CMS_BLUE
SB20
SB21
B_USER
C30
100nF
R43
10K
R41
10K
C31
100nF
C29
100nF
C28
47uF
C26
1nF
C27
1uF
R34
10
5V_OUT
CN4
SB18
SB19
P3
Wired on Solder Side
P4
R39
1
L2
82μH 10%
3
4
5
G
SD
621
T3
STT5N2VH5
LD7
LED LE-CWC12100_[D]_1W
Figure 12. LED buck converter
30/33DocID025953 Rev 2
Page 31
UM1735Electrical schematics
55
BUCK / BOOST CONVERTER
MB1142B-01
30-May-14
Title:
Size:Reference:
Date:Sheet: of
A4
Revision:
STM32F3348-DISCO
Project:
N1_Drive
R53
1K
R54
1K
R56
10R
R62
10K
R57
10R
R63
10K
N2_Drive
R55
270R
R58
270R
P1_DriveP2_Drive
Vout
Vin
Vin_Sense
CN6
R48
47R
R50
47R
12
D6
SMAJ15A
12
D8
SMAJ15A
PA8
PA9
PA10
PA11
PA1
RC
GND
PB14
Vout_Sense
PA3
R45
6.8K 0.1%
R51
27K 0.1%
BUCK/BOOST Converter
CN5CN7
TP4
TP3
C36
100nF
C33
100nF
C34
100nF
C37
100nF
C35
6.8nF
C38
47uF
SB22
C39
47uF
L3
82μH 10%
2
1
3
T6
BC817
2
1
3
T7
BC817
213
T9
BC807
213
T8
BC807
R47
10R
1
3
G
S
D
2
T10
NDS7002A
R61
270R
R49
10R
1
3
G
S
D
2
T13
NDS7002A
R59
10K
R60
10K
1
3
G
S
D
2
T15
NDS7002A
1
3
G
S
D
2
T14
NDS7002A
R64
270R
R44
1
3
4
5
G
SD
621
T4
STT4P3LLH6
3
4
5
G
SD
621
T12
STT5N2VH5
3
4
5
G
SD
621
T11
STT5N2VH5
3
4
5
G
SD
621
T5
STT4P3LLH6
Not Fitted
1
3
nc
2
D5
BAT54FILM
1
3
nc
2
D7
BAT54FILM
C23
10nF_X7R_10%_0805
R32
15K_1%_0805
C32
22nF_X7R_10%_0603
R46
3K3_0.1%_0805
R52
13K3_0.1%_0805
Not Fitted
RC Low Pass Filter
Not Fitted
Figure 13. Buck/boost converter
DocID025953 Rev 231/33
32
Page 32
Revision historyUM1735
7 Revision history
DateRevisionChanges
19-Jun-20141Initial release
01-Feb-20162
Table 6. Document revision history
Change of STM32F3x4 to STM32F334 in Introduction.
mbed-enabled logo added on the cover page.
Added mbed-enabled in Section 3: Features.
Added Section 2.1: Product marking.
Text change in Section 2.2: Order code.
Remove Windows Vista in Section 4.1.1: Drivers.
SB14 and SB16 default position update in Table 4:
Solder bridges
Added Section 4.1.3: VCP configuration
32/33DocID025953 Rev 2
Page 33
UM1735
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.