UM2160 User Manual - STMicroelectronics

1y ago
34 Views
2 Downloads
3.25 MB
47 Pages
Last View : 2d ago
Last Download : 3m ago
Upload by : Luis Waller
Transcription

UM2160User manualDiscovery kit with STM32L496AG MCUIntroductionThe 32L496GDISCOVERY Discovery kit is a complete demonstration and developmentplatform for the STMicroelectronics Arm Cortex -M4 core-based STM32L496AGI6microcontroller. Thanks to the innovative ultra-low-power-oriented features, extended RAM,and graphics performance (Chrom-ART Accelerator ) offered by the STM32L496AG, the32L496GDISCOVERY kit is designed to enable easy prototyping for many applications,including audio and graphics, with state-of-the-art energy efficiency. For even more userfriendliness, the on-board ST-LINK/V2-1 debugger provides out-of-the-box loading anddebugging capabilities. The microcontroller features the following interfaces: four I2Cs, threeSPIs, one SDIO, FMC, and Quad-SPI. It also features five USARTs, one ULP UART, twoCAN buses, three 12-bit ADCs, two 12-bit DACs, two SAIs, two ULP analog comparators,two Op-Amps, LCD 8 40 or 4 44 with step-up converter, four digital filters for sigma-deltamodulator and SWP, 8- to 14-bit camera interface, USB 2.0 OTG FS, JTAG and SWDdebugging support. This 32L496GDISCOVERY Discovery kit offers everything required forusers to get started quickly and develop applications easily.The full range of hardware features on the board helps users to evaluate almost allperipherals (USB OTG FS, microSD card, 8-bit camera, 8-Mbit PSRAM, IDDmeasurement, full-duplex I2S with an audio CODEC and stereo jack for headset includinganalog microphone, DFSDM with a pair of MEMS digital microphones on board, Quad-SPIflash memory device, 1.54-inch TFT LCD using FMC interface with capacitive touch paneland others) and develop applications. ARDUINO Uno V3, Pmod ; and STMod connectors allow easy connection of extension shields or daughterboards for specificapplications.The integrated ST-LINK/V2-1 provides an embedded in-circuit debugger and programmer forthe STM32 MCU.The 32L496GDISCOVERY Discovery kit comes with the STM32 comprehensive softwareHAL library and LL APIs together with various packaged software examples.Figure 1. 32L496GDISCOVERY (top view)Figure 2. 32L496GDISCOVERY (bottom view)1. Pictures are not contractual.April 2022UM2160 Rev 31/47www.st.com1

ContentsUM2160Contents1Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.13Codification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93.1System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102/476.132L496GDISCOVERY Discovery kit layout . . . . . . . . . . . . . . . . . . . . . . . .116.232L496GDISCOVERY Discovery kit mechanical drawing . . . . . . . . . . . . 136.3Embedded ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146.3.1Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146.3.2ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156.4Low power consumption state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156.5TAG and SWD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156.6Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.6.1Supplying the board with the ST-LINK/V2-1 USB connector (CN5) . . . 166.6.2Supplying the board with VIN from the ARDUINO connector (CN15) . 176.6.3Supplying the board with the USB OTG FS connector (CN8) . . . . . . . . 176.6.4Supplying the board with 5V of the ARDUINO connector (CN15) . . . 186.6.5Supplying the board with a charger connected to ST-LINK . . . . . . . . . . 186.6.6MCU power supply options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.6.7Supplying the board with ST-LINK/V2-1 USB . . . . . . . . . . . . . . . . . . . . 196.6.8Measurement of current consumption by the microcontroller . . . . . . . . 196.7Programming/debugging when the power supply is not fromST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.8Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.9Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.10Boot configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21UM2160 Rev 3

