UM1956 ETC2 | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 31
Technical content
Datasheet sections
- 1 Features
- 2 Product marking
- 3 Ordering information
- 4 Conventions
- 5 Quick start
- 5.1 Getting started
- 5.2 System requirements
- 6 Hardware layout and configurat ion
- 6.1 Embedded ST-LINK/V2-1
- 6.1.1 Drivers
- 6.1.2 ST-LINK/V2-1 firmware upgrade
- 6.2 Power supply and power selection
- 6.2.1 Power supply input from USB connector
- 6.2.2 External power supply inputs
- 6.2.3 External power supply output
- 6.3 LEDs
- 6.4 Push button
- 6.5 JP1 (IDD)
- 6.6 OSC clock
- 6.7 USART virtual communication
- 6.8 Solder bridges
- 6.9 Arduino Nano connectors
- 7 Electrical schematics
Figure 1. STM32 Nucleo-32 board
1 Features
- STM32 microcontrollers in 32-pin packages
- Extension with Arduino Nano connectivity
- mbed-enabled (http://mbed.org)
- On-board ST-LINK/V2-1 debugger/programmer
- USB re-enumeration capability, three different interfaces supported on USB: – Virtual Com port – Mass storage – Debug port
- Flexible board power supply: – USB VBUS – External source
- Three LEDs: – USB communication (LD1), powe r LED (LD2), user LED (LD3)
- Reset push button
- Supported by wide choice of Integrated Development Environments (IDEs) including IAR ™ , Keil®, GCC-based IDEs (AC6: SW4STM32,...)
2 Product marking
Evaluation tools marked as "ES" or "E" are not yet qualified and therefore they are not ready to be used as reference design or in production. Any consequences deriving from such usage will not be at ST charge. In no event, ST will be liable for any customer usage of these engineering sample tools as reference design or in production. "E" or "ES" marking examples of location:
- On the targeted STM32 that is soldered on the board (for illustration of STM32 marking, refer to the section “Package characteristics” of the STM32 datasheet at www.st.com).
- Next to the evaluation tool ordering part number, that is stuck or silk-screen printed on the board.
3 Ordering information
The order codes and the respective targeted STM32 are listed in the below Table 1.
- TXXX describes the STM32 product line (T for F or L)
- K describes the pin count (K for 32 pins)
- Y describes the code size (8 for 64K, 6 for 32K) The last six characters (e.g.: L031K6) of this order code, are printed on a sticker placed at the top or bottom side of the board.
Table 1. Ordering information
4 Conventions
Table 2. ON/OFF conventions
5 Quick start
The STM32 Nucleo-32 board is a low-cost and easy-to-use development kit used to quickly evaluate and start a development with an STM32 microcontroller in LQFP32 or UFQFPN32 package. Before installing and using the product, accept the Evaluation Product License Agreement that can be found at www.st.com/epla. For more information on the STM32 Nucleo-32 board and to access the demonstration software, visit the www.st.com/stm32nucleo webpage.
5.1 Getting started
Follow the sequence below, to configure the STM32 Nucleo-32 board and launch the demonstration software:
- Check solder bridge position on the board, SB1 OFF, SB14 ON (internal regulator), JP1 ON (IDD) selected.
- For a correct identification of all device interfaces from the host PC and before connecting the board, install the Nucleo USB driver, available at www.st.com/stm32nucleo.
- Connect the Nucleo-32 board to a PC with a USB cable ‘type A to Micro-B’ through USB connector CN1 to power the board. The red LED LD2 (PWR) and LD1 (COM) light up and green LED LD3 blinks.
- Remove the jumper placed between D2 (CN3 pin 5) and GND (CN3 pin 4).
- Observe how the blinking frequency of the green LED LD3 changes, when the jumper is in place or when it is removed.
- The demonstration software and several software examples on how to use the Nucleo- 32 board features, are available at www.st.com/stm32nucleo webpage.
- Develop your own application using available examples.
5.2 System requirements
- Windows (XP , 7, 8)
- USB type A to Micro-B USB cable
6 Hardware layout and configuration
push button, LED, and Arduino Nano connectors). Nucleo-32 board show the location of these features on the Nucleo-32 board. Figure 2. Hardware block diagram
Figure 3. Top layout view of the Nucleo-32 board
Figure 4. Bottom layout view of the Nucleo-32 board
6.1 Embedded ST-LINK/V2-1
The ST-LINK/V2-1 programming and debugging tool is integrated in the Nucleo-32 board. The ST-LINK/V2-1 makes the Nucleo-32 board mbed enabled. detail all the ST-LINK/V2 features.
- USB software re-enumeration
- Virtual com port interface on USB
- Mass storage interface on USB
- USB power management request for more than 100mA power on USB CN4 Arduino Nano connector CN3 Arduino Nano connector JP1 IDD measurement SB14 3.3V regulator output SB18 Connect D4 to A4 SB16 Connect D5 to A5 SB11 Connect 670 pin 16 to GND SB15 Connect D13 to LD3 SB17 Connect MCO to PA0 SB10 Connect VDD to 670 pin 5 SB13 Connect GND to 670 pin SB12 Connect BOOT0 to GND SB9 ST-LINK RESET
- SWIM interface
- Minimum supported application voltage limited to 3V Known limitation:
- Activating the readout protection on the STM32 target, prevents the target application from running afterwards. The target readout protection must be kept disabled on ST- LINK/V2-1 boards. The embedded ST-LINK/V2-1 is directly connected to the SWD port of the target STM32.
6.1.1 Drivers
the driver of the connected device. Note: Prefer using the “USB Composite Device” handle for a full recovery. Figure 5. USB composite device
6.1.2 ST-LINK/V2-1 firmware upgrade
periodically, to stay up-to-date with the latest firmware version.
6.2 Power supply and power selection
In case the power supply is +3V3, the ST-LINK is not powered and cannot be used.
6.2.1 Power supply input from USB connector
supply as explained in the next Section 6.2.2: External power supply inputs. configurations of SB1 are summarized in Table 3. connected to VIN, +5V or +3V3. case the SB1 must be set ON, to allow the target STM32 to be powered anyway. Table 3. SB1 configuration
6.2.2 External power supply inputs
anyway, thanks to the external power source.
- Connect the external power source to VIN or +5V
- Power on the external power supply 7V< VIN < 12V to VIN, or 5V for +5V
- Check red LED LD2 is turned ON
- Connect the PC to USB connector CN1
- If more than 300 mA current is needed by the board, the PC may be damaged or
- 300 mA is requested at enumeration (since SB1 must be OFF) so there is risk that
current. Consequently the board is not power supplied (LED LD2 remains OFF). Table 4. External power sources
UM1956 Hardware layout and configuration +3V3 power supply Using the +3V3 (CN4 pin 14) directly as power input, can be interesting, for instance, in case the 3.3V is provided by a shield board. In this case the ST-LINK is not powered, thus programming and debug features are not available. When the board is powered by +3V3 (CN4 pin 14), the solder bridge SB14 and SB9 (NRST) must be OFF.
6.2.3 External pow er supply output
When powered by USB or VIN, the +5V (CN4 pin 4) can be used as output power supply for an Arduino Nano shield. In this case, the maximum current of the power source specified in Table 4: External power sources must be respected. The +3.3V (CN4 pin 14) can be used also as power supply output. The current is limited by the maximum current capability of the regulator U3 (500 mA max).
6.3 LEDs
The tricolor LED (green, orange, red) LD1 (COM) provides information about ST-LINK communication status. LD1 default color is red. LD1 turns to green to indicate that communication is in progress between the PC and the ST-LINK/V2-1, with the following setup:
- Slow blinking red/off: at power-on before USB initialization
- Fast blinking red/off: after the first correct communication between PC and ST- LINK/V2-1 (enumeration)
- Red on: when initialization between PC and ST-LINK/V2-1 is completed
- Green on: after a successful target communication initialization
- Blinking red/green: during communication with target
- Green on: communication finished and successful
- Orange on: communication failure User LD3: the green LED is a user LED connected to Arduino Nano signal D13 corresponding to STM32 I/O PB3 (Pin 26). Refer to Table 8, Table 9 and Table 10 for concerned STM32:
- When the I/O is HIGH value, the LED is on
- When the I/O is LOW, the LED is off PWR LD2: the red LED indicates that the STM32 part is powered and +5V power is available.
6.4 Push button
B1 RESET: the push button is connected to NRST, and it is used to reset the STM32.
6.5 JP1 (IDD)
the jumper and connecting an ammeter.
- JP1 ON: STM32 is powered (default).
- JP1 OFF: an ammeter must be connected to measure STM32 current. If there is no ammeter, STM32 is not powered.
6.6 OSC clock
MCUs and clock usage (refer to Table 5). and solder bridges (C12, C13, SB4 to SB8) are configured to support LSE by default. (C12,C13) are not populated and SB4 to SB8 are configured to support HSI by default.
6.7 USART virtual communication
as Arduino Nano A7. Refer to Table 6. Table 5. OSC clock configurations
- In applications, where VCP is used for commu nication at speed higher than 9600 bauds, it may be needed
UM1956 Hardware layout and configuration
6.8 Solder bridges
Table 6. Virtual communication configuration
- The default configuration is reported in bold style.
Description
OFF PA2 is connected to CN4 pin 5 as Arduino Nano Analog input A7 and disconnected from ST-LINK USART. ON PA2 is connected to ST-LINK as Virtual com TX (default). SB3 OFF PA15 is not connected. ON PA15 is connected to ST-LINK as Virtual com RX (default). Table 7. Solder bridges ON VREF+ on STM32 is connected to VDD. ON Green user LED LD3 is connected to D13 of Arduino Nano signal. OFF Green user LED LD3 is not connected. ON Pin 16 of STM32 (U2) is connected to VSS. ON Pin 32 of STM32 (U2) is connected to VSS. Arduino Nano D5 and PA6 must configured as Input floating. support and CN3 pin 8 is available as Arduino Nano D5.
6.9 Arduino Nano connectors
designed for Arduino Nano can fit to the STM32 Nucleo-32 board. Caution: The I/Os of STM32 are 3.3 V compatible instead of 5 V for Arduino Nano. NUCLEO-F042K6, NUCLEO-F303K8 and NUCLEO-L031K6. Arduino Nano D4 and PA5 must be configured as input floating. support and CN3 pin 7 is available as Arduino Nano D4.
- The default configuration is reported in bold style.
Table 7. Solder bridges (continued) Table 8. Arduino Nano connectors on NUCLEO-F031K6
1 D1 PA9 USART1_TX (1)
2 D0 PA10 USART1_RX (1)
3 RESET NRST RESET
4 GND - Ground
6 D3 PB0 TIM3_CH3
9 D6 PB1 TIM14_CH1
10 D7 (3) PF0 -
11 D8 (3) PF1 -
12 D9 PA8 TIM1_CH1
13 D10 PA11 SPI_CS (4) || TIM1_CH4
14 D11 PB5 SPI1_MOSI || TIM3_CH2
15 D12 PB4 SPI1_MISO
2 GND - Ground
5 A7 PA2 ADC_IN2
6 A6 PA7 ADC_IN7
9 A3 PA4 ADC_IN4
10 A2 PA3 ADC_IN3
11 A1 PA1 ADC_IN1
12 A0 PA0 ADC_IN0
13 AREF - AVDD
15 D13 PB3 SPI1_SCK
- Only one USART is available and it is shared between Arduino Nano and VCP . The selection is done by
remapping (no need to change the hardware configuration).
- D5 PWM on inverted channel Timer 16.
- D7/D8 shared with OSC_IN/OSC_OUT.
- Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.8: Solder
bridges according to SB16/SB18 setting. Table 9. Arduino Nano connectors on NUCLEO-F042K6
2 D0 PA10 USART1_RX
Table 8. Arduino Nano connectors on NUCLEO-F031K6 (continued)
1 VIN - Power input
- Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.8: Solder
bridges according to SB16/SB18 setting.
- D5 PWM on inverted channel Timer 16.
- D7/D8 shared with OSC_IN/OSC_OUT.
- A7 exclusive with VCP_TX.
Table 9. Arduino Nano connectors on NUCLEO-F042K6 (continued)
Table 10. Arduino Nano connectors on NUCLEO-F303K8
1 D1 PA9 USART1_TX
- Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.8: Solder
bridges according to SB16/SB18 setting.
- D5 PWM on inverted channel Timer 16.
9 D6 PB1 TIM3_CH4
10 D7 (3)
- D7/D8 shared with OSC_IN/OSC_OUT.
14 D11 PB5 SPI1_MOSI || TIM17_CH1
5 A7 PA2 ADC1_IN3
- A7 exclusive with VCP_TX.
6 A6 PA7 ADC2_IN4
9 A3 PA4 ADC2_IN1
10 A2 PA3 ADC1_IN4
11 A1 PA1 ADC1_IN2
12 A0 PA0 ADC1_IN1
Table 11. Arduino Nano connectors on NUCLEO-L031K6
1 D1 PA9 USART2_TX (1)
- Only one USART is available and it is shared between Arduino Nano and VCP . the selection is done by
remapping (no hardware configuration to change).
2 D0 PA10 USART2_RX (1)
6 D3 PB0 TIM2_CH3
- Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.8: Solder
bridges according to SB16/SB18 setting.
9 D6 PB1 TIM2_CH4
- D7/D8 shared with OSC32_IN/OSC32_OUT.
11 D8 (3) PC15 -
12 D9 PA8 TIM2_CH1
13 D10 PA11 SPI_CS (4) || TIM21_CH2
14 D11 PB5 SPI1_MOSI || TIM22_CH2
- PA2 exclusive with VCP_TX.
Figure 8. Nucleo-32 board top view board length; CN1 USB PN changed to Micro-B for Device.
Figure 9. MCU
12 LD3
MB1180 C.2 10/12/2015 Title: Size: Reference: Date: Sheet: of NUCLEO32Project: 1 2 NX3225GD 8MHz EXS00A-CG04874 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 USB ST-LINK U5V COM PWR Board Ident: PC13=0 T_JTCK T_JTMS SWCLK SWDIO T_SWDIO_IN LED_STLINK LED_STLINK TMS TCKTCK/SWCLK TMS/SWDIO MCO MCO T_JRST NRSTT_NRST STLINK_RX SB3 SB2 STLK_RX STLK_TX STLINK_TX USB_DM USB_DP T_SWO SWOT_SWO Red _Green 2 1 3 4 LD1 LD_BICOLOR_CMS R1 1K5 R2 100K R18 100 R19 100 R17 R5 100 R20 100 R13 10K[N/A] 100K 100K R16 10K R14 4K7 R12 4K7 100nF 100nF 20pF[N/A] C21 10pF C20 10pF 100nF U5V USB_RENUMn USB_RENUMn R11 2K7 R10 4K7 +3V3_ST_LINK +3V3_ST_LINK +3V3_ST_LINK +3V3_ST_LINK +3V3_ST_LINK +3V3_ST_LINK +3V3_ST_LINK PWR_EXT +3V3_ST_LINK VO BAT60JFILM BAT60JFILM C18 1uF_X5R_0603 C17 10nF_X7R_0603 C16 1uF_X5R_0603 GND BYPASS INH Vin Vout U4 LD3985M33R C15 100nF C19 100nF +3V3_ST_LINK 9013 10K 36K U5V R8 100 +3V3_ST_LINK E5V E5V VBAT1 PA7 17 PC132 PA12 33PC143 PB0 18 PC154 JTMS/SWDIO 34 OSCIN5 PB1 19 OSCOUT6 VSS_2 35 NRST7 PB2/BOOT120 VSSA8 VDD_2 36 VDDA9 PB10 21 PA010 JTCK/SWCLK37 PA111 PB11 22 PA212 PA15/JTDI38 PA3 13 VSS_123 PA4 14 PB3/JTDO39 PA5 15 VDD_124 PA6 16 PB4/JNTRST40 PB12 25 PB541 PB13 26 PB642 PB14 27 PB743 PB15 28 BOOT044 PA8 29 PB845 PA9 30 PB946 PA10 31 VSS_347 PA11 32 VDD_348 STM32F103CBT6 U5V Ilim = 510mA Isc= 1.2Ilim to 1.5Ilim = 612mA to 765mA R15 10K U5V_ST_LINK 2.7K 4.7uF 100nF PWR_ENn SB1 SWD +3V3_ST_LINK 1 2 3 4 CN2 [N/A] STM_JTMS STM_JTCK SB9 IN1 IN2 ON3 GND 4 SET 5 OUT 6 OUT 7 FAULT8 ST890CDR VBUS 1 DM 2 DP 3 ID 4 GND 5 Shield 6 USB_Micro-B receptacle Shield 7 Shield 8 Shield 9 EXP 10 EXP 11 CN1 1050170001
Figure 11. Nucleo-32 board mechanical dimensions in millimeter
8 Revision history
Table 12. Document revision history 14-Oct-2015 1 Initial version.