Home

Discovery kit with STM32L476VG MCU

image

Contents

1. gt IE L 2 GX c66 mi d C60 C59 dim 18 C63 C64 19 nno R65 MLN m N R6 D 6 R64 os R71 EN D7 R73 USB USER EM m 25 JP6 e E CN1 USB ST LINK LD2 PWR gt LD3 OC CN3 ST LINK to DISCO board or SWD N 06 07 9 axis motion sensors G DISGO JP6 battery or internal lt 3V3 regulator selection 2 3V3 UJ memory rm U9 STM32L476VGT6 Le ie e e e e e d B2 joystick i D GND P2 extension 11 connector i PE10 12 i9 U16 Quad SPI Flash 017 MEMS microphone MB1184C LD6 LD7 USB LEDs CN7 USB USER DoclD027676 Rev 2 538707 1 11 39 Hardware layout and configuration UM1879 Figure 4 STM32L476 discovery board bottom layout GND 581 ST LINK PWR ii a 5 586 589 5810 default SB3 SB4 SB7 SB8 reserved 5812 5812 R86 reserved 0000000000006 6 5813 JP 5815 BIO RX 5816 5 5818 T_SWO 27 e 1 5819 5820 5819 NN e 32 768kHz CLK 4 dne
2. AOL 2001905 spe1euduoeq s peeudueq N INI OYN OVA SO DVN INI TX SO TX TINI OJAD 50 OSTAL SINHIA ISO 5 MOS SINHIA 54 DIO dI 54 DIO 54 DIO Wd S4 DIO juounjm Q 54 DIO UOWUMEIOMOT SA DIO Aor AOL AOL NMOC AOL AOL lec 0045 gt APIS 420105 pos XLI 5 5 195 Vas Oel jueureunseoul qAI N ELAYSN X 5 XIN 195 921 5 INO XL 5 XA 5 01008 LSYUN OMS ATOMS ISA LXH 195 vas 54 HYS dS IIVS MOS 5 MON IVS ATO 184 d 1450 1450 IG 1450 0d 1450 ATO 1450 SO 1450 042518 XTZEWLS lt 144 1480 241450 25 39 NO DH3I CAC XLI 5 xd ELAYSNA XL 5 OOGHOS I ZA LS LA NIT LS JOS TOU vas 51 IVS dS HYS 595 IYS JON TIVS X10 154 oqusordaav n 200495 1450 1450 n c 9oquos zLIS0HD GIT GOT Schematics
3. 4070 lt 0 5 1 c Pees 8 a GND NH 8 wa quz E 416171547415 a SNA F3 LIJF 2070 S 0 LNO SNC O lt 0 I LNO NI olod 8 5c 070 1 vIn Sie TOKO 1 DJA 090 1 059 ELA DHA 31 39 DoclD027676 Rev 2 UM1879 Schematics Figure 17 Audio DAC and microphone MEMS pejueuubnp 211 Jo 8 39945 lt 104 61 9 10 0 00181 2945 OOSIG D9LPIZEILLS 3221024 SWAN C0 SCC LS LC 8c 6I 090 01 ASX ANT J TOYO S 0 9 090 0 ALX AUT 090 01 ALX 497 690 790 TOPO 1 IS 070 I IS 69 OLY 76 0 SSOIppe CCTIEVSO ped PWIND 1114 VITIAV aLTAV 0151 lt OA 0151 02 StNIV VA dHA VZNIV SAT 090 0 asx e _ _ 090 201 ANT EN i I 8 1aSTA 38110 1DidS JONT Tsu VINO AdS NIAS VLINO AdS YTOS 3Ds 45 105 75 Toa EN vas e
4. INIT LS per qqT MI INIT LS tAE 10N 28012 070 083 SAN PNIA 10N E 4doc E i 0 1 2 SNIL an COL INY oor 1185 001 be gy IS 6c uid SOTATEWLS 01 25012 A424 24 24 2090 I WS S0 MINSLOS I 09 IN GAS 5070 1 MOI cla 18a 15 d31 m OMS L bd goro 1 7001 asn 984 dd asn Ms ANS T TINIT LS MINIT LS 490 40 918260142615 en 07 Iv NA 97 LV INIMS WLS uWNnN3 85 IX3 HM LSA WIM WIM PAU JON MINIT LS 0 1 LSA WIM 1 MOOI 1 MOI 070 1 LAT 1 614 8TA DoclD027676 Rev 2 26 39 Schematics UM1879 Figure 12 STM32L476VGT6 MCU 211 0130 19945 1 9 10 2 LS OOSIQ 99LF IC IALLS 2221014 NOW 9 LDA9LF ICEIWLES SINHIA ISO 5 AOS SWIN vas XIN TOS XIN XA ELAYSA XIN XL ELAYSN XIN AOL 0Vd HHINHO AOL ISUN LSUN 894 ER GET cdd 1S 1X3 ILSA LXH 4
5. OS SWAN OHAD A 88d ESL Ld OSIN SWHW gt Tu ISON SWIN gt lt YOS SWIN idd DoclD027676 Rev 2 34 39 0 1879 Power consumption measurements Appendix Power consumption measurements The power consumption measurements of the STM32L476 discovery board are reflected in Figure 20 Please note the GPIO configuration of the STM32L4 76VGT6 in Standby mode Figure 20 Power consumption tree Measured 287 3V3 287 115 gt 172 172 92 gt Measured 115 Measured 92 For IDD TSZ122 1st stage V 11 due to resistors bridge V 11 due to resistors bridge LDO LD3985 115 70 gt 45 Measured 70 Audio QuadSPI LSM303 L3GD20 DAC CS43 A GIR R30 70 0 4 gt 69 6 MFX For IDD STM32L152 TSZ122 2nd stage Measured 0 4 JP5 STM32L476VGT6 GPIOs are configured in Analog input except PWR gt PUCRA 0 no PU on GPIOA PWR gt PDCRA 2 PD on GPIOA 0 1 2 3 5 PWR gt PUCRB 0 no PU on GPIOB PWR gt PDCRB 0 PD GPIOB STM32L476VGT6 PWR gt PUCRC 0x1 PU on GPIOC O MAG CS PWR gt PDCRC 0x800 PD on GPIOC 11 PWR gt PUCRD 0x80 PU on GPIOD 7 MEMS SPI CS PWR gt PDCRD 0x12 no PD on GPIOD
6. motion sensors 20 7 12 2 extension connector CN2 20 7 13 MCU current ammeter 21 7 14 Extension 2 22 7 15 Solder bridges 23 2 39 DoclD027676 Rev 2 Ly UM1879 Contents 8 DCNCMaAUGS 25 Appendix Power consumption measurements 35 Appendix Mechanical 37 Revision NISTOTY 38 DoclD027676 Rev 2 3 39 List of tables UM1879 List of tables Table 1 ON OFF 9 Table 2 Jumper 13 Table 3 Debug connector ides ios pg d eques 15 Table 4 Reset related jumper 18 Table 5 CONDECION Z s caer Ge PRESSE Rcgc I NIS RNC REA OSE EEE ETA DESEO OWES ESE Ws 21 Table 6 EXTENSION CONMECION i tc fom a dane Hardie ae oe ace Pearce Sore 22 Table 7 eek Sb peux bee ES Se ERS SEOs X She 23 Table 8 Typical power consumption of the STM32L476 discovery board 36 Table 9 Document revision history 38 UM1879 Lis
7. 1 m 1 NRST pus Reset Reset 258 R60 GND NENNEN 2 E 6 11 gt 152 B a WB 12 e C55 e pris 7 R63 9 4 e e pum er 9 zB E 9 al 9 GND 5 mm NN 2 B ene T B2 Salla AUDIO JACK o C70 17 E 6 35 6 35mm 43 18mm 55 88mm DoclD027676 Rev 2 e 00 4 5 amp X ud E Oo N lt lt 37 39 Revision history UM1879 Revision history Table 9 Document revision history eon _ 17 Jul 2015 Initial release 04 Aug 2015 Added Section 5 Bootloader limitations y 38 39 DoclD027676 Rev 2 0 1879 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
8. UM1879 8 DoclD027676 Rev 2 UM1879 Schematics Figure 11 ST LINK V2 1 with support of SWD only pejueuuDnp 9111 0I JO 19945 lt 102 61 9 918 10 2 00181 9ouedsjes 9215 OOSIG D9LPTZEILS 35 thy Aquo AMS 110ddns qa 1 2 18 DEL TOPIOH 50582 44001 8285 s SAC 2 9 As S1104 49001 Slane coro 40001 DJA WEENdOSO6EGT HA AS 2185 5104 49001 co INIT 15 Tas IN 4NTT LS EN gt 5 1 15 lt 440 54 2 5 AH3AOOSIG lt 4 5 OIGMS SWL N IDAS NOL COVO Vol m NO LC 9TA 5 62 OF vurc 9 UNIS 951 VuUors 8 951 SOA WOETISALS INIT 15 SNAS SHOA VorTisais 200 1 001 SWO YOTOOIA T 070 966 0 TOYO J OE ra gedA INIW dasn TOYO J OEE 070 1 300 ZOHO 94 0 070 396 slay 5 coro 205 WO2 MM 0 0 1 ZOrO 1 00 INO UNNNSY ESN B 5 MINIT IS asn AS m EZLOS 106 1 IL ord MINIT IS 450 MNIT LS SN AS _ 10N
9. porn H240 S DIO dd 54 Wd 54 5884 54 1 TOPUMSIOMOT Sd E von 2090 01 ASX ANI OI Kd 01 9 5 2 VN NOW LSA OIGMS 5 Xu Lavsn 9dd XL Lavsn EAE gt dd 1 TAT 1 070 1 015 91DA9LF ICEIALLS 01004 ISSN LAO c 9S0 SIOd NI 950 1 LINO 250 4 NI OSO 0Hd 090 9601 ANI 01 IOd MI 222202 2070 01 44001 Ronee VNV L 01 704 070 Lv LON 2070 01 ALX 40001 TOYO 01 ALX 40001 COVO 01 ALX 40001 2070 01 ALX 40001 C80 2070 01 44001 TOYO 01 ALX 40001 2070 01 ALX 40001 082 NOW OLY TICEWLS 292 01 25012 42014 8140 11V 070 49620 OdN 492 S20 389L C VSSTCEXN cum 070 44 lt 0 OdN 49 6 0 6185 CC INO lt 250 lt 124 7 904 1005042 ay 24 isng ves 0 ozas NI 250 7124 2070 96 OdN 4402 LLO 0070 S OdN 4402 1 OTZ 1285 INO OSO THd IHd CCHS NI OSO 0Hd esci JON b 8195 CODN gt ser OON NJK 01 25012 aq isn d
10. August 2015 UM1879 life augmented User manual Discovery kit with STM32L4 76VG MCU Introduction The STM32L476 discovery kit 32L476GDISCOVERY helps the user to discover the STM32L4 ultra low power features and to develop and share applications It is based STM32L476VGT6 microcontroller with three I2Cs three SPIs six USARTs SWPMI two SAls 12 bit ADCs 12 bit DAC LCD driver internal 128 Kbytes of SRAM and 1 Mbyte of Flash memory Quad SPI touch sensing USB OTG FS LCD controller FMC JTAG debugging support The 32L476GDISCOVERY includes an ST LINK V2 1 embedded debugging tool interface LCD 24 segments 4 commons LEDs pushbutton joystick USB OTG FS audio DAC MEMS Microphone axis gyroscope 6 axis compass Quad SPI Flash memory embedded ammeter measuring MCU consumption in low power modes External boards can be connected thanks to extension and probing connectors Figure 1 STM32L476 discovery board 2 isla INR R7 a CS eens gt 21423 41 015 SSSSesessessss R24 f Le 24 o LITTITITITITI 9 T2 x x Bn t CAS iva c REAR E A D gt 458 zB 212 4 S gt HIT Enabled 1 Picture not contra
11. Hardware layout and configuration UM1879 7 9 7 10 Note 7 11 7 12 20 39 USART configuration The USART interface available on PD5 and PD6 of the STM32LA76VGT6 can be connected to ST LINK MCU to use the Virtual Com Port function To use the Virtual Com Port function with The onboard STM32L476VGT6 set 5813 and 5816 ON 5815 5817 must be OFF e Anexternal MCU remove solder from SB13 and 5816 solder 2 pins header on JP4 then you can connect RX and TX of the external MCU directly to RX and TX of 4 For more details see Section 8 Schematics Audio DAC and MEMS microphone An audio stereo DAC CS43L22 013 is connected to SAI interface of STM32LA476VGT6 STM32L476VGT6 controls the audio DAC the I2C1 bus which is shared with the I2C extension connector CN2 I2C1 is also available on the connector P1 pins labeled PBG I2C1 SCL PB7 I2C1 SDA The stereo output jack connector is CN6 I2C address of CS43L22 is 0x94 A MEMS audio sensor omnidirectional digital microphone provides a digital signal in PDM format to the STM32L476VGT6 9 axis motion sensors STM32L476 discovery board supports some 9 axis motion sensors composed of 136020 U7 a three axis digital output gyroscope LSM303C U6 a 3D accelerometer and 3D magnetometer module which are connected to STM32L476VGT6 through SPI 2 extension connector CN2 Figure 9 Connector CN2 MS30715V2
12. 1 4 MEMS SPI CLK MEMS SPI MOSI PWR gt PUCRE 0x0001 PU on GPIOE 0 XL CS PWR gt PDCRE 0x0200 PD on GPIOE 9 AUDIO CLK for DMIC PWR PDCRE 0x0074 PD on GPIOE 2 4 5 6 SAI1 interface to CODEC PWR PDCRE OxF400 PD GPIOE 10 12 13 14 15 QuadSPI CLK 00 01 02 03 PWR PUCRF 0 no PU on GPIOF PWR gt PDCRF 0 no PD on GPIOF PWR gt PUCRG 0 no PU on GPIOG PWR gt PDCRG 0 no PD on GPIOG PWR gt PUCRH 0 no PU on GPIOH PWR gt PDCRH 0 no PD GPIOH V 10 due to resistors bridge DoclD027676 Rev 2 35 39 Power consumption measurements UM1879 The total power consumption of the STM32L476 discovery board measured is 287 which is as expected Table 8 gives for each peripheral the theoretical power consumption value It s extracted from the vendor s product datasheet The typical values are given under the same conditions as used for the power consumption measurement above Please refer to those product datasheets for more details about the conditions The theoretical total power consumption of the STM32L476 discovery board is 295uA Table 8 Typical power consumption of the STM32L476 discovery board Typical 1184 01 theoretical component consumption uA S 9 Reset pin 32 and al cocks andines are Foll curent consumator n powerdown 1 Conditions LSM303CTR_U6 IddPdn
13. DoclD027676 Rev 2 Ly UM1879 Hardware layout and configuration Table 5 Connector CN2 _ 261 SOA PRN et 20T SOL PE premo M _ 7 13 MCU current ammeter The jumper 5 labeled Idd allows the consumption of STM32L476VGT6 to be measured directly by a built in current ammeter circuit able to measure from 60nA to 50mA or by removing the jumper and connecting an ammeter e Jumper on position OFF STM32L476VGT6 is powered default JP5 ei TE og e Jumper on position ON module onboard is designed to measure from 60 to 50mA by using several MOSFETSs and switching automatically depending on the read value JP5 A so e e jumper on JP5 an ammeter must be connected to measure the STM32L4 76VGT6 current through pin 1 and 2 if there is no ammeter the STM32L476VGT6 is not powered JP5 LL oO DocID027676 Rev 2 21 39 Hardware layout and configuration UM1879 7 14 Extension connector P1 P2 The P1 and P2 headers can connect the 5 321476 discovery board to a standard prototyping wrapping board STM32L476VGT6 GPIOs are available on these connectors P1 and P2 can also be probed by an oscilloscope logical analyzer or voltmeter Table 6 Extension connector LM 3 USB ST LINK 5V INPUT VUSB USB OTG FS VBUS 4 22 39 DoclD027676 Rev 2 UM1879 Hardware layout and configur
14. Jes SB21 SB22 T i e 8MHz e d E SB23 1 SB25 SB24 OTG FS CR1 battery connector 2 5827 BM 5826 69 5828 5829 i GND 5 GND Be sudo sack 12 39 DoclD027676 Rev 2 SB2 EXT RF E2P SB14 T SWO SB16 SB13 USART SB17 SB15 MFX USART RX TX SB23 B1 RESET SB26 SB27 reserved SB28 2 5V REG inhibit SB29 2 5V REG input MS39115V1 4 UM1879 7 1 7 1 1 Hardware layout and configuration Embedded ST LINK V2 1 The ST LINK V2 1 programming and debugging tool is integrated on the STM32L476 discovery board Compared to ST LINK V2 the changes are listed below The new features supported on ST LINK V2 1 are USB software re enumeration e Virtual com port interface on USB Mass storage interface on USB USB power management request for more than 100mA power on USB These features are no more supported on ST LINK V2 1 e SWIM interface e Application voltage lower than 3 V For all general information concerning debugging and programming features common between V2 V2 1 please refer to ST LINK V2 user manual 0 1075 There are two different ways to use the embedded ST LINK V2 1 depending on the jumper states Program debug the STM32L476VGT6 on board Section 7 1 3 Program debug an STM32 in an external application board usin
15. are available as input devices A LCD 4x24 segments 4 commons multiplexed 1 4 duty 1 3 bias is mounted on the DIP28 connector U5 Boot0 configuration BootO is by default grounded through a pull down R91 It is possible to set BootO high removing R91 and putting a jumper between P1 header 6 BOOTO and pin5 3V Quad SPI NOR Flash memory 128 Mbit Quad SPI NOR Flash memory is connected to Quad SPI interface of STM32L476VGT6 USB OTG FS STM32L476 discovery board supports USB Full Speed communication via USB Micro AB connector CN7 and USB power switch U14 connected to VBUS The board can be powered by this USB connection as described in Section 7 2 A green LED LD6 will be lit in one of these cases power switch 014 is ON and STM32L476 discovery board works as a USB host VBUS is powered by another USB host when STM32L476 discovery board works as an USB device Red LED LD will be lit when an over current occurs In order to connect the FS VBUS FS ID signals from the connector to the OTG FS hardware IP of STM32L476VGT6 please remove the LCD from its socket U5 and close SB24 and SB25 The default configuration is that the LCD is connected to U5 and SB24 and SB25 are opened In this case the FS VBUS and FS 10 signals from 7 are connected to the FS peripheral of the STM32LA476VGT6 available on PC11 and PC12 DoclD027676 Rev 2 19 39
16. current consumption in power down mode TSZ1221ST 011 Bridge Op Amp Current in R48 R49 Standby mode All GPIOs in Analog Input except WAKEUP input with external R34 STM32L476VGT6 U9 Standby mode GPIOs configuration described above discovery 4 36 39 DoclD027676 Rev 2 0 1879 67 31 120 02 48 26mm 5 15 24 7 62 Mechanical drawing Mechanical drawing Figure 21 STM32L476 discovery board mechanical drawing 3 81 UJ 3 3 3 3 o Ww 3 101 102 C1 ET 5 8822 EX o2 1 e SWOe MEL ind P p ger EE B gu SWCLK 5 NI GND 22 COMM c o model muto e e Je NRST 2 R21 swo 4 5 17 TX 16 22 252 722 CNS L e 5 m 2 27 5 gt ue r mm mx 10 630 _ i S GND SEND ipai T 25 11 0 d d E zs m 5 BOOTO 6 urs GND PSETE le PB3 14 2 LI I e PC15 1 R56 16 PHO bd 1
17. 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 2015 STMicroelectronics All rights reserved DoclD027676 Rev 2 39 39
18. osje XAW AE 92080 9601 0 5 53114300 2 XAN ONIMVUG TVSOdOUd LAOAVT CI DoclD027676 Rev 2 28 39 Schematics UM1879 Figure 14 Joystick ACP LEDs and pushbutton 0130 19945 lt 102 61 9 10 2 UOISIAZY PSITAIN 90uamjog 2945 514 994 126118 3594 Ly uoyng pue saI pns of 4ov18 SIND HSNd MS 070 M 14544 LSA y ns or 070 940T 19001 070 9401 WX 49001 suid nduj 5 0 5 0 coro 5 0 50 NMOC AOL AOL 7 L Vd WHINHO AOL 9 45 Hd T r0I WSS cas e L AC 8 9 SW Tsu 1 Ds 305 190 2 98d 1 vas Idd 29 0000 9401 ALX 49001 92 0 ALX 49001 Ivo V800 LIN dn IHOTA t NAOGd 1881 E 01 ALX 40001 070 MOI Ero 6564 T 0070 1 TOYO 001 5 ESA 09918 CH Toro oee Orel 8Hd P9 TNO 101990009 1 29 39 DoclD027676 Re
19. the STM32L476 discovery board is low active and the reset sources include The reset button B1 connected by default to NRST 5823 closed he embedded ST LINK V2 1 e external reset pin 11 of P2 header connector labeled NRST e The external reset from SWD connector pind Table 4 Reset related jumper When is closed the SWD connector CN4 pin5 and the embedded ST LINK V2 1 are connected to NRST Default Setting closed JP3 is opened no connection between CN4 and ST LINK V2 1 to NRST This must be used when the ST LINK V2 1 is not powered i e STM32L476 discovery board is powered by the CR2032 battery DoclD027676 Rev 2 Ly UM1879 7 9 7 6 7 7 7 8 Hardware layout and configuration User interface LCD joystick LEDs The STM32L476 discovery board features 7 LEDs with the following functionalities 101 COM 101 default status is red LD1 turns to green to indicate that communications are in progress between the PC and the ST LINK V2 1 LD2 PWR the red LED indicates that the board is powered 103 the red LED indicates a fault when the board is in current limit 510 mA e LD4 user The red LED is a user LED connected to the I O PB2 of the STM32L476VGT6 05 user The green LED is a user LED connected to the I O of the STM32L476VGT6 e LD6 LD7 USB FS LEDs see Section 7 8 Four direction joystick B2 with selection and a reset pushbutton B1
20. 1 Prefer using the USB Composite Device handle for a full recovery 7 1 2 ST LINK V2 1 firmware upgrade The 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 a new functionality bug fixes support for new microcontroller families it is recommended to visit www st com before starting to use the STM32L476 discovery board and periodically in order to stay up to date with the latest firmware version 7 1 3 Using ST LINK V2 1 to program debug the STM32L476VGT6 on board To program the STM32L476VGT6 on board simply plug in the two jumpers CN3 as shown in Figure 6 in red and connect the STM32L476 discovery board to the PC through the Mini B USB ST LINK V2 1 CN1 connector Make sure the jumpers JP3 JP6 3V3 and JP5 ON are set Do not use the CN4 connector Figure 6 CN1 CN3 ON CN4 connections CN1 Mini B USB connector jumpers SWO connector Cies a Rip STM32L4766 DiSCO 4 14 39 DoclD027676 Rev 2 0 1879 Hardware layout and configuration 7 1 4 Using ST LINK V2 1 to program debug an external STM32 application board To use the ST LINK V2 1 to program the STM32 on an external application board out of the SIM32L476VGT6 on board remove the 2 jumpers from CN3 as shown in Figure 7 in red and connect your board
21. Flash memory It also allows writing data into RAM The data come in via one of communication interfaces such as USART SPI bus USB or Bootloader version can be identified by reading Bootloader ID at the address Ox1FFFGFFE The STM32L476VGT6 part soldered on the 32L4 6GDISCOVERYmain board is marked with a date code corresponding to its date of manufacture STM32L476VGT6 parts with the date code prior or equal to week 22 of 2015 are fitted with bootloader V 9 0 affected by the limitations to be worked around as described hereunder Parts with the date code starting from week 23 of 2015 contain bootloader V 9 2 in which the limitations no longer exist To locate the visual date code information on the STM32L476VGT6 package refer to its datasheet 0510198 available on www st com section Package Information Date code related portion of the package marking takes Y WW format where Y is the last digit of the year and WW is the week For example a part manufactured in week 23 of 2015 bares the date code 5 23 Bootloader ID of the bootloader V 9 0 is 0x90 The following limitations exist in the bootloader V 9 0 1 RAM data get corrupted when written via USART SPI I2C USB interface Description Data write operation into RAM space via USART bus or USB results in wrong or no data written Workaround To correct the issue of wrong write into RAM download STSW STM32158 bootloader V 9 0 patch package from www st co
22. ation 7 15 Solder bridges Table 7 describes each solder bridge The default state is indicated in bold Table 7 Solder bridges sas se Depos _ ST LINK module is powered 581 ST LINK PWR ON STLINKmoduleispowered OFF ST LINK module is not powered 5V connected to CN2 8 A ON 5 connected to CN28 OFF 5V i 5V is not connected to CN2 8 not connected to 5V is not connected to CN2 8 8 SB3 SB4 SB7 SB8 RESERVED rj Reserved do not modify SB5 SB6 SB9 SB10 DEFAULT ON Reserved do not modify Reserved do not do not modify ON No incidence on NRST signal of STM32F103CBT6 SB11 STM_RST NRST signal of STM32F103CBT6 is connected to OFF GND SB12 OFF Reseved 0 Reserved PA2 PA3 of STM32F103CBT6 are connected to PD6 PD5 of STM32L476VGT6 SB16 SB13 USART RX TX OFF PA2 of STM32F103CBT6 are not connected to PD6 PD5 of STM32L476VGT6 ON PA10 of STM32F103CBT6 are not connected to PB3 of STM32L476VGT6 5817 SB15 USART RX TX PA2 PA3 of STM32F103CBT6 are connected to MFX USART RX TX ON PA10 of STM32F103CBT6 is connected to PB3 of 5 T SWO STM32L476VGT6 B14 SW i OFF PA10 of STM32F103CBT6 is not connected to PB3 of STM32L476VGT6 If SB22 is also is connected to PHO SB18 MCO MCO is not connected to PHO ON PC14 PC15 are connected to X3 crystal 5819 5820 32 768kHz CLK PC14 PC15 are not connected to X3 cry
23. ctual DoclD027676 Rev 2 1 39 WWW 51 Contents UM1879 Contents 1 eens Beebe ee eee 6 2 Demonstration software 7 3 Order REAREA 7 4 Delivery recommendations 7 5 Bootloader limitations 8 6 8 7 Hardware layout and configuration 10 7 1 Embedded 5 2 1 13 7 1 1 13 7 1 2 ST LINK V2 1 firmware upgrade 14 7 1 3 Using ST LINK V2 1 to program debug the STM32L476VGT6 ON DONG d 14 7 1 4 Using ST LINK V2 1 to program debug an external STM32 application 15 7 2 Power supply 16 7 3 GOL 2 5 199 503 2730 2 18 7 4 RESE OLOO facade Se Gain or o rore dcn ate ee Gla ee we ew d 18 1 9 User interface LCD joystick 05 19 7 6 configuration 19 7 7 Quad SPI NOR Flash memory 19 7 8 USD 19 7 9 USART configuration 20 7 10 Audio DAC and MEMS microphone 20 7 11 9
24. e enumeration does not succeed if the PC cannot provide such current Consequently the board is not power supplied LED LD2 remains OFF The headers pins 5V except in battery mode 3V3 2V5 3V can be used as output power supply when an extension board is connected to the P1 and P2 headers The power consumption of the extension board must be lower than 100 mA DoclD027676 Rev 2 17 39 Hardware layout and configuration UM1879 7 3 Note 7 4 18 39 Clock source STM32L476VGT6 MCU uses A 32 768 kHz low speed source By default the X3 crystal on board From an external oscillator through P2 header labeled PC14 configuration needed is SB19 opened SB20 closed R26 removed A system clock source By default generated by an internal STM32L476VGT6 oscillator The configuration needed is SB18 opened SB21 and SB22 closed Or driven by an X2 Crystal on board not fitted The configuration needed is SB18 SB21 and SB22 opened X2 R88 R89 C77 C78 fitted Or driven by a MCO signal 8MHz from the ST LINK MCU STM32F103CBT6 U3 The configuration needed is SB18 closed SB22 opened R89 not fitted Or driven externally from PHO through the P2 header pin9 labeled PHO The configuration needed is SB22 closed SB18 opened R89 not fitted Please refer to oscillator design guide for STM32 microcontrollers AN2867 Reset source The reset signal NRST of
25. g a cable connected to SWD connector Section 7 1 4 Table 2 Jumper states Both CN3 jumpers ON ST LINK V2 1 functions enabled for on board programming default ST LINK V2 1 functions enabled for external board through external Both CN3 jumpers OFF eu connector SWD supported Drivers The ST LINK V2 1 requires a dedicated USB driver which can be found on www st com for Windows 7 8 and In case the STM32L476 discovery board is connected to the PC before the driver is installed some interfaces may be declared as Unknown in the PC device manager In this case the user must install the driver files and update the driver of the connected device from the device manager DoclD027676 Rev 2 13 39 Hardware layout and configuration UM1879 Figure 5 Updating the list of drivers in device manager USB Composite Device Properties aay Device Manager File Action View Help 2 115 USB Composite Device ee CR 4 g Universal Serial Bus controllers 5 Generic USB Hub Property y Generic USB Hub 8 Generic USB Hub TEE y Intel R 7 Series C216 Chipset Family USB Enhanced Host Contra Value E 22 28 Intel R 7 Series C216 Chipset Family USB Enhanced Host Contro m m m y Intel R USB 3 0 eXtensible Host Controller M USB Composite Device y USB Mass Storage 0 Update Driver Software Wo Disable Launches the Update Driver Softwa Uninstall
26. in edd 944 94 984 Ldd WTO O1GNV S 0 DoclD027676 Rev 2 32 39 Schematics UM1879 Figure 18 Quad SPI Flash memory pejueuJDnp Ly 0129 6 32245 STOC ST 9 ereq 10 2 V8IIg A SIHA OOSIQ 99LF ICEIALLS 3221014 usep4 145 HOFSJHETVSCTOSCN SSA 070 01 41001 192 ODA 8 TOYO 1 MOT jouJ9 N 5 45 Glad FL3d 5154 clad olad Llad 33 39 DoclD027676 Rev 2 UM1879 Schematics Figure 19 Gyroscope accelerometer magnetometer MEMS 211 Ly JO OT 32245 STOC ST 9 7811 10 0 00181 OUPA 2945 OOSIQ 99LF ICEIALLS 2221014 SWAN INL COd l d 070 01 ULX 19001 610 090 01 ASX 4101 812 9N SWIN 0 148 04 SO OGS 0VS 248 105 OI OGdS KIS VdS COVO 1 AT ETA ISOW SWAIN DYN SO on 6 55 004 EN SO TX
27. m and load Bootloader V9 0 SRAM patch to the following the information in readme txt file available in the package 2 User Flash memory data get corrupted when written via CAN interface Description Data write operation into user Flash memory space via CAN interface results in wrong or no data written Workaround To correct the issue of wrong write into Flash memory download STSW STM32158 bootloader V 0 9 patch package from www st com and load Bootloader V9 0 CAN patch to the MCU following the information in readme txt file available in the package Conventions Table 1 provides conventions used in the present document DoclD027676 Rev 2 Ly UM1879 Conventions Table 1 ON OFF conventions Jumper JPx ON Jumper fitted Jumper JPx OFF Jumper not fitted Solder bridge SBx ON SBx connections closed by solder Solder bridge SBx OFF SBx connections left opened DoclD027676 Rev 2 9 39 Hardware layout and configuration UM1879 7 Hardware layout and configuration The STM32L476 discovery board is designed around the STM32L476VGT6 100 pin LQFP package The hardware block diagram see Figure 2 illustrates the connection between SIM32L476VGT6 and peripherals 9 axis motion sensors digital microphone MEMS LCD segment 128 Mbytes of Quad SPI Flash memory SAI Audio DAC stereo with 3 5mm output jack USB OTG FS IDD current measurement LEDs pushbutton joystick and Figure 3 will help to locate these features on
28. nd the extension board are not power supplied As a consequence the red LED LD2 remains turned OFF In such case it is mandatory to use an external power supply as explained in the next section Warning If the maximum current consumption of the STM32L476 discovery and its extension board exceeds 300 mA it is mandatory to power STM32L476 discovery using an external power supply connected to 5V In case this board is powered by an USB charger an USB battery connected on there is no USB enumeration the led LD2 remains OFF and the STM32L476 is not powered In this specific case only please fit the jumper JP2 to allow the 5 321476 to be powered anyway Remove this jumper JP2 if then a Host PC is connected to the ST LINK V2 1 CN1 connector to supply the board CR2032 battery inserted in CR1 bottom side The CR2032 battery is not provided JP6 needs to be placed in position BATT JP3 is opened JP5 is in position ON The battery supplies the 3V3 and power domains on board All the peripherals powered except the ST LINK which can only be supplied through the USB connector CN1 External 5V or USB USER 7 USB FS connector External 5V The pin 3 5V I of P2 header be used as input for an external power supply In this case the STM32L4706 discovery board must be powered by a power supply unit or by an auxiliary equipment complying with standard EN 60950 1 2006 A11 2009 and must be Safety Ex
29. oTA TIDAS 8d irona _ LIDAS vdd 66045 9Vd 01045 SIVd CCOHS 6045 HHu 12048 044 8045 194 02045 cidd 1945 61045 vidd 9045 81045 8dd 5045 6dd LIDAS ordd 7045 144 91045 6045 WOO 684 51045 COHS 144 CINOO O0IVd VIDHS 99d 1048 s d 61045 80d 0045 LVd 0INOO 8Vd 27 39 DoclD027676 Rev 2 UM1879 Schematics Figure 13 100 measurement MFX Multi Function eXpander 0120 p 32945 STOZ ST 9 10 2 PUJA 225 OOSIQ 99LF ICEIALLS 22204 uonoun XAN OML TOYO 01 ALX 49001 070 01 ALX 49001 TOYO 01 49001 070 01 ALX 49001 5070 01 ALX 49001 0090 1 7039 TOYO 1 MOOE LED 1 goin 15080 1 01 lt 080 922 SEES ID XAN 090 OR ASX 072 surd YAN 4292 01 ouo S TOYO 001 SVAW IS TOYO MOOE m Voin TOYO 61 ASI 6rd x 9300 1 7039 Ord TOYO 01 ULX 49001 Vel 069 LHNCdLLLS sjunus 995 LH 6L CCIZSL 9 950 969 Sui dn
30. ons ST LINK V2 1 USB FS connector External 5V CR2032 battery not provided Extension connectors e Comprehensive free software including a variety of examples part of STM32Cube package DoclD027676 Rev 2 Ly UM1879 2 Demonstration software Demonstration software The demonstration software is preloaded in the STM32L476VGT6 Flash memory for easy demonstration of the device peripherals in stand alone mode The latest versions of the demonstration source code and associated documentation can be downloaded from www st com stm32l4 discovery Order code To order the discovery kit based the STM32L476VG MCU use the order code STM32L476G DISCO Delivery recommendations some verifications are needed before using the board for the first time to make sure that nothing was damaged during the shipment and that no components are unplugged or lost When the board is extracted from its plastic bag please check that no component remains in the bag In particularly please make sure that the following jumpers on top side of the board are plugged CN3 JP3 JP5 and JP6 The battery CR2032 is not provided DoclD027676 Rev 2 7139 Bootloader limitations UM1879 5 8 39 Bootloader limitations Boot from system Flash memory results in executing bootloader code stored in the system Flash memory protected against write and erase This allows in system programming ISP that is flashing the MCU user
31. ooop MOOT S080 NOW NOW 9 U01 29JIp juan Vel vc 9100 998 NCdLLLS 9100 995 LHNCZdLLLS IVO ang m 901 995 THNZdLLIS 0 cL ea en LEA XAIN 6 EEE EM a 01 ALX 49001 9601 ALX E TOYO 1 006 60 sru 1751 01 9085 E SIo3Ioedeo Sur dnooop ze 046815 XAN AE 1785 GS 9L VOS OZ TOYO 905 0 pet ux 195 XU oes A L 568 TS doin t svan MOMS mm SV3W FI 1 TWO cIuven SNO 86 9OdD CHS XL LYVSN aR 2 E 201 OHS oS 604 Ds d e 05 24 36 Cy 105 m a i oW TOYO 2001 E ana ES Z 010140 ISUN IE 6040 es 02008 zoro OTS 9040 OdD NA OSL 2n soldo COdD dA 961 70140 IOJD NX OSL F 0140 00dD dX OSL 5 INO our XIN quudiooj Xr 1099 8999 B sva E 19 2108 ON X 1 0040 Dune gt 103515022 SOW d 74 6815 so samera sn Eee VNVL 01 704 MI aseyoed 6 06
32. phone 5 32 Figure 18 Quad SPI Flash memory 33 Figure 19 Gyroscope accelerometer magnetometer 5 34 Figure 20 Power consumption 35 Figure 21 STM32L476 discovery board mechanical 37 Ly DoclD027676 Rev 2 5 39 Features 1 6 39 UM1879 Features SIM32LA476VGT6 microcontroller featuring 1 Mbyte of Flash memory 128 Kbytes of RAM in LQFP100 package On board ST LINK V2 1 supporting USB re enumeration capability e Three different interfaces supported on USB Virtual com port Mass storage Debug port Mbed enabled mbed org LCD 24 segments 4 commons DIP 28 package SevenLEDs 101 red green for ST LINK V2 1 USB communication LD2 red for 3 3 V power on LD3over current red LDA red LD5 green two user LEDs LD6 green LD7 red USB FS LEDs Pushbutton reset e Four direction joystick with selection e USB OTG FS with micro AB connector e SAI Audio DAC stereo with output jack e Digital microphone MEMS e Accelerometer and magnetometer MEMS e Gyroscope MEMS e 128 Mbit Quad SPI Flash memory e current ammeter with 4 ranges and auto calibration 2 extension connector for external board e Four power supply opti
33. stal PHO 1 connected to 2 crystal 2 is not fitted 5821 5822 8BMHz PHO PH1 are not connected to X2 crystal B1 pushbutton is connected to NRST of STM32L476 discovery board SB23 B1 RESET OFF B1 pushbutton is not connected to NRST of STM32L476 discovery board OFF DoclD027676 Rev 2 23 39 Hardware layout and configuration UM1879 Table 7 Solder bridges continued _ _ ___ FS VBUS signal is connected to PAY OTG FS signal is connected to PA10 SB24 SB25 OTG FS OFF OTG FS VBUS signal is not connected to PA9 FS signal is not connected to PA10 SB26 ON Reserved do not modify Bem Reserved donotmosiy OOO O ON U12 2 5V regulator input is inhibited 5828 2 5V REG inhibit 4 24 39 DoclD027676 Rev 2 211 0I Jo 1 39945 STOC ST 9 ereq PIPA 9215 OOSIG D9LPIZEINLS 2221014 k 1050 00181 AIVAOISIG 929126018 Schematics ign top sheet board des iscovery 10 STM32L476 d igure F ILNI O3IAD SWHIA ISOW SINHN MOS SWAN 9o0qs SWAIN swan n 54 54 dd 54 Wd 54 jueunyeAO 54 UOUSMSPMOd S4 DIO oquos s4 010 SN 54 DLO 980 N TOS ISA AOL 1487 AOL NMOC AOL
34. t of figures List of figures Figure 1 STM32L476 discovery board 1 Figure 2 Hardware block 10 Figure 3 lt 5 321476 discovery board top 11 Figure 4 lt 5 321476 discovery board bottom 12 Figure 5 Updating the list of drivers in device manager 14 Figure 6 CN1 CN3 CN4 14 Figure 7 CN3 OFF connections 15 Figure 8 Board jumper 17 Figure 9 CONMECIOMON2 sucus dedos t500s 525545 6a tne 20 Figure 10 STM32L476 discovery board design top sheet 25 Figure 11 ST LINK V2 1 with support of SWD only 26 Figure 12 STM32L476VGT6 27 Figure 13 IDD measurement Multi Function 28 Figure 14 Joystick ACP LEDs and pushbutton 29 Figure 15 ECD UISDIAV Abe ats 30 Foure 16 OTG USB acter 31 Figure 17 Audio DAC and micro
35. the STM32L476 discovery board Figure 2 Hardware block diagram A to Mini B 3V CR2032 Battery USB CR1 Embedded ST LINK V2 1 SWD 9 axis motion sensors 128Mb QuadSPI flash digital microphone MEMS IDD current measurement STM32L476VGT6 User LEDs LD5 green LD4 red dn Joystick with 4 direction 4x24 selector Header P1 SAI Audio DAC Reset stereo pushbutton USB OTG FS with Micro A B connector Header P2 y 10 39 DoclD027676 Rev 2 UM1879 LD1 COM CN2 RF EEPROM JP1 JP2 not fitted CN4 SWD JP3 RST JP4 RX TX U5 LCD segment CN5 not fitted JP5 Idd ON OFF U8 MFX P1 extension connector LD4 LD5 User LEDs B1 Reset pushbutton U13 Audio DAC audio output jack 5 Hardware layout and configuration Figure 3 STM32L476 discovery board top layout 26 GND GND AUDIO JACK gt 223 Ww NE R58 Reset 51 52 R60 C50 E CN1 PWR om ci coc ce 11 ST LINK C7 s 08 24 CNN 29 NI 32 5
36. to the CN4 software debug connector according to Table 3 Make sure the jumpers JP6 3V3 and JP5 OFF are set must be ON if you use pin 5 NRST in your external application board Table 3 Debug connector 4 SWLCK SWD clock 8 99 Figure 7 CN1 CN3 OFF CN4 connections CN1 Mini B USB connector CN3 jumpers OFF SWD connector a STM32L476G DISCO 5 DoclD027676 Rev 2 15 39 Hardware layout and configuration UM1879 7 2 Note 16 39 Power supply The power supply is provided with four options ST LINK V2 1 1 CR2032 battery not provided CR External 5V 5V USB FS connector USB USER 7 ST LINK V2 1 JP6 needs to be placed in position 3V3 JP3 is closed JP5 is in position ON CN3 jumpers are ON The STM32L476G discovery board can be powered from the ST LINK USB connector CN1 5V USB ST LINK Only the ST LINK circuit has the power before the USB enumeration as the host PC only provides 100mA to the board at that time Then during the USB enumeration the STM32L476 discovery board requires 300 mA of current to the Host PC If the host is able to provide the required power the STM32L476 is powered and the red LED LD2 is turned ON thus the STM32L476 discovery board and its extension board can consume a maximum of 300 mA current no more If the host is not able to provide the required current the STM32L476 a
37. tra Low Voltage SELV with limited power capability To use the USB USER to power supply the board a jumper needs to be placed between VUSB pin4 and the pin 3 of P2 Header Figure 6 DoclD027676 Rev 2 Ly UM1879 Note 5 Hardware layout and configuration Figure 8 Board jumper location 0 o 0 119 Md ien 122925 1 E gt 9 YS In this condition it is still possible to use the USB ST LINK for communication for programming or debugging but it is mandatory to power supply the board first using oV lor USB USER 7 then connect the USB ST LINK 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 Connect the external power source to 5V or USB USER Power on the external power supply 5V 1 or USB USER Check that LD2 is turned ON Connect the PC to USB ST LINK connector CN1 If this order is not respected the board may be supplied by 5SV USB ST LINK first then by 5V or USB USER CN and the following risks may be encountered If more than 300 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 300 mA is requested at enumeration since JP2 must be OFF so there is risk that the request is rejected and th
38. v 2 UM1879 Schematics Figure 15 LCD display pejueuJDnp Ly 0I JO 9 12945 STOC ST 9 10 2 00181 990 py 9216 OOSIG D9LPIZEINLS 2221014 amp e dsiq GOT PWL 8cdIG 19505 001n DHS YOHS 2085 2085 1085 0045 Az 95 N 02 ua n amp 8 888 P e gt gt gt eam o0 BHA 298 6 LZL180HD ess ES E SE en N Q 4 t N CO o N vVIOdS 61045 1995 DHAS 91045 LIDAS fe e me gt o 3 foo 26048 0WNO2 22045 TIDES 12045 21085 02045 81 aol DoclD027676 Rev 2 30 39 Schematics UM1879 Figure 16 OTG USB FS 2117 ky 0129 1 492945 STOC ST 9 10 2 00151 PWIA 2945 OOSIG D9LPTZEILLS 32524 SA ESA INL _ 105 106 N mM 460 5 0 2070 1 K Hd 09918 ala 2 TE ca IH ue no MS ua ID al 2 090 1 OEE V cd sin DJA

Download Pdf Manuals

image

Related Search

Related Contents

EK-1959S21R  MODEL COP-D/DC and COP-D/RMS  Medi@link Black Panther  Scientific Atlanta DPR300 Series User's Manual  Autocuiseur  HP dx7500 User's Manual  Manual Software ServUni Windows      APart 19-VOL6120 audio module  

Copyright © All rights reserved.
Failed to retrieve file