Home
STM32L152-EVAL evaluation board
Contents
1. 1 2 3 4 43V3 100nF C16 U8 T ci4 CN2 28 n Ss 25 deeg DB9 male USART2 2 ca CI9 1 SE a EE d cs VDD U2 43V3 100nF 1000F 2 cj y 3110075 ey USART2 RXD i y C20 Nc vedi Omenili li USART2 RTS 14 om TioUT 2 100nF 6 USART2 CTS 1 IDA RXD USART2 TXD T3 TO se USART3 TXD GES oL EH GND DIR ee T3IN T30UT SN74LVC2T45DCUT Z z k UID A lt Bootloader BOOTO De 5 18 RIOUT RIN USART2 RXD ma c Nd ci USART2 CTS 1 ES R4OUT RAIN L VDD U4 Ge 100nF USART3 RXD EM 5 RM cl VERS TE usarr2 RTS 23 EM E 22 CNS ge 5 USART2 TXD DB9 male USART3 GRE E ST3241EBPR 3V3 pa S mu i SN74LVC2T45DCUT VDD Geng 100K RXD Ke P NG TXD VDD c2 CIO VDD U5 43V3 100nF o0nF 1 8 IE veen veen HHH BI p Ge s USART3 RXD GND DIR SN74LVC2T45DCUT p UIT cs 31 sp c CI2 VDD U3 3V3 100nF USART2 TXD 3 1 00nE 1 8 EDA RXD 4 dot LI GE NEGE EH 3V3 ED B1 bas R55 PC10 3 jo m B USART3 TXD T i Anode VCC2 GND DIR R60 5 Cathode 44 AT mo 100K SN74LVC2T45DCUT VDD 7 Mb 3 GND VDD TFDU6300 S c44 ttcas CA7 ira 4 7uF 4 TuF 100nF l 100nF D S H STMicroelectronics Ti
2. 1 2 3 A Left Right CN6 close to MCU CN7 B PDIS PC7 R28 N A L Ge PCE INA d PDI4 z A PDI3 E PC pu PAS PDI2 B IE PDI PAO E PALO PDIO E PD9 i HA PAO ES Ir PCI3 EL 820 Z Ji PCI4 iko PAH RESET R49 820 i PDS PAIZ PAIS PBIS PBI4 B SB4 13 14 13 14 PCIS SE le PAI4 PBI3 atts PBI2 E PCI m PCI PBIL E PBI0 Open by default Al KE PAIS bavi E PEIS close to MCU PCIZ DEA PDO PEI4 3155 PEI3 i PDI PD2 E PD3 i F PD4 PEIZ za Ce PEIT PDS PD6 PEIO PES 27 28 27 28 kuj 29 30 d EES 29 30 d i PHZ PET E PBZ NOCET PB3 SS En PBA PBI SJ PBO PBS er PB6 PCS SE PCA PBT PEO PAT PAG 37 38 VET 37 38 pas l PEZ R PES d PA s za PAZ 41 42 41 42 PE4 E PES PAZ Ser PAI PBS E PB9 PC3 GE PC2 ES ER ava KL m POO psv 49 50 49 50 d S Header 25X2 Header 25X2 SB3 gt SB2 A Open by default close to MCU D E 4 STMicroelectronics Title STM32L152 EVAL Extension Connector Number MB319 Rev B A PCB SCH Date 9 7 2011 1 2 3 8LOLONIN soneway2s ov ve el o o el 00 D JU lt N Figure 20 LCD and SD Card
3. 2 3 4 76 ZAJ RSI o Wags PAI3 i nem PAI4 z Z PBS PAIS E PB4 T SE 22 D4 D3 pel Ds Ds D7 sa L a A ma VAJ gt Z E Z Z S CNS SI Z Z z SEE SE EEA ES FTSH 110 01 L DV CN9 gt gt VDD TAO E IN EN 2 2 3 f 3 3 4 4 Baa 3 6 Gm VDD 7 KE 7 8 m KEY 8 9 9 il R82 10 1 10 N A TI pal 12 13 790 ERA 83 14 I ZAJ 14 10K T5 0 E f 16 INA 16 17 i 17 R84 10K 18 T8 E 19 19 R89 10K EES 20 pa ag JTAG connector Trace connector D B H STMicroelectronics Title STM32L152 EVAL JTAGATrace NumberMB819 Rev B A PCB SCH Date 9 7 2011 Shect13 of 14 1 2 3 4 8LOLOINN soneway2s cv 0v c NAH KL L8L QI 90d Figure 26 Touch sensing Mount for RC mode by default R24 N A ts Loan PB2 Re NA Mount only for Charge transfer mode gt qa seli GRM3195C1H333JA01D e TSI TS2 TS PAD TS PAD lt Active shield ESD resistor close to MCU pad lt Touch Sensing diameter 10mm min on active shield diameter 12mm min STMicroelectronics Title STM32L152 EVAL Touch Sensing Number MB819 Rev B 4 PCB SCH Date 9 7 2011 Sheet 14 of 14
4. 1 2 3 4 A C38 c45 VDD ue 43V3 100nF 100nE 1 150 a E14 R57 D2 yee CCP He IT Leen MISO 3V3 CN4 B14 R58 o 3 NO PN S SPD MISO 3V3 i oa 5 SPI2 MISO 3V3 SN 4LVC2T45DCUT sep sck ava A sPD Mosi svi V MicroSD CS 3V3 C35 D Gu 43V3 100nF 8 eee VT seu sek ovs PIS008 2000 SMSOGAFF or SMST28FF 6 SP SCK 3V3 MicroSD card A2 B2 B GND DR SN74LVC2T4SDCUT VDD gt C36 C42 VDD UI3 3V3 100nF piap y Ta in Ba POT 1 lees BEL I7 Micros cs 3v3 m o GND DIR SE Ee SN74LVC2T45DCUT VDD 2 4 LCD connector MB542 with AM240320L8TNQW 00H 10K 10K LCD_CS 3V3 ifs SPIL SCK 3V3 2 E NG SPIL MOSI 3V3 3 eae VDD C37 4 eS C43 VDD UIS 3V3 100nF ES IPA LL veca veen H Jee S RD i PE15 imam NZ SPIL MOSI 3V3 SPIL MISO 3V3 7 eg LS ee EN E S SPI2 MOSI 3V3 s RESET 4 5 3V3 GND DIR VDD S SNALVCZT4SDCUT VDD TR4 ava t o ES BSN20 Rol TI G AKT ed eo 13 GND Z HSV BL VDD CRESET gt 3 5 15 BL Control A ie BL GND BL GND TFTLCD Do not fit D STMicroelectronics Title STM32L152 EVAL LCD amp SDcard NumberMB8T9 Rev BA PCB SCH Date 9 7 2011 Sheet8 of 74 1 2 3 4 soneway2s 8LOLOMN el o o el 00 D JU lt N cv s Figure 24 RS 232 and IrDA
5. v 19 17 15 13 11 9 7 5 3 1 D DU DJ D D D LI D D D D DU D EJ D D D D D D 20 18 16 1412 10 8 6 4 2 MS18661V1 Table 19 JTAG debugging connector CN9 Pin number Description Pin number Description 1 3 3 V power 2 3 3 V power 3 PB4 4 GND 5 PA15 6 GND 7 PA13 8 GND 9 PA14 10 GND 11 RTCK 12 GND 13 PB3 14 GND 15 RESET 16 GND 17 DBGRQ 18 GND 19 DBGACK 20 GND 3 10 Trace debugging connector CNS This is the same connector type as CN9 see Figure 10 Table 20 Trace debugging connector CN8 Pin number Description Pin number Description 1 3 3V power 2 TMS PA13 3 GND 4 TCK PA14 5 GND 6 TDO PB3 7 KEY 8 TDI PA15 9 GND 10 RESET 11 GND 12 TraceCLK PE2 13 GND 14 TraceD0 PE3 or SWO PB3 15 GND 16 TraceD1 PE4 or nTRST PB4 17 GND 18 TraceD2 PE5 19 GND 20 TraceD3 PE6 24 42 Doc ID 18141 Rev 2 ky UM01018 Connectors 3 11 MicroSD Card connector CN4 Figure 11 MicroSD Card connector CN4 viewed from front A Nl le 3 8 ad ge Fra A D 4 ar E Ka 6 cr TO mM YX f6crj 4 ul La H Ba Fra 42 3 kaa Fi rj Es aanre Yu MS18662V1 Table 21 MicroSD Card connector CNA Pin number Description Pin number Description 1 5 MicroSDcard CLK PB13 2 MicroSDcard CS PD7 6 Vss GND 3 MicroSDcard DIN PB15 7 MicroSDcard DOUT PB14 4 3V3 8 9 MicroSDcard detect DEG 3 12 BNC connector CN13 Figure 12 Analog input connector CN13 viewed from
6. el o o el 00 D JU lt N ev L Figure 17 Peripherals 1 2 3 4 LDI 3V3 3V3 Greeny il 2 R136 Riu 0 PDO PANG PE c VEDI AIN AIN SONIS LD2 3V3 W Le i Orang 3V3 Red LI T i 2 RBI R125 0 PD1 o A A 2 Ge lt LED a D 1K VDD s UIA ES VDD 1 8V PAS R45 Red A TE TS3702IPT uu ys TRING ji a 1 2 M i RI24 0 PD4 peng 1 C31 hei VB334 680 S N A 9 LD4 SBS Raz 50 Blue 4 RISO 3 W Loi il 2 NN Ryo PDS Lena m Orange LEDs 1 8V lt VDD lt 2 2 BNC connector UIB f 10 MDD H lt aprcour Pe 3X Si STE Ko S 0 BIK INDO se 100 TS3702IPT bh ws RV3 Sa SE Green R34 T VT9ONI B2 VDD gt 2 2V WKUP i sto JP17 PB12 Gr RI20 Ovd PB3 ze 330 PB5 p 134 220K Header 3X2 Potentiometer Comparato WKUP TAMPER Button Low Voltage LED U30 R132 5 A AAN COMMON 100 VDD ot 2 Selection ke s le ke ke 5 MES MIS x usv UT PE8 RIIA 0 1 F Y USV EUN e PETO R12 Ji 3 pwon N VP 9 CNI C 5 PE12 RII T T USB 1 Ds LEFT z typeB connecibr 3 Nem Ma PE11 RII Ng Ew PES DEn JE Sech gt EB USBLC6 2P6
7. Ger UM1018 y User Manual STM32L152 EVAL evaluation board Introduction The STM32L152 EVAL evaluation board is a complete demonstration and development platform for STMicroelectronics ARM cortex M3 core based STM32L152VBT6 microcontroller supporting two 12C two SPI and three USART channels 12 bit ADC 12 bit DAC 16 KB internal SRAM and 128 KB Flash USB FS LCD controller touch sensing and JTAG debugging support The full range of hardware features on the board helps you evaluate all peripherals USB FS USART Audio DAC microphone ADC dot matrix LCD LCD glass IrDA light dependant resistor LDR MicroSD Card and temperature sensor amongst others and develop your own applications Extension headers make it possible to easily connect a daughter board or wrapping board for your specific application An ST LINK V2 is integrated on the board as embedded in circuit debugger and programmer for the STM32 MCU Figure 1 STM32L152 EVAL evaluation board November 2011 Doc ID 18141 Rev 2 1 10 www st com Contents UM01018 Contents 1 a ng lg Pme 4 1 1 Demonstration software 4 1 2 Reen TEE 4 2 Hardware and layout 5 2 1 Development and debug support 7 2 2 Power supply en 7 2 Clock SQUICO EEN 9 2 4 Reset SOUNGE uni casses NEE dad Wa ydus ed Y rds 9 2 5 Boot opllOn cos gp he es eek ar uo
8. Extension sensor JTAG 8 Trace connector for connector GPIOs ky Doc ID 18141 Rev 2 5 42 Hardware and layout UM01018 Figure 2 STM32L152 EVAL board layout CN6 CN7 Extension header VDD range TS1 8 TS2 Touch sensing button LEDs indicator ab 2 ab B CN1 CNI USB CN2 UART2 O Pu care ao wu A USB FS Ea PC7 peg Rs ar e i df gren vr P014 pond 20 PCS PAB an Isa ie WA e EE R poi OO PAO PATO s ares gc 8 PDO Pog PAO E eel ENEN Er CHR SEE na Su bela DA ma O RIS ce co og CizBu USUS Su gn AA PC14 pay tJ Fa L den doo SS JEU RESETJI POS u u RA C17 gf e Tor E PAI2 pas SSES B 219 see e pes paia B Pc15 PAra UB poziv SL Jl pens PBI2 7 mt St R34 LDR U11 PC10 pon g Ee Pen pato u p PAIS Sg NG D5V PEISOM STM32L152VBT6 athe o OSTI Je el keet CN2 USARI2 p me d 2 E i 3 Ce PHO pm CN3 SPEAK CN3 PD3 PD4 GE TPI LJ per PEN GE Pos Pos B E E est BE pao pa 1 udio jack Z m e SS BA PD7 onp amp S EEA PE8 op O
9. 3 4 soneway2s 8LOLOMN UMO1018 Revision history 5 Revision history Table 23 Document revision history Date Revision Changes 13 Dec 2010 1 Initial release 14 Nov 2011 2 Modified LED in Figure 17 Peripherals and updated schematics Doc ID 18141 Rev 2 41 42 UM01018 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 Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein 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 pro
10. Date 9 7 2011 Sheet of 14 4 8LOLONIN soneway2s cv 8c el o o el Co D pos 3 lt N Figure 14 MCU 09 03290 01 PC12 SEG42 PCI1 PAS 30 E78 PCI0 SEG3 PA6 3l BAZ 66 PC9 EEA 65 PCB COMO PAS 67 6 8 63 COM1 PA9 6 COM2 PALO PAIL 70 PAI2 71 PAI3 72 PAI4 76 x PAIS 77 15 PCO SEGIS SEG40 SEG5 PBO ERI PBI PB2 37 PB3 89 PB4 90 PBS 91 57 PDIO SEG30 x2 8MHz with socket PB6 92 PB7 ER SEG16 PB8 95 COM3 PB9 96 SEGIO PBIO 47 SEG11 PBI1 PBI2 PBI3 52 PD2 SEG43 PBI4 53 82 PDI PBIS 54 46 PE15 45 PE14 44 PE13 43 PE12 VDDA T R41 50 42 PEI R39 PHI 13 41 PEIO 40 PE9 39 PE8 39 PET 4 TLI E RT O 21 C26 024 C17 1 623 E Di STM32L152VBT6 100nij 100nih loon 1000 100nF BA TGOJFILM 88 RSI USV Jr 100K 220K x n 5 Rus STMicroelectronics BATOOIFILM 31 Bootloader BOOTO lt Bootloader
11. Remove LCD glass U20 19 D5V 21 PE14 LCD SPI1 MISO Remove R57 23 PHO OSC IN Remove X2 from socket and close SB3 25 PE12 JOYSTICK LEFT Remove R118 27 PE10 JOYSTICK DOWN Remove R127 29 PE8 JOYSTICK SEL Remove R112 31 PE7 Audio IN Remove R75 33 PB1 LCD glass SEG6 Remove LCD glass U20 35 PC5 LCD glass SEG23 Remove LCD glass U20 37 PA7 LCD glass SEG4 Remove LCD glass U20 39 GND 41 PA4 Audio_DAC1_out Remove R103 43 PA2 LCD glass SEG1 Remove LCD glass U20 45 PC3 LCD glass SEG21 Remove LCD glass U20 47 PC1 LCD glass SEG19 Remove LCD glass U20 49 PC13 IDD CNT EN 2 PD15 LCD glass SEG35 Remove LCD glass U20 2 Doc ID 18141 Rev 2 21 42 Connectors UM01018 Table 16 Daughterboard extension connector CN7 continued Pin Description Alternative function How Ee 4 PD13 LCD glass SEG33 Remove LCD glass U20 6 PD11 LCD glass SEG31 Remove LCD glass U20 8 PD9 LCD glass SEG29 Remove LCD glass U20 10 GND 12 PD8 LCD glass SEG28 Remove LCD glass U20 14 PB14 uSD_SPI2_ 16 PB12 POT_ADC18 JP17 open 18 PB10 LCD glass_SEG10 Remove LCD glass U20 20 PE15 LCD_SPI1_MOSI 22 PE13 LCD SPI1 SCK 24 PH1 OSC OUT Remove X2 from socket and close SB2 26 PE11 JOYSTICK RIGHT Remove R117 28 PE9 JOYSTICK UP Remove R126 30 GND 32 PB2 BOOT1 TS LOAD 34 PBO LCD glass SEG5 Remove LCD glass U20 36 PC4 LCD glass SEG22 Remove LCD glas
12. as shown mie e SW STM32L152 EVAL boot from system memory when SW1 and gt Swi SW2 are set as shown Ho o SW Table 5 Boot0 related jumper JP6 Jumper Description Bootloader BOOTO is managed by pin 6 of CN2 RS 232 DSR signal when JP6 JP6 is closed This configuration is used for boot loader application only Default setting Not fitted 2 6 LCD glass module An LCD glass module U20 with 8 digit liquid crystal display is mounted on the STM32L152 EVAL evaluation board and is connected to the LCD controller of the STM32L152VBT6 Table 6 LCD glass related jumpers Jumper Description Setting PC10 is connected to LCD glass as SEG40 when JP7 is set as shown 1 2 3 default setting Wee JP7 PC10 is connected to USART3_TX when JP7 is set as shown k PC11 is connected to LCD glass as SEG41 when JP8 is set as shown 123 default setting eee JP8 PC11 is connected to USART3_RX when JP8 is set as shown 1 S 3 10 42 Doc ID 18141 Rev 2 yf UM01018 Hardware and layout 2 7 Audio The STM32L152 EVAL evaluation board supports both e The speaker which is connected to the DAC output of the STM32L152VBT6 through an audio amplifier e The microphone which is connected to the ADC input of the STM32L152VBT6 through a microphone amplifier The speaker can be enabled or disabled by setting JP16 refer to Table 7 for details Table 7 Audio related jumpers Jumper Description pag Speaker amplifier U27 is enabled when JP16 is open
13. connector even if an external tool is connected to CN8 trace or CN9 external JTAG and SWD NORO 2 2 Power supply The STM32L152 EVAL is designed to be powered by a 5 V DC power supply and to be protected by PolyZen from a wrong power plug in event It is possible to configure the evaluation board to use any of the following four power supply sources by setting jumpers JP12 JP13 and JP4 see Table 1 e 5V DC power adapter connected to CN12 the power jack on the board power supply unit PSU on silk screen The external power supply is not provided with the board but can be ordered separately Note The AC220V to DC5V power adapter PSU 5V2A recommended can be ordered from ST order code PSU 5V2A or equivalent polarity compatible with CN12 can be used to power the STM32L152 EVAL board via its power jack CN12 e 5V DC power with 500 mA limitation from CN11 the USB type B connector of ST LINK V2 USB 5 V power source ST LINK V2 on silkscreen e BV DC power with 500 mA limitation from CN1 the USB type B connector 5 V power source USB on silkscreen e 5V DC power from CN6 the extension connector for daughterboard daughterboard power source Daughter board on JP12 silkscreen Various LEDs indicate the power status e Red LED LD9 is lit when the STM32L152 EVAL board is powered correctly by 5 V e Red LED LD8 is lit when MCU is powered by low voltage VDD lt 1 8 V e Yellow LED LD7 is lit when MCU is powered by
14. voltage 1 8 V lt VDD lt 2 2 V e Green LED LD6 is lit when MCU is powered by voltage 2 2 V lt VDD ky Doc ID 18141 Rev 2 7 42 Hardware and layout UM01018 8 42 when JP4 is set as shown Table 1 Power related jumpers Jumper Description Jumper setting PSU ce For power supply from jack CN12 to the STM32L152 EVAL paugnter ee only JP12 is set as shown USB eo STLink V2 e e PSU ee For power supply from daughterboard connector CN6 to Daughter e e STM32L152 EVAL only JP12 is set as shown USB ee STLink V2 e e JP12 PSU ee selects one of For power supply from USB CN1 to STM32L152 EVAL only Daughter ee the four possible JP12 is set as shown USB DO power supply STLink V2 e e resources PSU ee For power supply from USB connector of ST LINK V2 CN11 Daughter ee to STM32L152 EVAL only JP12 is set as shown default board setting USB ee STLink V2 e e For power supply from power supply jack CN12 to both PSU se STM32L152 EVAL and daughterboard connected on CN6 and Daughter ee CN7 JP12 is set as shown daughterboard must not have its USB eo own power supply connected STLink v2 e e VDD is connected to fixed 3 3V DC power when JP13 is set 123 as shown default setting eee JP13 VDD is connected to adjustable DC power from 1 65 V to 3 6 V 123 when JP13 is set as shown e ee VDD power is directly connected t
15. 1 KOhm resistor is connected when T4 goes off after entering Low power mode Q12 output of the counter allows connection of the 1 K resistor when the current IDD becomes very low Figure 5 shows how the counter and T4 ensure that 150 ms after IDD CNT EN falling edge the shunt resistor R35 is connected between VDD MCU and the power supply in order to reduce the measurement range to 30 uA full scale when VDD 1 8 V Then after another 150 ms for current stabilization R35 is shorted the IDD measurement is stored in C25 and the MCU is woken up After wakeup the MCU can measure the IDD current corresponding to the Low power mode stored in C25 It is recommended to maintain VDD on the STM32L at a value lower than 3 5 V during low power current measurement to avoid extra current consumption on the NRST pin U11 pin 14 The reason for this is that the NRST pin of the STM32L is connected to the ST LINK MCU T_NRST signal U23 pin 18 and as the ST LINK is powered at 3 3 V a leakage current is injected into the STM32L NRST pin when MCU VDD becomes equal to or greater than 3 5 V Doc ID 18141 Rev 2 ky UMO1018 Hardware and layout 2 16 3 Note Note Ibias current measurement procedure In Low power mode the bias current of operational amplifier input U10 pin 4 is not negligible compared to IDD current typical Ibias is 240 nA To obtain a reliable MCU IDD measurement it is possible to subtract the bias current from the IDD
16. 4 color LEDs U30 joystick VDD adjustment RV3 potentiometer B1 reset key B2 tamper Key button 6 42 Doc ID 18141 Rev 2 UM01018 Hardware and layout 2 1 Development and debug support Version 2 of the ST LINK called ST LINK V2 is embedded on the board This tool allows on board program loading and debugging of the STM32L using the JTAG or SWD interface Third party debug tools are also supported by the JTAG CN9 or Trace CN8 connectors To communicate with the embedded ST LINK V2 a specific driver needs to be installed on your PC To download and install this driver refer to the Software and development tools page for the ultra low power STM32L family available on www st com the install shield is called ST LINK V2 USBdriver exe The embedded ST LINK V2 connects to the PC via a standard USB cable from connector CN11 The bicolor LED LD5 COM advises on the status of the communication as follows 1 Slow blinking Red then Off At power on before USB initialization 2 Fast blinking Red then Off After the first correct communication between PC and ST Link V2 enumeration Red On When initialization between PC and ST LINK V2 is successfully finished Green On After successful target communication initialization Blinking Red Green During communication with target Green On Communication finished and OK Orange On Communication failure Note It is possible to power the board via CN11 embedded ST LINK V2 USB
17. 8 9 Table 13 RS 232 connector CN2 with HW flow control and ISP support MS18658V1 Pin number Description Pin number Description 1 6 Bootloader BOOTO 2 RS 232 RX PD6 7 RS 232 RTS PD4 3 RS 232 TX PD5 8 RS 232 CTS PD3 Bootloader RESET 4 NC 9 NC 5 GND Table 14 RS 232 connector CN5 Pin number Description Pin number Description 1 NC 6 Connected to pin4 RS 232 RX PC11 RS 232 TX PC10 Connected to pin8 Connected to pin7 NC Qo Connected to pin6 GND aal N 3 2 TFT LCD connector CN14 A TFT color LCD board MB895 is mounted on CN14 18 42 Doc ID 18141 Rev 2 ky UM01018 Connectors 3 3 Power connector CN12 Your STM32L152 EVAL evaluation board can be powered from a DC 5 V power supply via the external power supply jack CN12 shown in Figure 7 The central pin of CN12 must be positive Figure 7 Power supply connector CN12 viewed from front GND MS18659V1 3 4 Daughterboard extension connectors CN6 and CN7 Two 50 pin male headers CN6 and CN7 can connect a daughterboard or standard wrapping board to the STM32L152 EVAL evaluation board All GPIOs are available on it The space between these two connectors and position of power GND and RESET pins are defined as a standard which allows common daughterboards to be developed for several evaluation boards The standard width between CN6 pin1 and CN7 pin1 is 2700 mils 68 58 mm Th
18. M01018 2 10 2 11 Note 2 12 12 42 Table 8 RS 232 and IrDA related jumpers continued Jumper Description Setting USART2_CTS is connected to RS 232 transceiver when JP9 is set as shown 1 2 3 default setting ee JP9 Bootloader RESET is connected to RS 232 transceiver when JP9 is set as 123 shown eje e JP7 JP8 Refer to Table 6 for USART3 settings JP6 See Table 5 for Bootloader BOOTO settings Touch sensing buttons The STM32L152 EVAL evaluation board supports two touch sensing buttons based on either charge transfer technology default or RC charging RC charging technology can be enabled by modifying the board 1 Remove R29 2 Mount resistors R22 1 MOhm R23 1 MOhm R24 10 KOhm and C18 1 nF MicroSD Card The 2 GB or more MicroSD Card connected to SPI2 port of the STM32L152VBT6 is available on the board MicroSD Card detection is managed by standard I O port PE6 JP2 must be kept on open for trace purposes connected to CN8 Table 9 MicroSD Card related jumpers Jumper Description PE6 is connected to MicroSD Card detection when JP2 is closed default setting JP2 PE6 is disconnected from MicroSD Card detection but remains connected to trace connector CN8 when JP2 is open Analog input A BNC connector CN13 is connected to PA5 of the STM32L152VBT6 as external analog input or DAC output The 50 ohm terminal re
19. NK 1 2 3 4 EN Jr S LED STLINK C59 C64 C57 C62 3 100nF 100nF 100nF 100nF A 9 x B 2 5 U23 Yellow I STM32F103C8T6 m LDS HSMF A201 A00J1 102 UU VDD 2 Id 4 STM JIMS SWDIO Palo 33 USB DP avi OSC IN PALI 32 USB DM OSC OUT 6 Eua T SWO mE 5 STM RST 7 pag 30 LED STLINK Gad E 29 MCO C56 aval ij El sr Ee 100nE3 V3 Ana 10 S2 MISO 27 I JIMS TI ES TJICK 12 bpi L25 T SWDIO_IN 58a Cap 13v3 VDD cao Elle ae fa A Jr A33 100nF 100nF CNIO T U19 STM JTMS SWDIO 1 8 STM JTCK SWCLK 1 A d H Yoox Y ISWDIOIN 2 bos ves z n E TITDO EN ENG 3V3 T swo IM ME JTAG Meu SN7ALVC2T45DCUT F USV_ST_LINK T JTMS TINRST T_JRST USV ST LINK TAS T JTCK CNIL 1 JTAG vee 2 R104 22 USB_DM ur R97 22USB DP Dt L D GND 4 A H suet 2 STMicroelectronics SHELL R7 USB typeB connector s Title STM32L152 EVAL ST LINK JTAG only USB Number MB319 Rev B 4 PCB SCH Date 9 7 2011 Sheet 2 of 14 1 2 3 4 soneway2s 8LOLOMN c NAH KL L8L QI 200 cv 6 Figure 25 JTAG and Trace
20. RESET TES STM32L152 EVAL MCU Number MB879 Rev BA PCB SCH Date 9 7 2011 Sheet2 of 14 2 4 soneway2s 8LOLOMN UM01018 Schematics lt m o a S E d pa d El H e HE IS IN E 5 s 5 c g El o 89 eo SE gt a 8 Oo Sw o x amp sg QU B je E SL 2 i5 Z 2 E o E mz PD878 DP FH W LV 6 RH u20 TINO INO9 NOD Ts REIS es OWOD 0T LI INOO TEDAS d Figure 15 LCD glass Doc ID 18141 Rev 2 29 42 ov 0c c NAH Hr L8L QI 90d Figure 16 Audio soneway2s 1 2 3 4 A C74 IL Speaker 2 3V3 IT T U25 330pF CN3 1 KDMG15008 03 P16 r109 T 23k 2 10K U27 ST 613 1 eo 5 R103 Standby VOUTI Audio op P44 E en Rig Eu Speaker 0 T 22K 3 vme vec S iav3 470nF 2 7 E E 1 Bypass GND ites ii Zcs TE SS IST N A DEE B VDD 3V3 U29 Ce TP9 KECG2740TBL TP8 U28 MIC OUT 2 MIC 3 TS461CLT S k jum RIB 0 R 0 PET rem SE N A 129 18K Lt C73 22uF tC84 47uF D d x STMicroelectronics Title STM32L152 EVAL Audio Number MB819 Rev B A PCB SCH Date 9 7 2011 Sheet4 of 14 1 2 3 4 8LOLOMN
21. SD Card connector CN4 25 3 12 BNC connector CON1B senan raK ERREARE ER 25 4 Schematics vann reden DE eene cad 26 5 REVISION history aaa KG obod dd daa KU aa ae scan we 41 ky Doc ID 18141 Rev 2 3 42 Features UM01018 1 1 1 2 4 42 Features e Four 5 V power supply options Power jack ST LINK V2 USB connector User USB connector Daughterboard Audio speaker and microphone connected to DAC and ADC of STM32L152VBT6 2 GByte or more SPI interface MicroSD Card M 12C compatible serial interface temperature sensor RS 232 communication IrDA transceiver JTAG and trace debug support ST LINK V2 embedded 240x320 TFT color LCD connected to SPI interface of STM32L152VBT6 Joystick with 4 direction control and selector Reset button Tamper or Key button 4 color user LEDs and 3 LEDs as MCU power range indicator MCU consumption measurement circuit LCD glass 32 x 4 segments connected to LCD controller in STM32L152VBT6 Extension connector for daughterboard or wrapping board MCU voltage choice of 3 3 V or adjustable from 1 65 V to 3 6 V USB FS connector Two touch sensing buttons Light dependent resistor LDR Potentiometer Demonstration software Demonstration software is preloaded in the board s Flash memory for easy demonstration of the device peripherals in stand alone mode For more information and to download the latest version available please refer to the STM32L152 EVAL demonst
22. SE Ea e IA 10 2 6 LCD glass module 10 2 7 Te Te WEE 11 2 8 UGE aves kak bed bateats EM EM POMENI 11 2 9 Ho 232 And IDA uus a tad be Shwe Ron ER ee EE 11 2 10 Touch SENSING buttons 12 201 MicroSD Card EE 12 2 12 Analog Bi 12 213 Comparator 23232450506 sek vrs Die A 13 2 14 Temperature sensor 14 2 15 Display and input devices 14 2 16 IDD measurement 15 246 1 Bunmode naka GRAN ii RERO Rx AED RAR 15 2 16 2 Low power mode 15 2 16 3 Ibias current measurement procedure 17 3 ITU TEEN EE 18 3 1 RS 232 connectors CN2 CN5 18 3 2 TFT LCD connector CN14 18 3 3 Power connector CN12 19 3 4 Daughterboard extension connectors CNG and CN7 19 3 5 ST LINK V2 programming connector CN10 22 3 6 ST LINK V2 USB type B connector CN11 23 2 42 Doc ID 18141 Rev 2 ky UM01018 Contents 3 7 User USB Type B connector CN1 23 3 8 ANO Ach ONG mm 23 3 9 JTAG connector CN9 24 3 10 Trace debugging connector CN8 24 3 11 Micro
23. bottom MS18663V1 Table 22 Analog input connector CN13 Pin number Description Pin number Description 1 GND 4 GND 2 GND 5 Analog input PA5 3 GND Doc ID 18141 Rev 2 25 42 Schematics UM01018 4 Schematics The following schematics are listed Figure 13 STM32L152 EVAL on page 27 Figure 14 MCU on page 28 Figure 15 LCD glass on page 29 Figure 16 Audio on page 30 Figure 17 Peripherals on page 31 Figure 18 Power on page 32 Figure 19 Extension connector on page 33 Figure 20 LCD and SD Card on page 34 Figure 21 RS 232 and IrDA on page 35 Figure 22 IDD Measurement on page 36 Figure 23 Temperature sensor on page 37 Figure 24 ST LINK on page 38 Figure 23 Temperature sensor on page 37 Figure 26 Touch sensing on page 40 26 42 Doc ID 18141 Rev 2 ky Cen LvIL8I GI 200 ov i Figure 13 STM32L152 EVAL U LCD Glass LCD Glass SCHDOC U Extension connector Extension connector SCHDOC U IDD measurement IDD measurement SchDoc U_TemSensor TemSensor SCHDOC U RS232 IrDA RS232 IrDA SCHDOC U LCD MicroSD LCD MicroSD SchDoc Power SchDoc S Een U Touch Sensing Touch Sensing SchDoc U Peripherals Peripherals SchDoc U JTAG amp Trace JTAG amp Trace SchDoc STMicroelectronics Title STM32L152 EVAL Number MB819 Rev B 4 PCB SCH
24. cted between pins 2 and 3 Low power mode In Low power modes Stop or Standby the operational amplifier MAX9938FEUK U10 is connected to the 1 KOhm shunt resistor R35 controlled by the analogue switch T4 In this case the counter 74HC4060 U6 enabled by IDD_CNT_EN manages the measurement timing according to Figure 5 Doc ID 18141 Rev 2 15 42 Hardware and layout UM01018 Figure 5 STM32L152 EVAL IDD low power modes measurement timing diagram Wake up IDD period measurement Wake up Clear CNT event N y event MCU mode Run Stop or Standby pa kat lt gt IDD CNT EN PB1 _CNT_EN PB15 O Q12 LOW POWER EN T4 pin 3 Q13 IDD WAKEUP 4 PC13 Q13n disconnect filter F Or pira 0 ms 150 ms 300 ms Note 16 42 The principle used to measure a current when the STM32L is in Low power mode is 1 Configure ADC to measure voltage on the IDD Measurement pin PAS Configure PAO to serve as wakeup pin Enter Low power mode after setting IDD CNT EN signal low IDD WAKEUP rising edge wakes up the MCU after around 300 ms Start ADC conversion as soon as possible after wakeup in order to measure the voltage corresponding to Low power mode on capacitor C25 6 Reset the counter by programming IDD CNT EN high in less than 70 ms after the wakeup to avoid the R35 1 KOhm resistor being connected later in Run mode gh ON In Low power modes the
25. default setting Speaker amplifier U27 is disabled when JP16 is closed 2 8 USB The STM32L152 EVAL evaluation board supports USB 2 0 compliant full speed communication via a USB type B connector CN1 The evaluation board can be powered by this USB connection at 5 V DC with 500 mA current limitation USB disconnection simulation can be implemented by controlling the internal 1 5 K pull up resistor on the USB D line to detect 5 V power on the USB connector CN1 using the resistor bridge that is connected to PES 2 9 RS 232 and IrDA Both IrDA and RS 232 with hardware flow control CTS and RTS communication is supported by e IrDA transceiver U17 connected to USART2 of the STM32L152VBT6 on the STM32L152 EVAL evaluation board e RS 232 connector CN2 D type 9 pin For ISP support two signals are added on the RS 232 connector CN2 Bootloader RESET shared with CTS signal Bootloader BOOTO shared with DSR signal Another RS 232 without hardware flow control connector CN5 is connected to USART3 of the STM32L152VBT6 Table 8 RS 232 and IrDA related jumpers Jumper Description Setting USART2 RX is connected to RS 232 transceiver and RS 232 communication is enabled when JP5 is set as shown default setting eee JP5 USART2 RX is connected to IrDA transceiver and IrDA communication is 123 enabled when JP5 is set as shown e e Doc ID 18141 Rev 2 11 42 Hardware and layout U
26. is standard is implemented on the majority of evaluation boards Each pin on CN6 and CN7 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM32L152 EVAL evaluation board Please refer to Table 15 and Table 16 for details Table 15 Daughterboard extension connector CN6 Pin Description Alternative function How to disconnect with function block on STM32L152 EVAL board 1 GND 3 PC7 TS_KEY2 Remove R13 5 PC9 TS CT Remove R29 7 PA9 COM1 Remove LCD glass U20 9 PAO Tamper Key 11 PC14 32K OSC Remove R37 13 PA12 USB DP Remove R25 15 PC15 32K OSC Remove R38 17 PC10 LCD glass_SEG40 USART3_TX JP7 open 19 GND 21 PC12 LCD glass_SEG42 Remove LCD glass U20 23 PD1 LED2 Remove R125 Doc ID 18141 Rev 2 19 42 Connectors UM01018 20 42 Table 15 Daughterboard extension connector CN6 continued Pin Description Alternative function Howse ee oge digan m 25 PD3 USART2 CTS JP9 open 27 PD5 USART2 TX LED4 JP19 open 29 PD7 CS uSD Remove SD card from CNA 31 VLCD 33 PB3 JTDO COMP POT JP17 open 35 PB5 TEMP SMBAI COMP POT4 JP17 and JP11 open 37 PB7 l2C TEMP SDA Remove R62 39 GND 41 PE2 LCD glass SEG38 TRACE CLK Remove LCD glass U20 43 PE4 TRACE D1 45 PB8 LCD glass SEG16 Remove LCD glass U20 47 PE6 TRACE D3 SD Ca
27. low power measurement since this current is not sinked by the MCU The procedure for accurate IDD measurement is 1 Set jumper on JP4 pins 1 and 2 2 Follow the Low power mode procedure to measure l1 bias 3 Remove jumper on JP4 pins 1 and 2 and place it on JP4 pins 2 and 3 4 Follow the low power mode procedure to measure I2 IDD bias 5 Calculate actual IDD IDD I2 11 Table 12 IDD measurement related jumpers Jumper Description Setting PA5 is connected to IDD measurement the output of IDD measurement circuit roe when JP 14 is closed default PAS is disconnected from IDD_measurement but remains connected to BNC connector CN13 when JP14 is open STM32L is powered through IDD measurement circuit default se JP4 STM32L is powered directly by 3V3 IDD measurement circuit is bypassed 123 Please refer to Section 2 2 Power supply for details eee When jumper JP4 is removed the current consumption of the STM32L can be measured by connecting an ammeter between jumper JP4 pin 1 and pin 2 RDS on typical value of analog switch T4 50 micro Ohm so to improve measurement accuracy it is recommended to take into account the RDS in series with R36 1 Ohm in the Idd Run mode current calculation Doc ID 18141 Rev 2 17 42 Connectors UM01018 3 Connectors 3 1 RS 232 connectors CN2 CN5 Figure 6 RS 232 connector viewed from front 1 5 2 3 4 OOOJDO OO 0 0 6 7
28. o MCU VDD when JP4 is set as shown default setting 4 Note For manual IDD measurement the jumper on JP4 must ee be removed and replaced by an ammeter connected between JP4 pin 1 and 2 of JP4 Connect VDD power to MCU with current sampling resistor 12 1 Ohm or 1 KOhm in series for IDD current measurement es Doc ID 18141 Rev 2 d UM01018 Hardware and layout 2 3 Clock source Two clock sources are available on the STM32L152 EVAL evaluation board for the STM32L152VBT6 and embedded RTC e X1 32 KHz crystal for embedded RTC e X2 8 MHz crystal with socket for the STM32L152VBT6 microcontroller it can be removed from the socket when an internal RC clock is used Table 2 32 KHz crystal X1 related solder bridges Solder bridge Description PC14 is connected to 32 KHZ crystal when SB1 is open default setting SB1 PC14 is connected to extension connector CNG when SB1 is closed In such case R37 must be removed to avoid disturbance due to the 32 KHz quartz PC15 is connected to 32 KHz crystal when SB4 is open default setting SB4 PC15 is connected to extension connector CN6 when SB4 is closed In such case R38 must be removed to avoid disturbance due to the 32 KHz quartz Table 3 8 MHz crystal X2 related solder bridges Solder bridge Description PH1 is connected to 8 MHz crystal when SB2 is open default setting SB2 PH1 is connected to extension connector CN7 when SB2 is closed In s
29. optional RI6 0 PA11 xs ssi rers ema ns 3 R25 0 PA12 IS DM s El El El S MTO008 A o i M 38888 GND o SHELL gt SHELL Ce e el of al e S EIS El 5 sec EM Joystick D H H STMicroelectronics Title STM32L152 EVAL Peripherals USB Number MB879 Rev B APCB SCH Date 9 7 2011 Sheet5 of 14 1 2 3 4 8LOLONIN soneway2s ov ce c NAH LyL81 CI 90d Figure 18 Power 1 2 3 4 A U26 TP6 ZEN056V130A24LS U22 3V3 Ena U21 ESV tV LD1086D2M33 3V3 4K E B L sv cv 2 i 2 Vin Vout PE q i E We Ka ma y C65 E C55 y 3 2 sc ca 4 47uF 5 doux TE DC 10B ni 5 i EE mis IMAJS 0A TR ce1 CG3 m 100nF BNX002 01 ta TP7 U24 VDD ADJ tV LD1086D2M R94 VDD ADJ em mm E 124 1 l 3 Power Supply VDD ADJ 1 65V to 3 6V m m Tour JP12 40 2 1 e TPS TP4 S VESELIE T 8 sv D Ground Es e 5V red 2 100nF m X Po ow NZ mo tot ka ik 3386P 201H 5 K2 196 Header 4X2 1 D A H STMicroelectronics Title STM32L152 EVAL Power NumberMB879 Rev B 4 PCB SCH Date 9 7 2011 Sheet6 of 14 1 2 3 4 soneway2s 8LOLOMN el o o el 00 D JU lt N ov ce Figure 19 Extension connector
30. perty contained therein UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of
31. potentiometer as shown in Table 10 Table 10 Comparator and potentiometer related jumpers Jumper Description Setting Potentiometer RV3 is connected to ADC input PB12 Used as ADC input when JP17 is set PB12 ee as shown default setting PB3 ee PB5 ee Potentiometer RV3 used as LDR variable threshold Input is connected to comparator ang s JP17 inverting input GPCOMP IN PB3 when JP17 is set as shown E ee Potentiometer RV3 is connected to non inverting input GPCOMP IN PB5 The comparator inverting input can be connected to 14 band gap Y band gap band gap or PBI2 ee DAC internally to test MCU wakeup possibility when an external voltage reaches a n programmable threshold when JP17 is set as shown sa PB4 is connected to JTAG connector CN9 TRST when JP10 is set as shown default 123 setting e e e JP10 PB4 is connected to LDR when JP10 is set as shown Le eje ky Doc ID 18141 Rev 2 13 42 Hardware and layout UM01018 Table 10 Comparator and potentiometer related jumpers continued Jumper Description Setting PB5 is connected to I2C SMB the interrupt output of temperature sensor U18 when JP11 is closed default setting Wi PB5 is disconnected from I2C SMB but remains connected to COM IN when JP11 is open for comparator application 2 14 Temperature sensor A temperature sensor STLM75M2E is connected to the I2C bus of the STM32L152VBT6 through two transi
32. ration software available on www st com Order code To order the STM32L152VBT6 evaluation board use the order code STM32L152 EVAL Doc ID 18141 Rev 2 ky UM01018 Hardware and layout 2 Hardware and layout The STM32L152 EVAL evaluation board is designed around the STM32L152VBT6 microcontroller in a 100 pin TQFP package Figure 1 illustrates the connections between the STM32L152VBT6 and its peripherals color LCD touch sensing button USB FS connector temperature sensor USART IrDA audio MicroSD Card and embedded ST LINK V2 Figure 2 helps you to locate these features on the evaluation board Figure 1 Hardware block diagram MicroSD Joystick Card LEDs Dot Matrix LCD Wakeup USART3 Voltage tt button irse DB9 connector LDR Comparator RS 232 USART2 transceiver DB9 connector Touch TS IrDA sensing controller transceiver BNC STM32L152 VBT6 t Potentiometer Salin 1 65V to 3 6V djustable Microphone d LCD mol 5 regulator LCD Glass Baar mplifier S Speaker 3 3V regulator Amplifier USB MCU connector consumption Embedded USB TypeB measurement ST LINK V2 connector Temperature
33. rd detection JP2 open 49 D5V 2 PC6 TS KEY1 Remove R14 4 PC8 TS SHIELD 6 PA8 LCD glass COMO Remove LCD glass U20 8 PA10 LCD glass COM2 Remove LCD glass U20 10 GND 12 PA11 USB DM Remove R16 14 PA13 JTMS 16 PA14 JTCK 18 PC11 LCD glass SEG41 USART3 RX JP8 open 20 PA15 JTDI 22 PDO LED1 Remove R111 24 PD2 LCD glass SEG43 Remove LCD glass U20 26 PD4 USART2 RTS LED3 JP18 open 28 PD6 USART2 RX Remove R19 30 GND 32 PH2 CS LCD 34 PB4 JTRST LDR JP10 open 36 PB6 I2C TEMP SCL Remove R69 38 PEO LCD glass SEG36 Remove LCD glass U20 40 PE1 LCD glass SEG37 Remove LCD glass U20 42 PE3 LCD glass SEG39 TRACE DO Remove LCD glass U20 Doc ID 18141 Rev 2 al UM01018 Connectors Table 15 Daughterboard extension connector CN6 continued Pin Description Alternative function Howse eae oge daan on 44 PE5 TRACE_D2 46 PB9 LCD glass_COM3 Remove LCD glass U20 48 3V3 50 GND Table 16 Daughterboard extension connector CN7 Pin Description Alternative function HowtoalSconncct with tunetion block on STM32L152 EVAL board 1 GND 3 PD14 LCD glass_SEG34 Remove LCD glass U20 5 PD12 LCD glass_SEG32 Remove LCD glass U20 7 PD10 LCD glass_SEG30 Remove LCD glass U20 9 PC13 IDD_CNT_EN 11 RESET 13 PB15 uSD SPI2 MOSI 15 PB13 uSD SPI2 SCK 17 PB11 LCD glass SEG11
34. s U20 38 PA6 LCD glass SEG3 Remove LCD glass U20 40 PA5 BNC JP14 open 42 PA3 LCD glass SEG2 Remove LCD glass U20 44 PA1 LCD glass SEGO Remove LCD glass U20 46 PC2 LCD glass SEG20 Remove LCD glass U20 48 PCO LCD glass SEG18 Remove LCD glass U20 50 GND 3 5 ST LINK V2 programming connector CN10 Connector CN10 is used only for embedded ST LINK V2 programming during board manufacture It is not populated by default and is not for end user usage 22 42 Doc ID 18141 Rev 2 UMO1018 Connectors 3 6 3 7 3 8 ST LINK V2 USB type B connector CN11 The USB connector CN11 is used to connect the embedded ST LINK V2 to the PC for board debugging Figure 8 USB type B connector CN11 viewed from front MS18660V1 Table 17 USB type B connector CN11 Pin number Description Pin number Description 1 VBUS power 4 GND 2 DM 5 6 Shield 3 DP User USB Type B connector CN1 Figure 9 USB type B connector CN1 viewed from front MS18660V1 Table 18 USB type B connector CN1 Pin number Description Pin number Description 1 VBUS power 4 GND 2 DM 5 Shield 3 DP 6 Shield Audio jack CN3 A 3 5 mm stereo audio jack CN3 connected to audio DAC is available Doc ID 18141 Rev 2 23 42 Connectors UM01018 3 9 JTAG connector CN9 Figure 10 JTAG debugging connector CN9 viewed from above PCB
35. sistor can be enabled by closing the solder bridge SB5 A low pass filter can be implemented for the BNC connector by replacing R47 and C31 for ADC input or replacing R45 and C31 for DAC output with the values reguested by end user s application There are also 3 analog signals available on the board 1 10 KOhm potentiometer RV3 connected to PB12 2 IDD measurement output signal connected to DAG for MCU power consumption test 3 External ADC input which can be connected to TP3 AIN and TP2 AIN R48 should be removed to reduce the noise on this analog input Doc ID 18141 Rev 2 ky UMO1018 Hardware and layout 2 13 Comparator Three I Os are used to implement a comparator feature as shown in Figure 3 e Comparator non inverting input PB4 connected to LDR R34 e Comparator inverting input PB3 connected to potentiometer RV3 used as variable threshold input for comparison to luminosity measured on LDR e Comparator non inverting input PB5 connected to potentiometer RV3 used as analogue voltage input for comparison with internal voltage reference for instance Band gap in order to test analogue Wakeup feature of the MCU Figure 3 STM32L152 EVAL comparator features VDD LDR_OUT SSA aie AA AA a GND Yap PBS vA ij D JP17 pps GPCOMP IN pB12 ADC IN18 GND Band gap 1 2V EE MS18657V1 Jumper JP17 allows 3 different usages of the
36. stors to support a wide voltage range from 1 65 V to 3 6 V 2 15 Display and input devices The display devices are e 2 4 color TFT LCD connected to the SPI1 port of the STM32L152VBT6 e 4 general purpose color LED s LD 1 2 3 4 LD3 and LD4 are disabled by default JP18 and JP19 must be closed to enable these two LEDs The input devices are e 4 direction joystick U30 with selection key e Wakeup button B2 Table 11 2 4 TFT LCD module CN14 Pin on CN3 Description Pin connection 1 CS PH2 2 SCL PE13 3 SDI PE15 4 RS 5 WR 6 RD 7 SDO PE14 8 RESET RESET 9 VDD 3 3V 10 VCI 3 3V 11 GND GND 12 GND GND 13 BL VDD 5V 14 BL_Control 5V 15 BL_GND GND 16 BL_GND GND 14 42 Doc ID 18141 Rev 2 ky UM01018 Hardware and layout 2 16 2 16 1 2 16 2 IDD measurement The built in IDD measurement circuit implemented allows the consumption measurement of the STM32L152C6T6 while the MCU is in Run or Low power saving modes For IDD measurement the circuit below is implemented on STM32L152 EVAL Figure 4 STM32L152 EVAL IDD measurement circuit Oscillator frequency 30KHz MS18664V1 Run mode In Run mode IDD current is measured using the operational amplifier MAX9938FEUK U10 connected to the 1 Ohm shunt resistor R36 In this case IDD CNT EN remains high during measurement so R35 remains in short circuit during the measurement because of transistor T4 which remains ON permanently Jumper JP4 must be conne
37. their respective owners 2011 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com 42 42 Doc ID 18141 Rev 2 ky
38. tle STM32L152 EVAL RS232 amp IrDA NumberMB879 Rev B APCB SCH Date 9 7 2011 Sheet9 of 14 1 2 3 4 8LOLONIN soneway2s cv 9 c NAH KL L8L QI 200 Figure 22 IDD Measurement VDD MCU e U10 MAX9938FEUK U12 SES 3 Ey on 2 ms ya PAS c Be GND vec voo II T VDD E SN74LVCIG66DCKT S ES 30 5 ef E na U9 7 VDD SN7ALVCIGO4DCKT voor 3 a A FDC606P SE VDD 16 100nF Oscillator frequency 30KHz STMicroelectronics Title STM32L152 EVAL IDD_Measurement Number MB819 Rev B 4 SCH PCB Date 9 7 2011 Sheet 10 of 14 4 soneway2s 8LOLOMN c NAH Hr L8L OI 200 CFE Figure 23 Temperature sensor 3V3 SE 66 4K734K7 U18 PB7 R62 0 1 SDA VDD PB6 R69 0 2 PBS RELO ja Mo mi OSINT Al GND A2 3 STLM75M2E gt S D TR2 FDN327N Temperature sensor STMicroelectronics Title STM32L152 EVAL TemperatureSensor Number MB819 Rev B 4 PCB SCH Date 9 7 2011 Sheet 77 of 14 4 8LOLOMN soneway2s cv 8 el o o el 00 D JU lt N Figure 24 ST LI
39. tra vco PH2 CTS BL RESET a PEZ PB2 PB3 paa E EE aa 7 pat PBO CMM MSD Es EPA k D2 Se nf b R39 Bao LY Eb Ep sans EE HU cmt 3E 20 ICICI L3 E IC mete e Pos 2 paz PEO E rac 38 B 5 98 Meca ee BE PAG A E CNB UART3 Ly NO PEI ze su SL oe AO oe PAS CN4 ala NE EE sa sk Ha MicroSD card PE4 PES UR RST PAZ PAI ONE E STM32L152 EVAL Ka leet PEB 433 PCI PCO a CNS USARIS Y GND PC13 GND ER T nag U20 8 BB C38 C35 C36 C37 c49 D3 04 EXT JTAG U7 R55 A GO y 2 T aw Renan bit UI Utd uid US Bo K ee LCD glass SE Booto e 5 OLJ A d Boo Bon Gi i ML Jee e ude 3 B module U17 es s Bugs T era MN Mu Es 3 SLE p o Joes C45 C46 C42 C43 C50 SEA NL X User Flash EL E SO UE B72 De o Ee memory S SI RAC J SRAM SBR PESPES PBIZ USD CN9 a ua 39 SEH DS d 5 Tee SI l5 g ICH A E o S om dali gt rej JTAG connector CN144 5 a CD nog T u22 RBO 4 LAT Color LCD T EES S ba cic CJ c 3R80 0 S 1 EE Ba FS CN11 ii Bo Re Pg ws CE gt ZZ STLINK V2 L 321m ER fi pH z Eu u a CER 1 o bc el es USB 1 m mi ES ca ea R98 Ooo ES E RIO4C 3 CNH O LD5 CN12 cni2 pau sv NO EJ Riog ma Z x NG La sm Ae SEGA gnon ngn z os ST LINK V2 power jack EE o z 9 2 288 LED EER O eE SC E Ss e cU AC NI EUOSO Do Di o D 6 D SCH Su Su EC Eu uzokm u M Z M Z a Z M Z Mau U28 SOENS Te 7 S OR Da Tep gr in gn EUEURUEUEUEU o E E EEO Eg U U a CN13 BOS SD Su Eu Su Been T BNC connector CNI3 PAB ADC NS MB819 Rev B B2 Tamper Key D
40. uch case R39 must be removed to avoid disturbance due to the 8 MHz quartz PHO is connected to 8 MHz crystal when SB3 is open default setting SB3 PH1 is connected to extension connector CN7 when SB3 is closed In such case C30 and X2 must be removed 2 4 Reset source The reset signal of the STM32L152 EVAL evaluation board is low active and the reset sources include e Reset button B1 e Debugging Tools from JTAG connector CN9 and trace connector CN8 e Daughterboard from CN7 e Embedded ST LINK V2 e RS 232 connector CN2 for ISP Note Jumper JP9 must be changed for RESET This is handled by pin8 of the RS 232 connector CN 2 CTS signal refer to Section 2 9 for details Doc ID 18141 Rev 2 9 42 Hardware and layout UM01018 2 5 Boot option The STM32L152 EVAL evaluation board is able to boot from e Embedded user Flash e System memory with boot loader for ISP e Embedded SRAM for debugging The boot option is configured by setting switch SW1 BOOTO and SW2 BOOT1 BOOTO can also be configured via RS 232 connector CN2 Table 4 Boot related switches Switch Boot from Setting STM32L152 EVAL boot from embedded user Flash when SW1 is set as shown SW2 is not relevant in this configuration default setting Hele SW Swi and swp S MS2L152 EVAL boot from embedded SRAM when SW1 and Sd an SW2 are set
Download Pdf Manuals
Related Search
Related Contents
StoneGate FW-310 Appliance Installation Guide ダウンロード - メカトロニクス Von Arx AG OS-C210 - 防犯カメラ、監視カメラ DIVE 36 SOLO user manual rel 1.4 eng Präzisions-Kolbendosierpumpe mikro delta® MDLa CR27 User Manual 8-2014 V7 取扱説明書 - SUNNY TRIPOWER 10000TL Economic Excellence IQ-850 DC Sapience II Computer Copyright © All rights reserved.
Failed to retrieve file