background image

UM1879 Rev 4

15/41

UM1879

Hardware layout and configuration

40

10.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 
STM32L476VGT6 on board), remove the two jumpers from CN3 as shown in 

Figure 7

 in 

red, and connect the board to the CN4 software debug connector according to 

Table 4

.

Make sure the jumpers JP6.3V3, and JP5.OFF are set.

JP3, must be ON if CN4 pin 5 (NRST) is used in the external application board.

          

Figure 7. CN1, CN3 (OFF), CN4 connections

Table 4. Debug connector CN4 

Pin

CN4

Designation

1

Vapp

VDD from application

2

SWLCK

SWD clock

3

GND

Ground

4

SWDIO

SWD data input/output

5

NRST

RESET of target MCU

6

SWO

Reserved

Содержание STM32L476

Страница 1: ...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 debug...

Страница 2: ...1 Embedded ST LINK V2 1 13 10 1 1 Drivers 13 10 1 2 ST LINK V2 1 firmware upgrade 14 10 1 3 Using ST LINK V2 1 to program debug the STM32L476VGT6 on board 14 10 1 4 Using ST LINK V2 1 to program debu...

Страница 3: ...2 22 10 15 Solder bridges 23 11 Schematics 25 Appendix A Power consumption measurements 35 Appendix B Mechanical drawing 37 Appendix C Compliance statements 38 C 1 FCC Compliance Statement 38 C 1 1 Pa...

Страница 4: ...OFF conventions 8 Table 3 Jumper states 13 Table 4 Debug connector CN4 15 Table 5 Reset related jumper 18 Table 6 Connector CN2 21 Table 7 Extension connector 22 Table 8 Solder bridges 23 Table 9 Typ...

Страница 5: ...re 8 Board jumper location 17 Figure 9 Connector CN2 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 MCU 27 Figure...

Страница 6: ...wo user LEDs LD6 green LD7 red USB OTG FS LEDs Push button reset Four direction joystick with selection USB OTG FS with Micro AB connector SAI Audio DAC stereo with output jack Digital microphone MEMS...

Страница 7: ...ordering part number that is stuck or silkscreen printed on the board This board features a specific STM32 device version which allows the operation of any bundled commercial stack library available...

Страница 8: ...eded before using the board for the first time to make sure that nothing has been damaged during the shipment and that no components are unplugged or lost When the board is extracted from its plastic...

Страница 9: ...98 available at 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 ma...

Страница 10: ...Audio DAC stereo with 3 5mm output jack USB OTG FS IDD current measurement LEDs push button joystick and the Figure 3 will help to locate these features on the STM32L476 Discovery board Figure 2 Hardw...

Страница 11: ...86 5 1 5 3520 1 QRW ILWWHG 3 3 QRW ILWWHG 3 EDWWHU RU LQWHUQDO 9 UHJXODWRU VHOHFWLRQ 3 H WHQVLRQ FRQQHFWRU 3 H WHQVLRQ FRQQHFWRU 3 567 8VHU V 1 67 1 WR 6 2 ERDUG RU 6 1 6 3 GG 21 2 8 670 9 7 8 0 06 P...

Страница 12: ...Figure 4 STM32L476 Discovery board bottom layout 06 9 5 EDWWHU FRQQHFWRU 6 6 N 6 6 27 6 6 7B6 2 6 67 1 3 5 6 6 6 6 GHIDXOW 6 6 6 6 UHVHUYHG 6 670B567 6 UHVHUYHG 6 6 0 6 6 UHVHUYHG 6 5 6 7 6 6 0 86 57...

Страница 13: ...manual UM1075 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 10 1 3 Program debug an STM32 in an external...

Страница 14: ...g fixes support for new microcontroller families it is recommended to visit the www st com website before starting to use the STM32L476 Discovery board and periodically in order to stay up to date wit...

Страница 15: ...o jumpers from CN3 as shown in Figure 7 in red and connect the board to the CN4 software debug connector according to Table 4 Make sure the jumpers JP6 3V3 and JP5 OFF are set JP3 must be ON if CN4 pi...

Страница 16: ...2L476 Discovery board and its extension board exceeds 300 mA it is mandatory to power the STM32L476 Discovery board using an external power supply connected to 5V_I Note In case this board is powered...

Страница 17: ...the PC to USB ST LINK connector CN1 If this order is not respected the board may be supplied by 5V_USB_ST_LINK first then by 5V_I or USB USER CN7 and the following risks may be encountered 1 If more t...

Страница 18: ...driven externally from PH0 through the P2 header pin 9 labeled PH0 The configuration needed is SB22 closed SB18 opened R89 not fitted Note Refer to Oscillator design guide for STM8S STM8A and STM32 mi...

Страница 19: ...ossible to set Boot0 high removing R91 and putting a jumper between P1 header pin 6 BOOT0 and pin 5 3V 10 7 Quad SPI NOR Flash memory 128 Mbit Quad SPI NOR Flash memory is connected to Quad SPI interf...

Страница 20: ...io stereo DAC CS43L22 U13 is connected to SAI interface of STM32L476VGT6 The STM32L476VGT6 controls the audio DAC via the I2C1 bus which is shared with the I2 C extension connector CN2 I2C1 is also av...

Страница 21: ...on position OFF STM32L476VGT6 is powered default Jumper on position ON an on board module is designed to measure from 60nA to 50mA by using several MOSFETs and switching automatically depending on th...

Страница 22: ...d P2 can also be probed by an oscilloscope logical analyzer or voltmeter Table 7 Extension connector P1 P2 Pin number function Pin number function 1 3V3 1 5V_U 5V_USB_ST_LINK 2 GND 2 GND 3 2V5 3 5V_I...

