Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
November 2018 UM2160 Rev 2 1/61
1
UM2160User 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 and graphics performance (Chrom-ART Accelerator™) offered by the STM32L496AG, the 32L496GDISCOVERY kit is designed to enable easy prototyping for many applications, including audio and graphics, with state-of-the-art energy efficiency. For even more user-friendliness, the on-board ST-LINK/V2-1 debugger provides out-of-the-box loading and debugging capabilities. The microcontroller features the following interfaces: four I2Cs, three SPIs, one SDIO, FMC and Quad-SPI. It also features five USARTs, one ULP UART, two CAN 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 delta modulator and SWP, 8- to 14-bit camera interface, USB 2.0 OTG FS, JTAG and SWD debugging support. This 32L496GDISCOVERY Discovery kit offers everything required for users to get started quickly and develop applications easily.
The full range of hardware features on the board helps users to evaluate almost all peripherals (USB OTG FS, microSD™ card, 8-bit camera, 8-Mbit PSRAM, IDD measurement, full-duplex I2S with an audio CODEC and stereo jack for headset including analog microphone, DFSDM with a pair of MEMS digital microphones on board, Quad-SPI Flash memory device, 1.54-inch TFT LCD using FMC interface with capacitive touch panel and others) and develop applications. Arduino™ Uno V3, PMOD and STMod+ connectors allow easy connection of extension shields or daughterboards for specific applications.
The integrated ST-LINK/V2-1 provides an embedded in-circuit debugger and programmer for the STM32 MCU.
The 32L496GDISCOVERY Discovery kit comes with the STM32 comprehensive software HAL library and LL APIs together with various packaged software examples.
1. Pictures are not contractual.
Figure 1. 32L496GDISCOVERY (top view) Figure 2. 32L496GDISCOVERY (bottom view)
www.st.com
Contents UM2160
2/61 UM2160 Rev 2
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7 Technology partners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
8 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
8.1 The 32L496GDISCOVERY Discovery kit layout . . . . . . . . . . . . . . . . . . . .11
8.2 The 32L496GDISCOVERY Discovery kit mechanical drawing . . . . . . . . 13
8.3 Embedded ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
8.3.1 Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
8.3.2 ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.4 Low power consumption state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.5 TAG and SWD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.6 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
8.6.1 Supplying the board through ST-LINK/V2-1 USB connector CN5 . . . . . 16
8.6.2 Supplying the board through VIN from Arduino™ connector CN15 . . . 17
8.6.3 Supplying the board through USB OTG FS connector CN8 . . . . . . . . . 17
8.6.4 Supplying the board through +5V of Arduino™ connector CN15 . . . . . 18
8.6.5 Supplying the board through a charger connected to ST-LINK . . . . . . . 18
8.6.6 MCU power supply options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
8.6.7 Supplying the board through ST-LINK/V2-1 USB . . . . . . . . . . . . . . . . . 19
8.6.8 Measurement of current consumption by the microcontroller . . . . . . . . 19
8.7 Programming/debugging when the power supply is not from ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.8 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
UM2160 Rev 2 3/61
UM2160 Contents
4
8.9 Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.10 Boot configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.11 Audio codec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8.12 Stereo headset and headphone jack . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8.13 DFSDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8.14 USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8.14.1 32L496GDISCOVERY as an USB Device . . . . . . . . . . . . . . . . . . . . . . . 22
8.14.2 32L496GDISCOVERY as an USB Host . . . . . . . . . . . . . . . . . . . . . . . . 23
8.15 PSRAM memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.16 Quad-SPI Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.17 Virtual COM port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.18 Joystick and LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.1 Arduino™ Uno V3 compatible connectors . . . . . . . . . . . . . . . . . . . . . . . . 25
9.2 PMOD connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3 STMod+ connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.4 TAG connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.5 SWD connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.6 USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.7 Camera module connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.8 microSD™ card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
9.9 LCD display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.10 Backlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.11 Touch panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.12 ST-LINK/V2-1 USB Micro-B connector CN5 . . . . . . . . . . . . . . . . . . . . . . 33
Appendix A 32L496GDISCOVERY board I/O assignment . . . . . . . . . . . . . . . . . . 35
Appendix B Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Appendix C PMOD and STMod+ schematic table . . . . . . . . . . . . . . . . . . . . . . . . 55
Appendix D Fanout board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Contents UM2160
4/61 UM2160 Rev 2
D.1 MikroElektronika mikroBUS™ compatible connector (Fanout CN10 and CN11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Appendix E Federal Communications Commission (FCC) and Industry Canada (IC) Compliance . . . . . . . . . . . . . . . . . . . . . . . 59
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
UM2160 Rev 2 5/61
UM2160 List of tables
5
List of tables
Table 1. Ordering Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Table 2. JP6 (VDD_STL) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Table 3. 32L496GDISCOVERY board power configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Table 4. JP7 (STLK) jumper description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Table 5. JP7 (E5V) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Table 6. JP7 (U5V) jumper description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Table 7. JP7 (ARD) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Table 8. JP7 (CHGR) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Table 9. IDD measurement jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Table 10. 32L496GDISCOVERY user LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Table 11. 32L496GDISCOVERY non-user LEDs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Table 12. JP4 (VDDA) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Table 13. Arduino™ compatible connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Table 14. PMOD connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Table 15. STMod+ connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Table 16. TAG connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Table 17. SWD connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Table 18. USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Table 19. Camera module connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Table 20. microSD™ card connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Table 21. LCD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Table 22. Touch panel connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Table 23. USB Micro-B connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Table 24. 32L496GDISCOVERY Discovery board I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . 35Table 25. STMod+ connector signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Table 26. Description of the mikroBUS™ connector pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Table 27. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
List of figures UM2160
6/61 UM2160 Rev 2
List of figures
Figure 1. 32L496GDISCOVERY (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. 32L496GDISCOVERY (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 3. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 4. 32L496GDISCOVERY top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 5. 32L496GDISCOVERY bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 6. 32L496GDISCOVERY mechanical drawing (bottom view). . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 7. USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 8. TAG connector top view (CN4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Figure 9. USB OTG FS Micro-AB connector CN8 (front view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Figure 10. Camera module connector CN1 (front view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Figure 11. microSD™ card connector CN17 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Figure 12. USB Micro-B connector CN5 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Figure 13. 32L496GDISCOVERY Discovery board interconnections . . . . . . . . . . . . . . . . . . . . . . . . . 40Figure 14. Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Figure 15. 32L496GDISCOVERY Arduino™ Uno V3 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Figure 16. ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Figure 17. Quad-SPI Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Figure 18. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Figure 19. USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Figure 20. LCD interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Figure 21. IDD measurement and MFX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Figure 22. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Figure 23. PSRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Figure 24. Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Figure 25. STMod+ interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Figure 26. Audio and DFSDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Figure 27. Fanout board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Figure 28. STMod+ Fanout module plugged into CN2 connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
UM2160 Rev 2 7/61
UM2160 Features
60
1 Features
• STM32L496AGI6 Arm®(a) Cortex®-M4 core-based microcontroller featuring 1 Mbyte of Flash memory and 320 Kbytes of RAM in an UFBGA169 package
• 1.54-inch 240 x 240 pixel-TFT color LCD with parallel interface
• SAI Audio CODEC, with a stereo headset jack, including analog microphone input
• Stereo digital MEMS microphones
• 8-Mbit PSRAM
• IDD measurement
• 64-Mbit Quad-SPI Flash
• 8 LEDs, including 3 user controllable ones
• Reset push button
• 4-direction joystick with selection
• microSD™ card connector (card included)
• Camera 8-bit connector
• STMod+ and PMOD connectors
• USB OTG FS with Micro-AB connector
• Compatible Arduino™ Uno V3 connectors
• 5 source options for power supply
– ST-LINK/V2-1 USB connector
– User USB FS connector
– VIN from Arduino™ connector
– 5 V from Arduino™ connector
– USB charger
• 2 possible supply voltages for the MCU: 1.8 V and 3.3 V
• On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability: mass storage, virtual COM port
• Comprehensive free software including a variety of examples, part of the STM32Cube package
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
Product marking UM2160
8/61 UM2160 Rev 2
2 Product marking
Evaluation tools marked as "ES" or "E" are not yet qualified and therefore they are not ready to be used as reference design or in production. Any consequences deriving from such usage will not be at ST charge. In no event, ST will be liable for any customer usage of these engineering sample tools as reference design or in production.
"E" or "ES" marking examples of location:
• On the targeted STM32 that is soldered on the board (for illustration of STM32 marking, refer to the section "Package information" of the STM32 datasheet at www.st.com).
• Next to the evaluation tool ordering part number, that is stuck or silkscreen printed on the board
3 System requirements
• Windows® OS (7, 8 and 10), Linux® or macOS®(a)
• USB Type-A to Micro-B cable
4 Development toolchains
• Keil® MDK-ARM(b)
• IAR™ EWARM(b)
• GCC-based IDEs
a. macOS® is a trademark of Apple Inc., registered in the U.S. and other countries.
b. On Windows® only.
UM2160 Rev 2 9/61
UM2160 Demonstration software
60
5 Demonstration software
The demonstration software is preloaded in the STM32L496AGI6 Flash memory for easy demonstration of the device peripherals. This demonstration software as well as a detailed guide explaining how to reload it into the STM32L496AGI6 Flash memory are available. For all the details refer to the dedicated board technical documentation from www.st.com/stm32l4-discovery.
6 Ordering information
To order the 32L496GDISCOVERY Discovery kit, refer to Table 1.
7 Technology partners
MACRONIX:
• 64-Mbit Quad-SPI NOR Flash memory device, part number MX25R6435FM2IL0
Table 1. Ordering Information
Order Code Target STM32
STM32L496G-DISCO STM32L496AGI6
Hardware layout and configuration UM2160
10/61 UM2160 Rev 2
8 Hardware layout and configuration
The 32L496GDISCOVERY Discovery kit is designed around the STM32L496AGI6 (169-ball UFBGA package). The hardware block diagram (see Figure 3) illustrates the connection between 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 ST-LINK). Figure 4 and Figure 5 help users to locate these features on the 32L496GDISCOVERY board. The mechanical dimensions of the 32L496GDISCOVERY board are shown in Figure 6.
Figure 3. Hardware block diagram
UM2160 Rev 2 11/61
UM2160 Hardware layout and configuration
60
8.1 The 32L496GDISCOVERY Discovery kit layout
Figure 4. 32L496GDISCOVERY top layout
Hardware layout and configuration UM2160
12/61 UM2160 Rev 2
Figure 5. 32L496GDISCOVERY bottom layout
CN13 CTP connector
CN15, CN16 Arduino connectors
CN17 microSD™ card connector
CN10, CN11 Arduino connectors
CN12 Audio jack
UM2160 Rev 2 13/61
UM2160 Hardware layout and configuration
60
8.2 The 32L496GDISCOVERY Discovery kit mechanical drawing
Figure 6. 32L496GDISCOVERY mechanical drawing (bottom view)
24
8
58
5
6
5
2
2 8
8
7
7
2
2
10
9
A21
D
1
A 21
D
1106
5
9
12
48
13
8
16
9
17
3736
2425
4
4
32
25
67mm
26.56mm
12.1mm
28.34mm
4.38mm4.45mm
41.99mm
41.99mm 4.06mm
130mm
5.08mm 4.95mm
52.45mm
43.31mm10.16mm
19.3mm
19.06mm
5.21mm
7.26mm
3.05mm
4.32mm
4.06mm
10.1mm
14.67mm
48.26mm
Hardware layout and configuration UM2160
14/61 UM2160 Rev 2
8.3 Embedded ST-LINK/V2-1
The ST-LINK/V2-1 programming and debugging tool is integrated on the 32L496GDISCOVERY 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 USB
These features are no more supported on ST-LINK/V2-1:
• SWIM interface
• Application voltage lower than 3V
For general information concerning the debugging and programming features that are common to both versions V2 and V2-1, refer to ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 User manual (UM1075).
8.3.1 Drivers
Before connecting the 32L496GDISCOVERY board to a Windows® 7, Windows® 8 or Windows® XP PC via USB, a driver for ST-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, the association of “Unknown” USB devices found on the 32L496GDISCOVERY board to this dedicated 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 device
UM2160 Rev 2 15/61
UM2160 Hardware layout and configuration
60
8.3.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 the www.st.com website before starting to use the 32L496GDISCOVERY board and periodically, to stay up-to-date with the latest firmware version.
8.4 Low power consumption state
The 32L496GDISCOVERY board can be set in a low-power state with a maximum current kept below 20 μA at 5 V.
The low-power mode is reached when the following conditions are satisfied:
1. The connections between the ST-LINK/V2-1 and the MCU are manually disconnected by means of the micro switch SW1. This especially controls the for pull-up on RST, the pull-up on SWDIO, the VDD detection circuit and the 5 V detection circuit.
2. The peripherals (including LCD, CTP and PSRAM) are unpowered by means of the MOSFET that is controlled by the PH0 signal of STM32L496AGI6.
3. Jumper JP8 is disconnected so that the 5-V power LED is powered down.
4. Peripherals are setup by FW to reach the power down mode
a) Set QSPI to low-power mode
b) Set MFX to sleep mode
c) Remove the microSD™ card from the socket
d) Set all the audio lines to low
8.5 TAG and SWD
One TAG interface footprint is reserved on the 32L496GDISCOVERY board. It can be used to debug and program the on-board MCU.
One 6-pin header was added to the 32L496GDISCOVERY board. This header connects to the on board ST-LINK SWD that can be used to debug and program an external MCU. In such a configuration, the VDD power supply from the external board can be either 1.8 V or 3.3 V thanks to the on-board voltage converter.
Table 2 describes the use of jumper JP6 for selecting between on-board and external MCU.
Hardware layout and configuration UM2160
16/61 UM2160 Rev 2
8.6 Power supply
The 32L496GDISCOVERY board is designed to be powered by a selection of sources according to the position of jumper JP7 as described in Table 3.
Note: The Discovery board must be powered by a power supply unit or by an auxiliary equipment complying with the standard EN-60950-1: 2006+A11/2009, and must be Safety Extra Low Voltage (SELV) with limited power capability.
8.6.1 Supplying the board through ST-LINK/V2-1 USB connector CN5
In this mode, STLK from the CN5 ST-LINK/V2-1 USB connector is used. The corresponding setting is described in Table 4. The LD8 green LED is on to confirm the presence of 5 V supply.
Note: This mode is limited to 500 mA.
Table 2. JP6 (VDD_STL) jumper description
Jumper Description
JP6 VDD_STL
setting
Default setting: VDD_STL gets power from the 32L496GDISCOVERY board. ST-LINK can be used to program the on-board MCU. The jumper connects pins 1 and 2.
VDD_STL gets externally supplied power through connector CN7. ST-LINK can be used to program the external MCU. The jumper connects pins 2 and 3.
Table 3. 32L496GDISCOVERY board power configuration
JP7 configuration Power connector Power source
STLK CN5 STLINK/V2-1
E5V CN15 (VIN) Arduino™
U5V CN8 USB OTG
ARD CN15 (5 V) Arduino™
CHGR CN5 DC power charger
UM2160 Rev 2 17/61
UM2160 Hardware layout and configuration
60
8.6.2 Supplying the board through VIN from Arduino™ connector CN15
In this mode, 6 V to 9 V DC is supplied through the VIN pin of Arduino™ compatible connector CN15. The corresponding setting is described in Table 5. The LD8 green LED is lit to confirm the presence of 5 V supply.
Note: The voltage is limited to 9 V so that the temperature of regulator U10 is kept within the safe thermal area.
8.6.3 Supplying the board through USB OTG FS connector CN8
In this mode, 5 V DC is supplied through the user USB FS connector CN8. The corresponding setting is described in Table 6. The LD8 green LED is lit to confirm the presence of 5 V supply.
Table 4. JP7 (STLK) jumper description
Jumper Description
JP7Power source
selector
Default setting The 32L496GDISCOVERY board is supplied through the CN5 Micro-B ST-LINK/V2-1 connector. The jumper connects STLK pins 1 and 2.
Table 5. JP7 (E5V) jumper description
Jumper Description
JP7Power source
selector
The 32L496GDISCOVERY board is supplied through the CN15 Arduino™ compatible connector (VIN). The jumper connects E5V pins 3 and 4.
Table 6. JP7 (U5V) jumper description
Jumper Description
JP7Power source
selector
The 32L496GDISCOVERY board is supplied through the CN8 USB OTG connector. The jumper connects U5V pins 5 and 6.
Hardware layout and configuration UM2160
18/61 UM2160 Rev 2
8.6.4 Supplying the board through +5V of Arduino™ connector CN15
In this mode, 5 V DC is supplied through the +5V of Arduino™ compatible connector CN15. The corresponding setting is described in Table 7. The LD8 green LED is lit to confirm the presence of 5 V supply.
Note: Jumper JP3 must connect pins 2 and 3 of the input/output voltage selection so that the 32L496GDISCOVERY board is supplied 5 V through connector CN15 (default setting).
8.6.5 Supplying the board through a charger connected to ST-LINK
In this mode, a 5 V-DC power charger is connected to USB STLINK CN5 connector. The corresponding setting is described in Table 8. The LD8 green LED is lit to confirm the presence of 5 V supply.
Note: Debug is not available if the 32L496GDISCOVERY board is supplied power by an external USB charger. This limitation does not apply when power is supplied by a PC.
Warning: In this mode, the 32L496GDISCOVERY board is not protecting a PC supplying power through connector CN15 against electrical damage.
Table 7. JP7 (ARD) jumper description
Jumper Description
JP7Power source
selector
5 V is supplied through Arduino™ compatible connector CN15 (+5V). Jumper JP7 connects ARD pins 7 and 8.
JP3ARD 5V
input/output voltage
selection
The 32L496GDISCOVERY board supplies 5 V through Arduino™ compatible connector CN15 (+5V) to an external board. Jumper JP3 connects ARD pins 1 and 2.
Default setting The 32L496GDISCOVERY board is supplied 5 V through Arduino™ compatible connector CN15 (+5V). Jumper JP3 connects ARD pins 2 and 3.
UM2160 Rev 2 19/61
UM2160 Hardware layout and configuration
60
8.6.6 MCU power supply options
The 32L496GDISCOVERY board offers the possibility to supply the MCU with 1.8 V or 3.3 V. A jumper must be placed at the 1V8 location of JP5 (connecting pins 2 and 3) to supply 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.
8.6.7 Supplying the board through ST-LINK/V2-1 USB
In this mode, the USB Host (a PC) is connected to the standard Micro-B USB receptacle of the 32L496GDISCOVERY board by means of a USB cable. The connection event starts the USB enumeration procedure.
In the initial phase of the enumeration procedure, the current supply capability of the USB port of the host is limited to 100 mA. This value is high enough for normal operation since only the ST-LINK/V2-1 part of 32L496GDISCOVERY draws power during that phase. If the solder bridge SB11 is opened (default configuration), the ST890 U7 power switch is set to 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-1 facility of its capability to supply up to 500 mA. If this is accepted, the ST-LINK/V2-1 sets the ST890 U7 switch to the ON position to supply power to the rest of the 32L496GDISCOVERY board. If the PC USB port is not capable of supplying up to 500 mA, another power source must be used like the VIN pin of connector CN15.
If a short-circuit occurs on the board, the ST890 power switch protects the USB port of the host against current demand exceeding 600 mA, In such an event, the FAULT LD4 red LED lights on.
The 32L496GDISCOVERY board can also be supplied power by a USB power source that is not supporting enumeration, such as a USB charger. In such a particular case, the SB11 solder bridge must be closed. ST-LINK/V2-1 turns the ST890 power switch ON regardless of the enumeration procedure result and passes the power unconditionally to the board.
The LD8 green LED is lit whenever the whole board is powered.
8.6.8 Measurement of current consumption by the microcontroller
The JP2 jumper, labeled IDD, allows the consumption of the STM32L496AGI6 to be measured directly by a built-in MCU current ammeter circuit capable of measuring from 60 nA to 50 mA or by removing the jumper and connecting an external ammeter.
It needs the MCU run SW to let this current test circuit get into low power mode.
Table 8. JP7 (CHGR) jumper description
Jumper Description
JP7Power source
selector
The 32L496GDISCOVERY board is supplied through the CN5 connector. The jumper connects CHGR pins 9 and 10.
Hardware layout and configuration UM2160
20/61 UM2160 Rev 2
Table 9. IDD measurement jumper settings
Jumper Description
JP5VDD_MCU
voltage selection
Default setting
The STM32L496AGI6 is supplied with 3.3 V. Jumper JP5 connects pins 1 and 2.
The STM32L496AGI6 is supplied with 1.8 V. Jumper JP5 connects pins 2 and 3.
JP4VDD_USB
source selection
Default setting
The VDD_USB power pin of the STM32L496AGI6 is supplied with 3.3 V. Jumper JP4 connects pins 1 and 2.
The VDD_USB power pin of the STM32L496AGI6 is supplied with VDD_MCU. Jumper JP4 connects pins 2 and 3.
JP2VDD_MCU measure
Default setting
IDD measurement: use of an on-board module that is designed to measure from 60 nA to 50 mA by using several MOSFETs and that automatically switches depending on the range of the measured value. No jumper in this configuration: an ammeter must be connected to measure the STM32L496AGI6 current through pins 1 and 2. If no ammeter is connected to pins 1 and 2, the STM32L496AGI6 is unpowered.
The STM32L496AGI6 is powered by VDD. Jumper JP2 connects pins 2 and 3.
UM2160 Rev 2 21/61
UM2160 Hardware layout and configuration
60
8.7 Programming/debugging when the power supply is not from ST-LINK/V2-1
It is mandatory to power the board first using the user USB FS connector CN8 or the VIN pin of the Arduino™ connector CN15 before connecting the USB cable from ST-LINK/V2-1 CN5 to the PC. Proceeding this way ensures that the enumeration succeeds thanks to the external power source.
The following power sequence procedure must be respected:
1. Connect jumper JP7 on U5V pins to use power from user USB CN8 or on E5V pins to use power from VIN of Arduino™ connector CN15.
2. Connect the corresponding external power source
3. Check that the LD8 green LED is turned ON
4. Connect the PC to ST-LINK/V2-1 USB connector CN5
If this order is not respected, the 32L496GDISCOVERY board may be powered by VBUS first from ST-LINK and the following risks may be encountered:
1. If more than 500 mA current is needed by the board, the PC may be damaged or the current can be limited by the PC. As a consequence the board is not powered correctly.
2. 500 mA is requested at enumeration: if the PC cannot provide such current, there is a risk that the request is rejected and that the enumeration does not succeed.
8.8 Clock source
One clock source is available as described below:
• X1, 32-kHz crystal for STM32L496AGI6 embedded RTC
8.9 Reset sources
The reset signal of the 32L496GDISCOVERY board is active low and the reset sources include:
• Reset button B1
• Arduino™ Uno V3 shield board from CN15
• Embedded ST-LINK/V2-1
8.10 Boot configuration
The boot configuration of the STM32L496AGI6 microcontroller is controlled by the BOOT0 signal on pin PH3.
BOOT0 is by default grounded through the R20 pull-down resistor.
It is possible to set BOOT0 high by removing resistor R20 and soldering resistor R21.
Hardware layout and configuration UM2160
22/61 UM2160 Rev 2
8.11 Audio codec
An audio codec CS42L51-CNZ from Cirrus (U18) is connected to the SAI1 interface of the STM32L496AGI6. It communicates with STM32L496AGI6 via an I2C bus and offers the possibility to connect a stereo headphone or a headset with a mono analog microphone.
The I2C-bus address of CS42L51-CNZ is 94h.
8.12 Stereo headset and headphone jack
A stereo headphone or a stereo headset with analog microphone can be plugged into the 3.5 mm standard jack socket CN12.
If a headset is plugged into CN12, the bias of the microphone is driven by the output MICBIAS1 of the codec and the analog audio enters the codec by pin AIN3A.
8.13 DFSDM
Two STMicroelectronics MP34DT01TR MEMs digital microphones U1 and U2 are available on the 32L496GDISCOVERY board. The two microphones are separated by a distance of 21 mm. The microphones are connected to the DFSDM of the STM32L496AGI6 by the port PC2 generating the clock and by the port PC7 collecting the PDM interleaved data. Both are powered by MIC_VDD (PH1 of STM32L496AGI6).
8.14 USB OTG FS
The 32L496GDISCOVERY board supports USB OTG full speed communication via a USB Micro-AB connector (CN8) and USB power switch (U14) connected to VBUS.
The LD6 green LED is lit in one of these cases:
• Power switch (U14) is ON and the 32L496GDISCOVERY board works as a USB host
• VBUS is powered by another USB host when the 32L496GDISCOVERY board works as a USB device.
The LD7 red LED is lit in case of overcurrent.
Note 1: When the 32L496GDISCOVERY board is powered by the ST-LINK then the OTG function provides up to 100 mA.
Note 2: When the 32L496GDISCOVERY board is powered by an external power supply then the OTG function provides more than 100 mA, according to the external power supply capability.
Note 3: When the 32L496GDISCOVERY board is powered by an external power supply through USB FS connector (CN8), in device mode, do not use a PC as power source (refer to Section 8.6.3).
8.14.1 32L496GDISCOVERY as an USB Device
When the 32L496GDISCOVERY board is used as a USB Device, the board can be powered by the 5 V DC of the USB OTG FS connection (jumper JP7 connecting pins 5 and 6).
UM2160 Rev 2 23/61
UM2160 Hardware layout and configuration
60
The LD6 VBUS and LD8 PWR green LEDs are lit to confirm the 5 V presence.
8.14.2 32L496GDISCOVERY as an USB Host
When the 32L496GDISCOVERY board is used as a USB Host, it supplies the 5 V for the USB peripheral using one of the following sources:
• ST-LINK/V2-1 USB Micro-B connector CN5 when a jumper connects the pins at the STLK location of JP7.
• An external 5 V source connected to pin 5 of the extension connector CN15 when a jumper connects the pins at the ARD location of JP7.
• An external source between 7 V and 11 V connected to the VIN pin of the Arduino™ connector CN15 when a jumper connects the pins at the E5V location of JP7.
The LD8 green LED is lit to confirm the presence of the 5 V source.
The STMPS2141STR power switch is controlled by port MFX_GPIO3 to deliver the 5 V power to the USB Device connected to the USB connector CN8. When MFX_GPIO3 is pulled down to ground, the power switch is closed, and the LD6 green LED confirms the 5 V to the USB Device. The LD7 FAULT red LED is lit in case of over-current.
For more details refer to Section 8.6: Power supply on page 16.
8.15 PSRAM memory
An 8-Mbit PSRAM is connected to the NOR_RAM of the FMC interface of the STM32L496AGI6. The data bus is shared with the LCD.
Note: The PSRAM is only working when the STM32L496AGI6 is supplied with 3.3 V.
8.16 Quad-SPI Flash memory
A 64-Mbit Quad-SPI Flash memory (MX25R6435FM2IL0 from MACRONIX) is connected to the Quad-SPI interface of the STM32L496AGI6.
8.17 Virtual COM port
The serial interface USART2 is directly available as a virtual COM port of the PC connected to the ST-LINK/V2-1 USB connector CN5. The virtual COM port settings are configured as: 115200 b/s, 8-bit data, no parity, 1 stop bit, no flow control.
8.18 Joystick and LEDs
The blue button B2 is a four-direction joystick with a selection mode when pressed in the center. The logic state is high when one of the five-position switch (Left, Right, Up, Down, Selection) is pressed. The center position is connected to a wake-up pin of the microcontroller PC13. This offers the possibility to wake-up the microcontroller by pressing the center of the joystick.
Two LEDs located near camera connectors CN1 are available for the user. Refer to Figure 4: 32L496GDISCOVERY top layout on page 11 for details. The LEDs are LD1, LD2,
Hardware layout and configuration UM2160
24/61 UM2160 Rev 2
from left to right with colors orange and green respectively as presented in Table 11. To light a LED, a low logic state 0 must be written in the corresponding GPIO.
Table 10. 32L496GDISCOVERY user LEDs
LED Control MCU port Color Polarity
LD1 MFX_GPIO4 Orange Active high
LD2 PB13 Green Active high
LD3 PA5 Green Active low
Table 11. 32L496GDISCOVERY non-user LEDs
LED Function
LD4 ST-LINK overcurrent
LD5 ST-LINK
LD6 USB VBUS present
LD7 USB overcurrent
LD8 Board power supply present
UM2160 Rev 2 25/61
UM2160 Connectors
60
9 Connectors
9.1 Arduino™ Uno V3 compatible connectors
CN10, CN11, CN15, and CN16 are female connectors compatible with Arduino™ Uno V3 standard. Most shields designed for Arduino™ Uno V3 are also supported by the 32L496GDISCOVERY board.
The Arduino™ connectors on the 32L496GDISCOVERY board support the Arduino™ Uno V3.
There are three possible power sources for VREF+:
• From the 32L496GDISCOVERY board VDDA. The related jumper settings are detailed in Table 12. In this case, a 0 Ω resistor must be mounted on R18.
Warning: There is a high leakage and a risk of damage in the following configuration: VDDA = VDD_MCU = 1.8 V and 3.3V connected to ADC input IO.
• From an external shield through Arduino™ connector CN10. In this case, a 0 Ω resistor must be mounted on SB2 and a 100 nF capacitor must be mounted on C3.
• From the STM32L496AGI6 MCU (default).
Caution: The I/Os of STM32 microcontroller are 3.3 V compatible instead of 5 V for Arduino™ Uno V3.
Arduino™ compatible connectors are detailed in Table 13.
Table 12. JP4 (VDDA) jumper description
Jumper Description
JP4VDDAsource
selection
Default setting
VDDA is supplied from 3.3 V.Jumper JP4 connects pins 1 and 2.
VDDA is supplied from VDD_MCU.Jumper JP4 connects pins 2 and 3.
Connectors UM2160
26/61 UM2160 Rev 2
Table 13. Arduino™ compatible connectors
LEFT Connectors RIGHT Connectors
CN Pin Pin nameMCU pin
Function FunctionMCU pin
Pin name
Pin CN
-
-
I2C1_SCL PB8 D15 10
CN10
Digital
I2C1_SDA PB7 D14 9
AVDD - AVDD 8
Ground - GND 7
CN15
Power
1 - - E5V testSPI1_SCK,
LD3PA5 D13 6
2 IOREF - VDD SPI1_MISO PB4 D12 5
3 NRST NRST ResetTIM3_CH2, SPI1_MOSI
PB5 D11 4
4 3V3 -3.3 V output
(see note 1)TIM2_CH1, SPI1_NSS
PA15 D10 3
5 +5V - 5 V input/output TIM4_CH3 PH13 D9 2
6 GND - Ground - PG15 D8 1
7 GND - Ground -
8 VIN -+6 V to +9 V power input
(see note 2)- PG6 D7 8
CN11
Digital
- TIM5_CH1 PI6 D6 7
CN16
Analog
1 A0 PC4 ADC12_IN13 TIM5_CH4 PB9 D5 6
2 A1 PC1 ADC123_IN2 - PI11 D4 5
3 A2 PC3 ADC123_IN4 TIM5_CH2 PH15 D3 4
4 A3 PF10 ADC3_IN13 - PG13 D2 3
5 A4PA1 or PB7
(note 3)
ADC12_IN6
or
I2C1_SDA
(see note 3)
LPUART1_TX PG7 D1 2
6 A5PC0 or
PB8 (note 3)
ADC12_IN13
or
I2C1_SCL (note 3)
LPUART1_RX PG8 D0 1
UM2160 Rev 2 27/61
UM2160 Connectors
60
Note1: the 3.3 V supply on ARD connector PIN4 is not a power input for 32L496GDISCOVERY board in order to keep the power architecture simple.
Note 2: The external voltage applied to pin VIN must be in the range of 6 V to 9 V at 25 °C ambient temperature.The U10 regulator risks overheating and can be damaged if a higher voltage is applied.
Note 3: By default pin 5 and pin 6 of connector CN16 are connected to MCU ports PC0 and PA1 respectively. By default, they are enabled by the default configuration of solder bridges: SB28 and SB26 closed, SB27 and SB25 opened. In case an I2C interface is needed on pins 5 and 6 of CN16 instead of ADC inputs, SB28 and SB26 must be opened and SB27 and SB25 must be closed.
9.2 PMOD connector CN3
The standard PMOD connector is available on 32L496GDISCOVERY board to support flexibility in small form factor applications. The PMOD connector is implementing PMOD types 2A and 4A on 32L496GDISCOVERY board. PMOD connector is detailed in Table 14.
Refer to Section Appendix C: PMOD and STMod+ schematic table to find more information about PMOD pins.
9.3 STMod+ connector CN2
The STMod+ connector is available on 32L496GDISCOVERY board to support flexibility in small form factor applications. The STMod+ connector extends SPI and spare I/Os for different peripheral expansion. It is described in Table 15.
Table 14. PMOD connector CN3
Pin number Description Pin number Description
1 SS/CTS (PG11) 7 INT (PH2)
2 MOSI/TXD (PB15/PB6) 8 RESET (PB2)
3 MISO/RXD (PI2/PG10) 9 NA
4 SCK/RTS (PI1/PG12) 10 NA
5 GND 11 GND
6 3V3 12 3V3
Table 15. STMod+ connector CN2
Pin number Description Pin number Description
1 SS/CTS (PG11) 11 INT (PH2)
2 MOSI/TXD (PB15/PB6) 12 RESET (PB2))
3 MISO/RXD (PI2/PG10) 13 ADC (PA4)
4 SCK/RTS (PI1/PG12) 14 PWM (PA0)
5 GND 15 +5V
6 +5V 16 GND
Connectors UM2160
28/61 UM2160 Rev 2
Refer to Section Appendix C: PMOD and STMod+ schematic table to find more information about STMod+ signals.
9.4 TAG connector CN4
TAG connector is a 10-pin footprint supporting SWD mode. It is used to connect to the STM32L496AGI6 for programming or debugging purposes.
Figure 8. TAG connector top view (CN4)
7 I2C_SCL (PB8) 17 DFSDM-DATA3 (PC7)
8 MOSIs (PI3) 18 DFSDM-CK (PC2)
9 MISOs (PD3) 19 DFSDM-DATA1 (PB12)
10 I2C_SDA (PB7) 20 DFSDM-CK (PC2)
Table 15. STMod+ connector CN2 (continued)
Pin number Description Pin number Description
Table 16. TAG connector CN4
Pin number Description Pin number Description
1 VDD 10 RESET#
2 SWDIO (PA13) 9 NA
3 GND 8 NA
4 SWCLK (PA14) 7 NA
5 GND 6 SWO (PB3)
UM2160 Rev 2 29/61
UM2160 Connectors
60
9.5 SWD connector CN7
SWD can be used to program or debug on an MCU in an external application board using a cable connected to SWD connector CN7. In such a case, jumper JP6 must connect pins 2 and 3 of the JP6 location.
When SWD is used to program or debug the STM32L496AGI6, jumper JP6 must connect pins 1 and 2 of theJP6 location (default setting).
9.6 USB OTG FS Micro-AB connector CN8
USB OTG full speed interface is available on 32L496GDISCOVERYat USB Micro-AB connector CN8.
Figure 9. USB OTG FS Micro-AB connector CN8 (front view)
9.7 Camera module connector CN1
The 32L496GDISCOVERY offers the possibility to connect a camera module on connector CN1 as detailed in Figure 10 and Table 19.
Note: The camera is only working when the STM32L496AGI6 is supplied with 3.3 V.
Table 17. SWD connector CN7
Pin number Description Pin number Description
1 VDD 4 SWDIO
2 SWCLK 5 NRST
3 GND 6 SWO
Table 18. USB OTG FS Micro-AB connector CN8
Pin number Description Pin number Description
1 VBUS (PA9) 4 ID (PA10)
2 DM (PA11) 5 GND
3 DP (PA12) - -
Connectors UM2160
30/61 UM2160 Rev 2
Figure 10. Camera module connector CN1 (front view)
9.8 microSD™ card
microSD™ cards with 4GB or more capacity can be inserted in the receptacle CN17. 4 bits of the SDIO interface including CLK and CMD signals of the STM32L496AG are used to communicate with the Micro SD card. The card detection is read by the MFX_GPIO8: when a microSD™ card is inserted, the logic level is 0, otherwise it is 1.The CN17 connector is detailed in Figure 11 and Table 20.
Note: The microSD™ card is only working when the STM32L496AGI6 is supplied with 3.3 V.
Table 19. Camera module connector CN1
Pin number Description Pin number Description
1 GND 16 GND
2 NC 17 DCMI_HSYNC (PH8)
3 NC 18 NC
4 DCMI_D0 (PH9) 19 DCMI_VSYNC (PI5)
5 DCMI_D1 (PH10) 20 VDD
6 DCMI_D2 (PH11) 21 Camera_CLK (MCU PA8)
7 DCMI_D3 (PH12) 22 NC
8 DCMI_D4 (PH14) 23 GND
9 DCMI_D5 (PI4) 24 NC
10 DCMI_D6 (PE5) 25 DCMI_PWR_EN (MFX_GP6)
11 DCMI_D7 (PI7) 26 RESET#
12 NC 27 DCMI_SDA (PB14)
13 NC 28 DCMI_SCL (PH4)
14 GND 29 GND
15 DCMI_PIXCK (PH5) 30 VDD
UM2160 Rev 2 31/61
UM2160 Connectors
60
Figure 11. microSD™ card connector CN17 (top view)
9.9 LCD display
The display is a 1.54-inch 240 x 240 pixels TFT color LCD with capacitive touch panel. It can display up to 262 K colors. The LCD parallel interface is connected to the FMC of the STM32L496AGI6 by the CN6 connector. By default, the solder bridge SB15 is opened and the solder bridge SB14 is closed. It sets the IM of the LCD to high, enabling the LCD display data bus in 16-bit mode. To use the LCD in 8-bit mode, SB15 must be closed and SB14 opened.
The selection of the LCD is performed by the FMC_NE1 (PD7) signal. The write enable signal is FMC_NWE (PD5) and the read enable signal is FMC_NOE (PD4). The FMC address A18 signal is used to select data/command access to the LCD.
The PH7 port must be used as an input of the microcontroller connected to the LCD signal TE (Tearing Effect). The TE signal is used to synchronize the refresh of the LCD memory by the microcontroller with the LCD scan. Such a synchronization allows to avoid visible artifacts on the display.
Table 20. microSD™ card connector CN17
Pin number Description Pin number Description
1 SDIO_D2 (PC10) 6 GND
2 SDIO_D3 (PC11) 7 SDIO_D0 (PC8)
3 SDIO_CMD (PD2) 8 SDIO_D1 (PC9)
4 3V3 9 GND
5 SDIO_CLK (PC12) 10 MicroSD card_detect (MFX_GPIO8)
Connectors UM2160
32/61 UM2160 Rev 2
The LCD_RESET (MFX_GPIO2) signals gives the possibility to reset the LCD by the microcontroller. Table 21 details the signals of LCD connector CN6.
Table 21. LCD connector CN6
CN6
pin
Signal
nameDescription
MCU pin involved
1 GND Ground GND
2 LCD_TE Tearing Effect output pin to interrupt of MCU PH7
3 D15 Data connected to FMC PD10
4 D14 Data connected to FMC PD9
5 D13 Data connected to FMC PD8
6 D12 Data connected to FMC PE15
7 D11 Data connected to FMC PE14
8 D10 Data connected to FMC PE13
9 D9 Data connected to FMC PE12
10 D8 Data connected to FMC PE11
11 D7 Data connected to FMC PE10
12 D6 Data connected to FMC PE9
13 D5 Data connected to FMC PE8
14 D4 Data connected to FMC PE7
15 D3 Data connected to FMC PD1
16 D2 Data connected to FMC PD0
17 D1 Data connected to FMC PD15
18 D0 Data connected to FMC PD14
19 /RD Read of LCD connected to FMC_NOE PD4
20 /WR Write of LCD connected to FMC_NWE PD5
21 RS Data/Command select connected to A18 PD13
22 /CS Chip Select of LCD connected to FMC_NE1 PD7
23 RESET LCD RESET MFX_GP2
24 IM 8 bits (low)/16bits (high) mode selection pin n/a
25 IOVCC LCD I/Os power supply connected to VDD n/a
26 VCI Power supply connected to +3V3 n/a
27 GND Ground GND
28 LEDA Anode of backlight LED n/a
29 LEDK Cathode of backlight LED n/a
UM2160 Rev 2 33/61
UM2160 Connectors
60
9.10 Backlight
The LEDK and LEDA signals of the LCD module are the cathode and anode of the backlight LEDs.
The backlight LEDs require a current source supply of typically 15 mA capable to deliver a voltage up to 10 V. This function is handled by the backlight driver circuit STLD40DPUR that is a switching mode boost converter powered by the 5 V rail of the board.
A high level of the LCD_BLCTRL (PI0) signal switches the backlight on. It is possible to dim backlight intensity by applying a low frequency PWM signal to LCD_BLCTRL (from 1 kHz to 10 kHz typically).
9.11 Touch panel
The touch panel is a capacitive touch panel using an I2C interface. The CN13 10-pin connector of the touch panel is located on th bottom side of the 32L496GDISCOVERY board. The I2C SDA line is connected to PB14 and the I2C SCL line is connected to PH4. The CTP_INT interrupt output is connected to port PG14 as an interruption input of the microcontroller. Port MFX_GPIO1 is the reset of the capacitive touch panel.
9.12 ST-LINK/V2-1 USB Micro-B connector CN5
USB connector CN5 is used to connect embedded ST-LINK/V2-1 to PC for t h e programming and the debugging of the STM32L496AGI6 microcontroller.
Figure 12. USB Micro-B connector CN5 (front view)
Table 22. Touch panel connector CN13
Pin number
DescriptionPin
numberDescription
1 GND 6 GND
2 INT (PG14) 7 RESET (MFX_GPIO1)
3 GND 8 VDD
4 SDA (PB14) 9 VDD
5 SCL (PH4) 10 GND
Connectors UM2160
34/61 UM2160 Rev 2
Table 23. USB Micro-B connector CN5
Pin number Description Pin number Description
1 VBUS (power) 4 GND
2 DM 5, 6 Shield
3 DP - -
UM2160 Rev 2 35/61
UM2160 32L496GDISCOVERY board I/O assignment
60
Appendix A 32L496GDISCOVERY board I/O assignment
Table 24. 32L496GDISCOVERY Discovery board I/O assignment
Pin name Pin number Signal or label Note
PA0 K3 TIM2_CH1 -
PA1 N2 ARD_A4 -
PA2 N1 UART2_TX -
PA3 M2 QSPI_CLK -
PA4 L3 ADC12_IN9 -
PA5 K4 ARD_D13 ARD_SPI1_CLK, LD3
PA6 M4 QSPI_BK1_IO3 -
PA7 L4 QSPI_BK1_IO2 -
PA8 G8 DCMI_CLK -
PA9 F10 USB_VBUS -
PA10 F9 USB_ID -
PA11 E13 USB_DM -
PA12 D13 USB_DP -
PA13 A11 STLK_JTMS SWDIO
PA14 A10 STLK_JTLK SWCLK
PA15 A9 ARD_D10 SPI1_NSS/TIM2_CH1
PB0 K5 QSPI_BK1_IO1 -
PB1 L5 QSPI_BK1_IO0 -
PB2 N5 PMOD+ RESET -
PB3 A6 STLK_JTDO TRACESWO
PB4 A5 ARD_D12 ARD_SPI1_MISO
PB5 B5 ARD_D11 ARD_SPI1_MOSI
PB6 C5 UART1_TX -
PB7 D5 ARD_D14 I2C1_SDA
PB8 C4 ARD_D15 I2C1_SCL
PB9 D4 ARD_D5 TIM4_CH4
PB10 N9 SAI1_SCK_A -
PB11 H8 QSPI_BK1_NCS -
PB12 N12 DFSDM_DATA1 -
PB13 N13 LED1 -
PB14 M13 I2C2_SDA -
PB15 M12 SPI2_MOSI -
32L496GDISCOVERY board I/O assignment UM2160
36/61 UM2160 Rev 2
PC0 J2 ARD_A5 -
PC1 J3 ARD_A1 -
PC2 J4 DFSDM_CKOUT -
PC3 K1 ARD_A2 -
PC4 H5 ARD_A0 -
PC5 J5 MFX_WAKEUP -
PC6 F11 AUDIO_RST -
PC7 G12 DFSDM_DATA3 -
PC8 G10 SD_D0 -
PC9 G9 SD_D1 -
PC10 D9 SD_D2 -
PC11 E9 SD_D3 -
PC12 F8 SD_CLK -
PC13 E1 JOY_SEL WAKEUP
PC14 OSC32_IN F1 OSC32_IN -
PC15 OSC32_OUT G1 OSC32_OUT -
PD0 B8 PSRAM_D2 LCD_D2
PD1 C8 PSRAM_D3 LCD_D3
PD2 D8 SD_CMD -
PD3 E8 SPI2_MISO -
PD4 C7 PSRAM_NOE LCD_NOE
PD5 D7 PSRAM_NWE LCD_NWE
PD6 E7 UART2_RX -
PD7 F7 LCD_NE1 -
PD8 L11 PSRAM_D13 LCD_D13
PD9 L10 PSRAM_D14 LCD_D14
PD10 J13 PSRAM_D15 LCD_D15
PD11 K12 PSRAM_A16 -
PD12 K11 PSRAM_A17 -
PD13 K13 PSRAM_A18 LCD_RS
PD14 K10 PSRAM_D0 LCD_D0
PD15 H11 PSRAM_D1 LCD_D1
PE0 A4 PSRAM_NBL0 -
PE1 B4 PSRAM_NBL1 -
PE2 D3 SAI1_MCLK_A -
Table 24. 32L496GDISCOVERY Discovery board I/O assignment (continued)
Pin name Pin number Signal or label Note
UM2160 Rev 2 37/61
UM2160 32L496GDISCOVERY board I/O assignment
60
PE3 D2 SAI1_SD_B -
PE4 D1 SAI1_FS_A -
PE5 E4 DCMI_D6 -
PE6 E3 SAI1_SD_A -
PE7 L7 PSRAM_D4 LCD_D4
PE8 K7 PSRAM_D5 LCD_D5
PE9 J7 PSRAM_D6 LCD_D6
PE10 H7 PSRAM_D7 LCD_D7
PE11 N8 PSRAM_D8 LCD_D8
PE12 M8 PSRAM_D9 LCD_D9
PE13 L8 PSRAM_D10 LCD_D10
PE14 K8 PSRAM_D11 LCD_D11
PE15 J8 PSRAM_D12 LCD_D12
PF0 F5 PSRAM_A0 LCD_RS
PF1 F4 PSRAM_A1 -
PF2 F3 PSRAM_A2 -
PF3 G3 PSRAM_A3 -
PF4 G4 PSRAM_A4 -
PF5 G5 PSRAM_A5 -
PF10 H4 ARD_A3 -
PF11 M5 JOY_RIGHT -
PF12 N6 PSRAM_A6 -
PF13 M6 PSRAM_A7 -
PF14 L6 PSRAM_A8 -
PF15 K6 PSRAM_A9 -
PG0 J6 PSRAM_A10 -
PG1 H6 PSRAM_A11 -
PG2 J12 PSRAM_A12 -
PG3 J11 PSRAM_A13 -
PG4 J10 PSRAM_A14 -
PG5 J9 PSRAM_A15 -
PG6 G11 ARD_D7 -
PG7 H10 ARD_D1 LPUART1_TX
PG8 H9 ARD_D0 LPUART1_RX
PG9 B7 PSRAM_NE2 -
Table 24. 32L496GDISCOVERY Discovery board I/O assignment (continued)
Pin name Pin number Signal or label Note
32L496GDISCOVERY board I/O assignment UM2160
38/61 UM2160 Rev 2
PG10 D6 UART1_RX -
PG11 E6 UART1_CTS SPI2_NSS
PG12 F6 UART1_RTS -
PG13 G7 ARD_D2 -
PG14 G6 CTP_INT -
PG15 C6 ARD_D8 -
PH0 H1 LCD_PWR_ON -
PH1 G1 MIC_VDD -
PH2 A2 PMOD_INT -
PH3 E5 BOOT0 -
PH4 K9 I2C2_SCL -
PH5 L9 DCMI_PIXCLK -
PH6 E11 MFX_INT -
PH7 D12 LCD_TE -
PH8 N10 DCMI_HSYNC -
PH9 D11 DCMI_D0 -
PH10 M9 DCMI_D1 -
PH11 M10 DCMI_D2 -
PH12 B13 DCMI_D3 -
PH13 C9 ARD_D9 TIM8_CH1N
PH14 A13 DCMI_D4 -
PH15 B12 ARD_D3 TIM8_CH3N
PI0 A12 LCD_BL TIM5_CH4
PI1 B11 SPI2_CLK -
PI2 B10 SPI2_MISO -
PI3 C10 SPI2_MOSI -
PI4 D10 DCMI_D5 -
PI5 E10 DCMI_VSYNC -
PI6 B9 ARD_D6 TIM8_CH2
PI7 B2 DCMI_D7 -
PI8 C11 JOY_UP -
PI9 B1 JOY_LEFT -
PI10 A1 JOY_DOWN -
PI11 C3 ARD_D4 -
Table 24. 32L496GDISCOVERY Discovery board I/O assignment (continued)
Pin name Pin number Signal or label Note
UM2160 Rev 2 39/61
UM2160 Electrical schematics
60
Appendix B Electrical schematics
This section provides design schematics of the features for the 32L496GDISCOVERY Discovery board and design schematics of the Fanout board:
• 32L496GDISCOVERY Discovery board interconnections (Figure 13)
• Power (Figure 14)
• Arduino™ Uno V3 connectors (Figure 15)
• ST-LINK/V2-1 (Figure 16)
• Quad-SPI Flash memory (Figure 17)
• Peripherals (Figure 18)
• USB OTG FS (Figure 19)
• LCD interface (Figure 20)
• IDD measurement and MFX (Figure 21)
• MCU (Figure 22)
• PSRAM (Figure 23)
• Camera (Figure 24)
• STMod+ interface (Figure 25)
• Audio and DFSDM (Figure 26)
• Fanout board (Figure 27)
Elec
trical s
ch
em
atic
sU
M2
160
40/6
1U
M2
160 R
ev 2
Figure 13. 32L496GDISCOVERY Discovery board interconnections
1 14
MB1261-TOP
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A3 Revision:
STM32L496G-DISCOProject:
NRST
ARD_A0ARD_A1ARD_A2ARD_A3ARD_A4ARD_A5
ARD_D5ARD_D4ARD_D3ARD_D2ARD_D1ARD_D0
ARD_D13ARD_D12ARD_D11ARD_D10ARD_D9ARD_D8
ARD_D6ARD_D7
ARD_D15ARD_D14
Arduino_ ConnectorsArduino_ Connectors.SchDoc
DCMI_D[0..7]
DCMI_NRSTDCMI_PWR_EN
DCMI_VSYNCDCMI_HSYNCDCMI_PIXCK
DCMI_I2C
DCMI_CLK
Camera InterfaceCamera.SchDoc
MFX_IRQ_OUTMFX_WAKEUP
NRST
MFX_I2C
USB_PWR_ON
DCMI_PWR_EN
uSD_DetectUSB_OVER
CTP_RSTLCD_RST
LED2
IDDIDD_measurement.SchDoc
LCD_I2C
CTP_RSTLCD_RST
LCDCTP_INT
TFT_LCDLCD.SchDoc
QSPI Flash
PSRAM
SDJOYSTICK
USB_OTG
MFX_IRQ_OUTMFX_WAKEUP
ARD_A0
MFX_I2C
ARD_A1ARD_A2ARD_A3ARD_A4ARD_A5ARD_D0ARD_D1ARD_D2ARD_D3ARD_D4ARD_D5ARD_D6ARD_D7ARD_D8ARD_D9
ARD_D10ARD_D11ARD_D12ARD_D13ARD_D14ARD_D15
USART_TXUSART_RX
SWCLKSWDIOSWO
DCMI_D[0..7]
DCMI_VSYNCDCMI_HSYNCDCMI_PIXCK
STMOD+_UART
STMOD+_I2C
STMOD+_INTSTMOD+_RESET
STMOD+_ADCSTMOD+_PWM
STMOD+_MOSIsSTMOD+_MISOs
STMOD+_SPI
DFDATIN3DFDATIN1
DFSDM
MIC_VDD
CODEC
LED1
RESET
DCMI_CLK
LCDCTP_INT
DF_CKOUT
Audio_RST
MCUMCU.SchDoc
LED1
SDJOYSTICK
LED2
uSD_Detect
RESET
PeripheralsPeripherals.SchDoc
U5V
PowerPower.SchDoc
PSRAM
PSRAMPSRAM.SchDoc
QSPI Flash
QSPIQSPI.SchDocNRST
SWCLKSWDIO
SWO
USART_TXUSART_RX
U5V
ST_LINKST_LINK_V2-1_2.SCHDOC
USB_OTG
USB_OTGFS_PPWR_EN
USB_OVER
U5V
OTGUSB_OTG_FS.SchDoc
NRST
NRST
STMOD+_INTSTMOD+_RESETSTMOD+_ADC
DFDATIN3
STMOD+_PWM
DFDATIN1
STMOD+_UARTSTMOD+_SPISTMOD+_I2CSTMOD+_MOSIsSTMOD+_MISOs
DF_CKOUT
STMOD+STMOD+.SchDoc
CODEC
CODEC_I2C
DFSDM
MIC_VDDAudio_RST
AudioAudio.SchDoc
Rev A.01 --> MB1261 B.011: Updated back light name port from PA5 to PI02: Updated CN2 name from PMOD+ to STMOD3: Pull-up EN pin of USB power switch (U14) to 5V instead of 3V34: Swap "MFX_IRQ_OUT" and "MFX_WAKEUP"5: Connect 4 fix holes to GND6: Replace PA0 (MFX_aGPIO0) with PA1 (MFX_aGPIO1)7: Replace FMC_A0 (PF0) with FMC_A18 (PD13)8: Replace load capacitors C9&C11 to 5.6pF9: Removed MOSFET T1 and R9/R10/R11/R61/R39/R19/R38/R40/R10810: Connect PG9 to CS1 of PSRAM via R12 & a two-pin jumper in parallel.Addpossibility to power PSRAM by either 3V3 or VDD_LCD11: Updated R18 to N/A, SB2 to OPEN,SB23 to JP10, Connect VDDA to VDD_USBinstead of VDD_MCU12: N-MOSFET BSN20 added to drive LD313: Added USBLC6-2SC6 for ST-LINK USB
H3
H1 H2
H4
UM
21
60E
lectrica
l sc
he
ma
tics
UM
2160
Re
v 241
/61
Figure 14. Power
2 14
Power
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
E5V
E5V
U5V_ST_LINK R68820
VIN
10uFC45
Arduino power pin Vin3 Vout 2
Tab 4GND1
U10LD1117S50TR
+3V3
L22.2uH
+1V8
32
1
JP5
VDD
+5V
ARD_5V
JP8
U5V
1 23 45 67 8
109
JP7
Header M Straight 5x2H
5V_USB_CHARGER
10uFC37
1 2
PWR
GreenLD8
32
1
JP3
+5V
10uFC40
SW A1VINA2
ENB1
GND B2
VSEL1C1
VOS C2
VSEL2D1
VSEL3D2
U12TPS62743
SW A1VINA2
ENB1
GND B2
VSEL1C1
VOS C2
VSEL2D1
VSEL3D2
U13TPS62743
L32.2uH
+5V
10uFC41
+5V
ENB2
VINA3
D0C1
D1A1 GND D2VOUT E3SW C3PGOOD E1
U23ST1PS01EJR
ENB2
VINA3
D0C1
D1A1 GND D2VOUT E3SW C3PGOOD E1
U24ST1PS01EJR
+5V
3V3_SW 3V3_OUT
3V3_SW3V3_OUT
1V8_SW 1V8_OUT
+5V 1V8_SW1V8_OUT
TI Parts
ST Parts
Choose TI parts U12,U13 or ST parts U23,U24 mount on the board
10uFC42
10uFC43
Elec
trical s
ch
em
atic
sU
M2
160
42/6
1U
M2
160 R
ev 2
Figure 15. 32L496GDISCOVERY Arduino™ Uno V3 connectors
3 14
Arduino Uno connector
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
Arduino uno connector
+3V3
A0A1A2A3A4A5
RX/D0TX/D1D2
D4PWM/D3
PWM/D5PWM/D6
D7
D8PWM/D9
PWM/CS/D10
SDA/D14SCL/D15 PB8
PB7
NRST
VIN
NRSTSCK/D13MISO/D12
PWM/MOSI/D11
AVDDGND
VREF+
ARD_A0ARD_A1ARD_A2ARD_A3
ARD_A4
ARD_A5
ARD_D5ARD_D4ARD_D3ARD_D2
ARD_D0ARD_D1
ARD_D13ARD_D12ARD_D11ARD_D10
ARD_D9ARD_D8
ARD_D6ARD_D7
ARD_D15
ARD_D14
PC4PC1PC3PF10
PA1
PC0
PG7PG8
PG13
PI11PB9PI6PG6
PG15PH13PA15PB5PB4PA5
ADC12_IN13
ADC12_IN6
ADC3_IN13ADC123_IN4ADC123_IN2ADC12_IN13
I2C1_SDA PB7
PB8I2C1_SCL
LPUART1_TXLPUART1_RX
TIM8_CH3N
TIM4_CH4
TIM8_CH1NTIM2_CH1, SPI1_NSSTIM3_CH2, SPI1_MOSISPI1_MISOSPI1_SCKIOREF
NRST3V35VGNDGNDVIN
POWER
AIN
I2C1_SCL
I2C1_SDA
WARNING: voltage applied to VIN <11.5V
123456789
10
CN10
SSW-110-22-X-S-VS
12345678
CN15
SSW-108-22-X-S-VS
123456
CN16
SSW-106-22-X-S-VS 12345678
CN11
SSW-108-22-X-S-VS
TIM8_CH2
PH15
ARD_5V
PB7
PB8
VDD
WARNING: CN2-PIN4 is not a input PWR for BigOrga
SB1
SB26
SB25
SB28
SB27
R72 1K E5V C3[N/A]
SB2
1 2 GreenLD3
+3V3 510R123
1
23
GSD
T1BSN20BK
1MR124
UM
21
60E
lectrica
l sc
he
ma
tics
UM
2160
Re
v 243
/61
Figure 16. ST-LINK/V2-1
4 14
ST-LINK/V2-1
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A3 Revision:
STM32L496G-DISCOProject:
STM_RST
T_JT
CK
T_JTCK
T_JT
DO
T_JT
DI
T_JTMS
OSC_INOSC_OUT
T_N
RS
T
AIN_1
USB ST-LINK
COMBoard Ident: PC13=0
T_SWDIO_IN
LED_STLINKMCO
STLI
NK
_RX
STLI
NK
_TX
T_SWO
USB_RENUMn
US
B_R
EN
UM
n
+3V3_ST_LINK
+3V3_ST_LINK
PWR_EXT
51
2
GND3
4
BYPASSINH
Vin Vout
U9LD3985M33R
+3V3_ST_LINK
+3V3_ST_LINK
Power Switch to supply +5Vfrom STLINK USB
PWR_ENn
+3V3_ST_LINK
3
1
2
T2
9013-SOT23VUSB_ST_LINK
VUSB_ST_LINK
VUSB_ST_LINK
VDD_STL
LED_STLINK
+3V3_ST_LINK
STM_JTMS
STM
_JTC
K
T_JR
ST
STL_USB_DMSTL_USB_DP
STL_USB_DMSTL_USB_DP
5V_STL
VUSB_ST_LINK U5V_ST_LINK
D1BAT60JFILM
+3V3_ST_LINK
VBAT1
PC132
PC143
PC154
OSC_IN5
OSC_OUT6
/RST7
VSSA8
VDDA9
PA010
PA111
U2_TX12
U2_
RX13
U2_
CK14
S1_C
K15
S1_M
ISO
16
S1_M
OSI
17
PB0
18
PB1
19
PB2/
BOO
T120
PB10
21
VSS
_123
VD
D_1
24
PB12 25
PB11
22
S2_CK 26S2_MISO 27S2_MOSI 28PA8 29PA9 30PA10 31PA11 32PA12 33JTMS 34VSS_2 35VDD_2 36
JTCK
37JT
DI
38JT
DO
39JN
RST
40PB
541
PB6
42PB
743
BOO
T044
PB8
45PB
946
VSS
_347
VD
D_3
48
U6STM32F103CBT6
output current limitation : 500mA
+3V3_ST_LINK
USB Virtual ComPort
SWD to MCUTCK/SWCLK
TMS/SWDIO
NRST
SWCLKPA14
SWDIOPA13
SWOPB3
Red
_Gre
en
21
34
LD5HSMF-A201-A00J1
T_JTDOT_JTMS
VccA1
A12
A23
GND4 DIR 5B2 6B1 7VccB 8U8
SN74LVC2T45DCUT
VDD_STL
T_SWO
+3V3_ST_LINK
+3V3_ST_LINK
SWO_MCU
VCCA1
A12
A23
GND4 DIR 5B2 6B1 7VCCB 8U11
SN74LVC2T45DCUT
VDD_STL
VDD_STL
+3V3_ST_LINK
USART_TX
USART_RX
PA2
PD6
1 2X2
NX3225GD-8.00M
transistor pins numbers follow SOT23 JEDEC standard,
VBUS 1
DM 2
DP 3
ID 4
GND 5
Shield 6
USB
_Mic
ro-B
rece
ptac
le
Shield 7
Shield 8
Shield 9
EXP 10
EXP 11
CN5
1050170001
STLINK power supply
IN1
IN2
ON3 GND 4
SET 5
OUT 6
OUT 7
FAULT8
U7ST890CDR
T_JTCK
T_NRST
+5VVDD
5V_STL
VDD_STL
11
22
33
44 5 56 67 78 8
SW1EDG-501S
SWD
1 2 3 4 5 6 CN7313106S111116
Only footprint with Cable: TC2050-IDC-NL
PA13
PA14
PB3
VDD
TAG
+3V3_ST_LINK
1 2 3 4
CN14[N/A]
STM_JTMSSTM_JTCKSWCLK SWDIO
Not Fitted, must be on a border or the PCB.
VUSB_ST_LINK 5V_USB_CHARGER
12
3
JP6
12345 6
78910
CN4Tag-10_C
100nFC96
100nFC87
100nFC86
100nFC92
R24 [N/A]
2K7R23
4K7R22
100KR17
10KR3010pF
C2010pFC23
100nFC24
4K7R45
4K7R49
0R46
100KR48
100nFC46
100nFC51
0R55
100KR54
100KR53
100KR33
1K5R37
10KR44
36KR34
100R35
100R66
100R63
100R59
100R56
100R5
100R4
100R16
100R25
R36 820
10KR32
2K2R50
100nFC29
1uFC19
0R70
100R71
100R69
1uFC35
100nFC33
100nFC34
100nFC30
1uFC32
100nFC31
10nFC36
1 2
FaultRedLD4
SB11
SB13
0R47
0R51
D3 BAT60JFILM
D2 [N/A]
D4 [N/A]
E5V
U5V
R31[N/A]
R41 [N/A]
I/O11
GND2
I/O23 I/O2 4Vbus 5I/O1 6U22
USBLC6-2SC6
iDiff Pair 90ohm
iDiff Pair 90ohm
100nFC105
VUSB_ST_LINK
JP10[N/A]
Elec
trical s
ch
em
atic
sU
M2
160
44/6
1U
M2
160 R
ev 2
Figure 17. Quad-SPI Flash
5 14
QSPI Flash
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
VDD
QSPI_BK1_IO0QSPI_BK1_IO1QSPI_BK1_IO2QSPI_BK1_IO3
QSPI_BK1_NCSQSPI_CLK
VDD
QSPI Flash
QSPI_IO1QSPI_IO0
QSPI_CLKQSPI_CS
QSPI_IO2QSPI_IO3
QSPI
SCLK6
VCC8
CS1
GND4
SO/SIO1 2
WP/SIO2 3
RST/SIO3 7
SI/SIO0 5
SCLKVCC
CS
GND
SO/SIO1WP/SIO2
RST/SIO3
SI/SIO0
U3MX25R6435FM2IL0
PA3
PA6PA7PB0PB1
PB11
10KR27
100nFC4
22R2622R7
22R822R2822R2922R6
SB3
UM
21
60E
lectrica
l sc
he
ma
tics
UM
2160
Re
v 245
/61
Figure 18. Peripherals
6 14
Peripherals
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
MICRO SD
SMS064FF or SMS128FF
1 2 3 4 5 6 7 8SW
29
SW1
10CN17PJS008-2000
PC8PC9
PC10PC11
PC12PD2
(TF) Card
1 2GreenLD2
+3V3
LEDs
LED1
LED2
PB13
MFX_GPIO4
The 2 LEDs are top side
MFX_GPIO8
VDD
JOYSTICK
PF11PI9
PI8
PI10
VDD
PC13 - WKUP1
COMMON 5
Selection 2
DOWN 3
LEFT 1
RIGHT 4
UP 6
B2
MT008-A
uSD_D0
uSD_CLK
uSD_D1
uSD_D2uSD_D3
uSD_CMD
SD
uSD_D0uSD_D1
uSD_D2uSD_D3
uSD_CLKuSD_CMD
SD
uSD_Detect
JOY_SELJOY_DOWNJOY_LEFTJOY_RIGHTJOY_UP
JOYSTICK
JOYSTICK
uSD_Detect
Reset Button
143 2
B1TD-0341X-A00
GND
RESET
1 2OrangeLD1
510R2
680R1
100R60
R11847K
SD can only works under 3V3
R11947K
R12047K
R12147K
R12247K
Elec
trical s
ch
em
atic
sU
M2
160
46/6
1U
M2
160 R
ev 2
Figure 19. USB OTG FS
7 14
USB_OTG_FS
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
+5V
+3V3
VBUS1
DM2
DP3
ID4
GND5
Shield6
USB
_Mic
ro-A
Bre
cept
acle
Shield7
Shield8
Shield9
EXP10
CN8
475900001
PA9
PA10
PA11PA12
MFX_GPIO3
VBUS OK
MFX_GPIO7
+3V3
transistor pins numbers follow SOT23 JEDEC standard,USB Full Speed operating range voltage: 3.0V<VDDUSB<3.6V
GND2
IN5
EN4 OUT 1FAULT 3U14
STMPS2141STR
3
1
2
T39013-SOT23
VBUSDMDPID
USB_OTGUSB_OTGFS_VBUSUSB_OTGFS_DMUSB_OTGFS_DPUSB_OTGFS_ID
USB_OTGFS_OVRCR
USB_OTG
USB_OTGFS_PPWR_EN
USB_OVER
1 32
45
6
D5ESDA6V1BC6
U5V
47KR58
47KR64
12
RedLD7
4.7uFC54
0R57
620R75
12 Green
LD6
47KR62
10KR65
330R74
SB16
+5V
D_ND_P
Open drain
UM
21
60E
lectrica
l sc
he
ma
tics
UM
2160
Re
v 247
/61
Figure 20. LCD interface
8 14
LCD Interface
MB1261 B.01
2016/11/16
Title:
Size: Reference:
Date: Sheet: of
A3 Revision:
STM32L496G-DISCOProject:
Z1
STPS1L40M
4.7uFC48
L7LQH32PN4R7NN0L
BLGND
C56GRM31CR71A475KA01L
BLGND
BLGND
BLGND
Vi1
Rset 2GND3 FB 4
NC 5Vo 6
EN7
SW8
PGND9
U15
STLD40DPUR
L6FCM1608KF-601T03
VL
Backlight driver & PFC connector for LCD panel
BLGND
+5V
L5FCM1608KF-601T03
L4FCM1608KF-601T03
LCD_D0
LCD_RST
LEDALEDK
LCD_NELCD_RSLCD_WELCD_OE
VDD_LCD 3V3_LCD
LEDA
LEDK
Backlight control: ON/OFF or dimmer by low frequency (1 to 10kHz typ.) PWM using TIM5_CH4PI0
current regulated at 15mA
Layout: parts close to STLD40D and grouped in same area with BLGND as local ground plane
BLGND+3V3
GND10
VDD9
GND8
RESET7
GND6
GND 1
INT 2
GND 3
SDA 4
SCL 5
CN13
DF37NB-10DS-0.4V (5x)
3V3_LCD
I2C2_SCL
I2C2_SDA
I2C max clock: 400kHz
CTP_RST PG14MFX_GPIO1
GND1 FMARK 2
DB153 DB14 4
DB135 DB12 6
DB117 DB10 8
DB99 DB8 10
DB711 DB6 12
DB513 DB4 14
DB315 DB2 16
DB117 DB0 18
/RD19 /WR 20
RS21 /CS 22
RESET23 IM 24
IOVCC25 VCI 26
GND27 LEDA 28
LEDK29
CN6
FH26-29S-0.3SHW
1
29
LCD FRD154BP2902-CTP
FPC
CN
13
ZZ1
FRIDA FRD154BP2902-CTP
PH7LCD_TE
MFX_GPIO2PD7
VDD_LCD
PD5PD4PD13
PD14PD15PD0PD1PE7PE8PE9PE10PE11PE12PE13PE14PE15PD8PD9PD10
CTP Connector
240x240 pixels TFT LCDpixel (0,0) * X
Y
*: standard orientation. Rotations by 90, 180, 270 degrees possible by registers.
VDD_LCDSB28 open and SB27 closed = IM high: LCD in 16bits modeSB28 closed and SB27 opened = IMlow : LCD in 8bits mode
VDD_MCU operating voltage range: 1.65 to 3.6V
LCD_D[0..15]
LCD
LCD_NELCD_BLLCD_WELCD_OE
LCD_D[0..15]
LCD_RSLCD_PWR_ON
LCD_TE
LCD
LCD_NELCD_BLLCD_WELCD_OE
LCD_D1LCD_D2LCD_D3LCD_D4LCD_D5LCD_D6LCD_D7LCD_D8LCD_D9LCD_D10LCD_D11LCD_D12LCD_D13LCD_D14LCD_D15
SDA
SCL
I2C
LCD_I2CI2C2_SCL
I2C2_SDALCD_BL
LCD_RST
CTP_INT
LCD_RS
VDD
VDD_LCD
+3V3
3V3_LCD
+5VVDD_LCD
LCD_PWR_ON
LCD_PWR_ON
PB14
PH4
VDD_LCD
CTP_INT
PH0
VDD_LCD
LCD_TE
3
4
5
G
SD
6
21
T11STT7P2UH7
3
4
5
G
SD
6
21
T12STT7P2UH7
100nFC80
100KR117
100KR76
100KR73
100KR115
100KR52
100nFC59
100nFC5810uF
C55
10nFC57 10nF
C47
10R67
SB20SB21
SB22
SB14SB15
100nF
C82
100nFC104
100nFC44
3V3_LCD
R77[N/A]
R89[N/A]
R99[N/A]
R104[N/A]
R87[N/A]
R88[N/A]
Elec
trical s
ch
em
atic
sU
M2
160
48/6
1U
M2
160 R
ev 2
Figure 21. IDD measurement and MFX
9 14
IDD measurement / MFX (Multi Function eXpander)
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A3 Revision:
STM32L496G-DISCOProject:
VDD_MCU
Currentdirection
to MCU
differentialamplifier
SH0 SH1 SH2
Shunts
3
4
5
G
SD
6
21
T4STT7P2UH7
3
4
5
G
SD
6
21
T7STT7P2UH7
3
4
5
G
SD
6
21
T9STT7P2UH7
3
4 5
G
S D
621
T6STT7P2UH7 decoupling capacitors
close to TSZ122
MFX_IRQ_OUT
IDD_MEAS
MFX_SWCLK
CAL
SH2SH1
MFX_SWDIO
IDD_MEAS
see note *
SH1_D SH2_DSH0_D
CAL_D
VDD1 one capacitor close to each MFX pins:VDD, VDD_1, VDD_2, VDD_3
SH0
VDD_MCU
MFX_WAKEUP
L8FCM1608KF-601T03
12
3
JP2
bypass
R851_1%_0805
R10724_1%_0805
R111620_1%_0805
R9510K_1%_0805
V+
V-
3
21
48 U20A
TSZ122IST
5
67
U20BTSZ122IST
V+
V-
3
21
48 U19A
TSZ122IST
5
67
U19BTSZ122IST
see note *
see note *
see note *
decoupling capacitorsclose to TSZ122
MFX_I2C2_SCLMFX_I2C2_SDA
MFX_WAKEUP
MFX_IRQ_OUT
NRST NRST
MFX_I2C2_SCL
MFX_I2C2_SDA
VDD1
VDD1
D6 BAT60JFILM
SDA
SCL
I2C
MFX_I2C
CTP_RSTLCD_RST
USB_PWR_ON
DCMI_PWR_EN
uSD_DetectUSB_OVER
VDD
VDD
3
4 5
G
S D
621
T5STT7P2UH7
VDD
+5V
+5V
UH
New Parts
New Parts
PC5
PH6
PB14
PH4
MFX_aGPIO1
CAL
MFX_aGPIO1
MFX_aGPIO1
T50_4 T50_6
AMP_VDD
AMP_5V
1 2 3 4
CN9[N/A]
MFX_SWCLK MFX_SWDIO
VDD1
LED2
3
4
5
G
SD
6
21
T8STT7P2UH7
3
4
5
G
SD
6
21
T10STT7P2UH7
100nFC94
100nFC101
100nFC93
100nFC102
100nFC103
1uFC91
100KR109
10KR113
510R112
0R105
100KR94
100KR84
100KR106
100KR110
100KR116
100nFC83
100nFC85
100nFC88
100nFC90
1uFC84
100R102
357KR101
11KR98
6K04R92
6K04R96 300KR97
300KR103
Default I2C Address:1000010
MFX_V3WAKEUP2 NRST7
TSC_XP/GPO010
TSC_XN/GPO111
TSC_YP/GPO212
TSC_YN/GPO313
USART_TX21
USART_RX22
SPARE14
SWDIO34
SWCLK37
I2C_SCL42
I2C_SDA43
BOOT044
I2C_ADDR45
IRQOUT46
IDD_CAL/GPO4 3
IDD_SH0 4
IDD_SH1/GPO5 5
IDD_SH2/GPO6 6
IDD_MEAS 25
GPIO0 18
GPIO1 19
GPIO2 20
GPIO3 39
GPIO4 40
GPIO5 15
GPIO6 16
GPIO7 17
GPIO8 29
GPIO9 30
GPIO10 31
GPIO11 32
GPIO12 33
GPIO13 26
IDD_SH3/GPO7 38
GPIO14 27
GPIO15 28
IDD_VDD_MCU 41
VD
D1
VD
DA
9
VD
D_1
24
VD
D_2
36
VD
D_3
48
VSS
A8
VSS
_123
VSS
_235
VSS
_347
U21
0R114
VDD1
JP1 [N/A]
SB24
C99 [N/A]
UM
21
60E
lectrica
l sc
he
ma
tics
UM
2160
Re
v 249
/61
Figure 22. MCU
10 14
MCU
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A3 Revision:
STM32L496G-DISCOProject:
QSPI Flash
QSPI FlashQSPI_IO1QSPI_IO0
QSPI_CLKQSPI_CS
QSPI_IO2QSPI_IO3
QSPI
QSPI_BK1_IO0QSPI_BK1_IO1QSPI_BK1_IO2QSPI_BK1_IO3
QSPI_BK1_NCSQSPI_CLK
D[0..15]
PSRAM_A[0..18]
PSRAMPSRAM_A[0..18]
PSRAM_NEPSRAM_NBL0
PSRAM_WEPSRAM_OE
PSRAM_D[0..15]
PSRAM_NBL1
PSRAM
PSRAM_NEPSRAM_NBL0PSRAM_NBL1WEOE
PSRAM
LCDLCD_NELCD_BL
LCD_WELCD_OE
LCD_D[0..15]
LCD_RS
LCD_PWR_ON
LCD_TE
LCD
LCD_NELCD_BL
WEOE
LCD
CODEC
SAI_SDB
SAI_FSASAI_MCKA
SAI_SDA
SAI_SCKA
SAISAI1_SCKASAI1_MCKASAI1_FSASAI1_SDASAI1_SDB
DFSDMDATIN3
CKOUT
DFSDMDF_CKOUT
CODEC&DFSDM
uSD_D0
uSD_CLK
uSD_D1
uSD_D2uSD_D3
uSD_CMD
SD
uSD_D0uSD_D1
uSD_D2uSD_D3
uSD_CLKuSD_CMD
SD
SD
JOY_SELJOY_DOWN
JOY_LEFTJOY_RIGHT
JOY_UP
JOYSTICK
JOYSTICK
JOYSTICK
JOY_DOWNJOY_SEL
JOY_RIGHTJOY_LEFT
JOY_UP
VBUSDMDPID
USB_OTGUSB_OTGFS_VBUSUSB_OTGFS_DMUSB_OTGFS_DPUSB_OTGFS_IDUSB_OTG
USB_OTG
MFXMFX_IRQ_OUT
MFX_WAKEUP
MFX_IRQ_OUT
MFX_WAKEUP
ArduinoARD_A0ARD_A0
SDASCL
I2C
MFX_I2CI2C2_SCLI2C2_SDA
ARD_A1ARD_A2ARD_A3ARD_A4ARD_A5
ARD_A1ARD_A2ARD_A3ARD_A4ARD_A5
ARD_D0ARD_D1ARD_D2ARD_D3ARD_D4ARD_D5ARD_D6ARD_D7ARD_D8ARD_D9ARD_D10ARD_D11ARD_D12ARD_D13ARD_D14ARD_D15
ARD_D0ARD_D1ARD_D2ARD_D3ARD_D4ARD_D5ARD_D6ARD_D7ARD_D8ARD_D9ARD_D10ARD_D11ARD_D12ARD_D13ARD_D14ARD_D15
Camera
DCMI_HSYNC
DCMI_VSYNC
DCMI_D[0..7]
DCMI_PIXLK
NRST
ST_LINKUSART2_TXUSART2_RX USART_TX
USART_RX
SWCLKSWDIO
SWO
SWDIO
SWO
SWCLK
BOOT0
X1
NDK NX3215SA-32.768KHZ-EXS00A-MU00525
VDD_MCUVDDAL1FCM1608KF-601T03
D[0..15]
DCMI_D[0..7]
DCMI_VSYNC
DCMI_HSYNC
DCMI_PIXCK
STMOD+
STMOD+_SPIMISOMOSI
CLK
CS
SPISPI2_CLKSPI2_MISOSPI2_MOSISPI2_CS
DFDATIN1
MIC_VDDMIC_VDD
MOSFETs CONTROL
STMOD+_UARTRXTX
RTS
CTS
UARTUART1_CTSUART1_TXUART1_RXUART1_RTS
SDASCL
I2C
STMOD+_I2CI2C1_SCLI2C1_SDA
STMOD+_INTSTMOD+_RESETSTMOD+_ADC
DFDATIN3
STMOD+_PWM
DFDATIN1
DFDATIN3
STMOD+_INTSTMOD+_RESETSTMOD+_ADCSTMOD+_PWM
DCMI_D0DCMI_D1DCMI_D2DCMI_D3
DCMI_D4
DCMI_D5
DCMI_D6
DCMI_D7
DCMI_HSYNC
DCMI_VSYNC
DCMI_PIXLK
SAI1_SCKA
SAI1_MCKA
SAI1_FSA
SAI1_SDA
SAI1_SDB
I2C2_SCL
I2C2_SDA
JOY_DOWN
JOY_SEL
JOY_RIGHT
JOY_LEFTJOY_UP
LCD_NE
LCD_BL
WEOE
D0D1
D2D3
D4D5D6D7D8D9D10D11D12
D13D14D15
LCD_RSLCD_RS
MFX_IRQ_OUT
MFX_WAKEUP
PSRAM_A0
PSRAM_NE
PSRAM_NBL0PSRAM_NBL1
PSRAM_A1PSRAM_A2PSRAM_A3PSRAM_A4PSRAM_A5
PSRAM_A6PSRAM_A7PSRAM_A8PSRAM_A9
PSRAM_A10PSRAM_A11PSRAM_A12PSRAM_A13PSRAM_A14PSRAM_A15
PSRAM_A16PSRAM_A17PSRAM_A18
QSPI_BK1_IO0QSPI_BK1_IO1
QSPI_BK1_IO2QSPI_BK1_IO3
QSPI_BK1_NCS
QSPI_CLKUSART2_TX
USART2_RX
SWDIO
SWO
SWCLK
USB_OTGFS_VBUS
USB_OTGFS_DMUSB_OTGFS_DP
USB_OTGFS_ID
uSD_D0uSD_D1uSD_D2uSD_D3uSD_CLK
uSD_CMD SPI2_CLKSPI2_MISO
SPI2_MOSI
SPI2_CS UART1_CTS
UART1_TX
UART1_RX
UART1_RTS
I2C1_SCLI2C1_SDA
STMOD+_RESET
STMOD+_ADC
STMOD+_PWM
DFDATIN1
DFDATIN3
DFDATIN3
STMOD+_MOSIsSTMOD+_MISOsSPI2_MISOs
SPI2_MOSIs
SPI2_MISOsSPI2_MOSIs
ARD_A0
ARD_A1
ARD_A2
ARD_A3
ARD_A4ARD_A5
ARD_D0ARD_D1
ARD_D2
ARD_D3
ARD_D4
ARD_D5
ARD_D6ARD_D7
ARD_D8
ARD_D9
ARD_D10
ARD_D11ARD_D12
ARD_D13
ARD_D14ARD_D15
32
1
JP4
+3V3
VDD_MCU
VDD_MCU
LCD_PWR_ON
LCD_PWR_ONMIC_VDD
LED1LED1
LED1
VDD_MCU
RESETNRST
DCMI_CLK
DCMI_CLK DCMI_CLK
STMOD+_INT
VREF+
CTP_INT CTP_INTCTP_INT
VDD
LCD_TE
LCD_TE
DF_CKOUT
DF_CKOUT
Audio_RST
VDD
Audio_RST
Audio_RST
4.7uFC6
100nFC28
100nFC22
100nFC26
100nFC27
100nFC17
100nFC21
100nFC25
100nFC97
100nFC81
100nFC12
100nFC18
100nFC89
100nFC98
100nFC7
100nFC14
100nFC95
1K5R43
1K5R42
0R93
R18 [N/A]
5.6pFC11
PC13-ANTI_TAMP E1
PC0 J2
PC1 J3
PC2 J4
PC3 K1
PA0-WKUPK3
PA1N2
PA2N1
PA3M2
PA4L3
PA5K4
PA6M4
PA7L4
PC4 H5
PC5 J5
PB0K5
PB1L5
PB2N5
PB10N9
PB11H8
PB12N12
PB13N13
PB14M13
PB15M12
PC6 F11
PC7 G12
PC8 G10
PC9 G9PA8G8
PA9F10
PA10F9
PA11E13
PA12D13
PA13A11
PA14A10
PA15A9
PC10 D9
PC11 E9
PC12 F8
PB3A6
PB4A5
PB5B5
PB6C5
PB7D5
PB8C4
PB9D4
PC14-OSC32_INF1
PC15-OSC32_OUTG1
PH0-OSC_INH1
PH1-OSC_OUTJ1
NRSTH3
PH3-BOOT0E5
PD8 L11
PD9 L10
PD10 J13
PD11 K12
PD12 K11
PD13 K13
PD14 K10
PD15 H11
PD0 B8
PD1 C8
PD2 D8
PD3 E8
PD4 C7
PD5 D7
PD6 E7
PD7 F7
PF0 F5
PF1 F4
PF2 F3
PF3 G3
PF4 G4
PF5 G5
PF10 H4
PF11 M5
PF12 N6
PF13 M6
PF14 L6
PF15 K6
U5A
STM32L496AG
PE2D3
PE3D2
PE4D1
PE5E4
PE6E3
PE7L7
PE8K7
PE9J7
PE10H7
PE11N8
PE12M8
PE13L8
PE14K8
PE15J8
PE0A4
PE1B4
PG0J6
PG1H6
PG2J12
PG3J11
PG4J10
PG5J9
PG6G11
PG7H10
PG8H9
PG9B7
PG10D6
PG11E6
PG12F6
PG13G7
PG14G6
PG15C6
PI0 A12
PI1 B11
PI2 B10
PI3 C10
PI4 D10
PI5 E10
PI6 B9
PI7 B2
PI8 C11
PI9 B1
PI10 A1
PI11 C3
OPAMP1_ VINM M1
OPAMP2_ VINM N4
PH2 A2
PH4 K9
PH5 L9
PH6 E11
PH7 D12
PH8 N10
PH9 D11
PH10 M9
PH11 M10
PH12 B13
PH13 C9
PH14 A13
PH15 B12
U5B
STM32L496AG
VBATE2
VSSA/VREF- K2
VREFPL1
VDD_1L12
VDDA_PL2
VDD_USBE12
VSS_1 L13
VDD_8H13
VDD_4G13
VDD_5G2
VDD_6A8
VDD_7N7
VDD_10N3
VSS_2 C12
VSS_4 H2
VSS_5 F2
VSS_3 B3
VSS_7 M7
VSS_8 H12
VSS_10 M3
VSSIO_1 F13
VDD_11N11 VSS_13 C2VSS_12 M11
VDDIO_1F12
VDD_2C13
VSSIO_2 A7VDDIO_2B6
VDD_3A3
VDD_13C1
U5C
STM32L496AG
DF_CKOUT
100nFC10
1uFC8
1uFC13
1uFC100
R21 [N/A]
100KR20
5.6pFC9
Elec
trical s
ch
em
atic
sU
M2
160
50/6
1U
M2
160 R
ev 2
Figure 23. PSRAM
11 14
PSRAM
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
PSRAM
PSRAM_D[0..15]
PSRAM_A[0..18]
PSRAM
PSRAM_A[0..18]
PSRAM_NEPSRAM_NBL0
PSRAM_WEPSRAM_OE
PSRAM_D[0..15]
PSRAM_NBL1
PSRAM
PSRAM_NEPSRAM_NBL0PSRAM_NBL1PSRAM_WEPSRAM_OE
PSRAM_NBL0PSRAM_NBL1
PSRAM_WEPSRAM_OE
PSRAM_A0PSRAM_A1PSRAM_A2PSRAM_A3PSRAM_A4PSRAM_A5PSRAM_A6PSRAM_A7PSRAM_A8PSRAM_A9PSRAM_A10PSRAM_A11PSRAM_A12PSRAM_A13PSRAM_A14PSRAM_A15PSRAM_A16PSRAM_A17PSRAM_A18
PSRAM_D0PSRAM_D1PSRAM_D2PSRAM_D3PSRAM_D4PSRAM_D5PSRAM_D6PSRAM_D7PSRAM_D8PSRAM_D9PSRAM_D10PSRAM_D11PSRAM_D12PSRAM_D13PSRAM_D14PSRAM_D15
PD5PD4
PD14PD15PD0PD1PE7PE8PE9PE10PE11PE12PE13PE14PE15PD8PD9PD10
PF0PF1PF2PF3PF4PF5PF12PF13PF14PF15PG0PG1
PD11PD12PD13
PG2PG3PG4PG5
PE0PE1
A4B4
A3B3
A2A5
A1A4
A0A3
CS1B5
I/O0 B6I/O1 C5I/O2 C6I/O3 D5
VDD D6
GND D1
I/O4 E5I/O5 F5I/O6 F6I/O7 G6
WEG5
A16E4
A15F4
A14F3
A13G4
A12G3
A11H5
A10H4
A9H3
A8H2
I/O8 B1I/O9 C1I/O10 C2I/O11 D2
VDD E1
I/O12 E2I/O13 F2I/O14 F1I/O15 G1
LBA1
UBB2
OEA2
A7D4
A6C4
A5C3
A17D3 A18H1
GND E6
CS2 A6
NC G2
NC E3
NC H6
U4IS66WV51216EBLL-70BLI
3.3V functional only
PSRAM_NEPG9
100nFC16
100KR14
100KR13
100KR15
100nFC15
SB12
R12 0
JP9
3V3_LCD PSRAM_VDD
PSRAM_VDD
PSRAM_VDD
VDD_LCD 0R129
R130 [N/A]
UM
21
60E
lectrica
l sc
he
ma
tics
UM
2160
Re
v 251
/61
Figure 24. Camera
12 14
Camera
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
DCMI_D0DCMI_D1DCMI_D2DCMI_D3DCMI_D4DCMI_D5DCMI_D6DCMI_D7
DCMI_HSYNC
DCMI_VSYNC
DCMI_PIXCK
Camera_CLK
DCMI_PWR_ENDCMI_NRST
DCMI_NRST
DCMI_D[0..7] DCMI_D[0..7]
DCMI_HSYNCDCMI_VSYNC
DCMI_PIXCK
DCMI_I2C2_SCLDCMI_I2C2_SDA
DCMI_PWR_ENDCMI_NRSTDCMI_PWR_EN
DCMI_VSYNCDCMI_HSYNCDCMI_PIXCK
123456789101112131415161718192021222324252627282930
CN1
FPU330ZH-BT1D3-CA
SDASCL
I2C
DCMI_I2C
VDD
VDD
PE5
PH4
PH5
PH8
PH10PH11
PB14
PH9
PH12PH14PI4
PI7
PI5
MFX_GPIO6
DCMI_CLK
DCMI_I2C2_SCL
DCMI_I2C2_SDA
100nFC60
10uFC61
22R100
Camera can only works under 3V3
Elec
trical s
ch
em
atic
sU
M2
160
52/6
1U
M2
160 R
ev 2
Figure 25. STMod+ interface
13 14
STMOD+ Interface
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
GNDGND+5V+5V
STMOD+_INTSTMOD+_RESETSTMOD+_ADC
DF_CKOUTDFDATIN3
STMOD+_PWM
DFDATIN1
STMOD+_UART RXTX
RTS
CTS
UART
TTTT
UART1_CTSUART1_TXUART1_RXUART1_RTS
STMOD+_SPI MISOMOSI
CLK
CS
SPI
SPI2_CLKSPI2_MISOpSPI2_MOSIpSPI2_CS
SDA
SCL
I2C
STMOD+_I2C
I2C1_SCL
I2C1_SDA
STMOD+_MOSIs
STMOD+_MISOs PD3
PA0PA4PB2
PB12PB15 PC2
PC7
PI1PI2
PI3
PG10
PG11
PG11
PG12
PH2PB6
PB7PB8
12345678910
11121314151617181920
CN2
SQT-110-01-F-D-RA
GND GND+3V3 +3V3
123456
789
101112
CN3
SSW-106-02-F-D-RA
PMOD#1PMOD#2PMOD#3PMOD#4
PMOD#1PMOD#2PMOD#3PMOD#4
PMOD#11PMOD#12
PMOD#11PMOD#12
SB7SB8SB6
SB4SB5SB9
UM
21
60E
lectrica
l sc
he
ma
tics
UM
2160
Re
v 253
/61
Figure 26. Audio and DFSDM
14 14
Audio&DFSDM
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32L496G-DISCOProject:
2
6
4
3 CN12
PJ3028B-3
AGND
CODEC
SAI_SDB
SAI_FSA
SAI_MCKA
SAI_SDA
SAI_SCKA
SAI
SDASCL
I2C
CODEC_I2CI2C2_SCLI2C2_SDA
SAI1_SCKASAI1_MCKA
SAI1_FSASAI1_SDASAI1_SDB
LRCK 1
SDA/CDIN 2SCL/CCLK 3AD0/CS 4VA_HP5
FLYP6
GND_HP7
FLYN8
VSS_HP9 AOUTB 10
AOUTA 11
VA12
AGND 13
DAC_FILT+ 14
VQ 15
ADC_FILT+ 16
MICIN1/ AIN3A17
MICIN2/ BIAS/AIN3B 18
AIN2A19
AIN2B/BIAS20
AFILTA 21
AFILTB 22AIN1A23
AIN1B24
RESET25
VL26
VD27
GND 28
SDOUT 29
MCLK 30
SCLK 31
SDIN 32
GND 33
U18
CS42L51-CNZ
AGND
22nFC76AGND
10uFC68
150pFC64
AGND
+1V8
AGND
AGND
Audio_RST
AGND
AGND
I2C address of CS42L51 is 0x94 (AD0=0)
PC6
PB10PE2
PE4PE6PE3
PH4PB14
100nFC73
1uFC74
1uFC77
1uFC79
1uFC78
low ESR ceramic capacitor
low ESR ceramic capacitor
1uFC671uFC70
1uFC69
100nFC5
100nFC72
100nFC71
100KR81
10KR83
10KR91
2K2R82
50R90
50R86
100nFC66
0R80
1V8_CODEC
1V8_CODEC
VDD
SB19
SB18
GND5 DOUT 4CLK 3VDD1 LR 2U2
MP34DT01TR-M
GND5 DOUT 4CLK 3VDD1 LR 2U1
MP34DT01TR-M
PC7
PC2
DFSDM
DATIN3
CKOUT
DFSDMCKOUT
DATIN3
MIC_VDD PH1
100nFC2
100nFC1
10KR78
SB17
GND3 DOUT 1CLK 4VDD5 LR 2U16 [N/A]
GND3 DOUT 1CLK 4VDD5 LR 2U17 [N/A]
C62[N/A]
C63[N/A]
R79 [N/A]
CKOUT
MIC_VDD
MIC_VDD
150pFC65
must be C0G
22nFC75
Elec
trical s
ch
em
atic
sU
M2
160
54/6
1U
M2
160 R
ev 2
Figure 27. Fanout board
1 1
Fanout Board
MB1280 A.1
5/5/2016
Title:
Size: Reference:
Date: Sheet: of
A4 Revision:
STM32H7-DK-DBProject:
12345678910
11121314151617181920
CN1
TMM-110-01-L-D-RA
PMOD#11-INTPMOD#12-RSTPMOD#13-ADCPMOD#14-PWM
PMOD#17-DF-D3PMOD#18-DF-CK3PMOD#19-DF-D7PMOD#20-DF-CK7
+5V
PMOD#1PMOD#2PMOD#3PMOD#4
PMOD#11PMOD#12
PMOD+
1234
5678
CN4
Header 4X2A
1234
CN3
1125S-SMT-4P
12345678910
CN12
PAD 1X8
PMOD#7PMOD#8PMOD#9PMOD#10
PMOD#13PMOD#14
PMOD#17PMOD#18PMOD#19PMOD#20
VCC
R1
4K7[N/A]
R24K7[N/A]
I2C_SCL
I2C_SDA
2
13
G
SD
T2BSN20[N/A]
2
13
G
SD
T1BSN20[N/A]
12345678910
CN9
PAD 1X8
12345678
CN11
Header 8X1_Female
12345678
CN10
Header 8X1_Female
PMOD#1PMOD#2PMOD#3
PMOD#4PMOD#7
PMOD#8PMOD#9
PMOD#10
PMOD#1PMOD#2PMOD#3
PMOD#4PMOD#7
PMOD#8PMOD#9
PMOD#10
PMOD#11PMOD#12PMOD#13 PMOD#14
PMOD#17PMOD#18
PMOD#19PMOD#20
PMOD#11PMOD#12PMOD#13 PMOD#14
PMOD#3
PMOD#2PMOD#11PMOD#14
PMOD#12PMOD#13
PMOD#7
PMOD#10
I2C_SCLI2C_SDA
VCC
+5V
+5V+3V3
PMOD#1-NSS/CTSPMOD#2-MOSIp/TXPMOD#3-MISOp/RXPMOD#4-SCK/RTS
PMOD#7-SCLPMOD#8-MOSIsPMOD#9-MISOsPMOD#10-SDA
ANRSTCSSCKMISOMOSI+3.3VGND
PWMINTRXTXSCLSDA+5VGND
GNDGPIO2GPIO0TXD
RXDCH_PDRSTVCC
+5V +3V3
+3V3+5V VCC
+3V3
PMOD#7
PMOD#10
I2C_SCL
I2C_SDA
Only PAD for bread board connection
support Grove- Barometer sensor (BMP180)
Mikrobus connectors
Bread board connectors ESP-01 connector
Grove connector
32
1
JP1
TP1Ground
closed pin2 and pin3 for default
support Grove- LCD RGB Backlight
1234
CN2
1125S-SMT-4P
VCC
support Grove- NFC
PMOD#2PMOD#3
TXRX
SCLSDA
C21uF_X5R_0603
C510nF_X7R_0603
C31uF_X5R_0603
C1100nF
C4100nF
51
2
GND3
4
BYPASSEN
Vin Vout
U1 LDK120M33R
SB2 Closed
SB1 Closed
ATOM: PH200210C-07000
+5V
+3V3
Only PAD for Power
12
CN5
PAD 2
12
CN6
PAD 2
+5V
+3V3
Only PAD for Power
12
CN7
PAD 2
12
CN8
PAD 2
UM2160 Rev 2 55/61
UM2160 PMOD and STMod+ schematic table
60
Appendix C PMOD and STMod+ schematic table
Table 25 gives the description of the signals available on the STMod+ connector. It also shows which signal is shared with other board connectors (such as PMOD or Arduino™ Uno V3 as listed in columns PMOD and ARD respectively). When the I2C bus (pins 7 and 10) is shared with built-in discovery slave devices, it is recommended to check the device slave address when adding it to the bus. Refer to the following list of acronyms before reading Table 25:
• NSS2 stands for SPI2_NSS
• LT2.O stands for LPTIM2_OUT
• LT1.2 stands for LPTIM1_IN2
• LT1.E stands for LPTIM1_ETR
• T15.2 stands for TIM15 CH2
• SCL4 stands for I2C4_SCL
• SDA1 stands for I2C1_SDA
• DFS1.D5 stands for DFSDM1_DATIN5
• DFS1.CI2 stands for DFSDM1_CKIN2
• DFS1.CO stands for DFSDM1_CKOUT
• RX1 stands for USART1_RX
• UCK3 stands for USART3_CK
• CTS2 stands for USART2_CTS
• LRTS1 stands for LPUART_RTS1
• CRX1 stands for CAN1_RX
PM
OD
an
d S
TM
od
+ sc
hem
atic ta
ble
UM
216
0
56/6
1U
M2
160 R
ev 2
Note: SB stands for solder bridge. Text in bold refers to default (USART).
Table 25. STMod+ connector signals
- - - STMod+ - - -
ARD PMOD Some other alternate functions Basic SB Port Pin Port SB Basic Some other alternate functions PMOD ARD
- CTS/NSS LT1.2/T15.2 CTS1/NSS2 - PG11 1 11 PH2 - INT - INT -
-TX LT1.E/T4.1/SCL1 /SCL4/DFS1.D5 TX1 7 PB6
2 12 PB2 - RST RTC_OUT/LT1.O/DFS1.CI0 RST -MOSI DFS1.C2/T15.2/RTC_REFIN MOSI2p 4 PB15
-RX LT1.1/T15.1 RX1 8 PG10
3 13 PA4 - ADC CK2/LT2.O - -MISO T8.4 MISO2p 5 PI2
-RTS LT1.E RTS1 6 PG12
4 14 PA0 - PWM T2.1/T5.1/T8.E/CTS2/TX4/T2.E/RTC_TAMP2/WKUP1 - -SCK - SCK2 9 PI1
- - - GND - GND 5 15 +5V - +5V - - -
- - - +5V - +5V 6 16 GND - GND - - -
SCL1 - T4.3/SCL1/DFS1.D6/T16.1/CRX1 SCL1 - PB8 7 17 PC7 - GPIO T3.2/T8.2/ DFS1.D3 - -
- - T8.E MOSI2s - PI3 8 18 PC2 - GPIO LT1.2/MISO2/DFS1.CO - -
- - SCK2/DFS1.D0 MISO2s - PD3 9 19 PBI2 - GPIO NSS2/DFS1.D1/UCK3/LRTS1 - -
SDA1 - LT1.2/T4.2/SDA1/DFS1.CI5/RX1 SDA1 - PB7 10 20 PC2 - GPIO Same as pin 18 - -
UM2160 Rev 2 57/61
UM2160 Fanout board
60
Appendix D Fanout board
The Fanout board comes with the 32L496GDISCOVERY Discovery board.
It is connected to STMod+ connector (CN2) and it provides access to:
• MikroElektronika MikroBUS Click-board compatible connectors (CN10 and CN11: two 1x8-pin male connectors)
• ESP-01 compatible connector (CN4: 2x4-pin male connector)
• Seeed Studio™ Grove compatible connectors (CN3 and CN2: two 1x4-pin male connectors)
• Reserved standard 2.54 mm pitch of STMod+ pin header for breadboard.
Figure 28. STMod+ Fanout module plugged into CN2 connector
D.1 MikroElektronika mikroBUS™ compatible connector (Fanout CN10 and CN11)
The mikroBUS™ compatible connector is 2.54" pitch with a pair of 1x8-pin female connectors. Table 26 below shows the definition of the pins.
Fanout board UM2160
58/61 UM2160 Rev 2
T
The mikroBUS™ pinout assignment is available at the: http://mikroe.com website.
Table 26. Description of the mikroBUS™ connector pins
STMod+ connector CN11 number
Function of mikroBUS
Pin number
Pin number
Function of mikroBUS
STMod+ connector CN10 number
STMod+#13-ADC(1)
1. Exclusive use: Arduino™ or STMod+.
AN 1 1 PWM STMod+#14-PWM(1)
STMod+#12-RST RST 2 2 INT STMod+#11-INT
STMod+#1-NSS CS 3 3 RX STMod+#3-RX
STMod+#4-SCK SCK 4 4 TX STMod+#2-TX
STMod+#9-MISOs MISO 5 5 SCL STMod+#7-SCL(2)
2. Shared with Arduino™.
STMod+#8-MOSIs MOSI 6 6 SDA STMod+#10-SDA(2)
- +3.3 V 7 7 +5 V -
- GND 8 8 GND -
UM2160 Rev 2 59/61
UM2160 Federal Communications Commission (FCC) and Industry Canada (IC) Compliance
60
Appendix E Federal Communications Commission (FCC) and Industry Canada (IC) Compliance
This kit is designed to allow:
• (1) Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and
• (2) Software developers to write software applications for use with the end product. This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required FCC equipment authorizations are first obtained. Operation is subject to the condition that this product not cause harmful interference to licensed radio stations and that this product accept harmful interference. Unless the assembled kit is designed to operate under part 15, part 18 or part 95 of 47 CFR, Chapter I (“FCC Rules”), the operator of the kit must operate under the authority of an FCC license holder or must secure an experimental authorization under part 5 of this chapter.
Revision history UM2160
60/61 UM2160 Rev 2
Revision history
Table 27. Document revision history
Date Revision Changes
2-Mar-2017 1 Initial release
8-Nov-2018 2
Added:
– Table 11: 32L496GDISCOVERY non-user LEDs
Updated:
– Figure 3, Figure 4, Table 10, Table 13 and Table 24 with LD3
UM2160 Rev 2 61/61
UM2160
61
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 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.
© 2018 STMicroelectronics – All rights reserved