User manual Discovery kit with STM32L152RC MCU Introduction The 32L152CDISCOVERY Discovery kit helps the development of applications based on the STM32L1 series microcontrollers and benefits from the ultra-low-power features of these devices. Based on the STM32L152RC microcontroller, this Discovery kit includes an ST-LINK/V2 embedded debugging tool interface, a 24-segment 4-common LCD, LEDs, push-buttons, a linear touch sensor, and touchkeys.
– Extension header for LQFP64 I/Os for quick connection to prototyping board and easy probing • Flexible power supply options: ST-LINK USB VBUS or external sources • External application power supply: 3 V and 5 V • IDD current measurement •...
UM1079 Ordering information Ordering information To order the 32L152CDISCOVERY ultra-low-power Discovery kit, refer to Table Table 1. Ordering information Order code Board reference Target STM32L1 STM32L152C-DISCO STM32L152RCT6 MB963 STM32L-DISCOVERY STM32L152RBT6 1. Subsequently called main board in the rest of the documentation.
STM32 flash memory for easy demonstration of the device peripherals in standalone mode. The latest versions of the demonstration source code and associated documentation can be downloaded from www.st.com. ® a. macOS is a trademark of Apple Inc., registered in the U.S. and other countries and regions.
UM1079 Conventions Conventions Table 3 provides the conventions used for the ON and OFF settings in the present document. Table 3. ON/OFF conventions Convention Definition Jumper JPx ON Jumper fitted Jumper JPx OFF Jumper not fitted Jumper JPx [1-2] Jumper fitted between pin 1 and pin 2 Solder bridge SBx ON SBx connections closed by 0 Ω...
(refer to Figure • Connect the 32L152CDISCOVERY to a computer with a USB cable to power the board. The red LEDs LD2 (PWR) and LD1 (COM) are lit up. Function 1 is executed. • Click on the user button (B1) to change the executed function as described in Table The 4-LED bar shows the performed function (up to four bars can be switched ON).
UM1079 Hardware and layout Hardware and layout The 32L152CDISCOVERY is designed around one STM32L152RC packaged in an LQFP64. Figure 2 illustrates the connections between the STM32L152RC microcontroller and its peripherals (ST-LINK/V2, push-buttons, LEDs, LCD, linear touch sensor, touchkeys, and connectors). These connections are the same for the STM32L-DISCOVERY.
Hardware and layout UM1079 32L152CDISCOVERY top and bottom layouts Figure 3. Top layout COM LED (LD1) PWR LED SWD connector (LD2) (CN2) ST-LINK/V2 ST-LINK/DISCOVERY selector (CN3) 3V power supply input/output 5V power supply input/output module 24 segments measurement BOOT0 (SB1 and SB2)
UM1079 Hardware and layout Embedded ST-LINK/V2 The ST-LINK/V2 programming and debugging tool is integrated into the 32L152CDISCOVERY. The embedded ST-LINK/V2 can be used in two different ways according to the jumper configuration (refer to Table • Program/debug the MCU on board •...
Hardware and layout UM1079 6.3.1 Using the ST-LINK/V2 to program/debug the on-board microcontroller Figure 6 shows how to plug the two jumpers on CN3 to program the STM32L152RC on the board. The usage of CN2 is forbidden as it might disturb communication with the microcontroller.
Hardware and layout 6.3.2 Using the ST-LINK/V2 to program/debug an external application The ST-LINK/V2 allows also the programming of an STM32 device on an external application. Figure 7 shows how to remove the two jumpers from CN3 and connect the...
(SELV) with limited power capability. Battery-powered (optional) The 32L152CDISCOVERY board has been designed to run from a CR2032 standalone battery (no connection with USB or other power supply is required). By default, no battery holder is mounted on the board, and SB21 and SB22 are configured...
B2 RESET: The reset push-button is used to reset the MCU. Linear touch sensor and touchkeys To demonstrate touch sensing capabilities, the 32L152CDISCOVERY includes a linear touch sensor that can be used either as a 3-position linear touch sensor or as four touchkeys.
To perform the I measurement by the MCU itself, the circuit shown in Figure 8 implemented on the 32L152CDISCOVERY. The solder bridges (SB1, SB2, and SB14) and jumper (JP1) must be ON. The low I range procedure (refer to Section 6.8.2) is...
UM1079 Hardware and layout 6.8.2 Low I range mode In low I range mode, the operational amplifier MAX9938FEUK+ (U5) is connected to the 1 kΩ shunt resistor (R22), controlled by the FET transistor 1 of U20. In this case, the counter 74HC4060 (U3) enabled by IDD_CNT_EN manages the measurement timing according to Figure Low I...
UM1079 Hardware and layout Solder bridges Table 7. Solder bridges Bridge State Description PH0 and PH1 are connected to P1 (X3, C21, C22, R30 must not be fitted). SB18,20 PH0 and PH1 are disconnected from P1. (X3 crystal) X3, C21, C22, and R30 provide a clock. Refer to electrical schematics.
Page 24
Hardware and layout UM1079 Table 7. Solder bridges (continued) Bridge State Description The BOOT0 signal of the STM32L152RC is held low through a 510 Ω pull-down resistor. SB3 (BOOT0) The BOOT0 signal of the STM32L152RC is held high through a 10 kΩ pull-up resistor. The BOOT1 signal of the STM32L152RC is held high through a 10 kΩ...
UM1079 Hardware and layout 6.10 LCD (24 segments, four commons) This LCD allows the STM32L152RC to display any information on six 14-segment digits and four bars, using all COMs. (Refer to the LCD segment mapping in Figure 10 and pin connections in Table Note:...
Extension connectors Extension connectors The male headers P1 and P2 can connect the 32L152CDISCOVERY to a standard prototyping/wrapping board. The STM32L152RC GPIOs are available on these connectors. An oscilloscope, a logic analyzer, or a voltmeter can also probe P1 and P2.
Page 28
Extension connectors UM1079 Table 9. MCU pin description versus board function (continued) MCU pin Board function Linear Push Main Alternate Free Touch butt LED SWD OSC P1 P2 function functions glass supp Sensor SPI1_MISO/ADC_I TIM3_CH1/TIM1_B KIN/ LCD_SEG3/TIM10 _CH1/ COMP1_INP SPI1_MOSI/ADC_I TIM3_CH2/TIM1_C /LCD_SEG4/TIM11 _CH1/...
Page 29
UM1079 Extension connectors Table 9. MCU pin description versus board function (continued) MCU pin Board function Linear Push Main Alternate Free Touch butt LED SWD OSC P1 P2 function functions glass supp Sensor TIM2_CH2/PB3/TR ACESWO/SPI1_S JTDO CK/COMP2_INM/L CD_SEG7 TIM3_CH1/PB4/SP JNTRST I1_MISO/COMP2_I NP/LCD_SEG8 I2C1_SMBAl/TIM3...
Page 30
Extension connectors UM1079 Table 9. MCU pin description versus board function (continued) MCU pin Board function Linear Push Main Alternate Free Touch butt LED SWD OSC P1 P2 function functions glass supp Sensor SPI2_SCK/USART 3_CTS/ LCD_SEG13/ADC_ PB13 IN19/ COMP1_INP/TIM9 _CH1 SPI2_MISO/USAR T3_RTS/LCD_SEG PB14...
Page 31
UM1079 Extension connectors Table 9. MCU pin description versus board function (continued) MCU pin Board function Linear Push Main Alternate Free Touch butt LED SWD OSC P1 P2 function functions glass supp Sensor TIM3_CH4/LCD_S EG27 USART3_TX/LCD_ PC10 SEG28/LCD_SEG4 0/LCD_COM4 USART3_RX/LCD_ PC11 SEG29/LCD_SEG4 1/ LCD_COM5...
Parts marked as "ES" or "E" are not yet qualified and therefore not approved for use in production. ST is not responsible for any consequences resulting from such use. In no event will ST be liable for the customer using any of these engineering samples in production.
32L152CDISCOVERY product information UM1079 Board revision history Table 11. Board revision history Board variant and Board change Board reference Board limitations revision description MB963-C02 Initial revision No limitation Several part references updated due to obsolescence such as: – U3 STMicroelectronics...
UM1079 Federal Communications Commission (FCC) and ISED Canada Compliance Statements Federal Communications Commission (FCC) and ISED Canada Compliance Statements FCC Compliance Statement 9.1.1 Part 15.19 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
Updated STM32L-DISCOVERY URL. Modified Section 2.2: System requirements, Section 2.5: Order codes, Section 4.1: STM32L152RB or STM32L152RC microcontroller, Section 4.2.1: Using the ST-LINK/V2 to 19-Apr-2013 program/debug an external STM32L application. Updated Figure 1: STM32L1 Discovery board, Figure 2: Hardware block...
Page 38
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 acknowledgment.
Need help?
Do you have a question about the 32L152CDISCOVERY and is the answer not in the manual?
Questions and answers