Страница 23: ...D6 PD5 of STM32L476VGT6 OFF PA2 PA3 of STM32F103CBT6 are not connected to PD6 PD5 of STM32L476VGT6 SB17 SB15 MFX USART RX TX ON PA2 PA3 of STM32L476VGT6 are connected to MFX USART RX TX OFF PA2 PA3 of...

Страница 24: ...gnal is not connected to PA9 OTG_FS_ID signal is not connected to PA10 SB26 ON Reserved do not modify SB27 OFF Reserved do not modify SB28 2 5V REG inhibit ON U12 2 5V regulator input is inhibited OFF...

Страница 25: ...I1_MCK U_AUDIO AUDIO SchDoc OTG_FS_PowerSwitchOn OTG_FS_OverCurrent OTG_FS_DM OTG_FS_DP OTG_FS_ID OTG_FS_VBUS U_USB_OTG_FS USB_OTG_FS SchDoc NRST LD_R LD_G EXT_RST JOY_CENTER JOY_DOWN JOY_LEFT JOY_RIG...

Страница 26: ...C12 100nF 3V3_ST_LINK 5 Volts Output 3 Volts Output 5 Volts From External 5V_IN 5V_IN 5 Volts From USB ST LINK JP4 3V3_ST_LINK 3V3_ST_LINK VBAT 1 PA7 17 PC13 2 PA12 33 PC14 3 PB0 18 PC15 4 JTMS SWDIO...

Страница 27: ...OTG_FS_DM OTG_FS_DP OTG_FS_ID OTG_FS_VBUS OTG_FS_OverCurrent SEG 0 23 COM 0 3 SEG 0 23 COM 0 3 EXT_RST EXT_RST LD_R LD_G LD_R LD_G NRST NRST JOY_CENTER JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP JOY_CENTER J...

Страница 28: ...0402 V V 3 2 1 4 8 U11A TSZ122IST 5 6 7 U11B TSZ122IST V V 3 2 1 4 8 U10A TSZ122IST 5 6 7 U10B TSZ122IST C36 100nF_X7R_10 _0402 see note see note see note Note two footprints superimposed allows to al...

Страница 29: ...JOY_RIGHT JOY_UP PA0 Input pins with pull down C41 100nF_X7R_10 _0402 R52 0_5 _0402 R53 100_1 _0402 COMMON 5 CENTER 2 DOWN 3 LEFT 1 RIGHT 6 UP 4 6 2 1 4 3 B2 MT 008A C44 100nF_X7R_10 _0402 C46 100nF_...

Страница 30: ...SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 COM0 COM1 COM2 COM3 SEG 0 23 COM 0 3 SEG0 1 SEG1 2 SEG2 3 SEG3 4 SEG4 5 SEG5 6 SEG6 7...

Страница 31: ...22 R68 22 3V3_REG 3V3_REG Dz A2 ID A3 Pd1 B1 Pup B2 Vbus B3 D in C1 Pd2 C2 D out C3 D in D1 GND D2 D out D3 U15 EMIF02 USB03F2 GND 2 IN 5 EN 4 OUT 1 FAULT 3 U14 STMPS2141STR OTG_FS_VBUS C67 4 7uF 3 1...

Страница 32: ...IN4A 21 AIN4B 22 AIN3A 23 AIN3B 24 AIN2A 25 AIN2B 26 AFILTA 27 AFILTB 28 AIN1A 29 AIN1B 30 SPKR HP 31 RESET 32 VL 33 VD 34 DGND 35 TSTO 36 MCLK 37 SCLK 38 SDIN 39 LRCK 40 GND Thermal Pad 41 U13 CS43L2...

Страница 33: ...of A4 Revision STM32L476G DISCO Project 3V Quad SPI Flash Memory QSPI_D0 QSPI_D3 QSPI_D2 QSPI_D1 QSPI_CLK QSPI_CS PE10 R74 10K_1 _0402 C61 100nF_X7R_10 _0402 DQ3 HOLD 7 VCC 8 S 1 DQ1 2 C 6 DQ0 5 VSS 4...

Страница 34: ...DD 15 GND 12 U7 L3GD20 C18 10uF_X5R_10 _0603 C20 10nF_X7R_10 _0603 C19 100nF_X7R_10 _0402 SCL SPC 1 INT_XL 12 VDD 9 VDD_IO 10 DRDY_MAG 11 GND 6 C1 5 SDA SDI SDO 4 GND 8 INT_MAG 7 CS_MAG 3 CS_XL 2 U6 L...

Страница 35: ...MFX STM32L152 For IDD TSZ122 2nd stage V 10 A due to resistors bridge STM32L476VGT6 STM32L476VGT6 GPIOs are configured in Analog input except PWR PUCRA 0 no PU on GPIOA PWR PDCRA 0x2F PD on GPIOA 0 1...

Страница 36: ...ble 9 Typical power consumption of the STM32L476 Discovery board MB1184 C01 component Typical theoretical consumption A Conditions LD3985M25R_U12 85 On mode VINH 1 2 V TSZ122IST_U10 58 Differential 11...

Страница 37: ...UM1879 Rev 4 37 41 UM1879 Mechanical drawing 40 Appendix B Mechanical drawing Figure 21 STM32L476 Discovery board mechanical drawing...

Страница 38: ...the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between t...

Страница 39: ...eils radio exempts de licence L exploitation est autoris e aux deux conditions suivantes 1 l appareil ne doit pas produire de brouillage et 2 l utilisateur de l appareil doit accepter tout brouillage...

Страница 40: ...2 Added Section 6 Bootloader limitations 24 Mar 2016 3 Added Section Appendix C Compliance statements 27 Jun 2018 4 Updated Table 8 Solder bridges Updated Chapter 6 Ordering information Updated Secti...

Страница 41: ...ers are solely responsible for the choice selection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to...

Отзывы: