STMicroelectronics STM32L496G-DISCO User Manual

Page 1
Introduction
UM2160
User manual
Discovery kit with STM32L496AG MCU
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 I
2
Cs, 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 I
2
S 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.

Figure 1. 32L496GDISCOVERY (top view) Figure 2. 32L496GDISCOVERY (bottom view)

1. Pictures are not contractual.
March 2017 DocID030176 Rev 1 1/61
www.st.com
1
Page 2
Contents UM2160
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
2/61 DocID030176 Rev 1
Page 3
UM2160 Contents
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
DocID030176 Rev 1 3/61
4
Page 4
Contents UM2160
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
4/61 DocID030176 Rev 1
Page 5
UM2160 List of tables
List of tables
Table 1. Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Table 2. JP6 (VDD_STL) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 3. 32L496GDISCOVERY board power configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 4. JP7 (STLK) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 5. JP7 (E5V) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 6. JP7 (U5V) jumper description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 7. JP7 (ARD) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 8. JP7 (CHGR) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 9. IDD measurement jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 10. 32L496GDISCOVERY user LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 11. JP4 (VDDA) jumper description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 12. Arduino™ compatible connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 13. PMOD connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 14. STMod+ connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 15. TAG connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 16. SWD connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 17. USB OTG FS Micro-AB connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 18. Camera module connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 19. microSD™ card connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 20. LCD connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 21. Touch panel connector CN13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 22. USB Micro-B connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Table 23. 32L496GDISCOVERY Discovery board I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Table 24. STMod+ connector signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Table 25. Description of the mikroBUS™ connector pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Table 26. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
DocID030176 Rev 1 5/61
5
Page 6
List of figures UM2160
List of figures
Figure 1. 32L496GDISCOVERY (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. 32L496GDISCOVERY (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 3. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 4. 32L496GDISCOVERY top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5. 32L496GDISCOVERY bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 6. 32L496GDISCOVERY mechanical drawing (bottom view). . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 7. USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 8. TAG connector top view (CN4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 9. USB OTG FS Micro-AB connector CN8 (front view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 10. Camera module connector CN1 (front view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 11. microSD™ card connector CN17 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 12. USB Micro-B connector CN5 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 13. 32L496GDISCOVERY Discovery board interconnections . . . . . . . . . . . . . . . . . . . . . . . . . 40
Figure 14. Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Figure 15. 32L496GDISCOVERY Arduino™ Uno V3 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Figure 16. ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Figure 17. Quad-SPI Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 18. Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Figure 19. USB OTG FS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Figure 20. LCD interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Figure 21. IDD measurement and MFX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Figure 22. MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Figure 23. PSRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Figure 24. Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 25. STMod+ interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 26. Audio and DFSDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Figure 27. Fanout board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Figure 28. STMod+ Fanout module plugged into CN2 connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6/61 DocID030176 Rev 1
Page 7
UM2160 Features

1 Features

STM32L496AGI6 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
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
DocID030176 Rev 1 7/61
60
Page 8
Product marking UM2160

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 (XP, 7, 8, 10), Linux or macOS™
USB Type-A to Micro-B cable

4 Development toolchains

Keil® MDK-ARM
IAR™ EWARM
GCC-based IDEs including free SW4STM32 from AC6
(a)
(a)
a. On Windows® only.
8/61 DocID030176 Rev 1
Page 9
UM2160 Demonstration software

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 Ta bl e 1.
Order Code Target STM32
STM32L496G-DISCO STM32L496AGI6

Table 1. Ordering Information

7 Technology partners

MACRONIX:
64-Mbit Quad-SPI NOR Flash memory device, part number MX25R6435FM2IL0
DocID030176 Rev 1 9/61
60
Page 10
Hardware layout and configuration UM2160
RTC
UART2 FMC
SDMMC1
OTG1
GPIOs
DFSDM
QSPI
I2C2
SAI1
PWR
DCMI
STM32L496AG
32-kHz crystal
8-Mbit PSRAM
microSD card
USB connector
Joystick, reset button
Microphones
64-Mbit Quad-SPI Flash
MFX
Audio
Camera connector
ST-LINK/V2-1
3.3 V / 1.8 V power supply
1.5" LCD
UART1
PMOD connector
STMod+ connector
Arduino connector
LPUART1
SPI2
I2C1
CTP
SWD
GPIOs
SPI1
SWD connector
TAG connector
2 x user LEDs

8 Hardware layout and configuration

The 32L496GDISCOVERY Discovery kit is designed around the STM32L496AGI6 (169-ball UFBGA package). The hardware block diagram (see 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

Figure 3) illustrates the connection
10/61 DocID030176 Rev 1
Page 11
UM2160 Hardware layout and configuration
U5 MCU
U4 PSRAM
U3 Quad
-
SPI
Flash
LD1, LD2 user LEDs
CN8 USB OTG FS connector
CN4 TAG connector
CN7 SWD connector
CN6 LCD connector
B2 Joystick
B1 Reset button
CN5 ST
­LINK/V2-1 connector
CN1 Camera connector
JP7 PWR connector
U1, U2 Microphones
CN2 STMod+ connector
CN3 PMOD connector

8.1 The 32L496GDISCOVERY Discovery kit layout

Figure 4. 32L496GDISCOVERY top layout

DocID030176 Rev 1 11/61
60
Page 12
Hardware layout and configuration UM2160
CN13 CTP connector
CN15, CN16 Arduino connectors
CN17 microSD™ card connector
CN10, CN11 Arduino connectors
CN12 Audio jack

Figure 5. 32L496GDISCOVERY bottom layout

12/61 DocID030176 Rev 1
Page 13
UM2160 Hardware layout and configuration
24
8
5
8
5
6
5
2
28
8
7
7
2
2
10
9
A
21
D
1
A
21
D
1
106
5
9
12
48
13
8
16
9
17
37
36
24
25
4
4
32
25
67mm
26.56mm
12.1mm
28.34mm
4.38mm
4.45mm
41.99mm
41.99mm
4.06mm
130mm
5.08mm
4.95mm
52.45mm
43.31mm
10.16mm
19.3mm
19.06mm
5.21mm
7.26mm
3.05mm
4.32mm
4.06mm
10.1mm
14.67mm
48.26mm

8.2 The 32L496GDISCOVERY Discovery kit mechanical drawing

Figure 6. 32L496GDISCOVERY mechanical drawing (bottom view)

DocID030176 Rev 1 13/61
60
Page 14
Hardware layout and configuration UM2160

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 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.
®
XP PC via USB, a driver for ST-LINK/V2-1 must be installed. It can be
Figure 7. USB composite device
14/61 DocID030176 Rev 1
Page 15
UM2160 Hardware layout and configuration

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
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
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
μA at 5 V.
V detection circuit.

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
3.3
V thanks to the on-board voltage converter.
Tabl e 2 describes the use of jumper JP6 for selecting between on-board and external MCU.
V or
DocID030176 Rev 1 15/61
60
Page 16
Hardware layout and configuration UM2160
Jumper Description
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.
JP6
VDD_STL
setting
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.

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. 32L496GDISCOVERY board power configuration

Table 2. JP6 (VDD_STL) jumper description

Tabl e 3.
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
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 supply.
Note: This mode is limited to 500 mA.
Tabl e 4. The LD8 green LED is on to confirm the presence of 5 V
16/61 DocID030176 Rev 1
Page 17
UM2160 Hardware layout and configuration
67/.
&+*5
(9
89
$5'
67/.
&+*5
(9
89
$5'
67/.
&+*5
(9
89
$5'
Table 4. JP7 (STLK) jumper description
Jumper Description
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.
JP7
Power source
selector

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 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.
Jumper Description
Table 5. JP7 (E5V) jumper description
Table 5. The LD8 green LED is
The 32L496GDISCOVERY board is supplied through the CN15 Arduino™ compatible connector (VIN). The jumper connects E5V pins 3 and 4.
JP7
Power source
selector

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 presence of 5 V supply.
Jumper Description
The 32L496GDISCOVERY board is supplied through the CN8 USB OTG connector. The jumper connects U5V pins 5 and 6.
JP7
Power source
selector
Table 6. JP7 (U5V) jumper description
Tabl e 6. The LD8 green LED is lit to confirm the
DocID030176 Rev 1 17/61
60
Page 18
Hardware layout and configuration UM2160
67/.
&+*5
(9
89
$5'
$5'B287
$5'B,1
$5'B287
$5'B,1

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 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
Jumper Description
5 V is supplied through Arduino™ compatible connector CN15 (+5V). Jumper JP7 connects ARD pins 7 and 8.
JP7
Power source
selector
The 32L496GDISCOVERY board supplies 5 V through Arduino™ compatible connector CN15 (+5V) to an external board. Jumper JP3 connects ARD pins 1 and 2.
Table 7. JP7 (ARD) jumper description
Table 7. The LD8 green LED is lit to confirm the
V through connector CN15 (default setting).
JP3
ARD 5V
input/output
voltage
selection
Default setting
The 32L496GDISCOVERY board is supplied 5 V through Arduino™ compatible connector CN15 (+5V). Jumper JP3 connects ARD pins 2 and 3.

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 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.
Tabl e 8. The LD8 green LED is lit to confirm the
18/61 DocID030176 Rev 1
Page 19
UM2160 Hardware layout and configuration
67/.
&+*5
(9
89
$5'
Jumper Description
The 32L496GDISCOVERY board is supplied through the CN5 connector. The jumper connects CHGR pins 9 and 10.
JP7
Power source
selector
Table 8. JP7 (CHGR) jumper description

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 (connecting pins 1 and 2) to supply the MCU with 3.3
V,. The jumper must be placed at the 3V3 location of JP5
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 another power source should be used like the VIN pin of connector CN15.
Should a short-circuit occur 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.
mA,
It needs the MCU run SW to let this current test circuit get into low power mode.
DocID030176 Rev 1 19/61
60
Page 20
Hardware layout and configuration UM2160
9
9
9
9
9
9''B0&8
9
9''B0&8
,''
9''
,''
9''
Table 9. IDD measurement jumper settings
Jumper Description
Default setting
The STM32L496AGI6 is supplied with 3.3 V. Jumper JP5 connects pins 1 and 2.
JP5
VDD_MCU
voltage
selection
The STM32L496AGI6 is supplied with 1.8 V. Jumper JP5 connects pins 2 and 3.
Default setting
The VDD_USB power pin of the STM32L496AGI6 is supplied with 3.3 V. Jumper JP4 connects pins 1 and 2.
JP4
VDD_USB
source
selection
The VDD_USB power pin of the STM32L496AGI6 is supplied with VDD_MCU. Jumper JP4 connects pins 2 and 3.
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.
JP2
VDD_MCU
measure
The STM32L496AGI6 is powered by VDD. Jumper JP2 connects pins 2 and 3.
20/61 DocID030176 Rev 1
Page 21
UM2160 Hardware layout and configuration

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 V from ST-LINK and
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
the following risks may be encountered:

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
rejected and that the enumeration does not succeed.
BUS
first

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.
DocID030176 Rev 1 21/61
60
Page 22
Hardware layout and configuration UM2160

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 I 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

2
C bus and offers the
The 32L496GDISCOVERY board supports USB OTG full speed communication via a USB Micro-AB connector (CN8) and USB power switch (U14) connected to V
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
V
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
Note 2: When the 32L496GDISCOVERY board is powered by an external power supply then the
OTG function provides more than 100 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).
is powered by another USB host when the 32L496GDISCOVERY board works as a
BUS
USB
device.
mA.
mA, according to the external power supply
BUS
.

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
6).
V DC of the USB OTG FS connection (jumper JP7 connecting pins 5 and
22/61 DocID030176 Rev 1
Page 23
UM2160 Hardware layout and configuration
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 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.
V

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,
DocID030176 Rev 1 23/61
60
Page 24
Hardware layout and configuration UM2160
from left to right with colors orange and green respectively as presented in Tabl e 10. To light a LED, a low logic state 0 must be written in the corresponding GPIO.
LED Control MCU port Color
LD1 MFX_GPIO4 Orange
LD2 PB13 Green

Table 10. 32L496GDISCOVERY user LEDs

24/61 DocID030176 Rev 1
Page 25
UM2160 Connectors
9
9''B0&8
9
9''B0&8

9 Connectors

9.1 Arduino™ Uno V3 compatible connectors

CN10, CN11, CN15, and CN16 are female connectors compatible with Arduino™ Uno V3 standard. Most 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 11. In this case, a 0 resistor must be mounted on R18.
Jumper Description
shields designed for Arduino™ Uno V3 are also supported by the

Table 11. JP4 (VDDA) jumper description

Default setting
VDDA is supplied from 3.3 V.
Jumper JP4 connects pins 1 and 2.
JP4
VDDA
source
selection
VDDA is supplied from VDD_MCU. Jumper JP4 connects pins 2 and 3.
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 Tab le 12.
DocID030176 Rev 1 25/61
60
Page 26
Connectors UM2160
LEFT Connectors RIGHT Connectors
CN Pin Pin name
1 - - E5V test SPI1_SCK PA5 D13 6
2 IOREF - VDD SPI1_MISO PB4 D12 5
3 NRST NRST Reset
CN15
Power
43V3 -
5 +5V - 5 V input/output TIM4_CH3 PH13 D9 2
6 GND - Ground - PG15 D8 1
7 GND - Ground -
8VIN -

Table 12. Arduino™ compatible connectors

MCU
pin
Function Function
I2C1_SCL PB8 D15 10
-
I2C1_SDA PB7 D14 9
AVD D - AV D D 8
Ground - GND 7
TIM3_CH2, SPI1_MOSI
3.3 V output (see note 1)
TIM2_CH1,
SPI1_NSS
+6 V to +9 V
power input
-PG6D78
(see note 2)
- TIM5_CH1 PI6 D6 7
MCU
pin
Pin
name
Pin CN
-
PB5 D11 4
PA1 5 D10 3
CN10
Digital
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
ADC12_IN6
PA1 or
5A4
PB7
(note 3)
or
I2C1_SDA
LPUART1_TX PG7 D1 2
(see note 3)
PC0 or
6A5
PB8
(note 3)
ADC12_IN13
or
I2C1_SCL
(note 3)
LPUART1_RX PG8 D0 1
CN11
Digital
26/61 DocID030176 Rev 1
Page 27
UM2160 Connectors
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 should 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 I
2
C 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
Pin number Description Pin number Description

Table 13. PMOD connector CN3

Table 13.
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
5GND11GND
63V3123V3
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
Pin number Description Pin number Description
1 SS/CTS (PG11) 11 INT (PH2)
2 MOSI/TXD (PB15/PB6) 12 RESET (PB2))

Table 14. STMod+ connector CN2

Tabl e 14.
3 MISO/RXD (PI2/PG10) 13 ADC (PA4)
4 SCK/RTS (PI1/PG12) 14 PWM (PA0)
5GND15+5V
6+5V16GND
DocID030176 Rev 1 27/61
60
Page 28
Connectors UM2160
Table 14. STMod+ connector CN2 (continued)
Pin number Description Pin number Description
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)
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)

Pin number Description Pin number Description
1 VDD 10 RESET#
2SWDIO (PA13)9 NA
3GND8 NA
4 SWCLK (PA14) 7 NA
5 GND 6 SWO (PB3)
28/61 DocID030176 Rev 1

Table 15. TAG connector CN4

Page 29
UM2160 Connectors

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).
Pin number Description Pin number Description
1VDD4SWDIO
2 SWCLK 5 NRST
3GND6SWO

Table 16. SWD connector CN7

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)

Pin number Description Pin number Description
1V
2 DM (PA11) 5 GND
3 DP (PA12) - -

Table 17. USB OTG FS Micro-AB connector CN8

(PA9) 4 ID (PA10)
BUS

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 18.
Note: The camera is only working when the STM32L496AGI6 is supplied with 3.3 V.
DocID030176 Rev 1 29/61
60
Page 30
Connectors UM2160

Figure 10. Camera module connector CN1 (front view)

Pin number Description Pin number Description
1GND16GND
2 NC 17 DCMI_HSYNC (PH8)
3NC18NC
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

Table 18. Camera module connector CN1

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
Note: The microSD™ card is only working when the STM32L496AGI6 is supplied with 3.3 V.
30/61 DocID030176 Rev 1
Figure 11 and Table 19.
Page 31
UM2160 Connectors

Figure 11. microSD™ card connector CN17 (top view)

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)
43V39 GND
5 SDIO_CLK (PC12) 10 MicroSD card_detect (MFX_GPIO8)

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 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.

Table 19. microSD™ card connector CN17

Kcolors. The LCD parallel interface is connected to the FMC of the
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.
DocID030176 Rev 1 31/61
60
Page 32
Connectors UM2160
The LCD_RESET (MFX_GPIO2) signals gives the possibility to reset the LCD by the microcontroller.
Tabl e 20 details the signals of LCD connector CN6.

Table 20. LCD connector CN6

CN6
pin
Signal
name
Description
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
32/61 DocID030176 Rev 1
Page 33
UM2160 Connectors

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 is a switching mode boost converter powered by the 5
V. This function is handled by the backlight driver circuit STLD40DPUR that
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 10
kHz typically).
kHz to

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 I 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.
2
C SDA line is connected to PB14 and the I2C SCL line is connected to PH4.

Table 21. Touch panel connector CN13

Pin
number
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
Description
Pin
number

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 programming and the debugging of the STM32L496AGI6 microcontroller.

Figure 12. USB Micro-B connector CN5 (front view)

Description
the
DocID030176 Rev 1 33/61
60
Page 34
Connectors UM2160

Table 22. USB Micro-B connector CN5

Pin number Description Pin number Description
1V
(power) 4 GND
BUS
2 DM 5, 6 Shield
3DP- -
34/61 DocID030176 Rev 1
Page 35
UM2160 32L496GDISCOVERY board I/O assignment

Appendix A 32L496GDISCOVERY board I/O assignment

Table 23. 32L496GDISCOVERY Discovery board I/O assignment

Pin name Pin number Signal or label Note
PA0 K3 TIM2_CH1 -
PA1 N2 ARD_A4 -
PA2 N1 UART 2_TX -
PA3 M2 QSPI_CLK -
PA4 L3 ADC12_IN9 -
PA5 K4 ARD_D13 ARD_SPI1_CLK
PA6 M4 QSPI_BK1_IO3 -
PA7 L4 QSPI_BK1_IO2 -
PA8 G8 DC MI_CLK -
PA9 F10 USB_VBUS -
PA1 0 F9 U SB_ 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 -
DocID030176 Rev 1 35/61
60
Page 36
32L496GDISCOVERY board I/O assignment UM2160
Table 23. 32L496GDISCOVERY Discovery board I/O assignment (continued)
Pin name Pin number Signal or label Note
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 -
36/61 DocID030176 Rev 1
Page 37
UM2160 32L496GDISCOVERY board I/O assignment
Table 23. 32L496GDISCOVERY Discovery board I/O assignment (continued)
Pin name Pin number Signal or label Note
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 -
DocID030176 Rev 1 37/61
60
Page 38
32L496GDISCOVERY board I/O assignment UM2160
Table 23. 32L496GDISCOVERY Discovery board I/O assignment (continued)
Pin name Pin number Signal or label Note
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 -
38/61 DocID030176 Rev 1
Page 39
UM2160 Electrical schematics

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)
DocID030176 Rev 1 39/61
60
Page 40
40/61 DocID030176 Rev 1
Electrical schematics UM2160

Figure 13. 32L496GDISCOVERY Discovery board interconnections

ST_LINK
ST_LINK_V2-1_2.SCHDOC
Peripherals
Peripherals.SchDoc
LED2
uSD_Detect
OTG
USB_OTG_FS.SchDoc
USB_OVER
USB_OTGFS_PPWR_EN
Power
Power.SchDoc
IDD
IDD_measurement.SchDoc
USB_PWR_ON USB_OVER uSD_Detect LED2 DCMI_PWR_EN
MFX_WAKEUP MFX_IRQ_OUT
CTP_RST LCD_RST
TFT_LCD
LCD.SchDoc
LCD_RST CTP_RST
Audio
Audio.SchDoc
Camera Interface
Camera.SchDoc
DCMI_PWR_EN
DCMI_D[0..7]
DCMI_PIXCK DCMI_HSYNC DCMI_VSYNC
SWCLK SWDIO
NRST
USART_TX USART_RX
LED1
RESET
JOYSTICK
USB_OTG
NRST
MFX_I2C
LCD_I2C
CTP_INT
CODEC_I2C
CODEC
DFSDM
Audio_RST
MIC_VDD
DCMI_I2C
DCMI_NRST
DCMI_CLK
NRST
PSRAM
PSRAM.SchDoc
PSRAM
QSPI
QSPI.SchDoc
QSPI Flash
STMOD+
STMOD+.SchDoc
STMOD+_INT STMOD+_RESET STMOD+_ADC STMOD+_PWM
DFDATIN3 DFDATIN1 DF_CKOUT
STMOD+_UART STMOD+_SPI STMOD+_I2C STMOD+_MOSIs STMOD+_MISOs
Arduino_ Connectors
Arduino_ Connectors.SchDoc
ARD_A0 ARD_A1 ARD_A2 ARD_A3 ARD_A4 ARD_A5 ARD_D0 ARD_D1 ARD_D2 ARD_D3 ARD_D4 ARD_D5 ARD_D6 ARD_D7 ARD_D8 ARD_D9 ARD_D10 ARD_D11 ARD_D12 ARD_D13 ARD_D14 ARD_D15 NRST
H1 H2
H3
Rev A.01 --> MB1261 B.01 1: Updated back light name port from PA5 to PI0 2: Updated CN2 name from PMOD+ to STMOD 3: Pull-up EN pin of USB power swi tch (U14) to 5V instead of 3V3 4: Swap "MFX_IRQ_OUT" and "MFX_WAKEUP" 5: Connect 4 fix holes to GND 6: 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.6pF 9: Removed MOSFET T1 and R9/R10/R11/R61/R39/R19/R38/R40/R108 10: Connect PG9 to CS1 of PSRAM via R12 & a two-pin jumper in parallel.Add possibility to power PSRAM by either 3V3 or VDD_LCD 11: Updated R18 to N/A, SB2 to OPEN,SB23 to JP10, Connect VDDA to VDD_USB instead of VDD_MCU 12: N-MOSFET BSN20 added to drive LD3 13: Added USBLC6-2SC6 for ST-LINK USB
MB1261-TOP
Title:
STM32L496G-DISCOProject:
Size: Reference:
A3
2016/10/11
Date: Sheet: of
H4
MB1261 B.01
Revision:
114
MCU
MCU.SchDoc
SWCLK SWDIO
SWO
NRST
U5V
SD
U5V
U5V
LCD
SWO RESET
USART_TX USART_RX
LED1
SD JOYSTICK
USB_OTG
MFX_WAKEUP MFX_IRQ_OUT
MFX_I2C
LCD CTP_INT
CODEC
DFSDM Audio_RST MIC_VDD
DCMI_D[0..7] DCMI_PIXCK DCMI_HSYNC DCMI_VSYNC
DCMI_CLK
PSRAM
QSPI Flash
STMOD+_INT
STMOD+_RESET
STMOD+_ADC
STMOD+_PWM
DFDATIN3 DFDATIN1
DF_CKOUT
STMOD+_UART
STMOD+_SPI
STMOD+_I2C STMOD+_MOSIs STMOD+_MISOs
ARD_A0 ARD_A1 ARD_A2 ARD_A3 ARD_A4 ARD_A5 ARD_D0 ARD_D1 ARD_D2 ARD_D3 ARD_D4 ARD_D5 ARD_D6 ARD_D7 ARD_D8
ARD_D9 ARD_D10 ARD_D11 ARD_D12 ARD_D13 ARD_D14 ARD_D15
Page 41

Figure 14. Power

UM2160 Electrical schematics
DocID030176 Rev 1 41/61
VOS
GND
VOS
GND
PGOOD
VOUT
1
SW
SW
SW
JP7
1 2 3 4 5 6 7 8
109
Header M Straight 5x2H
U10 LD1117S50TR
Tab
GND
A1
3V3_SW 3V3_OUT
C2
B2
1V8_SW 1V8_OUT
A1 C2
B2
E1 C3
3V3_SW
E3
3V3_OUT
D2
U5V_ST_LINK
E5V
U5V
3
C42 10uF
C43 10uF
2
C45 10uF
1
JP3
A2 B1
C1 D1 D2
A2 B1
C1 D1 D2
B2 A3 C1
+5V
U12 TPS62743
VIN EN
VSEL1 VSEL2 VSEL3
U13 TPS62743
VIN EN
VSEL1 VSEL2 VSEL3
U23 ST1PS01EJR
EN VIN D0 D1A1GND
ARD_5V
5V_USB_CHARGER
Arduino power pin Vin3Vout
VIN
TI Parts
+5V
+5V
ST Parts
+5V
+5V
2 4
L2
2.2uH
L3
2.2uH
Choose TI parts U12,U13 or ST parts U23,U24 mount on the board
R68
C37 10uF
LD8
820
Green
1 2
PWR
+3V3
+1V8
JP8
C40 10uF
C41 10uF
E5V
VDD
1
2
3
JP5
+5V
B2 A3 C1
U24 ST1PS01EJR
EN
PGOOD VIN D0 D1A1GND
VOUT
E1
1V8_SW
C3
SW
E3
1V8_OUT
D2
Power
Title:
STM32L496G-DISCOProject:
Size: Reference:
A4
2016/10/11
Date: Sheet: of
MB1261 B.01
Revision:
214
Page 42
42/61 DocID030176 Rev 1
ADC12_IN6
I2C1_SDA
ADC12_IN13
I2C1_SCL

Figure 15. 32L496GDISCOVERY Arduino™ Uno V3 connectors

Arduino uno connector
R123 510
+3V3
+3V3
ARD_5V
NRST
NRST
PC4 PC1 PC3 PF10
VIN
WARNING: voltage applied to VIN <11.5V WARNING: CN2-PIN4 is not a input PWR for BigOrga
ARD_A4
PB7
ARD_A5
PB8
ADC12_IN13 ADC123_IN2 ADC123_IN4 ADC3_IN13
PA1
PB7
PC0
PB8
ARD_A0 ARD_A1 ARD_A2 ARD_A3
SB26
SB25
SB28
SB27
VDD
1 2 Green
R72 1K
CN15
1 2 3 4 5 6 7 8
SSW-108-22-X-S-VS CN16
1 2 3 4 5 6
SSW-106-22-X-S-VS
LD3
NRST 3V3 5V GND GND VIN
A0 A1 A2 A3 A4 A5
E5V
POWER
AIN
T1 BSN20BK
SD
2 3
PWM/MOSI/D11
R124 1M
G
1
SCL/D15 SDA/D14
AVDD
SCK/D13
MISO/D12
PWM/CS/D10
PWM/D9
PWM/D6 PWM/D5
PWM/D3
TX/D1
RX/D0
SB1
CN10
10
9 8 7
GND
6 5 4 3 2 1
D8
SSW-110-22-X-S-VS CN11
8
D7
7 6 5
D4
4 3
D2
2 1
SSW-108-22-X-S-VS
PB8 PB7
PA5 PB4 PB5 PA15 PH13 PG15
PG6 PI6 PB9 PI11 PH15 PG13 PG7 PG8
ARD_D15
ARD_D14
ARD_D13 ARD_D12 ARD_D11 ARD_D10
ARD_D9 ARD_D8
ARD_D7 ARD_D6 ARD_D5 ARD_D4 ARD_D3 ARD_D2 ARD_D1 ARD_D0
SB2
SPI1_SCKIOREF SPI1_MISO TIM3_CH2, SPI1_MOSI TIM2_CH1, SPI1_NSS TIM8_CH1N
TIM8_CH2 TIM4_CH4
TIM8_CH3N
LPUART1_TX LPUART1_RX
I2C1_SCL
I2C1_SDA
VREF+
C3 [N/A]
Electrical schematics UM2160
Title:
Arduino Uno connector
STM32L496G-DISCOProject:
Size: Reference:
A4
Date: Sheet: of
2016/10/11
MB1261 B.01
Revision:
314
Page 43

Figure 16. ST-LINK/V2-1

UM2160 Electrical schematics
DocID030176 Rev 1 43/61
+3V3_ST_LINK
C96
C87
100nF
100nF
C23 10pF
X2
1 2
NX3225GD-8.00M
+3V3_ST_LINK
C24 JP10 [N/A]
USART_RX
USB Virtual ComPort
USART_TX
USB ST-LINK
CN5
1050170001
VUSB_ST_LINK 5V_USB_CHARGER
R41 [N/A]
100nF
VDD_STL
PD6
PA2
R54
R53
100K
100K
VUSB_ST_LINK
1
VBUS
2
DM
3
DP
4
ID
5
GND
6
Shield
7
Shield
8
Shield
9
Shield
10
USB_Micro-Breceptacle
EXP
11
EXP
C86
C92
100nF
100nF
Board Ident: PC13=0
C20 10pF
R31 [N/A]
OSC_IN OSC_OUT STM_RST
4K7R45
4K7R49
VDD_STL
R55 0
C46 100nF
U11
1 2 3
SN74LVC2T45DCUT
+3V3_ST_LINK
+3V3_ST_LINK
R30 10K
0R46
VCCA A1 A2 GND4DIR
1 2
AIN_1
STLINK_TX
C51 100nF
VCCB
U22
I/O1 GND I/O23I/O2
USBLC6-2SC6
5V_STL
1 2 3 4 5 6 7 8
9 10 11 12
+3V3_ST_LINK
8 7
B1
6
B2
5
VDD_STL
Diff Pair 90ohm
i
i
Diff Pair 90ohm
I/O1 Vbus
R24 [N/A]
D1
BAT60JFILM
SB11
R17 100K
48
47
46
VSS_3
VDD_3
VBAT PC13 PC14 PC15 OSC_IN OSC_OUT /RST VSSA VDDA PA0 PA1 U2_TX
U2_RX13U2_CK14S1_CK15S1_MISO16S1_MOSI17PB018PB119PB2/BOOT120PB1021VSS_123VDD_1
T_JTCK
STLINK_RX
6 5 4
R23 2K7
44
43
PB845PB9
BOOT0
T_JTDO
T_JTDI
T_NRST
T_JRST
VUSB_ST_LINK
C105 100nF
R22 4K7
USB_R ENUMn
PWR_EXT
STM_J TCK
39
40
37
38
PB541PB642PB7
JTDI
JTDO
JNRST
S2_MOSI S2_MISO
PB11
24
22
+3V3_ST_LINK
R48 100K
U6 STM32F103CBT6
JTCK
36
VDD_2
35
VSS_2
34
JTMS
33
PA12
32
PA11
31
PA10
30
PA9
29
PA8
28 27 26
S2_CK
25
PB12
+3V3_ST_LINK
C30 100nF
T_JTDO
SB13
T_SWO
+3V3_ST_LINK
3
T2
9013-SOT23
2
1K5R37
STL_USB_DM STL_USB_DP
100KR33
transistor pins numbers follow SOT23 JEDEC standard,
SWCLK SWDIO
+3V3_ST_LINK
Not Fitted, must be on a border or the PCB.
VUSB_ST_LINK U5V_ST_LINK
+3V3_ST_LINK
STM_JTMS STL_USB_DP STL_USB_DM T_SWO LED_STLINK MCO
PWR_ENn
T_JTMS T_JTCK T_SWDIO_IN
VDD_STL
C34 100nF
U8
1
VccA
VccB
2
A1
B1
3
A2
B2
GND4DIR
SN74LVC2T45DCUT
VUSB_ST_LINK
R44 10K
1
R34 36K
8 7 6 5
100R35
SWO_MCU
123
C19 1uF
R36 820
10KR32
USB_RENUMn
T_JTCK
T_JTMS
VDD_STL
STM_JTMSSTM_JTCK
4
CN14 [N/A]
1 2
5V_STL
Fault
VUSB_ST_LINK
U7 ST890CDR
1
IN
2
IN
LD4
8
FAULT
Red
ON3GND
Power Switch to supply +5V from STLINK USB
T_NRST
1
2
3
JP6
100R66
12345
U5V
SWD
E5V
OUT OUT
SET
100R63
100R59
100R56
CN7
6
313106S111116
D3 BAT60JFILM
D2 [N/A]
D4 [N/A]
6 7
output current limitation : 500mA
5
4
1 2 3
SW1 EDG-501S
1 2 3 445
2K2R50
C29 100nF
U9 LD3985M33R
Vin Vout
3
INH
GND
2
C35
C33
1uF
100nF
STLINK power supply
0R47
8
8
7
7
6
6
5
0R51
BYPASS
+3V3_ST_LINK
51
4
C32
C36 10nF
C31
1uF
100nF
+5V VDD
LED_STLINK
100R5
100R4
PA13
PA14
R71 100
21
Red
COM
TCK/SWCLK
TMS/SWDIO
VDD
R69 100
34
LD5 HSMF-A201-A00J1
_Green
R70 0
SWD to MCU
PA14
PA13
PB3
CN4
Tag-10_C
1 2 3 4 5 6
+3V3_ST_LINK
SWCLK
SWDIO NRST
SWO
10 9 8 7
TAG
Only footprint with Cable: TC2050-IDC-NL
100R16
PB3
100R25
ST-LINK/V2-1
Title:
STM32L496G-DISCOProject:
A3
2016/10/11
MB1261 B.01
Revision:
414
Size: Reference:
Date: Sheet: of
Page 44
44/61 DocID030176 Rev 1
L
K
V
C
CS
G
N
S
/
S
W
/
S
ST/SIO3SI/
SIO
0
VDD
SB3
C4 100nF
VDD
R27 10K
U3 MX25R6435FM2IL0
1
CS
6
SCLK
SC
8
VCC
C
4
GND

Figure 17. Quad-SPI Flash

PB11
22R26
PA3
22R7
SI/SIO0
SO/SIO1
O
WP/SIO2
P
RST/SIO3
R
5 2
IO1
3
IO
7
PB1
22R8
PB0
22R28 22R29
PA7
22R6
PA6
QSPI_BK1_NCS QSPI_CLK
QSPI_BK1_IO0 QSPI_BK1_IO1 QSPI_BK1_IO2 QSPI_BK1_IO3
QSPI
QSPI_CS QSPI_CLK
QSPI_IO0 QSPI_IO1 QSPI_IO2 QSPI_IO3
Electrical schematics UM2160
QSPI Flash
Title:
QSPI Flash
STM32L496G-DISCOProject:
Size: Reference:
A4
Date: Sheet: of
2016/10/11
MB1261 B.01
Revision:
514
Page 45
DocID030176 Rev 1 45/61
614
Peripherals
MB1261 B.01
2016/10/11
Title:
Size: Reference:
Date: Sheet: of
A4
Revision:
STM32L496G-DISCOProject:
MICRO SD
SMS064FF or SMS128FF
1234567
8
SW29SW1
10
CN17 PJS008-2000
PC8
PC9
PC10
PC11
PC12 PD2
(TF) Card
1 2G reen
LD2
+3V3
LEDs
LED1
LED2
PB13
MFX_GPIO4
The 2 LEDs are top side
MFX_GPIO8
VDD
JOYSTICK
PF11
PI9
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_D2
uSD_D3
uSD_CMD
SD
uSD_D0
uSD_D1
uSD_D2
uSD_D3
uSD_CLK uSD_CMD
SD
uSD_Detect
JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP
JOYSTICK
JOYSTICK
uSD_Detect
Reset Button
1
43
2
B1 TD-0341X-A00
GND
RESET
1 2O range
LD1
510
R2
680
R1
100R60
R118 47K
SD can only works under 3V3
R119 47K
R120 47K
R121 47K
R122 47K

Figure 18. Peripherals

UM2160 Electrical schematics
Page 46
46/61 DocID030176 Rev 1

Figure 19. USB OTG FS

Electrical schematics UM2160
USB_OTGFS_PPWR_EN
Open drain
USB_OTG
USB_OTG
MFX_GPIO3
VBUS
DM
DP
ID
USB_OTGFS_VBUS USB_OTGFS_DM USB_OTGFS_DP USB_OTGFS_ID
FAULT
OUT
+3V3
R64 47K
3 1
+5V
R58 47K
U14
2
GND
13245
5
IN
4
EN
STMPS2141STR
6
D5 ESDA6V1BC6
SB16
+5V
0R57
PA9 PA11 PA12 PA10
USB Full Speed operating range voltage: 3.0V<VDDUSB<3.6V
C54
4.7uF
MFX_GPIO7
R75 620
12
LD7 Red
USB_OTGFS_OVRCR
D_N D_P
R62 47K
1 2 3 4 5
6 7 8 9
10
CN8
VBUS DM DP ID GND
Shield Shield Shield Shield EXP
475900001
1
R65 10K
USB_OVER
U5V
USB_Micro-AB receptacle
+3V3
R74 330
12
LD6 Green
3
T3 9013-SOT23
2
transistor pins numbers follo w SOT23 JEDEC standard,
VBUS OK
Title:
USB_OTG_FS
STM32L496G-DISCOProject:
Size: Reference:
A4
Date: Sheet: of
2016/10/11
MB1261 B.01
Revision:
714
Page 47

Figure 20. LCD interface

UM2160 Electrical schematics
DocID030176 Rev 1 47/61
LCD FRD154BP2902-CTP
Y
*: standard orientation. Rotati ons by 90, 180, 270 degrees possible by registers.
CTP_RST
SB20
3V3_LCD
Backlight control: ON/OFF or dimmer by low frequency (1 to 10kHz typ.) PWM using TIM5_CH4
+5V
C80 100nF
C82
100nF
VDD_LCD
SB21
SB22
L5 FCM1608KF-601T03
L4 FCM1608KF-601T03
10
9 8 7 6
DF37NB-10DS-0.4V (5x)
R104
[N/A]
3V3_LCD
C55 10uF
X
PG14MFX_GPIO1
R89
[N/A]
CTP Connector
CN13
C59 100nF
1
GND
GND
2
VDD
INT
3
GND
GND
4
RESET
SDA
5
GND
SCL
R99
[N/A]
L6 FCM1608KF-601T03
VL
C58 100nF
BLGND
LCD_BL
Backlight driver & PFC connector for LCD panel
BLGND
PI0
1
CN13
FPC
29
VDD_LCD
R117 100K
LCD_RST
VDD_LCD 3V3_LCD
CTP_INT
CTP_INT
VDD_MCU operating voltage range: 1.65 to 3.6V
VDD_LCD
R88
R87
[N/A]
[N/A]
I2C2_SDA
I2C2_SCL
Layout: parts close to STLD40D and grouped in same area with BLGND as local ground plane
C57
C56
10nF
GRM31CR71A475KA01L
L7 LQH32PN4R7NN0L
R77
[N/A]
BLGND+3V3
BLGND
R76 100K
U15
8
SW
1
Vi
7
EN GND3FB
9
PGND
STLD40DPUR
C104 100nF
Z1
STPS1L40M
Vo NC
Rset
PB14
PH4
6 5
4 2
BLGND
PD13 MFX_GPIO2
I2C max clock: 400kHz
R73 100K
240x240 pixels TFT LCDpixel (0,0) *
ZZ1
FRIDA FRD154BP2902-CTP
CN6
GND1FMARK DB153DB14 DB135DB12 DB117DB10 DB99DB8 DB711DB6 DB513DB4 DB315DB2
LCD_D1
DB117DB0
19
/RD
21
RS
LCD_RST
RESET23IM IOVCC25VCI GND27LEDA
LEDK
29
LEDK
FH26-29S-0.3SHW
SB28 open and SB27 closed = IM high: LCD in 16bits mode SB28 closed and SB27 opened = IMlow : LCD in 8bits mode
C48
4.7uF
BLGND
C47 10nF
R67
current regulated at 15mA
10
LEDA
LEDK
2
PH7LCD_TE
LCD_D14LCD_D15
PD9PD10
4
LCD_D12LCD_D13
PE15PD8
6
LCD_D10LCD_D11
PE13PE14
8
LCD_D8LCD_D9
PE11PE12
10
LCD_D6LCD_D7
12
PE9PE10
LCD_D4LCD_D5
14
PE7PE8
LCD_D2LCD_D3
16
PD0PD1
18
LCD_D0
PD14PD15 PD5PD4
LCD_WELCD_OE
20
/WR
22
LCD_NELCD_RS
/CS
PD7
24 26
LEDA
28
PH0
LCD_PWR_ON
C44 100nF
+5V
R115 100K
LCD_D[0..15]
LCD_TE LCD_NE LCD_BL LCD_WE LCD_OE LCD_RS LCD_PWR_ON
I2C2_SCL
I2C2_SDA
T11 STT7P2UH7
3
G
T12 STT7P2UH7
3
G
LCD
LCD_D[0..15]
LCD_TE LCD_NE LCD_BL LCD_WE LCD_OE LCD_RS LCD_PWR_ON
I2C
SCL
SDA
R52
SB14SB15
100K
VDD_LCD
VDD_LCD
VDD
SD
4
1 2 5 6
VDD_LCD
+3V3
SD
4
1 2 5 6
3V3_LCD
LCD
LCD_I2C
Title:
LCD Interfa ce
STM32L496G-DISCOProject:
Size: Reference:
A3
2016/11/16
MB1261 B.01
Date: Sheet: of
Revision:
814
Page 48
48/61 DocID030176 Rev 1
_
L8 FCM1608KF-601T03
VDD1
PC5
G
JP2
VDD_MCU
NRST
VDD1
SD
SD
4
1 2 5 6
R85 1_1%_0805
T50_4 T50_6
123
MFX_IRQ_OUT
D6 BAT60JFILM
C99 [N/A]
MFX_WAKEUP
I2C
SCL
SDA
VDD
R94 100K
T6
3
G
STT7P2UH7
see note *
4
5
621
3
R106 100K
4
5
SD
G
3
MFX_aGPIO1
New Parts
PH6
R109 100K
PH4
PB14
CAL
CAL_D
G
621
T5 STT7P2UH7
SD
4
1 2 5 6
MFX_IRQ_OUT
NRST
MFX_WAKEUP
MFX_I2C
T4 STT7P2UH7
see note *
SH0 SH1 SH2
3
R84 100K
Current direction
bypass to MCU
C91 1uF
MFX_aGPIO1
MFX_SWDIO MFX_SWCLK
MFX_I2C2_SCL MFX_I2C2_SDA
JP1 [N/A]
MFX_I2C2_SCL
MFX_I2C2_SDA
T7 STT7P2UH7
see note *
SH1_D SH2_DSH0_D
R107 24_1%_0805
C94 100nF
14
10 11 12 13
44
510R112
46
7
2 34 37
42 43 45
10KR113
21 22
New Parts
R116 100K
MFX_aGPIO1
3
G
R110 100K

Figure 21. IDD measurement and MFX

VDD
48
1
9
SPARE
VDDA
VDD_124VDD_236VDD_3
TSC_XP/GPO0 TSC_XN/GPO1 TSC_YP/GPO2 TSC_YN/GPO3
BOOT0 IRQOUT NRST WAKEUP
MFX_V3
SWDIO SWCLK
I2C_SCL I2C_SDA I2C_ADDR
USART_TX USART_RX
+5V
SD
IDD_SH1/GPO5 IDD_SH2/GPO6 IDD_SH3/GPO7
IDD_CAL/GPO4
IDD_MEAS
IDD_VDD_MCU
VSSA8VSS_123VSS_235VSS_3
47
Default I2C Address:1000010
6
T8
5
STT7P2UH7
2
G
3
1
4
SD
6
T10
5
STT7P2UH7
2
G
3
1
4
SD
decoupling capacitors close to TSZ122
4
T9 STT7P2UH7
see note * 1 2 5 6
R111
R95
620_1%_0805
10K_1%_0805
Shunts
R114 0
VDD
IDD_SH0
VDD1
GPIO0 GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 GPIO6 GPIO7 GPIO8
GPIO9 GPIO10 GPIO11 GPIO12 GPIO13 GPIO14 GPIO15
VDD
+5V
U21
C83 100nF
VDD1 one capacitor close to each MFX pins:
VDD, VDD
C101
C93
100nF
100nF
18 19 20 39 40 15 16 17 29 30 31 32 33 26 27 28
4
SH0 SH1
5 6
SH2
38 3
CAL
25
IDD_MEAS
41
SB24
AMP_VDD
AMP_5V
3
2
5
6
V+
V-
4 8
differential amplifier
U19B TSZ122IST
VDD_MCU
C85 100nF
U19A TSZ122IST
1
7
1, VDD_2, VDD_3
C102
C103
100nF
100nF
CTP_RST LCD_RST
USB_PWR_ON
LED2
DCMI_PWR_EN
USB_OVER uSD_Detect
MFX_SWCLK MFX_SWDIO
VDD1
123
R105 0
R101 357K
3
V+
R98
2
V-
11K
4 8
6K04R96 300KR97
U20B
5
TSZ122IST
6
300KR103
C88 100nF
6K04R92
decoupling capacitors close to TSZ122
C90 100nF
U20A
1
TSZ122IST
7
Electrical schematics UM2160
4
CN9 [N/A]
R102 100
IDD_MEAS
C84 1uF
IDD measurement / MFX (Multi Function eXpander)
Title:
STM32L496G-DISCOProject:
MB1261 B.01
Size: Reference:
A3
2016/10/11
Date: Sheet: of
Revision:
914
Page 49

Figure 22. MCU

UM2160 Electrical schematics
DocID030176 Rev 1 49/61
PSRAM
PSRAM
QSPI Flash
QSPI Flash
LCD
LCD
CTP_INT
CODEC&DFSDM
CODEC
DFSDM
SD
SD
JOYSTICK
JOYSTICK
USB_OTG
USB_OTG
PSRAM
PSRAM_D[0..15]
PSRAM_A[0..18]
PSRAM_NE PSRAM_NBL0 PSRAM_NBL1
PSRAM_WE
PSRAM_OE
QSPI
QSPI_CLK
QSPI_IO0 QSPI_IO1 QSPI_IO2 QSPI_IO3
LCD
LCD_D[0..15]
LCD_PWR_ON
SAI
SAI_SCKA
SAI_MCKA
SAI_SDA
DFSDM
SD
uSD_D1 uSD_D0 uSD_D3 uSD_D2
uSD_CLK
uSD_CMD
JOYSTICK
JOY_SEL JOY_DOWN
JOY_LEFT
JOY_RIGHT
JOY_UP
USB_OTG
QSPI_CS
LCD_TE LCD_NE LCD_BL
LCD_WE LCD_OE
LCD_RS
SAI_FSA
SAI_SDB
CKOUT
DATIN3
VBUS
DM
DP ID
D[0..15]
PSRAM_A[0..18] PSRAM_NE PSRAM_NBL0 PSRAM_NBL1 WE OE
QSPI_BK1_NCS QSPI_CLK QSPI_BK1_IO0 QSPI_BK1_IO1 QSPI_BK1_IO2 QSPI_BK1_IO3
D[0..15]
LCD_TE LCD_NE LCD_BL LCD_PWR_ON WE OE LCD_RS
CTP_INT
SAI1_SCKA SAI1_MCKA SAI1_FSA SAI1_SDA SAI1_SDB
DF_CKOUT
DFDATIN3
uSD_D1 uSD_D0 uSD_D3 uSD_D2 uSD_CLK uSD_CMD
JOY_SEL JOY_DOWN JOY_LEFT JOY_RIGHT JOY_UP
USB_OTGFS_VBUS USB_OTGFS_DM USB_OTGFS_DP USB_OTGFS_ID
NDK NX3215SA-32.768KHZ-EXS00A-MU00525
C11
C9
5.6pF
5.6pF
ARD_D14 ARD_D15
X1
C10 100nF
R20 100K
MOSFETs CONTROL
MIC_VDD
LED1
Audio_RST
NRST
STMOD+_PWM ARD_A4 USART2_TX QSPI_CLK STMOD+_ADC ARD_D13 QSPI_BK1_IO3 QSPI_BK1_IO2
DCMI_CLK USB_OTGFS_VBUS USB_OTGFS_ID USB_OTGFS_DM USB_OTGFS_DP
SWDIO
SWCLK
ARD_D10
QSPI_BK1_IO1
QSPI_BK1_IO0
STMOD+_RESET
SWO
ARD_D12
ARD_D11
UART1_TX
I2C1_SDA
I2C1_SCL
ARD_D5
SAI1_SCKA
QSPI_BK1_NCS
DFDATIN1
LED1
I2C2_SDA
SPI2_MOSI
LCD_PWR_ON
MIC_VDD
NRST
BOOT0
R21 [N/A]
VDD_MCU
K3 N2 N1 M2
K4 M4
G8
F10
E13 D13 A11 A10
A9
K5
N5 A6 A5 B5 C5 D5 C4 D4 N9
H8 N12 N13 M13 M12
G1
H1
H3
VDD
MIC_VDD
LED1
Audio_RST
RESET
U5A
PA0-WKUP PA1 PA2 PA3
L3
PA4 PA5 PA6
L4
PA7 PA8 PA9
F9
PA10 PA11 PA12 PA13 PA14 PA15
PB0
L5
PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15
F1
PC14-OSC32_IN
PC15-OSC32_OUT
PH0-OSC_IN
J1
PH1-OSC_OUT
NRST
E5
PH3-BOOT0
STM32L496AG
+3V3
VDD_MCU
PC13-ANTI_TAMP
VDD_MCU
C28
4.7uFC6100nF
C98 100nF
FCM1608KF-601T03
1
2
3
JP4
J2
ARD_A5
PC0
J3
ARD_A1
PC1
J4
DF_CKOUT
PC2
K1
ARD_A2
PC3
H5
ARD_A0
PC4
J5
MFX_IRQ_OUT
PC5
F11
Audio_RST
PC6
G12
DFDATIN3
PC7
G10
uSD_D0
PC8
G9
uSD_D1
PC9
D9
uSD_D2
PC10
E9
uSD_D3
PC11
F8
uSD_CLK
PC12
E1
JOY_SEL
B8
D2
PD0
C8
D3
PD1
D8
uSD_CMD SPI2_CLK
PD2
E8
SPI2_MISOs
PD3
C7
OE
PD4
D7
WE
PD5
E7
USART2_RX
PD6
F7
LCD_NE
PD7
L11
D13
PD8
L10
D14
PD9
J13
D15
PD10
K12
PSRAM_A16
PD11
K11
PSRAM_A17 PSRAM_A18 D0 D1
PSRAM_A0 PSRAM_A1 PSRAM_A2 PSRAM_A3 PSRAM_A4 PSRAM_A5 ARD_A3 JOY_RIGHT PSRAM_A6 PSRAM_A7 PSRAM_A8 PSRAM_A9
C26 100nF
C18 100nF
VDDAL1
C27 100nF
C12 100nF
C8 1uF
C100 1uF
SPI2_CS UART1_CTS
LCD_RS
C17 100nF
C81 100nF
VDD_MCU
R18 [N/A]
C7 100nF
C95 100nF
PD12
K13
PD13
K10
PD14
H11
PD15
F5
PF0
F4
PF1
F3
PF2
G3
PF3
G4
PF4
G5
PF5
H4
PF10
M5
PF11
N6
PF12
M6
PF13
L6
PF14
K6
PF15
C22 100nF
C89 100nF
PSRAM_NBL0 PSRAM_NBL1 SAI1_MCKA SAI1_SDB SAI1_FSA DCMI_D6 SAI1_SDA D4 D5 D6 D7 D8 D9 D10 D11 D12
PSRAM_A10 PSRAM_A11 PSRAM_A12 PSRAM_A13 PSRAM_A14 PSRAM_A15
ARD_D1 ARD_D0 PSRAM_NE UART1_RX
UART1_RTS ARD_D2 CTP_INT ARD_D8
C21 100nF
C97 100nF
C25 100nF
VREF+
C13 1uF
G11 H10
0R93
U5B
A4
B4 D3 D2 D1
E4
E3
L7 K7
J7 H7 N8 M8
L8
K8
J8
J6 H6 J12 J11 J10
J9
H9
B7
D6
E6
F6 G7 G6
C6
STM32L496AG
C14 100nF
PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15
PG0 PG1 PG2 PG3 PG4 PG5 PG6 PG7 PG8 PG9 PG10 PG11 PG12 PG13 PG14 PG15
L12 C13
A3
G13
G2 A8 N7
H13
N3
N11
C1
F12
B6
E2
L2
L1
E12
U5C
VDD_1 VDD_2 VDD_3 VDD_4 VDD_5 VDD_6 VDD_7 VDD_8 VDD_10 VDD_11 VDD_13
VDDIO_1 VDDIO_2
VBAT
VDDA_P
VREFP
VDD_USB
STM32L496AG
OPAMP1_ VINM OPAMP2_ VINM
VSSA/VREF-
PH10 PH11 PH12 PH13 PH14 PH15
PI10 PI11
PH2 PH4 PH5 PH6 PH7 PH8 PH9
PI0 PI1 PI2 PI3 PI4 PI5 PI6 PI7 PI8 PI9
VSS_1 VSS_2 VSS_3 VSS_4 VSS_5 VSS_7
VSS_8 VSS_10 VSS_12 VSS_13
VSSIO_1 VSSIO_2
A2 K9 L9 E11 D12 N10 D11 M9 M10 B13 C9 A13 B12
A12 B11 B10 C10 D10 E10 B9 B2 C11 B1 A1 C3
M1 N4
R43 1K5
STMOD+_INT I2C2_SCL DCMI_PIXLK MFX_WAKEUP LCD_TE DCMI_HSYNC DCMI_D0 DCMI_D1 DCMI_D2 DCMI_D3 ARD_D9 DCMI_D4 ARD_D3
LCD_BL
SPI2_MISO SPI2_MOSIs DCMI_D5 DCMI_VSYNC ARD_D6ARD_D7 DCMI_D7 JOY_UP JOY_LEFT JOY_DOWN ARD_D4
L13 C12 B3 H2 F2 M7 H12 M3 M11 C2
F13 A7
K2
VDD
MFX
MFX_IRQ_OUT
R42
MFX_WAKEUP
1K5
I2C2_SCL I2C2_SDA
Arduino
Camera
ST_LINK
STMOD+
Title:
MCU
STM32L496G-DISCOProject:
Size: Reference:
A3
Date: Sheet: of
2016/10/11
I2C
SCL SDA
ARD_A0 ARD_A1 ARD_A2 ARD_A3 ARD_A4 ARD_A5
ARD_D0 ARD_D1 ARD_D2 ARD_D3 ARD_D4 ARD_D5 ARD_D6 ARD_D7 ARD_D8 ARD_D9 ARD_D10 ARD_D11 ARD_D12 ARD_D13 ARD_D14 ARD_D15
DCMI_D[0..7]
DCMI_PIXLK
DCMI_HSYNC
DCMI_VSYNC
DCMI_CLK
USART2_TX USART2_RX
SWCLK SWDIO
SWO
SPI2_CLK SPI2_MISO SPI2_MOSI SPI2_CS
UART1_CTS UART1_TX UART1_RX UART1_RTS
I2C1_SDA
STMOD+_INT STMOD+_RESET STMOD+_ADC STMOD+_PWM SPI2_MOSIs SPI2_MISOs DFDATIN3 DFDATIN1 DF_CKOUT
MB1261 B.01
SPI
UART
I2C
CLK MISO MOSI CS
CTS TX RX RTS
SDA SCL
Revision:
STMOD+_RESET
10 14
MFX_IRQ_OUT
MFX_WAKEUP
MFX_I2C
ARD_A0 ARD_A1 ARD_A2 ARD_A3 ARD_A4 ARD_A5
ARD_D0 ARD_D1 ARD_D2 ARD_D3 ARD_D4 ARD_D5 ARD_D6 ARD_D7 ARD_D8
ARD_D9 ARD_D10 ARD_D11 ARD_D12 ARD_D13 ARD_D14 ARD_D15
DCMI_D[0..7]
DCMI_PIXCK
DCMI_HSYNC
DCMI_VSYNC
DCMI_CLK
USART_TX USART_RX
SWCLK
SWDIO
SWO
STMOD+_SPI
STMOD+_UART
STMOD+_I2CI2C1_SCL
STMOD+_INT
STMOD+_ADC
STMOD+_PWM STMOD+_MOSIs STMOD+_MISOs
DFDATIN3 DFDATIN1
DF_CKOUT
Page 50
50/61 DocID030176 Rev 1
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_NE PSRAM_NBL0
PSRAM_WE PSRAM_OE
PSRAM_D[0..15]
PSRAM_NBL1
PSRAM
PSRAM_NE PSRAM_NBL0 PSRAM_NBL1 PSRAM_WE PSRAM_OE
PSRAM_NBL0
PSRAM_NBL1
PSRAM_WE PSRAM_OE
PSRAM_A0
PSRAM_A1
PSRAM_A2
PSRAM_A3
PSRAM_A4
PSRAM_A5
PSRAM_A6
PSRAM_A7
PSRAM_A8
PSRAM_A9
PSRAM_A10
PSRAM_A11
PSRAM_A12
PSRAM_A13
PSRAM_A14
PSRAM_A15
PSRAM_A16
PSRAM_A17
PSRAM_A18
PSRAM_D0
PSRAM_D1
PSRAM_D2
PSRAM_D3
PSRAM_D4
PSRAM_D5
PSRAM_D6
PSRAM_D7
PSRAM_D8
PSRAM_D9
PSRAM_D10
PSRAM_D11
PSRAM_D12
PSRAM_D13
PSRAM_D14
PSRAM_D15
PD5 PD4
PD14
PD15
PD0
PD1
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
PD8
PD9
PD10
PF0
PF1
PF2
PF3
PF4
PF5
PF12
PF13
PF14
PF15
PG0
PG1
PD11
PD12
PD13
PG2
PG3
PG4
PG5
PE0 PE1
A4
B4
A3
B3
A2
A5
A1
A4
A0
A3
CS1
B5
I/O0
B6
I/O1
C5
I/O2
C6
I/O3
D5
VDD
D6
GND
D1
I/O4
E5
I/O5
F5
I/O6
F6
I/O7
G6
WE
G5
A16
E4
A15
F4
A14
F3
A13
G4
A12
G3
A11
H5
A10
H4
A9
H3
A8
H2
I/O8
B1
I/O9
C1
I/O10
C2
I/O11
D2
VDD
E1
I/O12
E2
I/O13
F2
I/O14
F1
I/O15
G1
LB
A1
UB
B2
OE
A2
A7
D4
A6
C4
A5
C3
A17
D3
A18
H1
GND
E6
CS2
A6
NC
G2
NC
E3
NC
H6
U4 IS66WV51216EBLL-70BLI
3.3V functional only
PSRAM_NEPG9
100nF
C16
100KR14
100KR13
100K
R15
100nF
C15
SB12
R12 0
JP9
3V3_LCD
PSRAM_VDD
PSRAM_VDD
PSRAM_VDD
VDD_LCD
0R129
R130 [N/A]

Figure 23. PSRAM

Electrical schematics UM2160
Page 51
DocID030176 Rev 1 51/61
DCMI_I2C
DCMI_D[0..7]
DCMI_PIXCK DCMI_HSYNC DCMI_VSYNC
DCMI_PWR_EN
DCMI_NRST
I2C
SDA
DCMI_CLK
SCL
DCMI_D[0..7]
DCMI_PIXCK DCMI_HSYNC DCMI_VSYNC
DCMI_PWR_EN DCMI_NRST
DCMI_I2C2_SDA DCMI_I2C2_SCL

Figure 24. Camera

VDD
22R100
DCMI_PWR_EN DCMI_NRST DCMI_I2C2_SDA
DCMI_I2C2_SCL
DCMI_D0 DCMI_D1 DCMI_D2 DCMI_D3 DCMI_D4 DCMI_D5 DCMI_D6 DCMI_D7
DCMI_PIXCK
DCMI_HSYNC
DCMI_VSYNC
Camera_CLK
VDD
PH9 PH10 PH11 PH12 PH14 PI4 PE5 PI7
PH5
PH8
PI5
MFX_GPIO6
PB14 PH4
C61 10uF
CN1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
FPU330ZH-BT1D3-CA
Camera can only work s under 3V3
C60 100nF
UM2160 Electrical schematics
Title:
Camera
STM32L496G-DISCOProject:
Size: Reference:
A4
Date: Sheet: of
2016/10/11
MB1261 B.01
Revision:
12 14
Page 52
52/61 DocID030176 Rev 1

Figure 25. STMod+ interface

Electrical schematics UM2160
UART
CTS
STMOD+_UART RX
STMOD+_SPI MISO
STMOD+_I2C
STMOD+_MOSIs
STMOD+_MISOs
RTS
SPI
MOSI
CLK
I2C
SCL
SDA
UART1_CTS
PG11
UART1_TX
PB6
TX
CS
UART1_RX
PG10
UART1_RTS
PG12
SPI2_CS
PG11
SPI2_MOSIp
PB15 PC2
SPI2_MISOp
PI2
SPI2_CLK
PI1
I2C1_SCL
PB8
PB7
I2C1_SDA
PI3
PD3
SB7 SB8 SB6
SB4 SB5 SB9
PMOD#1 PMOD#2 PMOD#3 PMOD#4
GND
PMOD#1 PMOD#2 PMOD#3 PMOD#4
GND GND +3V3 +3V3
CN2
1
11
2
12
3
13
4
14
5
15
6
16
7
17
8
18
9
19
10
20
SQT-110-01-F-D-RA
CN3
1
7
2
8
3
9
4
10
5
11
6
12
SSW-106-02-F-D-RA
PH2 PB2 PA4 PA0
+5V GND+5V
PMOD#11 PMOD#12
PMOD#11 PMOD#12
PC7
PB12
Title:
STMOD+ Interface
STM32L496G-DISCOProject:
Size: Reference:
A4
Date: Sheet: of
2016/10/11
STMOD+_INT
STMOD+_RESET
STMOD+_ADC
STMOD+_PWM
DFDATIN3 DF_CKOUT DFDATIN1
MB1261 B.01
Revision:
13 14
Page 53
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
SDA
SCL
I2C
CODEC_I2C
I2C2_SCL I2C2_SDA
SAI1_SCKA
SAI1_MCKA
SAI1_FSA SAI1_SDA SAI1_SDB
LRCK
1
SDA/CDIN
2
SCL/CCLK
3
AD0/CS
4
VA_HP
5
FLYP
6
GND_HP
7
FLYN
8
VSS_HP
9
AOUTB
10
AOUTA
11
VA
12
AGND
13
DAC_FILT+
14
VQ
15
ADC_FILT+
16
MICIN1/ AIN3A
17
MICIN2/ BIAS/AIN3B
18
AIN2A
19
AIN2B/BIAS
20
AFILTA
21
AFILTB
22
AIN1A
23
AIN1B
24
RESET
25
VL
26
VD
27
GND
28
SDOUT
29
MCLK
30
SCLK
31
SDIN
32
GND
33
U18
CS42L51-CNZ
AGND
22nFC76
AGND
10uF
C68
150pF
C64
AGND
+1V8
AGND
AGND
Audio_RST
AGND
AGND
I2C address of CS42L51 is 0x94 (AD0=0)
PC6
PB10
PE2
PE4 PE6 PE3
PH4 PB14
100nF
C73
1uF
C74
1uF
C77
1uFC79
1uFC78
low ESR ceramic capacitor
low ESR ceramic capacitor
1uFC67
1uF
C70
1uF
C69
100nFC5100nF
C72
100nF
C71
100K
R81
10K
R83
10KR91
2K2
R82
50R90
50R86
100nF
C66
0R80
1V8_CODEC
1V8_CODEC
VDD
SB19
SB18
GND5DOUT
4
CLK
3
VDD1LR
2
U2
MP34DT01TR-M
GND5DOUT
4
CLK
3
VDD1LR
2
U1
MP34DT01TR-M
PC7
PC2
DFSDM
DATIN3
CKOUT
DFSDM
CKOUT
DATIN3
MIC_VDD
PH1
100nF
C2
100nF
C1
10K
R78
SB17
GND3DOUT
1
CLK
4
VDD5LR
2
U16 [N/A]
GND3DOUT
1
CLK
4
VDD5LR
2
U17 [N/A]
C62
[N/A]
C63
[N/A]
R79 [N/A]
CKOUT
MIC_VDD
MIC_VDD
150pF
C65
must be C0G
22nFC75
DocID030176 Rev 1 53/61

Figure 26. Audio and DFSDM

UM2160 Electrical schematics
Page 54
54/61 DocID030176 Rev 1
PMOD+
+5V
PMOD#1-NSS/CTS PMOD#2-MOSIp/TX PMOD#3-MISOp/RX PMOD#4-SCK/RTS
PMOD#7-SCL PMOD#8-MOSIs PMOD#9-MISOs PMOD#10-SDA
PMOD#13 PMOD#14
PMOD#1 PMOD#4 PMOD#9 PMOD#8
PMOD#17 PMOD#18
PMOD#1 PMOD#2 PMOD#3 PMOD#4
PMOD#7 PMOD#8 PMOD#9 PMOD#10
+5V
Bread board connectors
CN12
1 2 3 4 5 6 7 8 9 10
PAD 1X8
CN1
1
11
2
12
3
13
4
14
5
15
6
16
7
17
8
18
9
19
10
20
TMM-110-01-L-D-RA
ATOM: PH200210C-07000
Only PAD for bread board connection
Mikrobus connectors
PMOD#13 PMOD#14
PMOD#1 PMOD#4 PMOD#9 PMOD#8
CN11
AN
1
RST
2
CS
3
SCK
4
MISO
5
MOSI
6
+3.3V
7
GND
8
Header 8X1_Female
PWM INT RX TX SCL SDA +5V GND
Header 8X1_Female
PMOD#11 PMOD#12 PMOD#13 PMOD#14
PMOD#17 PMOD#18 PMOD#19 PMOD#20
CN9
1 2 3 4 5 6 7 8 9
10
PAD 1X8
CN10
1 2 3 4 5 6 7 8
+5V+3V3
PMOD#11PMOD#12 PMOD#3 PMOD#2 PMOD#7 PMOD#10
PMOD#19 PMOD#20
PMOD#11PMOD#12 PMOD#3 PMOD#2 PMOD#7 PMOD#10

Figure 27. Fanout board

PMOD#11-INT PMOD#12-RST PMOD#13-ADC PMOD#14-PWM
PMOD#17-DF-D3 PMOD#18-DF-CK3 PMOD#19-DF-D7 PMOD#20-DF-CK7
+3V3
CN5
1 2
PAD 2
Only PAD for Power
+5V
CN6
1 2
PAD 2
+3V3
CN7
1 2
PAD 2
Only PAD for Power
+5V
CN8
1 2
PAD 2
VCC
T2
2
BSN20[N/A]
PMOD#7
PMOD#10
PMOD#7
PMOD#10
T1 BSN20[N/A]
SB2 Closed
SB1 Closed
G
SD
2
G
13
SD
I2C_SCL
I2C_SDA
ESP-01 connector
GND
PMOD#14
GPIO2 GPIO0
PMOD#11
TXD
PMOD#2
+5V +3V3
1uF_X5R_0603
C2
U1 LDK120M33R
Vin Vout
3
EN
GND
BYPASS
2
C1 100nF
TP1 Ground
4
C5 10nF_X7R_0603
R1
R2 4K7[N/A]
4K7[N/A]
13
CN4
1 2 3 4
Header 4X2A
51
I2C_SCL
I2C_SDA
+3V3
PMOD#3
5
PMOD#13
6
PMOD#12
7 8
C3 1uF_X5R_0603
C4 100nF
Title:
Fanout Board
STM32H7-DK-DBProject:
Size: Reference:
A4
Date: Sheet: of
5/5/2016
Grove connector
VCC
I2C_SCL I2C_SDA
support Grove- Barometer sensor (BMP180) support Grove- LCD RGB Backlight
RXD CH_PD RST VCC
MB1280 A.1
VCC
PMOD#3 PMOD#2
support Grove- NFC
+3V3+5V VCC
JP1
3
2
1
closed pin2 and pin3 for default
Revision:
11
CN3
1 2 3 4
1125S-SMT-4P
CN2
1 2 3 4
1125S-SMT-4P
SCL SDA
RX TX
Electrical schematics UM2160
Page 55
UM2160 PMOD and STMod+ schematic table

Appendix C PMOD and STMod+ schematic table

Tabl e 24 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 I
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
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
Tabl e 24:
2
C bus (pins 7 and
DocID030176 Rev 1 55/61
60
Page 56
56/61 DocID030176 Rev 1

Table 24. 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
­MOSI DFS1.C2/T15.2/RTC_REFIN MOSI2p 4 PB15
RX LT1.1/T15.1 RX1 8 PG10
­MISO T8.4 MISO2p 5 PI2
RTS LT1.E RTS1 6 PG12
-
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 - -
Note: SB stands for solder bridge. Text in bold refers to default (USART).
2 12 PB2 - RST RTC_OUT/LT1.O/DFS1.CI0 RST -
3 13 PA4 - ADC CK2/LT2.O - -
414PA0-PWM
T2.1/T5.1/T8.E/CTS2/TX4/T2.E/RTC_TAMP2/WKUP1
--
PMOD and STMod+ schematic table UM2160
Page 57
UM2160 Fanout board

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
connectors)
Reserved standard 2.54 mm pitch of STMod+ pin header for breadboard.

Figure 28. STMod+ Fanout module plugged into CN2 connector

Grove compatible connectors (CN3 and CN2: two 1x4-pin male
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.
Tabl e 25 below shows the definition of the pins.
DocID030176 Rev 1 57/61
60
Page 58
Fanout board UM2160
T
STMod+ connector
CN11 number
STMod+#13-ADC

Table 25. Description of the mikroBUS™ connector pins

(1)
Function of
mikroBUS
AN 1 1 PWM STMod+#14-PWM
Pin
number
Pin
number
Function of
mikroBUS
STMod+ connector
CN10 number
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
STMod+#8-MOSIs MOSI 6 6 SDA STMod+#10-SDA
- +3.3 V 7 7 +5 V -
-GND88GND -
1. Exclusive use: Arduino™ or STMod+.
2. Shared with Arduino™.
The mikroBUS™ pinout assignment is available at the: http://mikroe.com website.
(1)
(2)
(2)
58/61 DocID030176 Rev 1
Page 59
UM2160 Federal Communications Commission (FCC) and Industry Canada (IC) Compliance
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.
DocID030176 Rev 1 59/61
60
Page 60
Revision history UM2160

Revision history

Date Revision Changes
02-Mar-2017 1 Initial release

Table 26. Document revision history

60/61 DocID030176 Rev 1
Page 61
UM2160
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.
© 2017 STMicroelectronics – All rights reserved
DocID030176 Rev 1 61/61
61
Loading...