UM21607Contents6.11Audio codec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226.12Stereo headset and headphone jack . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226.13DFSDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226.14USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226.14.132L496GDISCOVERY as USB device . . . . . . . . . . . . . . . . . . . . . . . . . 226.14.232L496GDISCOVERY as USB host . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.15PSRAM memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.16Quad-SPI flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.17Virtual COM port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.18Joystick and LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257.1ARDUINO Uno V3 compatible connectors . . . . . . . . . . . . . . . . . . . . . . . 257.2CN3 Pmod connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277.3CN2 STMod connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277.4CN4 TAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287.5CN7 SWD connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297.6CN8 USB OTG FS Micro-AB connector . . . . . . . . . . . . . . . . . . . . . . . . . . 297.7CN1 camera module connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297.8microSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307.9LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317.10Backlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337.11Touch panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337.12CN5 ST-LINK/V2-1 USB Micro-B connector . . . . . . . . . . . . . . . . . . . . . . 33832L496GDISCOVERY board I/O assignment . . . . . . . . . . . . . . . . . . . . . 359Pmod and STMod schematic table . . . . . . . . . . . . . . . . . . . . . . . . . 3910Fanout board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4110.111MikroElektronika mikroBUS compatible connector(Fanout CN10 and CN11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4132L496GDISCOVERY board information . . . . . . . . . . . . . . . . . . . . . . . . 4311.1Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43UM2160 Rev 33/474

ContentsUM216011.211.311.411.51232L496GDISCOVERY product history . . . . . . . . . . . . . . . . . . . . . . . . . . . 4311.2.1Product identification 32L496GDISCO/ . . . . . . . . . . . . . . . . . . . . . . . . . 4311.2.2Product identification DK32L496G AU1 . . . . . . . . . . . . . . . . . . . . . . . . 4332L496GDISCOVERY product limitations . . . . . . . . . . . . . . . . . . . . . . . . 4411.3.1Product identification 32L496GDISCO/ limitations . . . . . . . . . . . . . . . . 4411.3.2Product identification DK32L496G AU1 limitations . . . . . . . . . . . . . . . . 44Board revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4411.4.1Board MB1261 revision B-01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4411.4.2Board MB1261 revision B-05 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4411.4.3Board MB1261 revision B-06 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Board known limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4411.5.1Board MB1261 revision B-01 limitations . . . . . . . . . . . . . . . . . . . . . . . . 4411.5.2Board MB1261 revision B-05 limitations . . . . . . . . . . . . . . . . . . . . . . . . 4411.5.3Board MB1261 revision B-06 limitations . . . . . . . . . . . . . . . . . . . . . . . . 44Federal Communications Commission (FCC) andInnovation, Science and Economic DevelopmentCanada (ISED) Compliance Statements . . . . . . . . . . . . . . . . . . . . . . . . 4512.112.2FCC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4512.1.1Part 15.19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4512.1.2Part 15.21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4512.1.3Part 15.105 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45ISED Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4512.2.1Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4512.2.2Déclaration de conformité . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464/47UM2160 Rev 3

UM2160List of tablesList of tablesTable 1.Table 2.Table 3.Table 4.Table 5.Table 6.Table 7.Table 8.Table 9.Table 10.Table 11.Table 12.Table 13.Table 14.Table 15.Table 16.Table 17.Table 18.Table 19.Table 20.Table 21.Table 22.Table 23.Table 24.Table 25.Table 26.Table 27.Table 28.Table 29.Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Codification explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9JP6 (VDD STL) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1632L496GDISCOVERY board power configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16JP7 (STLK) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17JP7 (E5V) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17JP7 (U5V) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17JP7 (ARD) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18JP7 (CHGR) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19IDD measurement jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2032L496GDISCOVERY user LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2432L496GDISCOVERY non-user LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24JP4 (VDDA) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25ARDUINO compatible connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26CN3 Pmod connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27CN2 STMod connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27CN4 TAG connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28CN7 SWD connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29CN8 USB OTG FS Micro-AB connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29CN1 camera module connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30CN17 microSD card connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31CN6 LCD connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32CN13 touch panel connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33CN5 USB Micro-B connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3432L496GDISCOVERY Discovery board I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . 35STMod connector signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Description of the mikroBUS connector pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46UM2160 Rev 35/475

List of figuresUM2160List of figuresFigure 1.Figure 2.Figure 3.Figure 4.Figure 5.Figure 6.Figure 7.Figure 8.Figure 9.Figure 10.Figure 11.Figure 12.Figure 13.6/4732L496GDISCOVERY (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132L496GDISCOVERY (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1032L496GDISCOVERY top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1132L496GDISCOVERY bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1232L496GDISCOVERY mechanical drawing (bottom view). . . . . . . . . . . . . . . . . . . . . . . . . 13USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14CN4 TAG connector (Top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28CN68 USB OTG FS Micro-AB connector (Front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29CN1 camera module connector (Front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30CN17 microSD card connector (Top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31CN5 USB Micro-B connector (Front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33STMod Fanout module plugged into CN2 connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41UM2160 Rev 3

UM21601FeaturesFeatures STM32L496AGI6 Arm (a) Cortex -M4 core-based microcontroller featuring 1 Mbyte offlash memory and 320 Kbytes of RAM in a UFBGA169 package 1.54-inch 240 x 240-pixel TFT color LCD with parallel interface SAI Audio CODEC, with stereo output, including analog microphone input Stereo digital MEMS microphones 8-Mbit PSRAM 64-Mbit Quad-SPI flash 8 LEDs including 3 user-controllable ones Reset push-button 4-way joystick with selection Board connectors:– 8-bit camera– Stereo headset jack– microSD card holder with included card– USB Micro-B– USB Micro-AB– STMod and Pmod – ARDUINO Uno V3 On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability:mass storage, Virtual COM port, and debug port Flexible power-supply options: ST-LINK USB VBUS, USB OTG FS connector, or externalsources 1.8 and 3.3 V possible MCU supply voltages IDD measurement Comprehensive free software libraries and examples available with the STM32CubeMCU Package Support of a wide choice of Integrated Development Environments (IDEs) including IAREmbedded Workbench , MDK-ARM, and STM32CubeIDEa. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.UM2160 Rev 37/4746

Ordering information2UM2160Ordering informationTo order the 32L496GDISCOVERY Discovery kit, refer to Table 1. Additional information is availablefrom the datasheet and reference manual of the target STM32.Table 1. Ordering Information2.1Order CodeBoard referenceTarget onThe meaning of the codification is explained in Table 2.Table 2. Codification explanationSTM32XXYYT-DISCOExample: STM32L496G-DISCOXXMCU series in STM32 32-bit ArmCortex MCUsSTM32L4 SeriesYYProduct line in the SeriesSTM32L4x6 product lineSTM32 flash memory size:– G for 1 Mbyte1 MbyteDiscovery kitDiscovery kitTDISCO8/47DescriptionUM2160 Rev 3

UM2160Development environment3Development environment3.1System requirements45 Multi-OS support: Windows 10, Linux (a) 64-bit, or macOS (b) USB Type-A or USB Type-C to Micro-B cableDevelopment toolchains IAR Systems - IAR Embedded Workbench (c) Keil MDK-ARM(c) (d) STMicroelectronics - STM32CubeIDEConventionsTable 3 defines some conventions used in the present document.Table 3. ON/OFF conventionsConventionDefinitionJumper JPx ONJumper fittedJumper JPx OFFJumper not fittedJumper JPx [1-2]Jumper fitted between Pin 1 and Pin 2Solder bridge SBx ONSBx connections closed by 0 Ω resistorSolder bridge SBx OFFSBx connections left openResistor Rx ONResistor solderedResistor Rx OFFResistor not solderedCapacitor Cx ONCapacitor solderedCapacitor Cx OFFCapacitor not soldereda. Linux is a registered trademark of Linus Torvalds.b. macOS is a trademark of Apple Inc., registered in the U.S. and other countries and regions. c. On Windows only.d. All other trademarks are the property of their respective owners.UM2160 Rev 39/4746

Hardware layout and configuration6UM2160Hardware layout and configurationThe 32L496GDISCOVERY Discovery kit is designed around the STM32L496AGI6 (169-ballUFBGA package). The hardware block diagram (see Figure 3) illustrates the connectionbetween STM32L496AGI6 and peripherals (PSRAM, Quad-SPI flash memory, color LCD,USB OTG FS connector, USART, audio, camera connector, IDD measurement, joystick,microSD card, ARDUINO Uno V3, Pmod and STMod shields and embedded STLINK). Figure 4 and Figure 5 help users locate these features on the 32L496GDISCOVERYboard. The mechanical dimensions of the 32L496GDISCOVERY board are shown inFigure 6.Figure 3. Hardware block diagramST-LINK/V2-18-Mbit PSRAMUART21.5" LCDSWD connectorTAG connector32-kHz crystalSWDI2C2MFXRTCCTP64-Mbit Quad-SPI flashQSPIJoystick, reset buttonGPIOs3 user LEDsGPIOsSAI1MicrophonesDFSDMSDMMC1microSD card1.8 V / 3.3 V power supplyPWROTG1USB connectorUART1SPI2LPUART1SPI1DCMII2C1ARDUINO connectorPmod connectorSTMod connector10/47UM2160 Rev 3Camera connectorAudio

UM21606.1Hardware layout and configuration32L496GDISCOVERY Discovery kit layoutFigure 4. 32L496GDISCOVERY top layoutMicrophones(U1, U2)Joystick(B2)CameraUser LEDs(LD1, LD2, LD3) connector(CN1)Reset button LCD connector(B1)(CN6)MCU(U5)Quad-SPIflash(U3)PSRAM USB OTG FSconnector(U4)(CN8)UM2160 Rev 3TAGconnector(CN4)PWRconnector(JP7)STMod connector(CN2)Pmod 7)(CN5)11/4746

Hardware layout and configurationUM2160Figure 5. 32L496GDISCOVERY bottom layoutCTP connector(CN13)Audio jack(CN12)microSD card holder(CN17)12/47ARDUINO connectors(CN10, CN11)ARDUINO connectors(CN15, CN16)UM2160 Rev 3

UM21606.2Hardware layout and configuration32L496GDISCOVERY Discovery kit mechanical drawingFigure 6. 32L496GDISCOVERY mechanical drawing (bottom 083167mm 2mm 14.67mmDD2612A 160 Rev 313/4746

Hardware layout and configuration6.3UM2160Embedded ST-LINK/V2-1The ST-LINK/V2-1 programming and debugging tool is integrated on the32L496GDISCOVERY 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 Virtual COM port interface on USB Mass storage interface on USB USB power management request for more than 100mA power on USBThese features are no more supported on ST-LINK/V2-1: SWIM interface Application voltage lower than 3VFor general information concerning the debugging and programming features that arecommon to both versions V2 and V2-1, refer to ST-LINK/V2 in-circuit debugger/programmerfor STM8 and STM32 User manual (UM1075).6.3.1DriversBefore connecting the 32L496GDISCOVERY board to a Windows PC via USB, a driver forST-LINK/V2-1 must be installed. It can be downloaded from the www.st.com website.In case the 32L496GDISCOVERY board is connected to the PC before installing the driver,the PC device manager may report some 32L496GDISCOVERY board interfaces as“Unknown”. To recover from this situation, after installing the dedicated driver, theassociation of “Unknown” USB devices found on the 32L496GDISCOVERY board to thisdedicated driver, must be manually updated in the device manager.Note:It is recommended to proceed using USB Composite Device, as shown in Figure 7.Figure 7. USB composite device14/47UM2160 Rev 3

UM21606.3.2Hardware layout and configurationST-LINK/V2-1 firmware upgradeThe ST-LINK/V2-1 embeds a firmware upgrade mechanism for the in-situ upgrade with theUSB port. As the firmware may evolve during the lifetime of the ST-LINK/V2-1 product likenew functionality, bug fixes, or support for new microcontroller families, it is recommendedto visit the www.st.com website before starting to use the 32L496GDISCOVERY board andperiodically, to stay up-to-date with the latest firmware version.6.4Low power consumption stateThe 32L496GDISCOVERY board can be set in a low-power state with a maximum currentkept below 20 μA at 5 V.The low-power mode is reached when the following conditions are satisfied:6.51.The connections between the ST-LINK/V2-1 and the MCU are manually disconnectedwith the microswitch SW1. This especially controls the four pull-ups on RST, the pull-upon SWDIO, and the VDD and 5 V detection circuits.2.The peripherals (Including LCD, CTP, and PSRAM) are unpowered with the MOSFETthat is controlled by the PH0 signal of STM32L496AGI6.3.The JP8 jumper is OFF so that the 5-V power LED is powered down.4.Peripherals are setup by FW to reach the power-down modea)Set QSPI to low-power modeb)Set MFX to sleep modec)Remove the microSD card from the socketd)Set all the audio lines to lowTAG and SWDOne TAG interface footprint is reserved on the 32L496GDISCOVERY board. It can be usedto debug and program the on-board MCU.One 6-pin header was added to the 32L496GDISCOVERY board. This header connects tothe on-board ST-LINK SWD that can be used to debug and program an external MCU. Insuch a configuration, the VDD power supply from the external board can be either 1.8 V or3.3 V thanks to the on-board voltage converter.Table 4 describes the use of the JP6 jumper for selecting between on-board and externalMCU.UM2160 Rev 315/4746

Hardware layout and configurationUM2160Table 4. JP6 (VDD STL) jumper descriptionJumperDescriptionDefault setting:VDD STL gets power from the 32L496GDISCOVERY board. ST-LINK can beused to program the on-board MCU.JP6 is set [1-2]1JP6VDD STLsettingVDD STL gets externally supplied power with the CN7 connector. ST-LINK can beused to program the external MCU.JP6 is set [2-3].16.6Power supplyThe 32L496GDISCOVERY board is designed to be powered by a selection of sourcesaccording to the position of the JP7 jumper as described in Table 5.Table 5. 32L496GDISCOVERY board power configurationJP7 configurationPower connectorPower sourceSTLKCN5STLINK/V2-1E5VCN15 (VIN)ARDUINO U5VCN8USB OTGARDCN15 (5 V)ARDUINO CHGRCN5DC power chargerNote:The Discovery board must be powered by a power supply unit or by auxiliary equipmentcomplying with the standard EN-60950-1: 2006 A11/2009, and must be Safety Extra LowVoltage (SELV) with limited power capability.6.6.1Supplying the board with the ST-LINK/V2-1 USB connector (CN5)In this mode, STLK from the ST-LINK/V2-1 USB connector (CN5) is used. Thecorresponding setting is described in Table 6. The green LED (LD8) is lit to confirm thepresence of a 5 V supply.Note:16/47This mode is limited to 500 mA.UM2160 Rev 3

UM2160Hardware layout and configurationTable 6. JP7 (STLK) jumper descriptionJumperDescriptionDefault settingThe 32L496GDISCOVERY board is supplied with the Micro-B ST-LINK/V2-1connector (CN5). JP7 is set [1-2] on STLK.JP7Power sourceselectorCHGRARDU5VE5VSTLK16.6.2Supplying the board with VIN from the ARDUINO connector (CN15)In this mode, 6 V to 9 V DC is supplied with the VIN pin of the ARDUINO compatibleconnector (CN15). The corresponding setting is described in Table 7. The green LED (LD8)is lit to confirm the presence of a 5 V supply.Note:The voltage is limited to 9 V so that the temperature of the regulator (U10) is kept within thesafe thermal area.Table 7. JP7 (E5V) jumper descriptionJumperDescriptionThe 32L496GDISCOVERY board is supplied with the VIN pin of the ARDUINO compatible connector (CN15). JP7 is set [3-4] on E5V.CHGRARDU5VE5VSTLKJP7Power sourceselector16.6.3Supplying the board with the USB OTG FS connector (CN8)In this mode, 5 V DC is supplied with the user USB FS connector (CN8). The correspondingsetting is described in Table 8. The green LED (LD8) is lit to confirm the presence of a 5 Vsupply.Table 8. JP7 (U5V) jumper descriptionJumperDescriptionThe 32L496GDISCOVERY board is supplied with the USB OTG connector (CN8).JP7 is set [5-6] on U5V.CHGRARDU5VE5VSTLKJP7Power sourceselector1UM2160 Rev 317/4746

Hardware layout and configuration6.6.4UM2160Supplying the board with 5V of the ARDUINO connector (CN15)In this mode, 5 V DC is supplied with the 5V of the ARDUINO compatible connector(CN15). The corresponding setting is described in Table 9. The green LED (LD8) is lit toconfirm the presence of a 5 V supply.Note:JP3 is set [2-3] on the input/output voltage selection so that the 32L496GDISCOVERYboard is supplied 5 V with the CN15 connector (Default setting).Table 9. JP7 (ARD) jumper descriptionJumperDescription5 V is supplied with 5V of the ARDUINO compatible connector (CN15).JP7 [7-8] is on ARD.CHGRARDU5VE5VSTLKJP7Power sourceselector1The 32L496GDISCOVERY board supplies 5 V with 5V of the ARDUINO compatible connector (CN15) to an external board.JP3 is set [1-2] on ARD OUT.ARD OUTJP3ARD 5Vinput/outputvoltageselection1ARD INDefault settingThe 32L496GDISCOVERY board is supplied 5 V with 5V of the ARDUINO compatible connector (CCN15).JP3 is set [2-3] on ARD IN.ARD OUT1ARD IN6.6.5Supplying the board with a charger connected to ST-LINKIn this mode, a 5 V-DC power charger is connected to the USB STLINK connector (CN5).The corresponding setting is described in Table 10. The green LED (LD8) is lit to confirm thepresence of a 5 V supply.Note:Debug is not available if the 32L496GDISCOVERY board is supplied power by an externalUSB charger. This limitation does not apply when power is supplied by a PC.Warning:18/47In this mode, the 32L496GDISCOVERY board is notprotecting a PC supplying power with the CN15 connectoragainst electrical damage.UM2160 Rev 3

UM2160Hardware layout and configurationTable 10. JP7 (CHGR) jumper descriptionJumperDescriptionThe 32L496GDISCOVERY board is supplied with the CN5 connector.JP7 is set [9-10] on CHGR.CHGRARDU5VE5VSTLKJP7Power sourceselector16.6.6MCU power supply optionsThe 32L496GDISCOVERY board offers the possibility to supply the MCU with 1.8 V or3.3 V. A jumper must be placed at the 1V8 location of JP5 (connecting pins 2 and 3) tosupply the MCU with 1.8 V. The jumper must be placed at the 3V3 location of JP5(connecting pins 1 and 2) to supply the MCU with 3.3 V.6.6.7Supplying the board with ST-LINK/V2-1 USBIn this mode, the USB host (a PC) is connected to the standard Micro-B USB receptacle ofthe 32L496GDISCOVERY board with a USB cable. The connection event starts the USBenumeration procedure.In the initial phase of the enumeration procedure, the current supply capability of the USBport of the host is limited to 100 mA. This value is high enough for normal operation sinceonly the ST-LINK/V2-1 part of 32L496GDISCOVERY draws power during that phase. If theSB11 solder bridge is OFF in the default configuration, the ST890 power switch (U7) is setto the OFF position: this isolates the rest of 32L496GDISCOVERY from the power source.In the next phase of the enumeration procedure, the host PC informs the ST-LINK/V2-1facility of its capability to supply up to 500 mA. If this is accepted, the ST-LINK/V2-1 sets theST890 switch (U7) to the ON position to supply power to the rest of the32L496GDISCOVERY board. If the P

User manual Discovery kit with STM32L496AG MCU Introduction The 32L496GDISCOVERY Discovery kit is a complete demonstration and development platform for the STMicroelectronics Arm Cortex -M4 core-based STM32L496AGI6 microcontroller. Thanks to the innovative ultra-low-power-oriented features, extended RAM,

Related Documents:

STM32CubeIDE quick start guide - User manual Author: STMICROELECTRONICS Subject: STM32CubeIDE is STMicroelectronics integrated development environment for STM32 microcontrollers and microprocessors. Keywords: STM32, IDE, Eclipse , QSG Created Date: 11/2/2020 4:57:17 PM

[2]. Ben Jordan, Amit Bahl Rigid - Flex PCB Design a guide book for design, Sierra Proto express, 2013 [3]. STMicroelectronics. STM32 embedded graphic objects/ touchscreen library, 2011. [4]. STMicroelectronics. STM32F10xxx ı2c optimized examples, 2010. [5]. STMicroelectronics. Migratin

Morphy Richards Fastbake Breadmaker 48280 User Manual Honda GCV160 User Manual Canon Powershot A95 User Manual HP Pocket PC IPAQ 3650 User Manual Navman FISH 4200 User Manual - Instruction Guide Jensen VM9021TS Multimedia Receiver User Manual Sanyo SCP-3100 User Manual Honda GC160 User Manual Canon AE-1 Camera User Manual Spektrum DX7 User Manual

Ademco Passpoint Plus User Manual Morphy Richards Fastbake Breadmaker 48280 User Manual Honda GCV160 User Manual Canon Powershot A95 User Manual HP Pocket PC IPAQ 3650 User Manual Navman FISH 4200 User Manual - Instruction Guide Jensen VM9021TS Multimedia Receiver User Manual Sanyo SCP-3100 User Manual Honda GC160 User Manual Canon AE-1 Camera .

E-816 DLL Manual, PZ120E E-621.CR User Manual, PZ160E E-816 LabVIEW Software Manual, PZ121E E-621.SR, .LR User Manual, PZ115E Analog GCS LabVIEW Software Manual, PZ181E E-625.CR User Manual, PZ166E PIMikromove User Manual, SM148E E-625.SR, .LR User Manual, PZ167E E-665 User Manual, PZ127E E-801 User Manual

March 2017 DocID028650 Rev 3 1/7 For further information contact your local STMicroelectronics sales office www.

– Electrostatic discharge protection Application Reverse battery protection of an electronic control unit Description The VN5R003H-E is a device made using STMicroelectronics VIPower technology. It is intended for providing reverse battery protection to an electronic module. This devic

Artificial intelligence (AI) – a broad concept used in policy discussions to refer to many different types of technology – greatly influences and impacts the way people seek, receive, impart and access information and how they exercise their right to freedom of expression in the digital ecosystem. If implemented responsibly, AI can benefit societies, but there is a genuine risk that its .