UM1656 User manual 32L100CDISCOVERY discovery kit for STM32L100 Value Line microcontrollers Introduction The 32L100CDISCOVERY helps you to discover the features of the STM32L100 Value Line 32-bit ARM® Cortex™-M3 microcontrollers and to develop your applications easily. It is based on STM32L100RCT6 and includes an ST-LINK/V2 embedded debug tool, LEDs, and push buttons. Figure 1. 32L100CDISCOVERY August 2013 DocID025091 Rev 1 1/30 www.st.
Contents UM1656 Contents 1 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.
UM1656 List of tables List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Debug connector CN3 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Solder bridge settings . . . . .
List of figures UM1656 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. 4/30 32L100CDISCOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UM1656 1 Conventions Conventions Table 1 provides the definition of some conventions used in the present document. Table 1.
Quick start 2 UM1656 Quick start The 32L100CDISCOVERY is a low-cost and easy-to-use development kit to quickly evaluate and start development with an STM32L100 Value Line series. Before installing and using the product, please accept the Evaluation Product License Agreement from www.st.com/stm32l1-discovery. For more information on the 32L100CDISCOVERY and for demonstration software, visit www.st.com/stm32l1-discovery. 2.
UM1656 3 Features Features The 32L100CDISCOVERY kit offers the following features: • STM32L100RCT6 microcontroller featuring 256 KB Flash, 16 KB RAM in an LQFP64 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 USB bus or from an external 5 V supply voltage • External application power supply: 3 V and 5 V • Four LEDs: – LD1 (red) for 3.
Hardware and layout 4 UM1656 Hardware and layout The 32L100CDISCOVERY is designed around the STM32L100RCT6 microcontroller in a 64-pin LQFP package. Figure 2 illustrates the connections between the STM32L100RCT6 and its peripherals (STLINK/V2, push button, LEDs and connectors). Figure 3 and Figure 4 help you to locate these features on the 32L100CDISCOVERY. Figure 2.
UM1656 Hardware and layout Figure 3. Top layout (red/green LED) LD2 COM LD1 (red LED) PWR ST-LINK/V2 5V power supply input/output supply 3V power su input/output CN3 SWD connector VLCD CN2 ST-LINK/DISCOVERY selector PH0 PH1 JP2 IDD measurement www.st.com/stm32l1-discovery SB1 (VBAT) VDD GND GND VDD SB3 (B1-USER) B2 reset button STM32L100RCT6 SB4 (B2-RESET) B1 user button (green LED) LD3 LD4 (blue LED) MB1108 rev B STM32L100C-DISCO MS32777V1 1.
Hardware and layout UM1656 Figure 4.
UM1656 4.1 Hardware and layout STM32L100RCT6 microcontroller The Value Line STM32L100RCT6 incorporates the connectivity power of the universal serial bus (USB) with the high-performance ARM Cortex™-M3 32-bit RISC core operating at a 32 MHz frequency, a memory protection unit (MPU), high-speed embedded memories (256 Kbytes of Flash memory and 16 Kbytes of RAM) and an extensive range of enhanced I/Os and peripherals connected to two APB buses.
Hardware and layout UM1656 Figure 6.
UM1656 4.2 Hardware and layout Embedded ST-LINK/V2 The ST-LINK/V2 programming and debugging tool is integrated on the 32L100CDISCOVERY. The embedded ST-LINK/V2 can be used in 2 different ways according to the jumper states (see Table 2): • Program/debug the MCU on board, • Program/debug an MCU in an external application board using a cable connected to SWD connector CN3. The embedded ST-LINK/V2 supports only SWD for STM32 devices.
Hardware and layout 4.2.1 UM1656 Using ST-LINK/V2 to program/debug the STM32L100 Value Line on board To program the STM32L100 Value Line microcontroller on board, simply plug in the two jumpers on CN2, as shown in Figure 8 in red, but do not use the CN3 connector as that could disturb communication with the STM32L100RCT6 of the 32L100CDISCOVERY. Figure 8.
UM1656 4.2.2 Hardware and layout 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 2 jumpers from CN2 as shown in Figure 9, and connect your application to the CN3 debug connector according to Table 3. Note: SB19 and SB22 must be OFF if you use CN3 pin 5 in your external application. Table 3.
Hardware and layout 4.3 UM1656 Power supply and power selection The power supply is provided either by the host PC through the USB cable, or by an external 5V power supply. The D1 and D2 diodes protect the 5V and 3V pins from external power supplies: • 5V and 3V can be used as output power supplies when another application board is connected to pins P1 and P2. In this case, the 5V and 3V pins deliver a 5V or 3V power supply and power consumption must be lower than 100 mA.
UM1656 Hardware and layout 4.7 Oscillator clock (OSC) 4.7.1 OSC clock supply PH0 and PH1 can be used as GPIO or as HSE oscillator. By default these I/Os are configured as GPIO, so SB16 and SB17 are closed, SB18 is open and R22, R23, C13 and C14 are not populated. An external HSE clock can be provided to the MCU in three ways: • • • 4.7.2 MCO from ST-LINK. From MCO of the STM32F103. This frequency cannot be changed, it is fixed at 8 MHz and connected to PH0-OSC_IN of the STM32L100RCT6.
Hardware and layout 4.8 UM1656 Solder bridges Table 4. Solder bridge settings Bridge State(1) Description OFF X2, C13, C14, R22 and R23 provide a clock. PH0, PH1 are disconnected from P1. ON PH0, PH1 are connected to P1 (R22, R23 and SB18 must not be fitted). SB6,8,10,12 (Default) ON Reserved, do not modify. SB5,7,9,11 (Reserved) OFF Reserved, do not modify. SB20,21 (X3 crystal) OFF X3, C15, C16, R24 and R25 deliver a 32 KHz clock. PC14, PC15 are not connected to P1.
UM1656 Extension connectors The male headers P1 and P2 can connect the 32L100CDISCOVERY to a standard prototyping/wrapping board. STM32L100RCT6 GPI/Os are available on these connectors. P1 and P2 can also be probed by an oscilloscope, logical analyzer or voltmeter. Table 5.
Hardware and layout UM1656 Table 5.
UM1656 Hardware and layout Table 5.
Hardware and layout UM1656 Table 5.
UM1656 Hardware and layout Table 5.
Hardware and layout UM1656 Table 5.
UM1656 5 Mechanical drawing Mechanical drawing Figure 10. 32L100CDISCOVERY mechanical drawing VLCD PH0 PH1 www.st.
Electrical schematics Electrical schematics 26/30 6 Figure 11. 32L100CDISCOVERY ST_LINK_V2.SCHDO C U_ST_L INK PA10 PA9 PA10 PA9 MCO PA14 PA13 NRST PB3 MCO PA14 PA13 TCK /SWCLK TMS/SWDIO NRST PB3 T_NRS T T_SWO P1 DocID025091 Rev 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 Header 33 3V PC13 PC14 PC15 PH0 PH1 VLCD NRST PC0 PC1 PC2 PC3 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PB10 PB11 PB12 VDD U_STM32L100RCT6 STM32L100RCT6.
UM1656 Figure 12.
PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PB15 PB14 PB13 PB12 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PB15 PB14 PB13 PB12 PC8 510 SB2 VDD C17 1uF SB1 Close to STM32 PC13 PC14 PC15 SB20 R25 X3 0 1 4 2 3 6.8pF VDD Not Fitted R33 100K NRST SB4 C23 VDD PA3 100nF PA3 PA2 PA1 PA0 VDD VDD C15 6.8pF R32 Not Fitted 100 C22 MC306- G-06Q-32.
UM1656 7 Revision history Revision history Table 6. Document revision history Date Revision 12-Aug-2013 1 Changes Initial release.
UM1656 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.