UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass...

87
January 2018 DocID030791 Rev 3 1/87 1 UM2248 User manual Evaluation board with STM32L4R9AI MCU Introduction The STM32L4R9I-EVAL board is designed as complete demonstration and development platform for the STMicroelectronics Arm ® Cortex ® -M4 core-based STM32L4R9AI microcontroller with four I²C buses, three SPI and six USART ports, CAN port, two SAI ports, 12-bit ADC, 12-bit DAC, internal 640-Kbyte SRAM and 2-Mbyte Flash memory, two Octo-SPI memory interfaces, touch-sensing capability, USB OTG FS port, LCD-TFT controller, MIPI ® DSI host controller, flexible memory controller (FMC), 8- to 14-bit camera interface and JTAG debugging support. The STM32L4R9I-EVAL, shown in Figure 3, Figure 4, and Figure 5, is used as a reference design for user application development before porting to the final product. The full range of hardware features on the board helps the user to evaluate all the peripherals (USB, USART, digital microphones, ADC and DAC, TFT LCD, MIPI DSI display, LDR, SRAM, NOR Flash memory device, Octo-SPI Flash memory device, microSD™ card, sigma-delta modulators, CAN transceiver, EEPROM) and develop applications. Extension headers allow easy connection of a daughterboard or wrapping board for a specific application. An ST-LINK/V2-1 is integrated on the board, as the embedded in-circuit debugger and programmer for the STM32 MCU and the USB virtual COM port bridge. www.st.com

Transcript of UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass...

Page 1: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

January 2018 DocID030791 Rev 3 1/87

1

UM2248User manual

Evaluation board with STM32L4R9AI MCU

Introduction

The STM32L4R9I-EVAL board is designed as complete demonstration and development platform for the STMicroelectronics Arm® Cortex®-M4 core-based STM32L4R9AI microcontroller with four I²C buses, three SPI and six USART ports, CAN port, two SAI ports, 12-bit ADC, 12-bit DAC, internal 640-Kbyte SRAM and 2-Mbyte Flash memory, two Octo-SPI memory interfaces, touch-sensing capability, USB OTG FS port, LCD-TFT controller, MIPI® DSI host controller, flexible memory controller (FMC), 8- to 14-bit camera interface and JTAG debugging support.

The STM32L4R9I-EVAL, shown in Figure 3, Figure 4, and Figure 5, is used as a reference design for user application development before porting to the final product.

The full range of hardware features on the board helps the user to evaluate all the peripherals (USB, USART, digital microphones, ADC and DAC, TFT LCD, MIPI DSI display, LDR, SRAM, NOR Flash memory device, Octo-SPI Flash memory device, microSD™ card, sigma-delta modulators, CAN transceiver, EEPROM) and develop applications. Extension headers allow easy connection of a daughterboard or wrapping board for a specific application.

An ST-LINK/V2-1 is integrated on the board, as the embedded in-circuit debugger and programmer for the STM32 MCU and the USB virtual COM port bridge.

www.st.com

Page 2: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Contents UM2248

2/87 DocID030791 Rev 3

Contents

1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

3 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

4 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

5 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

6 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

7 Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

8 Technology partners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

9 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

9.1 STM32L4R9I-EVAL board views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

9.2 Mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

9.3 ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

9.3.1 Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

9.3.2 ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

9.4 ETM trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

9.5 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

9.5.1 Supplying the board through ST-LINK/V2-1 USB port . . . . . . . . . . . . . . 20

9.5.2 Using ST-LINK/2-1 along with powering through CN18 power jack . . . 20

9.6 Clock references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

9.7 Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

9.8 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

9.8.1 Bootloader limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

9.9 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

9.9.1 Digital microphones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

9.9.2 Headphones outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

9.9.3 Limitations in using audio features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Page 3: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 3/87

UM2248 Contents

5

9.10 USB OTG FS port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

9.10.1 STM32L4R9I-EVAL used as USB device . . . . . . . . . . . . . . . . . . . . . . . 26

9.10.2 STM32L4R9I-EVAL used as USB host . . . . . . . . . . . . . . . . . . . . . . . . . 26

9.10.3 Limitations in using USB OTG FS port . . . . . . . . . . . . . . . . . . . . . . . . . 27

9.10.4 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

9.11 RS232 port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

9.11.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

9.12 microSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

9.12.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

9.12.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

9.13 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

9.13.1 Board modifications to enable motor control . . . . . . . . . . . . . . . . . . . . . 30

9.13.2 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

9.14 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

9.14.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

9.14.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

9.15 Extension connectors CN5, CN6, CN13 and CN14 . . . . . . . . . . . . . . . . . 34

9.16 User LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

9.17 Physical input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

9.17.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

9.18 Operational amplifier and comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

9.18.1 Operational amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

9.18.2 Comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

9.18.3 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

9.19 Analog input, output, VREF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

9.20 SRAM device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

9.20.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

9.20.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

9.21 NOR Flash memory device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

9.21.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

9.21.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

9.22 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

9.22.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

9.23 EXT_I2C connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

9.24 Octo-SPI Flash memory device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Page 4: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Contents UM2248

4/87 DocID030791 Rev 3

9.24.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

9.24.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

9.25 Octo-SPI DRAM device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

9.25.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

9.26 Touch-sensing button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

9.26.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.27 MFX MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

9.28 IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

9.29 DSI display (MIPI) connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

9.29.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

9.30 TFT LCD (RGB and FMC mode) connector . . . . . . . . . . . . . . . . . . . . . . . 44

9.30.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

9.31 PMOD connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

9.32 MB1314 DSI display board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

9.33 MB1315 TFT LCD board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

10 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

10.1 Motor-control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

10.2 External I2C connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

10.3 USB OTG FS Micro-AB connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . 50

10.4 Analog input-output connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

10.5 Extension connectors CN5, CN6, CN13 and CN14 . . . . . . . . . . . . . . . . . 51

10.6 RS232 connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

10.7 microSD connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

10.8 MFX programming connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

10.9 STDC14 connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

10.10 Trace debugging connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

10.11 TAG connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

10.12 DSI display connector CN16 (MIPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

10.13 JTAG connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

10.14 Power connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

10.15 ST-LINK/V2-1 programming connector CN19 . . . . . . . . . . . . . . . . . . . . . 61

10.16 TFT LCD connector CN20 (RGB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

10.17 ST-LINK/V2-1 USB Micro-B connector CN21 . . . . . . . . . . . . . . . . . . . . . 61

Page 5: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 5/87

UM2248 Contents

5

10.18 CAN D-type male connector CN22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

11 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

Appendix A I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Page 6: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

List of tables UM2248

6/87 DocID030791 Rev 3

List of tables

Table 1. Setting of configuration elements for trace connector CN12 . . . . . . . . . . . . . . . . . . . . . . . 19Table 2. Power supply related jumpers settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Table 3. X1 crystal related solder bridge settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Table 4. X2 crystal related solder bridge settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Table 5. Boot selection switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Table 6. Digital microphone-related jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Table 7. Motor-control terminal and function assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Table 8. CAN related jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Table 9. Port assignment for control of physical input devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Table 10. Configuration elements related with OpAmp1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Table 11. Configuration elements related with Comp2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Table 12. SRAM chip select configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Table 13. NOR Flash memory related jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Table 14. Configuration elements related with Octo-SPI Flash device. . . . . . . . . . . . . . . . . . . . . . . . 39Table 15. Touch-sensing-related configuration elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Table 16. MFX signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Table 17. IDD measurement related jumper setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Table 18. DSI display module connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Table 19. TFT LCD module connector CN20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Table 20. PMOD connector P1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Table 21. MB1314 board connector CN1 pin function description . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Table 22. MB1315 board connector CN1 pin function description . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Table 23. Motor-control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Table 24. EXT_I2C connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Table 25. USB OTG FS Micro-AB connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Table 26. Analog input-output connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Table 27. Daughter board extension connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Table 28. Daughter board extension connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Table 29. Daughter board extension connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Table 30. Daughter board extension connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Table 31. RS232 D-sub male connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Table 32. microSD connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Table 33. STDC14 debugging connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Table 34. Trace debugging connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Table 35. TAG debugging connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Table 36. JTAG/SWD debugging connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60Table 37. USB Micro-B connector CN21 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Table 38. CAN D-type 9-pin male connector CN22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Table 39. STM32L4R9I-EVAL I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80Table 40. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Page 7: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 7/87

UM2248 List of figures

7

List of figures

Figure 1. STM32L4R9I-EVAL hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 2. STM32L4R9I-EVAL board (top side) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 3. STM32L4R9I-EVAL board (top view) with round DSI display MB1314 daughterboard . . . 13Figure 4. STM32L4R9I-EVAL board (top view) with TFT LCD MB1315 daughterboard . . . . . . . . . . 14Figure 5. STM32L4R9I-EVAL board (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Figure 6. MB1313 STM32L4R9I-EVAL board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Figure 7. MB1314 DSI display daughterboard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Figure 8. USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Figure 9. PCB top-side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Figure 10. PCB bottom-side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Figure 11. Motor-control connector CN1 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49Figure 12. EXT_I2C connector CN2 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Figure 13. USB OTG FS Micro-AB connector CN3 (Front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Figure 14. Analog input-output connector CN4 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Figure 15. RS232 D-sub male connector (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Figure 16. microSD connector CN8 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Figure 17. STDC14 debugging connector CN11 (top view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Figure 18. ETM trace debugging connector CN12 (Top view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Figure 19. JTAG/SWD debugging connector CN17 (Top view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60Figure 20. Power-supply connector CN18 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Figure 21. USB Micro-B connector CN21 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Figure 22. CAN D-type 9-pin male connector CN22 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Figure 23. Overall schematics for the STM32L4R9I-EVAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Figure 24. STM32L4R9I-EVAL MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Figure 25. Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Figure 26. SRAM and NOR Flash memory devices and TFT LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Figure 27. Audio codec device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Figure 28. DSI display connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69Figure 29. Physical control peripherals, microSD card and EEPROM. . . . . . . . . . . . . . . . . . . . . . . . . 70Figure 30. Analog input and output and touch-sensing device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Figure 31. ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72Figure 32. IDD measurement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Figure 33. JTAG and trace debug connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74Figure 34. Motor-control connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Figure 35. USB OTG FS port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76Figure 36. USART, CAN transceiver and PMOD connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Figure 37. Octo-SPI Flash memory device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78Figure 38. Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

Page 8: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Features UM2248

8/87 DocID030791 Rev 3

1 Features

• STM32L4R9AII6 Arm-based microcontroller with 2 Mbytes of Flash memory and 640 Kbytes of RAM in a UFBGA169 package

• 1.2” 390x390 pixels MIPI DSI round LCD

• 4.3” 480x272 pixels TFT LCD with RGB mode

• Two ST-MEMS digital microphones

• 8-Gbyte microSD card bundled

• 16-Mbit (1 M x 16 bit) SRAM device

• 128-Mbit (8 M x 16 bit) NOR Flash memory device

• 512-Mbit Octo-SPI Flash memory device with double transfer rate (DTR) support

• 64-Mbit Octo-SPI SRAM memory device with HyperBus interface support

• EEPROM supporting 1 MHz I²C-bus communication speed

• Reset and wake-up / tamper buttons

• Joystick with four-way controller and selector

• Touch-sensing button

• Light-dependent resistor (LDR)

• Potentiometer

• Coin battery cell for power backup

• Board connectors:

– Two jack outputs for stereo audio headphone with independent content

– Slot for microSD card supporting SD and SDHC

– TFT LCD standard connector

– MIPI DSI display standard connector

– EXT_I2C connector supports I²C bus

– RS-232 port configurable for communication or MCU flashing

– USB OTG FS Micro-AB port

– CAN 2.0A/B-compliant port

– Connector for ADC input and DAC output

– JTAG/SWD connector

– ETM trace debug connector

– User interface through USB virtual COM port

– Embedded ST-LINK/V2-1 debug and flashing facility

– TAG connector

– STDC14 connector

– PMOD connector

• Board expansion connectors:

– Motor-control connector

– Extension connector for daughterboard

• Flexible power-supply options: power jack, ST-LINK/V2-1 USB connector, USB OTG FS connector, daughterboard

• On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability:

Page 9: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 9/87

UM2248 Product marking

86

mass storage, virtual COM port and debug port

• Microcontroller supply voltage: fixed 3.3 V or adjustable range from 1.71 V to 3.6 V

• MCU current consumption measurement circuit

• Access to comparator and operational amplifier of STM32L4R9AII6

• Comprehensive free software libraries and examples available with the STM32Cube package

• Support of a wide choice of integrated development environments (IDEs) including IAR™, Keil®, GCC-based IDEs

2 Product marking

Evaluation tools marked as “ES” or “E” are not yet qualified and therefore not ready to be used as reference design or in production. ST is not responsible for any consequences resulting from such use. In no event will ST be liable for the customer using any of these engineering samples 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 STM32 datasheet “Package information” paragraph at the www.st.com website).

• Next to the evaluation tool ordering part number that is stuck or silk-screen printed on the board.

This board features a specific STM32 device version which allows the operation of any stack or library. This STM32 device shows a “U” marking option at the end of the standard part number and is not available for sales.

3 System requirements

• Windows® OS (XP, 7, 8, 10) or Linux® or macOS®

• USB Type-A to Macro-B cable

4 Development toolchains

• Arm® Keil®: MDK-ARM™ (a)

• IAR™: EWARM(a)

• GCC-based IDEs (free AC6: SW4STM32, Atollic® TrueSTUDIO® (a) and others)

a. On Windows only

Page 10: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Demonstration software UM2248

10/87 DocID030791 Rev 3

5 Demonstration software

The demonstration software, included in the STM32Cube package corresponding to on-board MCU, is preloaded in the STM32 Flash memory for easy demonstration of the device peripherals in standalone mode. The latest versions of the demonstration source code and associated documentation are available from www.st.com.

6 Ordering information

To order the evaluation board based on the STM32L4R9AII6 MCU, use the order code STM32L4R9I-EVAL.

7 Delivery recommendations

Before the first use, make sure that, no damage occurred to the board during shipment and no socketed components are loosen in their sockets or fallen into the plastic bag.

In particular, pay attention to the following components:

1. microSD card in its CN8 receptacle

2. DSI display MB1314 daughterboard in its CN16 connector

For product information related with STM32L4R9AII6 microcontroller, visit www.st.com website.

8 Technology partners

MACRONIX: 512-Mbit Octo-SPI Flash, part number MX25LM51245GXDI00

Page 11: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 11/87

UM2248 Hardware layout and configuration

86

9 Hardware layout and configuration

The STM32L4R9I-EVAL board is designed around STM32L4R9AII6 target microcontroller in UFBGA 169-pin package. Figure 1 illustrates STM32L4R9AII6 connections with peripheral components. Figure 2 shows the location of main components on the evaluation board. Figure 3, Figure 4, and Figure 5 are the three images showing the STM32L4R9I-EVAL board top view with round DSI display, top view with TFT LCD, and bottom view.

Figure 1. STM32L4R9I-EVAL hardware block diagram

Page 12: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

12/87 DocID030791 Rev 3

Figure 2. STM32L4R9I-EVAL board (top side)

Page 13: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 13/87

UM2248 Hardware layout and configuration

86

9.1 STM32L4R9I-EVAL board views

Figure 3. STM32L4R9I-EVAL board (top view) with round DSI display MB1314 daughterboard

Picture is not contractual

Page 14: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

14/87 DocID030791 Rev 3

Figure 4. STM32L4R9I-EVAL board (top view) with TFT LCD MB1315 daughterboard

Picture is not contractual

Page 15: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 15/87

UM2248 Hardware layout and configuration

86

Figure 5. STM32L4R9I-EVAL board (bottom view)

Picture is not contractual

Page 16: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

16/87 DocID030791 Rev 3

9.2 Mechanical dimensions

Figure 6. MB1313 STM32L4R9I-EVAL board

Page 17: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 17/87

UM2248 Hardware layout and configuration

86

Figure 7. MB1314 DSI display daughterboard

9.3 ST-LINK/V2-1

ST-LINK/V2-1 facility for debug and flashing of STM32L4R9AII6, is integrated on the STM32L4R9I-EVAL board.

Compared to ST-LINK/V2 stand-alone tool available from STMicroelectronics, ST-LINK/V2-1 offers new features and drops some others.

New features:

• 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

Page 18: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

18/87 DocID030791 Rev 3

Features dropped:

• SWIM interface

The USB connector CN21 is usable to power STM32L4R9I-EVAL regardless of the ST-LINK/V2-1 facility use for debugging or for flashing STM32L4R9AII6. This holds also when ST-LINK/V2 stand-alone tool is connected to CN12 or CN17 or CN11 or CN15 connector and used for debugging or flashing STM32L4R9AII6. Section 9.5 provides more detail on powering STM32L4R9I-EVAL.For full detail on both versions of the debug and flashing tool, the stand-alone ST-LINK/V2 and the embedded ST-LINK/V2-1, refer to www.st.com.

9.3.1 Drivers

Before connecting STM32L4R9I-EVAL to a Windows (XP, 7, 8 10) PC via USB, a driver for ST-LINK/V2-1 must be installed. It is available from www.st.com.

In case the STM32L4R9I-EVAL board is connected to the PC before installing the driver, the Windows device manager may report some USB devices found on STM32L4R9I-EVAL as “Unknown”. To recover from this situation, after installing the dedicated driver downloaded from www.st.com, the association of “Unknown” USB devices found on STM32L4R9I-EVAL to this dedicated driver must be updated in the device manager manually. It is recommended to proceed using USB Composite Device line, as shown in Figure 8.

Figure 8. USB composite device

9.3.2 ST-LINK/V2-1 firmware upgrade

For its own operation, ST-LINK/V2-1 employs a dedicated MCU with Flash memory. Its firmware determines ST-LINK/V2-1 functionality and performance. The firmware may evolve during the life span of STM32L4R9I-EVAL to include new functionality, fix bugs or support new target microcontroller families. It is therefore recommended to keep ST-LINK/V2-1 firmware up to date. The latest version is available from www.st.com.

9.4 ETM trace

The connector CN12 is available to output trace signals used for debug. By default, the evaluation board is configured such that, STM32L4R9AII6 signals PE2, PE5 and PE6 are not connected to trace outputs Trace_CK, Trace_D2, and Trace_D3 of CN12. They are used for other functions.

Page 19: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 19/87

UM2248 Hardware layout and configuration

86

Table 1 shows the setting of configuration elements to shunt PE2, PE5 and PE6 MCU ports to CN12 connector, to use them as debug trace signals.

Warning: Enabling the CN12 trace outputs through hardware modifications described in Table 1 results in reducing the memory address bus width to 20 address lines and so the addressable space to 1 Mwords of 16 bits. As a consequence, the on-board SRAM and NOR Flash memory usable capacity is reduced to 16 Mbits.

9.5 Power Supply

The STM32L4R9I-EVAL board is designed to be powered from 5 V DC power source. It incorporates a precise polymer Zener diode (Poly-Zen) protecting the board from damage due to wrong power supply. One of the following four 5 V DC power inputs is usable with an appropriate board configuration:

• Power jack CN18, marked PSU_DC5V on the board. A jumper must be placed in E5V location of JP11. The positive pole is on the center pin as illustrated in Figure 20.

• Micro-B USB receptacle CN21 of ST-LINK/V2-1, provides up to 500mA to the board. Offering enumeration feature described in Section 9.5.1.

• Micro-AB USB receptacle CN3 of USB OTG interface, marked USB OTG_FS on the board, supplies up to 500mA to the board.

• Pin 39 of CN5 and Pin 39 of CN6 extension connectors for custom daughterboard, marked D5V on the board.

No external power supply is provided with the board.

LD7 red LED turns on when the voltage on the power line marked as +5 V is present. All supply lines required for the operation of the components on STM32L4R9I-EVAL are derived from that +5 V line.

Table 2 describes the setting of all jumpers related with powering STM32L4R9I-EVAL and extension board. VDD_MCU is STM32L4R9AII6 digital supply voltage line. It is possible to drive the boards with either fixed 3.3 V or with an adjustable voltage regulator controlled by RV3 potentiometer and producing a range of voltages between 1.71 V and 3.6 V.

Table 1. Setting of configuration elements for trace connector CN12

Element Setting Configuration

R53

SB56

R53 in

SB56 open

Default setting.

PE2 connected to memory address line A23.

R53 out

SB56 closedPE2 connected to Trace_CK on CN12. A23 pulled down.

R209

SB59

R209 in

SB59 open

Default setting.

PE5 connected to memory address line A21.

R209 out

SB59 closedPE5 connected to Trace_D2 on CN12. A21 pulled down.

R211

SB60

R211 in

SB60 open

Default setting.

PE6 connected to memory address line A22.

R211 out

SB60 closedPE6 connected to Trace_D3 on CN12. A22 pulled down.

Page 20: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

20/87 DocID030791 Rev 3

9.5.1 Supplying the board through ST-LINK/V2-1 USB port

To power STM32L4R9I-EVAL in this way, the USB host (a PC) gets connected with the STM32L4R9I-EVAL board’s Micro-B USB receptacle, via a USB cable. This event starts the USB enumeration procedure. In its initial phase, the host’s USB port current supply capability is limited to 100 mA. It is enough because only ST-LINK/V2-1 part of STM32L4R9I-EVAL draws power at that time. If the solder bridge SB33 is open, the U22 ST890 power switch is set to OFF position, which isolates the remainder of STM32L4R9I-EVAL 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 300 mA of current. If the answer is positive, the ST-LINK/V2-1 sets the U22 ST890 switch to ON position to supply power to the remainder of the STM32L4R9I-EVAL board. If the PC USB port is not capable of supplying up to 300 mA of current, the CN18 power jack is available to supply the board.

Should a short-circuit occur on the board, the ST890 power switch protects the USB port of the host PC against a current demand exceeding 600 mA, In such an event, the LD8 LED lights on.

The STM32L4R9I-EVAL board is also supply-able from a USB power source not supporting enumeration, such as a USB charger, as shown in Table 2. ST-LINK/V2-1 turns the ST890 power switch ON regardless of enumeration procedure result and passes the power unconditionally to the board.

The LD7 red LED turns on whenever the whole board is powered.

9.5.2 Using ST-LINK/2-1 along with powering through CN18 power jack

If the board requires more than 300 mA of supply current, this cannot be provided by host PC connected to ST-LINK/2-1 USB port, used for debugging or flashing STM32L4R9AII6. In such a case, the board is supplied through CN18 (marked PSU_DC5V on the board).

To do this, it is important to power the board before connecting it with the host PC, which requires the following sequence to be respected:

1. Set the jumper in JP11 header in E5V position

2. Connect the external 5 V power source to CN18

3. Check the red LED LD7 is turned on

4. Connect host PC to USB connector CN21

In case the board demands more than 300 mA and the host PC is connected via USB before the board is powered from CN18, there is a risk of the following events to occur, in the order of severity:

1. The host PC is capable of supplying 300 mA (the enumeration succeeds) but it does not incorporate any over-current protection on its USB port. It is damaged due to over-current.

2. The host PC is capable of supplying 300 mA (the enumeration succeeds) and it has a built-in over-current protection on its USB port, limiting or shutting down the power out of its USB port when the excessive current demand from STM32L4R9I-EVAL is detected. This causes an operating failure to STM32L4R9I-EVAL.

3. The host PC is not capable of supplying 300 mA (the enumeration fails) so ST-LINK/V2-1 does not supply the remainder of STM32L4R9I-EVAL from its USB port VBUS line.

Page 21: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 21/87

UM2248 Hardware layout and configuration

86

Table 2. Power supply related jumpers settings

Jumper / solder bridge

Setting Configuration

JP11

Power source selector

STM32L4R9I-EVAL is supplied through CN18 power jack (marked PSU_DC5V). CN5 and CN6 extension connectors do not pass the 5 V of STM32L4R9I-EVAL to daughterboard.

STM32L4R9I-EVAL is supplied through CN3 Micro-AB USB connector. CN5 and CN6 extension connectors do not pass the 5 V of STM32L4R9I-EVAL to daughterboard.

Default setting.

STM32L4R9I-EVAL is supplied through CN21 Micro-B USB connector. CN5 and CN6 extension connectors do not pass the 5 V of STM32L4R9I-EVAL to daughterboard.

STM32L4R9I-EVAL is supplied through pin 39 of CN5 and pin 39 of CN6 extension connectors.

STM32L4R9I-EVAL is supplied through CN18 power jack. CN5 and CN6 extension connectors pass the 5 V of STM32L4R9I-EVAL to daughterboard. Make sure to disconnect from the daughterboard, any power supply that may generate conflict with the power supply on CN18 power jack.

JP8

Vbat connection

Vbat is connected to battery.

Default setting.

Vbat is connected to VDD.

JP10

VDD_MCU

connection

Default setting.

VDD_MCU (VDD terminals of STM32L4R9AII6) is connected to fixed +3.3 V.

VDD_MCU is connected to voltage in the range from +1.71 V to +3.6 V, adjustable with potentiometer RV3.

JP1

VDD_USB connection

Default setting.

VDD_USB (VDDUSB terminal of STM32L4R9AII6) is connected with VDD_MCU.

VDD_USB is connected to +3.3 V.

Page 22: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

22/87 DocID030791 Rev 3

9.6 Clock references

Two clock references are available on STM32L4R9I-EVAL for STM32L4R9AII6 microcontroller.

• 32.768 kHz crystal X1, for embedded RTC

• 25 MHz crystal X2, for mail clock generator

The main clock generation is possible via an internal RC oscillator, disconnected by removing resistors R61 and R65 when internal RC clock is used.

JP2

VDDA connection

Default setting.

VDDA terminal of STM32L4R9AII6 is connected with VDD_MCU.

VDDA terminal of STM32L4R9AII6 is connected to +3.3 V.

JP3

VDD_IO connection

Default setting.

VDD_IO (VDDIO2 terminals of STM32L4R9AII6) is connected with VDD_MCU.

VDD_IO is open.

SB33

Powering through

USB of ST-LINK/V2-1

SB33 Off

Default setting.

Micro-B USB connector CN21 of ST-LINK/V2-1 is usable to supply power to the STM32L4R9I-EVAL board remainder, depending on host PC USB port’s powering capability declared in the enumeration.

SB33 OnMicro-B USB connector CN21 of ST-LINK/V2-1 supplies power to the STM32L4R9I-EVAL board remainder. Setting for powering the board through CN21 using USB charger.(1)

1. On all ST-LINK/V2-1 boards, the target application is now able to run even if the STLINK/V2-1 is either not connected to an USB host, or is powered through a USB charger (or through a not-enumerating USB host).

Table 2. Power supply related jumpers settings (continued)

Jumper / solder bridge

Setting Configuration

Table 3. X1 crystal related solder bridge settings

Solder bridge

Setting Configuration

SB50

OpenDefault setting.

PC14 OSC32_IN terminal is not routed to extension connector CN5. X1 is used as clock reference.

ClosedPC14 OSC32_IN is routed to extension connector CN5. Resistor R50 must be removed, for X1 quartz circuit not to disturb clock reference or source on daughterboard.

Page 23: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 23/87

UM2248 Hardware layout and configuration

86

9.7 Reset sources

The reset signal of STM32L4R9I-EVAL board is active low.

Sources of reset are listed below:

• reset button B2

• JTAG/SWD connector CN17, ETM trace connector CN12, STDC14 connector CN11 and TAG connector CN15 (reset from debug tools)

• reset through extension connector CN6 pin 27 (reset from daughterboard)

• embedded ST-LINK/V2-1

9.8 Boot option

After reset, the STM32L4R9AII6 MCU boot is available from the following embedded memory locations:

• main (user, non-protected) Flash memory

• system (protected) Flash memory

• RAM, for debugging

SB49

OpenDefault setting.

PC15 OSC32_OUT terminal is not routed to extension connector CN5. X1 is used as clock reference.

ClosedPC15 OSC32_OUT is routed to extension connector CN5. Resistor R49 must be removed, for X1 quartz circuit not to disturb clock reference on daughterboard.

Table 4. X2 crystal related solder bridge settings

Solder bridge

Setting Configuration

SB52

OpenDefault setting.

PH0 OSC_IN terminal is not routed to extension connector CN5. X2 is used as clock reference.

ClosedPH0 OSC_IN is routed to extension connector CN5. Resistor R61 must be removed, in order not to disturb clock reference or source on daughterboard.

SB53

OpenDefault setting.

PH1 OSC_OUT terminal is not routed to extension connector CN5. X2 is used as clock reference.

ClosedPH1 OSC_OUT is routed to extension connector CN5. Resistor R65 must be removed, in order not to disturb clock reference or source on daughterboard.

Table 3. X1 crystal related solder bridge settings (continued)

Solder bridge

Setting Configuration

Page 24: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

24/87 DocID030791 Rev 3

The boot option is configured by setting switch SW1 (BOOT) and the boot base address programmed in the nBOOT1, nBOOT0 and nSWBOOT0 of FLASH_OPTR option bytes.

9.8.1 Bootloader limitations

Boot from system Flash memory results in executing bootloader code stored in the system Flash memory protected against writing and erasing. This allows in-system programming (ISP), that is, flashing the STM32 user Flash memory. It also allows writing data into RAM. The data come in via one of communication interfaces such as USART, SPI, I2C bus, USB or CAN.

Bootloader version is identified by reading the Bootloader ID at the address 0x1FFF6FFE: the content is 0x91 for bootloader V9.1 and 0x92 for V9.2.

The STM32L4R9AII6 part soldered on the STM32L4R9I-EVAL main board is marked with a date code corresponding to its date of manufacturing. STM32L4R9AII6 parts with a date code prior or equal to week 37 of 2017 are fitted with bootloader V9.1 affected by the limitations to be worked around, as described hereunder. Parts with the date code starting from week 38 of 2017 contain bootloader V9.2 in which the limitations no longer exist.

To locate the visual date code information on the STM32L4R9II6 package, refer to its datasheet (DS12023) available at www.st.com, section Package Information. Date code related portion of the package marking takes Y WW format, where Y is the last digit of the year and WW is the week. For example, a part manufactured in week 38 of 2017 bares the date code 7 38.

There is also another mean to identify the need for workaround: before opening the blister of the Discovery Kit, just check the back side of the blister. At the bottom left side, if the reference number is equal or higher than 32L4R9IDISCO/ 02-0, it means the bootloader version is V9.2 and there is no need to apply workaround. Any other inferior number like 01-0 will need the workaround.

Bootloader ID for the bootloader V9.1 is 0x91.

The following limitation exists in the bootloader V9.1:

Some user Flash memory data get corrupted when written via SPI interface

Description:

During bootloader SPI Write Flash operation, some random 64-bits (2 double-words) may be left blank at 0xFF

Workarounds:

Table 5. Boot selection switch

Switch Setting Description

SW1

Default setting.

BOOT0 line is tied low. STM32L4R9AII6 boots from main Flash memory or system memory.

BOOT0 line is tied high. STM32L4R9AII6 boots from system Flash memory (nBOOT1 bit of FLASH_OPTR register is set high) or from RAM (nBOOT1 is set low).

Page 25: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 25/87

UM2248 Hardware layout and configuration

86

WA1: add a delay between sending Write command and its ACK request. Its duration should be the duration of the 256-Byte Flash write time.

WA2: read back after each write operation (256 bytes or at end of user code flashing) and in case of error start write again.

WA3: Using bootloader, load a patch code in RAM to write in Flash memory through same Write Memory write protocol as bootloader (code provided by ST).

9.9 Audio

A codec connected to STM32L4R9AII6 SAI interface supports DSAI port TDM feature. This offers STM32L4R9AII6 the capability to simultaneously stream two independent stereo audio channels to two separate stereo analog audio outputs.

There are two digital microphones on STM32L4R9I-EVAL board.

9.9.1 Digital microphones

U30 and U31 on STM32L4R9I-EVAL board are MP34DT01TR MEMS digital omnidirectional microphones providing PDM (pulse density modulation) outputs. To share the same data line, their outputs are interlaced. The combined data output of the microphones is directly routed to STM32L4R9AII6 terminals, thanks to the integrated input digital filters. The microphones are supplied with programmable clock generated directly by STM32L4R9AII6.

As an option, the microphones is connected to U26, Wolfson audio codec device, WM8994. In that configuration, U26 also supplies the PDM clock to the microphones.

Regardless of where the microphones are routed to, STM32L4R9AII6 or WM8994, their power supplier is either VDD or MICBIAS1 output of the WM8994 codec device.

Table 6 shows settings of all jumpers associated with the digital microphones on the board.

Table 6. Digital microphone-related jumper settings

Jumper Setting Configuration

JP16

PDM clock for digital microphones comes from WM8994 codec.

Default setting.

PDM clock for digital microphones comes from STM32L4R9AII6.

JP15

Power supply of digital microphones is generated by WM8994 codec.

Default setting.

Power supply of digital microphones is VDD.

Page 26: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

26/87 DocID030791 Rev 3

9.9.2 Headphones outputs

The STM32L4R9I-EVAL board potentially drives two sets of stereo headphones. Identical or different stereo audio content are played back in each set of headphones. STM32L4R9AII6 sends up to two independent stereo audio channels, via its SAI1 TDM port, to the WM8994 codec device. The codec device converts the digital audio stream to stereo analog signals. It then boosts them for direct drive of headphones connecting to 3.5 mm stereo jack receptacles on the board, CN24 for Audio-output1 and CN23 for Audio_output2.

The CN23 jack takes its signal from the output of the WM8994 codec device intended for driving an amplifier for loudspeakers. A hardware adaptation is incorporated on the board to make it compatible with a direct headphone drive. The adaptation consists of coupling capacitors blocking the DC component of the signal, attenuator and anti-pop resistors. The loudspeaker output of the WM8994 codec device must be configured by software in linear mode called “class AB” and not in switching mode called “class D”.

The I²C-bus address of WM8994 is 0b0011 010x.

9.9.3 Limitations in using audio features

Due to the share of some terminals of STM32L4R9AII6 by multiple peripherals, the following limitations apply in using the audio features:

• If the SAI1_MCLKA and SAI1_FSA are used as part of SAI1 port, it cannot be used as CAN peripheral.

• If the SAI1_SDB is used as part of SAI1 port, it cannot be used as Comp2_OUT signal.

• If the SAI1 port of STM32L4R9AII6 is used for streaming audio to the WM8994 codec IC, STM32L4R9AII6 cannot control the motor.

• If the digital microphones are attached to STM32L4R9AII6, control the motor cannot be driven.

9.10 USB OTG FS port

The STM32L4R9I-EVAL board supports USB OTG full-speed (FS) communication. The USB OTG connector CN3 is Micro-AB type.

9.10.1 STM32L4R9I-EVAL used as USB device

When a “USB host” connection to the CN3 Micro-AB USB connector of STM32L4R9I-EVAL is detected, the board starts behaving as “USB device”. Depending on the powering capability of the USB host, the board potentially takes power from VBUS terminal of CN3. In the board schematic diagrams, the corresponding power voltage line is called U5V.

Section 9.5 provides information on how to set associated jumpers for this powering option. The resistor R23 must be left open to prevent STM32L4R9I-EVAL from sourcing 5 V to VBUS terminal, which would cause conflict with the 5 V sourced by the USB host. This may happen if the MFX_GPIO6 is controlled by the software of the MFX MCU such that, it enables the output of U2 power switch.

9.10.2 STM32L4R9I-EVAL used as USB host

When a “USB device” connection to the CN3 Micro-AB USB connector is detected, the STM32L4R9I-EVAL board starts behaving as “USB host”. It sources 5 V on the VBUS

Page 27: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 27/87

UM2248 Hardware layout and configuration

86

terminal of CN3 Micro-AB USB connector to power the USB device. For this to happen, the STM32L4R9AII6 sets the U2 power switch STMPS2151STR to ON state. The LD6 green LED marked OTG_FS indicates that the peripheral is supplied from the board. The LD5 red LED marked FS_OC lights up if over-current is detected. The resistor R23 must be closed to allow the MFX_GPIO6 from MFX MCU to control the U2 power switch.

In any other STM32L4R9I-EVALpowering option, the resistor R23 must be open, to avoid accidental damage caused to an external USB host.

9.10.3 Limitations in using USB OTG FS port

The USB OTG FS port operation is exclusive with motor control

9.10.4 Operating voltage

The USB-related operating supply voltage of STM32L4R9AII6 (VDD_USB line) must be within the range from 3.0 V to 3.6 V.

9.11 RS232 port

The STM32L4R9I-EVAL board offers one RS-232 communication port. The RS-232 communication port uses the DB9 male connector CN7. RX, TX, RTS and CTS signals of LPUSART1 port of STM32L4R9AII6 are routed to CN7.

9.11.1 Operating voltage

The RS-232 operating supply voltage of STM32L4R9AII6 (VDD line) must be within the range from 1.71 V to 3.6 V.

9.12 microSD card

The CN8 slot for microSD card is routed to STM32L4R9AII6 SDIO port, accepting SD (up to 2 Gbytes) and SDHC (up to 32 Gbytes) cards. One 8-Gbyte microSD card is delivered as part of STM32L4R9I-EVAL. The card insertion switch is routed to the MFX_GPIO5 of MFX MCU port.

9.12.1 Limitations

Due to the share of SDIO port, the following limitations apply:

• The microSD card cannot be operated simultaneously with motor control.

• The microSD card cannot be operated for 4 bits date when SDIO_D1 and SDIO_D2 used as Trace_D0 and Trace_D1 signals.

9.12.2 Operating voltage

The supply voltage for STM32L4R9I-EVAL microSD card operation must be within the range from 2.7 V to 3.6 V.

Page 28: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

28/87 DocID030791 Rev 3

9.13 Motor control

The CN1 connector is designed to receive a motor-control (MC) module. Table 7 shows the assignment of CN1 and STM32L4R9AII6 terminals.

Table 7 also lists the modifications to be made on the board versus its by-default configuration. See Section 9.13.1 for further details.

Table 7. Motor-control terminal and function assignment

Motor-control connector CN1

STM32L4R9AII6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

1Emergency

StopPI4 TIM8_BKIN -

Close SB3.

Remove R234.

2 GND - GND - -

3 PWM_1H PC6 TIM8_CH1 -Close SB21.

Remove R44 or no daughterboard.

4 GND - GND - -

5 PWM_1L PH13 TIM8_CH1N -Close SB46.

Remove R186.

6 GND - GND - -

7 PWM_2H PC7 TIM8_CH2 -

Close SB19.

Open SB20.

Remove R46 or no daughterboard.

8 GND - GND - -

9 PWM_2L PH14 TIM8_CH2N -Close SB44.

Remove R185.

10 GND - GND - -

11 PWM_3H PC8 TIM8_CH3 -Close SB2.

Remove R195.

12 GND - GND - -

13 PWM_3L PH15 TIM8_CH3N -Close SB45.

Remove R184.

14 Bus Voltage PC4 ADC1_IN13 -Close SB55.

Remove R75.

15PhaseA current+

PC0 ADC1_IN1 -Close SB36.

Remove R242.

16PhaseA current-

- GND - -

Page 29: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 29/87

UM2248 Hardware layout and configuration

86

17PhaseB current+

PC1 ADC1_IN2 -Close SB37.

Remove R244.

18PhaseB current-

- GND - -

19PhaseC current+

PC2 ADC1_IN3 -Close SB43.

Remove R217.

20PhaseC current-

- GND - -

21 ICL Shutout PG9 GPIO -Close SB34.

Remove R236.

22 GND - GND - -

23Dissipative

BrakePG13 GPIO -

Close SB47.

Remove SB29 and no board on PMOD connector.

24PFC ind.

curr.PA0 ADC1_IN5 -

Close SB38

Remove R214 and SB39

25 +5V - +5V - -

26Heatsink

Temp.PA1 ADC1_IN6 -

Close SB40.

Remove R216.

27 PFC Sync PB14 TIM15_CH1 -Close SB41.

Remove R207 and no board on PMOD connector.

28 +3.3V - +3.3V - -

29 PFC PWM PB15 TIM15_CH2 -Close SB51.

Remove R187.

30PFC

ShutdownPA9 TIM15_BKIN -

Close SB35.

Remove R203.

31 Encoder A PB6 TIM4_CH1 ADC12_IN

Close SB14.

Remove SB15 and SB16.

Remove R26 or no daughterboard.

32 PFC Vac PC3 ADC1_IN4 -Close SB54.

Remove R67.

Table 7. Motor-control terminal and function assignment (continued)

Motor-control connector CN1

STM32L4R9AII6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

Page 30: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

30/87 DocID030791 Rev 3

9.13.1 Board modifications to enable motor control

Figure 9 (top side) and Figure 10 (bottom side) illustrate the board modifications listed in Table 7, required for the operation of motor control. Red color denotes a component to be removed. Green color denotes a component to be fitted.

9.13.2 Limitations

Motor-control operation is exclusive with Octo-SPIP1 Flash memory device, audio codec, potentiometer, LDR, microSD card, LED1 to LED4 drive, MEMS, MFX, PMOD, USB OTG_FS, TFT LCD connector, DSI display connector and touch sensing.

33 Encoder B PB7 TIM4_CH2 ADC12_IN

Close SB17.

Remove SB18.

Remove R30 or no daughterboard.

34Encoder

IndexPB8 TIM4_CH3 ADC12_IN

Close SB42.

Remove R235 and open JP12.

Table 7. Motor-control terminal and function assignment (continued)

Motor-control connector CN1

STM32L4R9AII6 microcontroller

TerminalTerminal

namePort

nameFunction

Alternate

functionBoard modifications for enabling motor control

Page 31: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 31/87

UM2248 Hardware layout and configuration

86

Figure 9. PCB top-side rework for motor control

Page 32: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

32/87 DocID030791 Rev 3

Figure 10. PCB bottom-side rework for motor control

Page 33: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 33/87

UM2248 Hardware layout and configuration

86

9.14 CAN

The STM32L4R9I-EVAL board supports one CAN2.0A/B channel compliant with CAN specification. The CN22 DB9 male connector is available as CAN interface.

A 3.3 V CAN transceiver is fitted between the CN22 connector and the CAN controller port of STM32L4R9AII6.

The JP14 jumper selects one of high-speed, standby and slope control modes of the CAN transceiver. The JP13 jumper allows to integrate a CAN termination resistor. The JP12 is used to connected CAN transceiver avoiding unknown signals from CAN transceiver.

9.14.1 Limitations

CAN operation is exclusive with Audio codex and MC operation.

9.14.2 Operating voltage

The supply voltage for STM32L4R9I-EVAL CAN operation must be within the range from 3.0 V to 3.6 V.

Table 8. CAN related jumpers

Jumper Setting Configuration

JP14

Default setting.

CAN transceiver operates in high-speed mode.

CAN transceiver is in standby mode.

JP13

Default setting.

Termination resistor fitted on CAN physical link.

No termination resistor on CAN physical link.

JP12

Default setting.

CAN_TX is not used for CAN transceiver.

CAN_TX is used from STM32L4R9AII6 termina.l

Page 34: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

34/87 DocID030791 Rev 3

9.15 Extension connectors CN5, CN6, CN13 and CN14

The CN5, CN6, CN13 and CN14 headers complement to give access to all GPIOs of the STM32L4R9AII6 microcontroller. In addition to GPIOs, the following signals and power supply lines are also routed on CN5 or CN6 or CN13 or CN14:

• GND

• +5 V

• +3.3 V

• D5V

• VDD

• RESET#

• Clock terminals PC14-OSC32_IN, PC15-OSC32_OUT, PH0-OSC_IN, PH1-OSC_OUT

Each header has two rows of 20 pins, with 1.27 mm pitch and 2.54 mm row spacing. For extension modules, SAMTEC RSM-120-02-L-D-xxx and SMS-120-x-x-D are recommendable as SMD and through-hole receptacles, respectively (x is a wild card).

9.16 User LEDs

Four general-purpose color LEDs (LD1, LD2, LD3, LD4) are available as light indicators. Each LED is in light-emitting state with low level of the corresponding ports of STM32L4R9AII6.

And the four LEDs are exclusive with MC operation.

9.17 Physical input devices

The STM32L4R9I-EVAL board provides a number of input devices for physical human control, listed below:

• four-way joystick controller with select key (B1)

• wake-up/ tamper button (B3)

• reset button (B2)

• 10 kΩ potentiometer (RV2)

• light-dependent resistor, LDR (R121)

The potentiometer and the light-dependent resistor are mutually exclusively rout-able to either PB4 or to PA0 port of STM32L4R9AII6. Table 9 depicts the setting of associated configuration jumpers.

As illustrated in the schematic diagram in Figure 30, the PB4 port is routed, in the STM32L4R9AII6, to the non-inverting input of comparator Comp2. The PA0 is routed to non-inverting input of operational amplifier OpAmp1.

Page 35: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 35/87

UM2248 Hardware layout and configuration

86

9.17.1 Limitations

The potentiometer and the light-dependent resistor are exclusive with MFX, Audio codex, OctoSPIP1, Debugging connector and MC operation. They are mutually exclusive.

9.18 Operational amplifier and comparator

9.18.1 Operational amplifier

STM32L4R9AII6 provides two on-board operational amplifiers, one of which, OpAmp1, is made accessible on STM32L4R9I-EVAL. OpAmp1 has its inputs and its output routed to I/O ports PA0, PA1 and PA3, respectively. The non-inverting input PA0 is accessible on the terminal 1 of the JP5 jumper header. On top of the possibility of routing either of the potentiometer or LDR to PA0, an external source is also connectible to it, using the terminal 1 of JP5.

The PA3 output of the operational amplifier is accessible on test point TP9. Refer to the schematic diagram in Figure 30.

The gain of OpAmp1 is determined by the ratio of the variable resistor RV1 and the resistor R246, as shown in the following equation:

Gain = 1 + RV1 / R246

With the RV1 ranging from 0 to 10 kΩ and R246 being 1 kΩ, the gain varies from 1 to 11.

Table 9. Port assignment for control of physical input devices

Jumper Setting Routing

JP9

Potentiometer is routed to pin PB4 o fSTM32L4R9AII6.

JP5

JP9

Default setting.

Potentiometer is routed to pin PA0 of STM32L4R9AII6.JP5

JP9

LDR is routed to pin PB4 of STM32L4R9AII6.

JP5

JP9

LDR is routed to pin PA0 of STM32L4R9AII6.

JP5

Page 36: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

36/87 DocID030791 Rev 3

The R108 resistor in series with PA0 is beneficial for reducing the output offset.

Table 10 shows the configuration elements and their settings allowing to access the OpAmp1 function.

9.18.2 Comparator

STM32L4R9AII6 provides two on-board comparators, one of which, Comp2, is made accessible on STM32L4R9I-EVAL. Comp2 has its non-inverting input and its output routed to I/O ports PB4 and PB5, respectively. The input is accessible on the terminal 3 of the JP5 jumper header. On top of the possibility of routing either the potentiometer or LDR to PB4, an external source is connectible to it, using the terminal 3 of JP5.

The PB5 output of the comparator is accessible on test point TP6. Refer to the schematic diagram in Figure 30.

Table 11 shows the configuration elements and their settings allowing to access the Comp2 function.

Table 10. Configuration elements related with OpAmp1

Element Setting Configuration

SB39

SB38

R214

SB38 open

SB39 closed

R214 out

OpAmp1_INP is routed to pin PA0 of STM32L4R9AII6.

SB38 open

SB39 closed

R214 in

Default setting.

PA0 port of STM32L4R9AII6 is routed to MFX_IRQ_OUT or motor control signal.

SB38 closed

SB39 open

R214 out

PA0 port of STM32L4R9AII6 is routed to motor control signal.

R216

SB40

R216 in

SB40 open

Default setting.

OpAmp1_INM is routed to pin PA1 of STM32L4R9AII6.

R216 out

SB40 closedPA1 port of STM32L4R9AII6 is routed to motor control signal.

R215

R221

R215 in

R221 outOpAmp1_VOUT is routed to pin PA3 of STM32L4R9AII6.

R215 out

R221 in

Default setting.

OpAmp1_VOUT is not routed to pin PA3 of STM32L4R9AII6. PA3 port of STM32L4R9AII6 is routed to OctoSPI1_CLK.

Table 11. Configuration elements related with Comp2

Element Setting Configuration

R200

SB22

R200 out

SB22 closed

Default setting.

Comp2_INP is routed to pin PB4 of STM32L4R9AII6.

R200 in

SB22 openPB4 port of STM32L4R9AII6 is routed to TRST signal.

Page 37: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 37/87

UM2248 Hardware layout and configuration

86

9.18.3 Limitations

The OpAmp1 is exclusive with MFX, OctoSPIP1, and MC operation.

The Comp2 is exclusive with Debugging connector and SAI1.

9.19 Analog input, output, VREF

STM32L4R9AII6 provides on-board analog-to-digital converter, ADC and digital-to-analog converter, DAC. The port PA4 is configurable to operate either as ADC input or as DAC output. PA4 is routed to the two-way header CN4 allowing to fetch signals to or from PA4 or to ground it by fitting a jumper into CN4.

Parameters of the ADC input low-pass filter formed with R31 and C21 are adjustable by replacing these components according to application requirements. Similarly, parameters of the DAC output low-pass filter formed with R32 and C21 are modifiable by replacing these components according to application requirements.

The VREF+ terminal of STM32L4R9AII6 is used as reference voltage for both ADC and DAC. By default, it is routed to VDDA through a jumper fitted into the two-way header CN10. The jumper is removable and an external voltage applied to the terminal 1 of CN10, for specific purposes.

9.20 SRAM device

IS61WV102416BLL, a 16-Mbit static RAM (SRAM), 1 M x 16 bit, is fitted on the STM32L4R9I-EVAL main board, in U17 position. The STM32L4R9I-EVAL main board, as well as the addressing capabilities of FMC, allow hosting SRAM devices up to 64 Mbytes. This is the reason why the schematic diagram in Figure 26 mentions several SRAM devices.

The SRAM device is attached to the 16-bit data bus and accessed with FMC. The base address is 0x6000 0000, corresponding to NOR/SRAM1 bank1. The SRAM device is selected with FMC_NE1 chip select. FMC_NBL0 and FMC_NBL1 signals allow selecting 8-bit and 16-bit data word operating modes.

By removal of R134, a zero-ohm resistor, the SRAM is deselected and the STM32L4R9AII6 ports PD7, PE0 and PE1 corresponding to FMC_NE1, FMC_NBL0 and FMC_NBL1 signals, respectively, are usable for other application purposes.

R204

SB48

R204 out

SB48 openComp2_OUT is routed to pin PB5 of STM32L4R9AII6.

R204 in

SB48 closed

Default setting.

Comp2_OUT is not routed to pin PB4 of STM32L4R9AII6. PB4 port of STM32L4R9AII6 is routed to SAI1_SDB.

Table 11. Configuration elements related with Comp2 (continued)

Element Setting Configuration

Page 38: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

38/87 DocID030791 Rev 3

.

9.20.1 Limitations

The SRAM addressable space is limited if some or all of A21 FMC address lines is shunted to the CN12 connector for debug trace purposes. In such a case, the disconnected addressing inputs of the SRAM device are pulled down by resistors. Section 9.4 provides information on the associated configuration elements.

9.20.2 Operating voltage

The SRAM device operating voltage is in the range from 2.4 V to 3.6 V.

9.21 NOR Flash memory device

M29W128GL70ZA6E, a 128-Mbit NOR Flash memory, 8 M x16 bit, is fitted on the STM32L4R9I-EVAL main board, in U11 position. The STM32L4R9I-EVAL main board, as well as the addressing capabilities of FMC, allow hosting M29W256GL70ZA6E, a 256-Mbit NOR Flash memory device. This is the reason why the schematic diagram in Figure 26 mentions both devices.

The NOR Flash memory device is attached to the 16-bit data bus and accessed with FMC. The base address is 0x6800 0000, corresponding to NOR/SRAM2 bank1. The NOR Flash memory device is selected with FMC_NE3 chip select signal. 16-bit data word operation mode is selected by a pull-up resistor connected to BYTE terminal of NOR Flash memory. The jumper JP6 is dedicated for write protect configuration.

By default, the FMC_NWAIT signal is not routed to RB port of the NOR Flash memory device, and, to know its ready status, its status register is polled by the demo software fitted in STM32L4R9I-EVAL. This is modifiable with configuration elements, as shown in Table 13.

9.21.1 Limitations

The NOR Flash memory device’s addressable space is limited if some or all of A21, A22 and A23 FMC address lines are shunted to the CN12 connector for debug trace purposes. In such

Table 12. SRAM chip select configuration

Resistor Fitting Configuration

R134

InDefault setting.

SRAM chip select is controlled with FMC_NE1

OutSRAM is deselected. FMC_NE1 is freed for other application purposes.

Table 13. NOR Flash memory related jumper

Jumper Setting Configuration

JP6

Default setting.

NOR Flash memory write is enabled.

NOR Flash memory write is inhibited. Write protect is activated.

Page 39: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 39/87

UM2248 Hardware layout and configuration

86

a case, the disconnected addressing inputs of the NOR Flash memory device are pulled down by resistors. Section 9.4 provides information on the associated configuration elements.

9.21.2 Operating voltage

NOR Flash memory operating voltage must be in the range from 1.65 V to 3.6 V.

9.22 EEPROM

M24128-DFDW6TP, a 128-Kbit I²C-bus EEPROM device, is fitted on the main board of STM32L4R9I-EVAL, in U3 position. It is accessed with I²C-bus lines I2C2_SCL and I2C2_SDA of STM32L4R9AII6. It supports all I²C-bus modes with speeds up to 1 MHz. The base I²C-bus address is 0xA0. Write-protecting the EEPROM is possible through opening the SB13 solder bridge. By default, SB13 is closed and writing into the EEPROM enabled.

9.22.1 Operating voltage

The M24128-DFDW6TP EEPROM device’s operating voltage must be in the range from 1.7 V to 3.6 V

9.23 EXT_I2C connector

EXT_I2C CN2 connected to I²C bus daughterboard is possible. MFX_GPIO8 of MFX MCU provides EXT_RSET signal, and solder bridge SB12 is used to connector +5 V power supply for daughterboard.

9.24 Octo-SPI Flash memory device

MX25LM51245GXDI00, a 512-Mbit Octo-SPI Flash memory device, is fitted on the STM32L4R9I-EVAL main board, in U6 position. It allows evaluating STM32L4R9AII6 Octo-SPI interface.

MX25LM51245GXDI00 operates in single transfer rate (STR) or double transfer rate (DTR) mode.

Table 14 shows the configuration elements and their settings allowing to access the Octo-SPI Flash memory device.

.

Table 14. Configuration elements related with Octo-SPI Flash device

Element Setting Configuration

R221

R215

R221 in

R215 out

Default setting.

OctoSPI1_CLK is available at Octo-SPI Flash memory device.

R221 out

R215 inOctoSPI1_CLK is not available at Octo-SPI Flash memory device. PA3 port of STM32L4R9AII6 is routed to OpAmp1_Vout signal.

Page 40: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

40/87 DocID030791 Rev 3

9.24.1 Limitations

Octo-SPI Flash memory device operation is exclusive with OpAmp1 and with motor control.

9.24.2 Operating voltage

Voltage of Octo-SPI Flash memory device MX25LM51245GXDI00 is in the range of 2.7 V to 3.6 V.

9.25 Octo-SPI DRAM device

IS66WVH8M8BLL-100BLI, a 64-Mbit self-refresh dynamic RAM (DRAM) device with a HyperBus interface, is fitted on the STM32L4R9I-EVAL main board, in U5 position. It allows evaluating STM32L4R9AII6 Octo-SPI interface.

9.25.1 Operating voltage

Voltage of Octo-SPI DRAM device IS66WVH8M8BLL-100BLI is in the range of 2.7 V to 3.6 V.

9.26 Touch-sensing button

The STM32L4R9I-EVAL board supports a touch sensing button based on either RC charging or on charge-transfer technique. The latter is enabled, by default.

The touch sensing button is connected to PC6 port of STM32L4R9AII6 and the related charge capacitor is connected to PC7.

An active shield is designed in the layer 2 of the main PCB, under the button footprint. It allows reducing disturbances from other circuits to prevent from false touch detections.

The active shield is connected to PB6 port of STM32L4R9AII6 through the resistor R22. The related charge capacitor is connected to PB7.

Table 15 shows the configuration elements related with the touch sensing function. Some of them serve to enable or disable its operation. However, most of them serve to optimize the

R67

SB54

R67 in

SB54 open

Default setting.

OctoSPI1_IO6 data line is available at Octo-SPI Flash memory device.

R67 out

SB54 closedOctoSPI1_IO6 is not available at Octo-SPI Flash memory device. PC3 port of SSTM32L4R9AII6 is routed to motor control signal.

R75

SB55

R75 in

SB55 open

Default setting.

OctoSPI1_IO7 data line is available at Octo-SPI Flash memory device.

R75 out

SB55 closedOctoSPI1_IO7 is not available at Octo-SPI Flash memory device. PC4 port of STM32L4R9AII6 is routed to motor control signal.

Table 14. Configuration elements related with Octo-SPI Flash device (continued)

Element Setting Configuration

Page 41: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 41/87

UM2248 Hardware layout and configuration

86

touch sensing performance, by isolating copper tracks to avoid disturbances due to their antenna effect.

.

Table 15. Touch-sensing-related configuration elements

Element Setting Configuration

R44

InPC6 port is routed to CN6 connector for daughterboard.

This setting is not good for robustness of touch sensing.

OutDefault setting.

PC6 port is cut from CN6.

SB21

OpenDefault setting.

PC6 is not routed to motor control.

ClosedPC6 is routed to motor control.

This setting is not good for robustness of touch sensing.

R46

InPC7 port is routed to CN6 connector for daughterboard.

This setting is not good for robustness of touch sensing.

OutDefault setting.

PC7 port is cut from CN6.

SB19

OpenDefault setting.

PC7 is not routed to motor control.

ClosedPC7 is routed to motor control.

This setting is not good for robustness of touch sensing.

SB20

OpenPC7 is not routed to sampling capacitor. Touch sensing cannot operate.

ClosedDefault setting.

PC7 is routed to sampling capacitor. Touch sensing available.

R26

InPB6 port is routed to CN5 connector for daughterboard.

This setting is not good for robustness of touch sensing.

OutDefault setting.

PB6 port is cut from CN5.

SB14

OpenDefault setting.

PB6 is not routed to motor control.

ClosedPB6 is routed to motor control.

This setting is not good for robustness of touch sensing.

SB15 OpenPB6 is not routed to active shield under the touch sensing button.

This setting is not good for robustness of touch sensing.

ClosedDefault setting.

PB6 is routed to active shield under the touch sensing button. This setting is not good for robustness of touch sensing.

SB16

OpenDefault setting.

PB6 is not routed to CN16 DSI display connector.

ClosedPB6 is routed to CN16 DSI display connector.

This setting is not good for robustness of touch sensing.

Page 42: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

42/87 DocID030791 Rev 3

9.26.1 Limitations

Touch sensing button is exclusive with DSI display connector, motor-control and daughterboard connector.

9.27 MFX MCU

The MFX MCU is used as MFX (multi function expander) and IDD measurement.

The MFX circuit on STM32L4R9I-EVAL board acts as IO-expander. The communication interface between MFX and STM32L4R9AII6 is I2C2 bus. The signals connected to MFX are listed in Table 16.

R30

InPB7 port is routed to CN5 connector for daughterboard.

This setting is not good for robustness of touch sensing.

OutDefault setting.

PB7 port is cut from CN5.

SB17

OpenDefault setting.

PB7 is not routed to motor control.

ClosedPB7 is routed to motor control.

This setting is not good for robustness of touch sensing.

SB18

OpenPB7 is not routed to sampling capacitor of the active shield under the touch sensing button.

This setting is not good for robustness of touch sensing.

Closed

Default setting.

PB6 is routed to sampling capacitor of the active shield under the touch sensing button.

This setting is not good for robustness of touch sensing.

Table 15. Touch-sensing-related configuration elements (continued)

Element Setting Configuration

Table 16. MFX signals

Pin number of MFX

Pin name of MFX

MFX functionsFunction of

STM32L4R9AII6Direction

(for MFX)Terminal device

15 PA5 MFX_GPIO5 uS_Detect Input microSD

16 PA6 MFX_GPIO6 USB _PSON Output USB_FS

17 PA7 MFX_GPIO7 USB_OVRCR Input USB_FS

18 PB0 MFX_GPIO0 JOY_SEL Input Joystick

19 PB1 MFX_GPIO1 JOY_DOWN Input Joystick

20 PB2 MFX_GPIO2 JOY_LEFT Input Joystick

26 PB13 MFX_GPIO13 - - -

27 PB14 MFX_GPIO14 - - -

28 PB15 MFX_GPIO15 - - -

Page 43: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 43/87

UM2248 Hardware layout and configuration

86

9.28 IDD measurement

STM32L4R9AII6 has a built-in circuit allowing to measure its own current consumption (IDD) in Run and Low-power modes, except for Shutdown mode. It is strongly recommended that the MCU supply voltage (VDD_MCU line) does not exceed 3.3 V. This is because there are components on STM32L4R9I-EVAL supplied from 3.3 V that communicate with the MCU through I/O ports. Voltage exceeding 3.3 V on the MCU output port may inject current into 3.3 V-supplied peripheral I/Os and false the MCU current consumption measurement.

Table 17 shows settings of jumper associated with the IDD measurement on the board.

s

9.29 DSI display (MIPI) connector

The CN16 connector is designed to connect DSI display daughterboard. MB1314 daughterboard is available to mount on STM32L4R9I-EVAL board. Table 18 shows the assignment of CN16 and STM32L4R9AII6 terminals.

29 PA8 MFX_GPIO8 EXT_RESET Output EXT_I2C

30 PA9 MFX_GPIO9 DSI_RST Output DSI LCD

31 PA10 MFX_GPIO10 - - -

32 PA11 MFX_GPIO11 LCD_DISP Output TFT LCD

33 PA12 MFX_GPIO12 LCD_RST Output TFT LCD

39 PB3 MFX_GPIO3 JOY_RIGHT Input Joystick

40 PB4 MFX_GPIO4 JOY_UP Input Joystick

Table 16. MFX signals (continued)

Pin number of MFX

Pin name of MFX

MFX functionsFunction of

STM32L4R9AII6Direction

(for MFX)Terminal device

Table 17. IDD measurement related jumper setting

Jumper Setting Configuration

JP4

Default setting.

STM32L4R9AII6 has a built-in circuit allowing to measure its own current consumption.

IDD measurement is not available, bypass mode only for STM32L4R9AII6 VDD_MCU power supply.

Table 18. DSI display module connector CN16

Pin No. Description Pin connection Pin No. Description Pin connection

1 GND - 2 - -

3 DSI_CK_P - 4 DSI_INT PC2

5 DSI_CK_N - 6 GND -

Page 44: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

44/87 DocID030791 Rev 3

9.29.1 Limitations

The DSI display module connector signal INT is used both for TFT LCD and DSI display connector.

9.30 TFT LCD (RGB and FMC mode) connector

The 50-pin 1.27 mm-pitch female connector CN20 is designed to connect TFT LCD daughterboard, supporting RGB and FMC modes. MB1315 daughterboard is available to

7 GND - 8 RFU GND

9 DSI_D0_P - 10 RFU GND

11 DSI_D0_N - 12 GND -

13 GND - 14 RFU GND

15 DSI_D1_P - 16 RFU GND

17 DSI_D1_N - 18 GND -

19 GND - 20 - -

21 BLVDD (5 V) - 22 SPI_CS PG12

23 BLVDD (5 V) - 24 SPI_CLK/UART_CK PI1/PG13

25 - - 26 SPI_SDI/UART_TX PI3/PB6

27 BLGND - 28 SPI_DCX PI2

29 BLGND - 30 - -

31 - - 32 - -

33 - - 34 - -

35 SCLK/MCLK PA8 36 3.3 V -

37 LRCLK PB9 38 VDD -

39 I2S_DATA PC1 40 I2C_SDA PH5

41 - - 42 - -

43 SWIRE PG6 44 I2C_SCL PH4

45 CEC_CLK NA 46 - -

47 CEC NA 48 - -

49 DSI_TE PF11 50 - -

51 - - 52 - -

53 DSI_BL_CTRL PB14 54 - -

55 - - 56 - -

57 DSI_RST MFX_GPIO9 58 - -

59 - - 60 1.8 V -

Table 18. DSI display module connector CN16 (continued)

Pin No. Description Pin connection Pin No. Description Pin connection

Page 45: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 45/87

UM2248 Hardware layout and configuration

86

mount on STM32L4R9I-EVAL board with RGB mode. Table 19 shows the assignment of CN20 and STM32L4R9AII6 terminals.

.

9.30.1 Limitations

The TFT LCD module connector supports RGB mode or FMC mode only on the same time. The signal INT is used both for TFT LCD and DSI display connector. When RGB mode TFT LCD used, STM32L4R9AII6 cannot access SRAM and NOR Flash memory on board.

Table 19. TFT LCD module connector CN20

Pin No.

RGB mode description

FMC mode description

Pin connection

Pin No.

RGB mode description

FMC mode description

Pin connection

1 GND GND - 2 GND GND -

3 R0 - PE2 4 G0 - PF14

5 R1 RS(A19) PE3 6 G1 - PF15

7 R2 D12 PE15 8 G2 D6 PE9

9 R3 D13 PD8 10 G3 D7 PE10

11 R4 D14 PD9 12 G4 D8 PE11

13 R5 D15 PD10 14 G5 D9 PE12

15 R6 - PD11 16 G6 D10 PE13

17 R7 - PD12 18 G7 D11 PE14

19 GND GND - 20 GND GND -

21 B0 - PE4 22 DE TE PF11

23 B1 - PF13 24 LCD_DSIP -MFX_

GPIO11

25 B2 D0 PD14 26 HSYNC - PE0

27 B3 D1 PD15 28 VSYNC - PE1

29 B4 D2 PD0 30 GND GND -

31 B5 D3 PD1 32 PCLK - PD3

33 B6 D4 PE7 34 GND GND -

35 B7 D5 PE8 36 RST# RST#MFX_

GPIO12

37 GND GND - 38 SDA SDA PH5

39 INT INT PC2 40 SCL SCL PH4

41 - RS PE2 42 - NOE PD4

43 BL_CTRL BL_CTRL PA5 44 - NWE PD5

45 BL+5 V BL+5 V - 46 - CS PG12

47 BLGND BLGND - 48 VDD VDD -

49 BLGND BLGND - 50 +3.3 V +3.3 V -

Page 46: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

46/87 DocID030791 Rev 3

9.31 PMOD connector

The standard PMOD connector P1 is available on STM32L4R9I-EVAL board to support flexibility in small form factor application. The PMOD connector is implemented the PMOD type 2A and 4A on STM32L4R9I-EVAL board.

9.32 MB1314 DSI display board

MB1314 is DSI display daughterboard which are available to mount on STM32L4R9I-EVAL board via connector CN1. GVO IEG1120TB103GF-001 is selected for round LCD with one data lane, 390x390 resolution, 24 bpp with capacitive touch panel (FocalTech FT3x67 driver). Table 21 shows MB1314 board connector CN1 pin function description.

Table 20. PMOD connector P1

Pin number Description Pin number Description

1 SS/CTS (PI0/PB13) 7 INT (PG13)

2 MOSI/TXD (PI3/PG7) 8 RESET (PB14)

3 MISO/RXD (PI2/PG8) 9 -

4 SCK/RTS (PI1/PB12) 10 -

5 GND 11 GND

6 3.3 V 12 3.3 V

Table 21. MB1314 board connector CN1 pin function description

Pin number Description Pin number Description

1 GND 2 -

3 DSI_CK_P 4 DSI_INT

5 DSI_CK_N 6 GND

7 GND 8 RFU

9 DSI_D0_P 10 RFU

11 DSI_D0_N 12 GND

13 GND 14 RFU

15 RFU 16 RFU

17 RFU 18 GND

19 GND 20 -

21 BLVDD (5 V) 22 RFU

23 BLVDD (5 V) 24 RFU

25 - 26 RFU

27 BLGND 28 RFU

29 BLGND 30 -

31 - 32 -

Page 47: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 47/87

UM2248 Hardware layout and configuration

86

Warning: Permanent Image sticking may occur if AMOLED displays same image for an extended period of time.

9.33 MB1315 TFT LCD board

MB1315 is TFT LCD daughterboard supporting RGB mode, available to mount on STM32L4R9I-EVAL board via connector CN1.

The 4.3” TFT LCD is used LCD RK043FN48H-CT672B with capacitive touch panel which only supports 3.3 V power and interface. So a level shifter SN74LVC16T245DGGR is requested on TFT RGB LCD daughterboard to support wide power supply range. Table 22 shows MB1315 board connector CN1 pin function description.

33 - 34 -

35 RFU 36 3.3 V

37 RFU 38 VDD

39 RFU 40 I2C_SDA

41 - 42 -

43 SWIRE 44 I2C_SCL

45 RFU 46 -

47 RFU 48 -

49 DSI_TE 50 -

51 - 52 -

53 DSI_BL_CTRL 54 -

55 - 56 -

57 DSI_RST 58 -

59 - 60 RFU

Table 21. MB1314 board connector CN1 pin function description (continued)

Pin number Description Pin number Description

Table 22. MB1315 board connector CN1 pin function description

Pin number Description Pin number Description

1 GND 2 GND

3 R0 4 G0

5 R1 6 G1

7 R2 8 G2

9 R3 10 G3

11 R4 12 G4

Page 48: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Hardware layout and configuration UM2248

48/87 DocID030791 Rev 3

13 R5 14 G5

15 R6 16 G6

17 R7 18 G7

19 GND 20 GND

21 B0 22 DE

23 B1 24 LCD_DSIP

25 B2 26 HSYNC

27 B3 28 VSYNC

29 B4 30 GND

31 B5 32 PCLK

33 B6 34 GND

35 B7 36 RST#

37 GND 38 SDA

39 INT 40 SCL

41 - 42 -

43 BL_CTRL 44 -

45 BL+5 V 46 -

47 BLGND 48 VDD

49 BLGND 50 +3.3 V

Table 22. MB1315 board connector CN1 pin function description (continued)

Pin number Description Pin number Description

Page 49: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 49/87

UM2248 Connectors

86

10 Connectors

10.1 Motor-control connector CN1

Figure 11. Motor-control connector CN1 (top view)

Table 23. Motor-control connector CN1

DescriptionPin of

STM32L4R9AII6

Pin number of CN1

Pin number of CN1

Pin of STM32L4R9AII6

Description

Emergency STOP PI4 1 2 - GND

PWM_1H PC6 3 4 - GND

PWM_1L PH13 5 6 - GND

PWM_2H PC7 7 8 - GND

PWM_2L PH14 9 10 - GND

PWM_3H PC8 11 12 - GND

PWM_3L PH15 13 14 PC4 BUS VOLTAGE

CURRENT A PC0 15 16 - GND

CURRENT B PC1 17 18 - GND

CURRENT C PC2 19 20 - GND

ICL Shutout PG9 21 22 - GND

DISSIPATIVE BRAKE

PG13 23 24 PA0 PCD Ind. Current

+5 V power - 25 26 PA1Heatsink

temperature

PFC SYNC PB14 27 28 - 3.3 V power

PFC PWM PB15 29 30 PA9 PFC Shut Down

Encoder A PB6 31 32 PC3 PFC Vac

Encoder B PB7 33 34 PB8 Encoder Index

Page 50: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Connectors UM2248

50/87 DocID030791 Rev 3

10.2 External I2C connector CN2

Figure 12. EXT_I2C connector CN2 (front view)

10.3 USB OTG FS Micro-AB connector CN3

Figure 13. USB OTG FS Micro-AB connector CN3 (Front view)

Table 24. EXT_I2C connector CN2

Pin number Description Pin number Description

1 I2C1_SDA (PH5) 5 VDD

2 NC 6 NC

3 I2C_SCL (PH4) 7 GND

4 EXT_RESET (MFX_GPIO8) 8 NC

Table 25. USB OTG FS Micro-AB connector CN3

Pin number Description Pin number Description

1 VBUS (PA9) 4 ID (PA10)

2 DM (PA11) 5 GND

3 DP (PA12) - -

Page 51: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 51/87

UM2248 Connectors

86

10.4 Analog input-output connector CN4

Figure 14. Analog input-output connector CN4 (top view)

10.5 Extension connectors CN5, CN6, CN13 and CN14

All GPIO signals from STM32L4R9AII6 are connected to extension connectors CN5, CN6, CN13 and CN14. Extension connectors CN13 and CN14 is also used for FMC device.

Table 26. Analog input-output connector CN4

Pin number Description Pin number Description

1 GND 2 Analog input-output PA4

Table 27. Daughter board extension connector CN5

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

1 PH9 OCTO-SPI2_IO4 Remove the U5.

3 PH14 LED3, MC Remove R185, open SB44.

5 PH15 LED4, MC Remove R184, open SB45.

7 PI3 SPI2_MOSI No connection for CN16 and P1.

9 GND - -

11 PH13 LED2, MC Remove R186, open SB46.

13 PG13PMOD_INT, USART1_CK, MC

Open SB29, SB47.

No connection for P1.

15 PB5SAI1_SDB, Comp2_OUT

Remove R204, open SB48.

17 PI9 OCTO-SPI2_IO2 Remove the U5.

19 PI11 OCTO-SPI2_IO0 Remove the U5.

21 NC - -

23 PC14 OSC32_IN Remove R50, close SB50.

25 PC13 Wakeup Remove R188.

27 PH1 OSC_OUT Remove R65, close SB53.

29 GND - -

31 PA5 TFT LCD_BL_CTRL No connection for CN20.

33 PC2DSI LCD_INT, TFT LCD_INT, MC

Remove R217, open SB43.

35 PH8 OCTO-SPI2_IO3 Remove the U5.

Page 52: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Connectors UM2248

52/87 DocID030791 Rev 3

37 PH10 OCTO-SPI2_IO5 Remove the U5.

39 D5V - -

2 PI5 OCTO-SPI2_NCS Remove the U5.

4 PH12 OCTO-SPI2_IO7 Remove the U5.

6 PI6 OCTO-SPI2_CLK Remove the U5.

8 PG15 OCTO-SPI2_DQS Remove the U5.

10 GND - -

12 PB4 Comp2_INP, TRST Remove R200, open SB22.

14 PB6TS_SHIELD, USART1_TX, MC

Closed R26, open SB14, SB16 and SB15.

16 PB7 TS_SHIELD_CS, MC Closed R30, open SB17 and SB18.

18 PI10 OCTO-SPI2_IO1 Remove the U5.

20 PI7 - -

22 PH3 BOOT0 Remove R1.

24 PC15 OSC32_OUT Remove R49, close SB49.

26 PH0 OSC_IN Remove R61, close SB52.

28 PA0MFX_IRQ_OUT, OpAmp1_INP, MC

Remove R214, open SB38 and SB39.

30 GND - -

32 PA1 OpAmp1_INM, MC Remove R216, open SB40.

34 PA4 ADC_DAC Remove R32.

36 PH11 OCTO-SPI2_IO6 Remove the U5.

38 VDD - -

40 +3V3 - -

Table 28. Daughter board extension connector CN6

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

1 PH2 OCTO-SPI1_IO4 Remove the U6.

3 PI0 SPI2_NSS No connection for P1.

5 PD2 SDIO1_CMD Remove R55, no SD card insert.

7 PI1 SPI2_SCK No connection for CN16 and P1.

9 GND - -

11 PA12 USB OTG_DP No connection for the CN3.

13 PA11 USB OTG_DM No connection for the CN3.

Table 27. Daughter board extension connector CN5 (continued)

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

Page 53: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 53/87

UM2248 Connectors

86

15 PG8 LPUART1_RX Remove the U9.

17 PA9 VBUS_FS, MC Remove R203, open SB35.

19 PC9 SDIO1_D1, Trace_D0 Remove R205, open SB57.

21 PC7 TS_KEY_CS, MC Closed R46, open SB19 and SB20.

23 PB15 LED1, MC Remove R187, open SB51.

25 PB13 LPUART1_CTS Remove the U9.

27 RESET# - -

29 GND - -

31 PA3OpAmp1_VOUT, OCTO-SPI1_CLK

Remove R221, R215.

33 PA7 OCTO-SPI1_IO2 Remove the U6.

35 PC4 OCTO-SPI1_IO7, MC Remove R75, open SB55.

37 PC3 OCTO-SPI1_IO6, MC Remove R67, open SB54.

39 D5V - -

2 PG11 OCTO-SPI1_IO5 Remove the U6.

4 PI2 SPI2_MISO No connection for CN16 and P1.

6 PC8 SDIO1_D0, MC Remove R195, open SB2.

8 PC10 SDIO1_D2, Trace_D1 Remove R197, open SB58.

10 GND - -

12 PC11 SDIO1_D3 Remove R60, no SD card insert.

14 PC12 SDIO1_CLK no SD card insert.

16 PA10 USB OTG_ID No connection for the CN3.

18 PC6 TS_KEY, MC Closed R44, open SB21.

20 PG7 LPUART1_TX Remove R19 and U1.

22 PB14DSI LCD_BL_CTRL, PMOD_RST, MC

Remove R207, open SB41.

No connection for P1.

24 PB12 LPUART1_RTS Remove R5 and U1.

26 PF11DSI LCD_TE, TFT LCD_DE

No connection for CN16 and CN20.

28 PB0 OCTO-SPI1_IO1 Remove the U6.

30 GND - -

32 PB1 OCTO-SPI1_IO0 Remove the U6.

34 PB2 OCTO-SPI1_DQS Remove the U6.

36 PA6 OCTO-SPI1_IO3 Remove the U6.

Table 28. Daughter board extension connector CN6 (continued)

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

Page 54: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Connectors UM2248

54/87 DocID030791 Rev 3

38 PA2 OCTO-SPI1_NCS Remove the U6.

40 +5V - -

Table 29. Daughter board extension connector CN13

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

1 PD1 FMC_D3 -

3 PD0 FMC_D2 -

5 PB8SAI1_MCLKA, CAN_RX, MC

Remove R235, open SB42 and JP12.

7 PG10 FMC_NE3 -

9 GND - -

11 PE0 FMC_NBL0 -

13 PG12 FMC_NE4, SPI Remove R238, open SB26.

15 PE4 FMC_A20 -

17 PE5 FMC_A21 Keep the CN12 open.

19 PF1 FMC_A1 -

21 PF2 FMC_A2 -

23 PB9 SAI1_FSA, CAN_TX Remove R243, R247.

25 PF10 DFSDM_CLK Open JP16.

27 PF5 FMC_A5 -

29 GND - -

31 PF4 FMC_A4 -

33 PF15 FMC_A9 -

35 PG0 FMC_A10 -

37 PE10 FMC_D7 -

39 VDD - -

2 NC - -

4 PD6 FMC_NWAIT -

6 PD4 FMC_NOE -

8 PE1 FMC_NBL1 -

10 GND - -

12 PD5 FMC_NWE -

14 PE2 FMC_A23 Keep the CN12 open.

16 PE3 FMC_A19 -

Table 28. Daughter board extension connector CN6 (continued)

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

Page 55: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 55/87

UM2248 Connectors

86

18 PE6 FMC_A22 Keep the CN12 open.

20 PF0 FMC_A0 -

22 PC0 DFSDM, MC Remove R242, open SB36.

24 PC1 SAI1, MC Remove R244, open SB37.

26 PF3 FMC_A3 -

28 PG4 FMC_A14 -

30 GND - -

32 PG1 FMC_A11 -

34 PF12 FMC_A6 -

36 PF13 FMC_A7 -

38 PF14 FMC_A8 -

40 +3V3 - -

Table 30. Daughter board extension connector CN14

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

1 PA14 JTAG_TCK/SWCLKDo not use the CN11, CN12, CN15, CN17 for debug connecto.r

3 PD7 FMC_NE1 -

5 PD3 TFT LCD_CLK No connection for CN20.

7 PB3 JTAG_TDO/SWODo not use the CN11, CN12, CN15, CN17 for debug connector.

9 GND - -

11 PG5 FMC_A15 -

13 PD15 FMC_D1 -

15 PD14 FMC_D0 -

17 PD10 FMC_D15 -

19 PH5 I2C2_SDA Remove R2.

21 PB10 UART3_TX Remove R173, no connection for the CN11.

23 PD8 FMC_D13 -

25 PD13 FMC_A18 -

27 PE12 FMC_D9 -

29 GND - -

31 NC - -

33 PE7 FMC_D4 -

Table 29. Daughter board extension connector CN13 (continued)

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

Page 56: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Connectors UM2248

56/87 DocID030791 Rev 3

35 PE14 FMC_D11 -

37 PE15 FMC_D12 -

39 VDD - -

2 PA13 JTAG_TMS/SWDIODo not use the CN11, CN12, CN15, CN17 for debug connector.

4 PA15 JTAG_TDIDo not use the CN11, CN12, CN15, CN17 for debug connector.

6 PI4 Audio_INT, MC Remove R234, open SB3.

8 PG9 MFX_WAKUP, MC Remove R236, open SB34.

10 GND - -

12 PA8 SAI1_SCKA Remove the U26.

14 PG3 FMC_A13 -

16 PG6 DSI LCD_SWIRE No connection for the CN16.

18 PG2 FMC_A12 -

20 PD11 FMC_A16 -

22 PH4 I2C2_SCL Remove R3.

24 PB11 UART3_RX Remove R171, no connection for the CN11.

26 PD9 FMC_D14 -

28 PD12 FMC_A17 -

30 GND - -

32 PE13 FMC_D10 -

34 PE8 FMC_D5 -

36 PE11 FMC_D8 -

38 PE9 FMC_D6 -

40 +3V3 - -

Table 30. Daughter board extension connector CN14 (continued)

Pin number

Description Alternative functionsHow to disconnect alternative functions to

use on the extension connector

Page 57: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 57/87

UM2248 Connectors

86

10.6 RS232 connector CN7

Figure 15. RS232 D-sub male connector (front view)

10.7 microSD connector CN8

Figure 16. microSD connector CN8 (top view)

Table 31. RS232 D-sub male connector

Pin number DescriptionPin

numberDescription

1 NC 6 NC

2 RS232_RX (PG8) 7 RS232_RTS (PB12)

3 RS232_TX (PG7) 8 RS232_CTS (PB13)

4 NC 9 NC

5 GND - -

Page 58: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Connectors UM2248

58/87 DocID030791 Rev 3

10.8 MFX programming connector CN9

The connector CN9 is used only for embedded MFX (multi function expander) programming during board manufacture. It is not populated by default and not for end user.

10.9 STDC14 connector CN11

Figure 17. STDC14 debugging connector CN11 (top view)

Table 32. microSD connector CN8

Pin number

DescriptionPin

numberDescription

1 SDIO_D2 (PC10) 6 Vss/GND

2 SDIO_D3 (PC11) 7 SDIO_D0 (PC8)

3 SDIO_CMD (PD2) 8 SDIO_D1 (PC9)

4 VDD 9 GND

5 SDIO_CLK (PC12) 10 MicroSDcard_detect (MFX GPIO15)

Table 33. STDC14 debugging connector CN11

Terminal Function / MCU port Terminal Function / MCU port

1 - 2 -

3 VDD 4 SWDIO/TMS (PA13)

5 GND 6 SWDCLK/TCK (PA14)

7 GND 8 SWO/TDO (PB3)

9 KEY 10 TDI (PA15)

11 GND 12 RESET#

13 VCP_RX (PB11)(1)

1. Due to discrepancies between port terminal and sheet symbol, VCP_RX and VCP_TX are not connected to MCU

14 VCP_TX (PB10)(1)

Page 59: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 59/87

UM2248 Connectors

86

10.10 Trace debugging connector CN12

Figure 18. ETM trace debugging connector CN12 (Top view)

10.11 TAG connector CN15 .

Table 34. Trace debugging connector CN12

Pin number

DescriptionPin

numberDescription

1 +3.3 V 2 TMS/PA13

3 GND 4 TCK/PA14

5 GND 6 TDO/PB3

7 KEY 8 TDI/PA15

9 GND 10 RESET#

11 GND 12 Trace_CLK/PE2

13 GND 14 Trace_D0/PC9 or SWO/PB3

15 GND 16 Trace_D1/PC10 or nTRST/PB4

17 GND 18 Trace_D2/PE5

19 GND 20 Trace_D3/PE6

Table 35. TAG debugging connector CN15

Terminal Function / MCU port Terminal Function / MCU port

1 VDD 2 SWDIO/TMS (PA13)

3 GND 4 SWDCLK/TCK (PA14)

5 GND 6 SWO/TDO (PB3)

7 NC 8 TDI (PA15)

9 TRST (PB4) 10 RESET#

Page 60: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Connectors UM2248

60/87 DocID030791 Rev 3

10.12 DSI display connector CN16 (MIPI)

A TFT color LCD with MIPI DSI interface board is mounted on CN16. Refer to Section 9.29 for detail.

10.13 JTAG connector CN17

Figure 19. JTAG/SWD debugging connector CN17 (Top view)

Table 36. JTAG/SWD debugging connector CN17

Pin number

DescriptionPin

numberDescription

1 VDD power 2 VDD power

3 PB4 4 GND

5 PA15 6 GND

7 PA13 8 GND

9 PA14 10 GND

11 NC 12 GND

13 PB3 14 GND

15 RESET# 16 GND

17 - 18 GND

19 - 20 GND

Page 61: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 61/87

UM2248 Connectors

86

10.14 Power connector CN18

The STM32L4R9I-EVAL board is power-able with a DC 5 V power supply via the external power supply jack (CN18) shown in Figure 20. The central pin of CN18 must be positive.

Figure 20. Power-supply connector CN18 (front view)

10.15 ST-LINK/V2-1 programming connector CN19

The connector CN19 is used only for embedded ST-LINK/V2-1 programming during board manufacturing. It is not populated by default and not for end users.

10.16 TFT LCD connector CN20 (RGB)

A TFT-color LCD board is mounted on CN20. Refer to Section 9.30 for details.

10.17 ST-LINK/V2-1 USB Micro-B connector CN21

The USB connector CN21 is used to connect on board ST-LINK/V2-1 facility to a PC for programming and debugging purposes.

Figure 21. USB Micro-B connector CN21 (front view)

Table 37. USB Micro-B connector CN21 (front view)

Pin number Description Pin number Description

1 VBUS (power) 4 GND

Page 62: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Connectors UM2248

62/87 DocID030791 Rev 3

10.18 CAN D-type male connector CN22

Figure 22. CAN D-type 9-pin male connector CN22 (front view)

2 DM 5 Shield

3 DP - -

Table 37. USB Micro-B connector CN21 (front view) (continued)

Pin number Description Pin number Description

Table 38. CAN D-type 9-pin male connector CN22

Pin number Description Pin number Description

1,4,8,9 NC 7 CANH

2 CANL 3,5,6 GND

Page 63: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 63/87

UM2248 Electrical schematics

86

11 Electrical schematics

This section provides design schematics for the STM32L4R9I-EVAL key features to help users to implement these features in application designs.

This section includes:

• Overall schematics for the STM32L4R9I-EVAL, see Figure 23

• STM32L4R9I-EVAL MCU, see Figure 24

• Power supply, see Figure 25

• SRAM and NOR Flash memory devices and TFT LCD, see Figure 26

• Audio codec device, see Figure 27

• DSI display connector, see Figure 28

• Physical control peripherals, microSD card and EEPROM, see Figure 29

• Analog input and output, Touch-sensing device, see Figure 30

• ST-LINK/V2-1, see Figure 31

• IDD measurement, see Figure 32

• JTAG and trace debug connectors, see Figure 33

• Motor control connector, see Figure 34

• USB_OTG_FS port, see Figure 35

• USART and CAN transceiver, PMOD connector, see Figure 36

• Octo-SPI Flash memory device, see Figure 37

• Extension connector, see Figure 38

Page 64: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

64/8

7D

ocID030

791 Re

v 3

Figure 23. Overall schematics for the STM32L4R9I-EVAL

1 16

MB1313

MB1313 B.110/18/2017

Title:

Size: Reference:Date: Sheet: of

A3 Revision:

STM32L4Rx-EVALProject:

Rev B.1: 1. open U4 pin5 and add D152. update X2 part number3. C30 and C31 changed to 3.3pF4. change H1 and H4 size of footprint to C9D4.55. Update U10, U19 and U20 ESDALC6V1W5 with new footprint6. add D11, D12, D13 for key and joystick button ESD protection7. update Z1 to D14 ESDA7P60-1U1M8. LED remap:LD1 ----> LD5LD2 ----> LD6LD3 ----> LD7LD4 ----> LD8LD5 ----> LD4LD6 ----> LD3LD7 ----> LD2LD8 ----> LD1

VDD R2 1K5R3 1K5

133MHz clock

Same length

500MHz clock

TMS/SWDIOTCK/SWCLK

TDI

SDIO1_D0

SDIO1_CLK

WAKEUP

SDIO1_CMD

FMC_NBL0FMC_NBL1

SAI1_SDASAI1_SDB

SAI1_SCKASAI1_FSA

SAI1_MCLKA

D[0..15]A[0..23]

DSI_CK_PDSI_CK_NDSI_D0_PDSI_D0_NDSI_D1_PDSI_D1_N

LED1LED2LED3LED4

TDO/SWOTRST

DFSDM_CLKDFSDM_DATA4

SDIO1_D1SDIO1_D2SDIO1_D3

Audio_INT

OCTOSPI2_IO0

FMC_NOEFMC_NWEFMC_NWAIT

FMC_NE1FMC_NE3

OCTOSPI2_CLK

OCTOSPI2_NCS

OCTOSPI2_IO1OCTOSPI2_IO2OCTOSPI2_IO3OCTOSPI2_IO4OCTOSPI2_IO5OCTOSPI2_IO6OCTOSPI2_IO7

OCTOSPI1_IO5OCTOSPI1_IO4

OCTOSPI1_IO6

OCTOSPI1_IO3OCTOSPI1_IO2

OCTOSPI1_IO7

OCTOSPI1_IO1OCTOSPI1_IO0

OCTOSPI1_DQSOCTOSPI1_NCSOCTOSPI1_CLK

OCTOSPI2_DQS

TRACE_CKTRACE_D0

TRACE_D2TRACE_D1

TRACE_D3

MC_BusVoltage

MC_EnAMC_EnB

MC_EnIndexMC_EmergencySTOP

OpAmp1_INPOpAmp1_INM

OpAmp1_VOUT

LCD_INT

UART3_TXUART3_RX

I2C2_SCLI2C2_SDA

LPUART1_RTS

LPUART1_CTS

LPUART1_TX

LPUART1_RX

SHIELDSHIELD_CS

TKEYTKEY_CS

USBOTG_DMUSBOTG_DP

USBOTG_ID

SPI2_NSS

SPI2_SCK

LCD_CLKFMC_NE4

MFX_IRQ_OUT

Comp2_INPComp2_OUT

MC_PWM_1HMC_PWM_2HMC_PWM_3HMC_PWM_1LMC_PWM_2LMC_PWM_3L

MC_DissipativeBrakeMC_ICL_Shutout

MC_PFC_syncMC_PFC_PWM

MC_Temperature

MC_PFC_IndCurr

RESET#

MC_CurrentAMC_CurrentBMC_CurrentC

CAN_RXCAN_TX

ADC_DAC

SPI2_MISOSPI2_MOSI

PMOD_RSTPMOD_INT

MFX_WAKEUP

PC[0..15]

PH[0..15]

PB[0..15]PA[0..15]

MC_PFC_Vac

MC_PFC_Shutdown

USART1_TX

DSI_BL_CTRL

LCD_BL_CTRL

USART1_CK

SPI_CS

SWIRE

DSI_TE/LCD_DE

PE[0..1]

PG[6..15]

PI[0..11]

PF[10..11]

PD[2..7]

U_MCUMCU.SchDoc

USB_PSONUSB_OVRCRUSBOTG_DM

USBOTG_DP

USBOTG_ID

U_USB_OTG_FSUSB_OTG_FS.SchDoc

SAI1_SCKASAI1_FSASAI1_SDASAI1_SDBAudio_INT

I2C_SDAI2C_SCL

SAI1_MCLKA

DFSDM_DATA4DFSDM_CLK

U_AudioAudio.SchDoc

MFX_IRQ_OUTMFX_WAKEUP

USB_PSON

JOY_SELJOY_DOWN

JOY_LEFTJOY_RIGHT

JOY_UP

USB_OVRCR

DSI_RST

LCD_RSTLCD_DISP

I2C_SCLI2C_SDA

EXT_RESET

NRST

uSD_Detect

U_IDD_measurementIDD_measurement.SchDoc

TDI

RESET#TRACE_D3TRACE_D2TRACE_D1TRACE_D0TRACE_CKTRST

TMS/SWDIOTCK/SWCLK

TDO/SWO

VCP_RXVCP_TX

U_JTAG&TraceJTAG&Trace.SchDoc

MC_EmergencySTOP

MC_CurrentAMC_CurrentBMC_CurrentC

MC_PFC_sync

MC_PWM_3L

MC_PWM_2H

MC_PWM_2L

MC_PWM_1H

MC_PWM_1LMC_PWM_3H

MC_ICL_ShutoutMC_DissipativeBrake

MC_PFC_PWM

MC_BusVoltageMC_PFC_IndCurr

MC_Temperature

MC_PFC_Shutdown

MC_PFC_Vac

MC_EnBMC_EnA

MC_EnIndex

U_MotorControlMotorControl.SchDoc

JOY_SELJOY_DOWNJOY_LEFTJOY_RIGHTJOY_UP

LED4LED3

LED1LED2

SDIO1_CLKSDIO1_CMD

SDIO1_D0SDIO1_D1SDIO1_D2SDIO1_D3

uSD_DetectWAKEUP

EXT_RESET

I2C_SDAI2C_SCL

U_PeripheralsPeripherals.SchDoc

U_PowerPower.SchDoc

TDI

TRST

TMS/SWDIOTCK/SWCLK

TDO/SWO RESET#

VCP_RXVCP_TX

U_ST_LINK_V2-1ST_LINK_V2-1.SCHDOC

OCTOSPI2_IO0

OCTOSPI2_CLK

OCTOSPI2_NCS

OCTOSPI2_IO1OCTOSPI2_IO2OCTOSPI2_IO3OCTOSPI2_IO4OCTOSPI2_IO5OCTOSPI2_IO6OCTOSPI2_IO7

OCTOSPI1_IO5OCTOSPI1_IO4

OCTOSPI2_DQS

OCTOSPI1_IO6OCTOSPI1_IO7

OCTOSPI1_IO3OCTOSPI1_IO2OCTOSPI1_IO1OCTOSPI1_IO0

OCTOSPI1_DQSOCTOSPI1_NCSOCTOSPI1_CLK

RESET#

U_OctoSPIOctoSPI.SchDoc

Comp2_INP

OpAmp1_INMOpAmp1_INP

Comp2_OUTADC_DAC

SHIELDSHIELD_CS

TKEY_CSTKEY

OpAmp1_VOUT

U_Analog and TSAnalog and TS.SchDoc

FMC_NWEFMC_NOE

FMC_NWAITFMC_NBL0FMC_NBL1

D[0..15]A[0..23]

FMC_NE1FMC_NE3

LCD_CLK

LCD_RST

LCD_BL_CTRLI2C_SDAI2C_SCL

FMC_NE4

LCD_DISP

LCD_DELCD_INT

U_Memory&TFT LCDMemory&TFT LCD.SchDoc

UART_RX_3V3

UART_TX

CAN_TXCAN_RX

PMOD_INTPMOD_RST

SPI_MISOSPI_MOSI

SPI_SCK

SPI_CS

UART_CTS_3V3

UART_RTS

U_InterfaceInterface .SchDoc

DSI_INT

DSI_CK_PDSI_CK_NDSI_D0_PDSI_D0_NDSI_D1_PDSI_D1_N

DSI_BL_CTRL

DSI_TE

DSI_RST

SCLK/MCLKLRCLK

I2S

I2C_SCLI2C_SDA

SPI_CSSPI_CLK

SWIRE

SPI_DCX

USART1_CK

SPI_SDI

USART1_TX

U_DSI LCDDSI LCD.SchDoc

90MHz clock

133MHz clock

Same length

PA[0..15]PB[0..15]PC[0..15]

PH[0..15] RESET#

PF[10..11]

PI[0..11]

D[0..15]PG[6..15]

A[0..23]PE[0..1]PD[2..7]

U_ExtensionConnectorExtensionConnector.SchDoc

Pending for ACP_RST

Same length

Page 65: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

65/87

Figure 24. STM32L4R9I-EVAL MCU

2 16

MCU

MB1313 B.110/18/2017

Title:

Size: Reference:Date: Sheet: of

A3 Revision:

STM32L4Rx-EVALProject:

PA4PA5

PA6PA7

PA11PA12

PA9PA10

PA0PA1

PA15

PA3

PA13PA14

PA2

PA8

PB5PB7

PB14PB15

PB10

PB8PB9

PB1PB2

PB3

PB0

PB4

PB11PB12PB13

PC0PC1PC2

PC3

PC4

PC6

PC7PC8PC9PC10PC11PC12PC13TMS/SWDIO

TCK/SWCLKTDI

SDIO1_D0

SDIO1_CLKWAKEUP

PD2PD3PD4PD5PD6PD7

D2D3

D13D14D15

D0D1

SDIO1_CMD

PI0

PI9

PI11PI10

PI1PI2PI3PI4PI5PI6PI7

R35 33R41 33

R40 33R39 33

PE0PE1

PF11PF10

PG15

PG9PG8

PG11PG10

PG12PG13

PG6PG7

PH14PH15

PH9PH8

PH11PH10

PH12PH13

PH2PH3PH4PH5

D4D5D6D7D8D9D10D11D12

A1A2A3A4A5

A6A7A8A9

A10A11

A14A15

A0

FMC_NBL0FMC_NBL1

SAI1_SDA

SAI1_SDB

SAI1_SCKA

SAI1_FSA

SAI1_MCLKA

D[0..15]

A[0..23]

D[0..15]

A[0..23]

DSI_TE/LCD_DE

DSI_CK_PDSI_CK_N

DSI_D0_PDSI_D0_N

DSI_D1_PDSI_D1_N

LED2

LED3

LED4

PB6

TDO/SWO

TRST

R77 33

DFSDM_CLK

DFSDM_DATA4

SDIO1_D1

SDIO1_D2

SDIO1_D3

C30 3.3pF

C31 3.3pF

R49

0

R50

0

X1NX3215SA-32.768KHZ-EXS00A-MU00525

PC14PC15

Audio_INT

OCTOSPI2_IO0

A12

R53 33R208 33R52 33R209 33

R211 33

R59 33R58 33R210 33R224 33R223 33R233 33

A19A20A21

A22

A23

R78 33R79 33R219 33R229 33

R228 33R231 33R63 33

R70 33R218 33R227 33R220 33R69 33R226 33R83 33R81 33R80 33

R73 33R85 33R64 33

R56 33R57 33

R66 33R225 33R72 33

A16A17A18

R54 33R232 33R206 33

A13

R199 33R198 33

FMC_NOEFMC_NWE

FMC_NWAITFMC_NE1

FMC_NE3

OCTOSPI2_CLKOCTOSPI2_NCS

OCTOSPI2_IO1OCTOSPI2_IO2

OCTOSPI2_IO3OCTOSPI2_IO4OCTOSPI2_IO5OCTOSPI2_IO6OCTOSPI2_IO7

R37 33

R42 33

R82 33R38 33R84 33R71 33R36 33

OCTOSPI1_IO5

OCTOSPI1_IO4

OCTOSPI1_IO6

OCTOSPI1_IO3OCTOSPI1_IO2

OCTOSPI1_IO7

OCTOSPI1_IO1OCTOSPI1_IO0OCTOSPI1_DQS

OCTOSPI1_NCSOCTOSPI1_CLK

OCTOSPI2_DQSR33 33

R222 33R68 33

R230 33R76 33

R221 33 R74 33

R67 33

R75 33

R34 33

R196 33

TRACE_CK

TRACE_D0

TRACE_D2

TRACE_D1

TRACE_D3

R240 220KR241 220KR237 220K

MC_CurrentA

MC_CurrentB

MC_CurrentC

MC_EnA

MC_EnB

MC_EnIndex

MC_EmergencySTOP

PMOD_INT

R242 0

OpAmp1_INP

MFX_WAKEUP

OpAmp1_INM

OpAmp1_VOUT

ADC_DAC

UART3_TXUART3_RX

I2C2_SCLI2C2_SDA

LPUART1_RTSLPUART1_CTS

PMOD_RST

LPUART1_TXLPUART1_RX

SHIELDSHIELD_CS

TKEY

TKEY_CS

USBOTG_DMUSBOTG_DP

USBOTG_ID

SPI2_NSSSPI2_SCKSPI2_MISOSPI2_MOSI

LCD_CLK

FMC_NE4

Comp2_INP

Comp2_OUT

MC_PWM_1H

MC_PWM_2H

MC_PWM_3H

MC_PWM_1L

MC_PWM_2L

MC_PWM_3L

MC_DissipativeBrake

MC_ICL_Shutout

MC_PFC_sync

MC_PFC_PWM

MC_Temperature

MC_PFC_Shutdown

MC_PFC_IndCurr R214 0

R216 0

R203 0

R200 0

R204 0

R235 0

R244 0

R217 0

R195 0

R205 0

R197 0

R236 0

R234 0

C36CC0603CRNPO9BN6R8

C38CC0603CRNPO9BN6R8

R65 0

4

13

2

X2NX3225GA 16MHz EXS00A-CG04815

R61 0

PC13-ANTI_TAMP E1

PC0 J2PC1 J3PC2 J4PC3 K1

PA0-WKUPK3PA1M1PA2N1PA3M2PA4N2PA5L3PA6L4PA7M4

PC4 K4

PB0N4

PB1L5

PB2N5

PB10N9PB11H7PB12N12PB13N13PB14M12PB15L10

PC6 F11PC7 G11PC8 F9

PC9 G13PA8E11

PA9E12

PA10D11

PA11E13

PA12D13

PA13A11

PA14A10

PA15A9

PC10 D9

PC11 E9

PC12 F8

PB3A6

PB4A5

PB5B5

PB6C5PB7D5PB8C4PB9D4

PC14-OSC32_INF1PC15-OSC32_OUTG1

PH0-OSC_INH1PH1-OSC_OUTJ1

NRSTH3

DSI_D0P L11

DSI_D0N L12

DSI_CKP K11

DSI_CKN K12

DSI_D1P J11

DSI_D1N J12

U8A

STM32L4R9AII6

PE2D3

PE3D2

PE4D1

PE5E4

PE6E3

PF0F5PF1F4PF2F3PF3G3PF4G4PF5G5

PF10H4

PH2 A2

PH3-BOOT0 E5

PH4 K8

PH5 L9

PF11M5PF12N6

PF13M6

PF14L6

PF15K5

PG0 J5PG1 H5

PE7L7

PE8K6

PE9J6

PE10H6

PE11N8PE12M8PE13L8PE14K7PE15J7

PH8 N10

PH9 C11

PH10 M9

PH11 M10PH12 B13

PG2 H9PG3 G8PG4 G7PG5 G9PG6 G12PG7 G10PG8 F10

PH13 C9PH14 A13PH15 B12

PG9 B7PG10 D6PG11 E6PG12 F6PG13 G6

PG15 C6

PE0A4

PE1B4

PD8K10PD9K9PD10J10PD11J9PD12J8PD13H8

PD14H11

PD15H10

PD0B8PD1C8PD2D8PD3E8PD4C7PD5D7PD6E7PD7F7

PI9 B1PI10 A1PI11 C3

PI0 A12PI1 B11PI2 B10PI3 C10PI4 D10PI5 E10PI6 B9PI7 B2

U8B

STM32L4R9AII6

PH0PH1

RESET#

1

4 3

2

B2TD-0341 [RESET/Black]

C117100nF

231

SW109.03290.01

RESET#

PH3

VDD

R110K

Capacitor close to MCU

R183[N/A]

VDD

CAN_RX

CAN_TXR243 0

VBUS_FS

PA[0..15] PA[0..15]

PB[0..15] PB[0..15]

PC[0..15] PC[0..15]PD[2..7] PD[2..7]PE[0..1] PE[0..1]PF[10..11] PF[10..11]PG[6..15] PG[6..15]PH[0..15] PH[0..15]PI[0..11] PI[0..11]

SB38

SB57

SB40

SB35

SB14

SB17

SB42

SB41

SB36

SB37

SB43

SB21

SB19

SB2

SB58

SB56

SB59

SB60

SB34

SB47

SB46

SB44

SB45

SB3

MFX_IRQ_OUT

LCD_BL_CTRL

DSI_BL_CTRL R207 0LED1

USART1_CKSB29

USART1_TX SB16

MC_PFC_Vac

MC_BusVoltageSB55

SB54

SPI_CSR238 0SB26

SB51

SB39

R215 0

SB22

SB48

SWIRE

LCD_INT

SB20

SB15SB18

R26 [N/A]

R30 [N/A]

R44 [N/A]

R46 [N/A]

12

D11

ESDA7P60-1U1M

Page 66: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

66/8

7D

ocID030

791 Re

v 3

Figure 25. Power supply

3 16

Power

MB1313 B.15/10/2017

Title:

Size: Reference:Date: Sheet: of

A3 Revision:

STM32L4Rx-EVALProject:

+5V1 2

LD7red

R141

820

C41100nF

C37100nF

C114100nF

VDD_MCU

C24100nF

C40100nF

C33100nF

C28100nF

C39100nF

C23100nF

C434.7uFC22

100nF

Vin3 Vout 2

1

Tab 4

U23LD1117S18TR

C7310uF

+3V3 +1V8

H1H4 H2 H3

SV1

SG2

CV 3

CG1 4CG2 5CG3 6

L3

BNX002-01

C70220uF

E5V1

32

CN18

DC-10B

C72100nF

1

2

3

D6ZEN056V130A24LS

D5V7 85 63 41 2

JP11

Header 4X2

E5V

U5V_ST_LINK

VBUS_FS

VDD_ADJ

+5VVDD_ADJ

TP12

13

2RV3

3386P-503H[5%]

R138

10.2K[1%]

Power Supply VDD_ADJ [1.7V to 3.61V]

R137

20K[1%]C604.7uF

Vout=1.22*(1+R1/R2)

C59100nF

EN1

GN

D2

VO 4

ADJ 5GN

D7

VI6 PG 3

U18ST1L05BPUR

+5V+3V3TP8

C484.7uF

R115

20.5K[1%]

R11711.8K[1%]

EN1

GN

D2

VO 4

ADJ 5GN

D7

VI6 PG 3

U12ST1L05BPUR

Power Supply 3.3VVout=1.22*(1+R1/R2)

C47100nF

+3V3R105

[N/A]

R106[N/A]

R128

[N/A]

R129[N/A]

VDD_MCUVDD

32

1

JP10 VDDTP11

+3V3

VDD_ADJ

VDD_IOVDD_IOTP3

VDDA

32

1

JP2

VDDATP7

+3V3

VDD_USB

32

1

JP1

VDD_USBTP2

+3V3

C1201uF

C118100nF

connected by shunt ofIDD_measurement circuitry

VDD_MCU

VDD_MCU

VDD_MCUJP3

Header 2X1

R860

C42100nF

Close to MCU on PCB

VDDA

C44

1uF

CN10Header 2X1

12

VREF+

VREF+

VDD_MCU

DSI_VCAP

C342.2uF

DSI_VCAP

BT1

CR1220 holder

VDD

32

1

JP8

+-

C201uF

C25100nF

VDD_USB

C1044.7uF

C112100nF

VDD_IO

R127124[1%]

R124232[1%]

+5V

C5710uF

+3V63V6TP10

Vout=1.25*(1+232/124)=3.589V

C54100nF

Vin3 Vout 2

1

Tab 4

U15LD1117STR

VBATE2

VSS F13

VSSA/VREF- K2

VREF+L1

VDDA8

VDDC13

VDDH13 VDDN11

VDDA3

VDDAL2

VDDN3

VDDIO2B6 VDDIO2F12

VDDDSIM13

VSS C12

VSS M3

VDDUSBD12

VSS B3

VSSDSI J13

VSS A7

VSS H12

VCAPDSIL13

VSSDSI K13

VSS C2VDDC1 VSS M11

VSS H2VSS F2VSS M7

VDDG2VDDN7

U8C

STM32L4R9AII6

Recommendation:100nF decoupling capacitor for each VDD pin

to be confirme: DSI power and VDDIO1/2 power

5VTP13

GNDTP1

GNDTP16

1V8TP14

L1BEAD(FCM1608KF-601T03)

C35[N/A]

VCAPDSITP5

C46TPSR106K006R1000

C58TPSR106K006R1000

12

D14ESDA7P60-1U1M

Page 67: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

67/87

Figure 26. SRAM and NOR Flash memory devices and TFT LCD

4 16

Memory & TFT LCD

MB1313 B.1

3/31/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

VDD

A1A2A3A4A5A6A7A8A9A10A11A12A13A14A15A16

A1A2A3A4A5A6A7A8A9A10A11A12A13A14A15A16A17A18A19A20A21A22

VDD

FMC_NWEFMC_NOEFMC_NWAIT

VDDVDD

VDD

JP6Header 2X1

A0

A0

A17A18

VDD

D0D1D2D3D4D5D6D7D8D9D10D11D12D13D14D15

D0D1D2D3D4D5D6D7D8D9D10D11D12D13D14D15

VDD

Default setting: Open

PE1PE0

PD5PG10

PD6PD4

PD7

FMC_NBL0FMC_NBL1

A19A20 A23

VDD

A22B8

A15D7A14C7

A13A7

A12B7A11D6A10C6

A9A6A8B6

A19D5 A20D4

WA5

RPB5

A21C5

Vpp/WPB4

RBA4

A18C4

A17B3

A7A3A6C3

A5D3A4B2A3A2

A2C2

A1D2

VCCQ D8

A0E2

EF2

VSS E8

GG2

DQ0 E3

DQ8 F3

DQ1 H3

DQ9 G3

DQ2 E4

DQ10 F4

DQ3 H4

DQ11 G4

VCCQ F1

DQ4 H5

DQ12 F5

DQ5 E5

DQ13 G6

DQ6 H6

DQ14 F6

DQ7 E6

DQ15A-1 G7

VSS H7BYTEF7

A16E7

VCC G5

VSS H2

A23C8U11

M29W128GL70ZA6EM29W256GL70ZA6E

D[0..15]

A[0..23]

D[0..15]

A[0..23]

R1340

R1100

C45100nF

C123100nF

C124100nF

C130100nF

C128100nF

C122100nF

R97

10K

R13510K

R23910K

R11110K

R9610K

R109

10K

SRAM Nor Flash

A21

FMC_NE1

512kx16: IS61WV51216BLL-10MLI

FMC_NE3

+3V6

Operating range: 1.65<VDD<3.6V

512x16: IS66WV51216EBLL-55BLI VDD: 2.5V to 3.6V

Operating Voltages :

1Mx16: IS61WV102416BLL-10MLI VDD: 2.4V to 3.6V

A4B4A3B3

A2A5A1A4A0A3

CEB5

I/O0 B6I/O1 C5I/O2 C6I/O3 D5

VCC D6

VSS D1

I/O4 E5I/O5 F5I/O6 F6I/O7 G6

WEG5

A16E4A15F4

A14F3

A13G4A12G3A11H5

A10H4

A9H3A8H2 I/O8 B1I/O9 C1I/O10 C2I/O11 D2

VCC E1

I/O12 E2I/O13 F2I/O14 F1I/O15 G1

BLEA1

BHEB2

OEA2

A7D4

A6C4A5C3

A17D3 A18H1

VSS E6

A20H6A19G2

CE2 A6

A21E3U17

IS61WV102416BLL-10MLI

PSRAM IS66WV51216EBLL-55BLI

LCD_CLK

+3V3

TFT LCD

PF14PF15PE9PE10PE11PE12PE13PE14

PF11

PE0PE1

PD3

PH5PH4

FTSH-125-01-F-DV-K (Samtec)

LCD_RST

PD4PD5

VDD

C121100nF

C119100nF

PD5PD4

PG12

MFX_GPIO12

D6D7D8D9D10D11

A8A9R03

R15

R27R39R411

R513

R615R717

G0 4G1 6

G2 8G3 10G4 12

G5 14

G6 16G7 18

B021

B123B225B327

B429B531B633B735

GND1 GND 2

GND19 GND 20

DE/TE 22

DISP 24HSYNC 26VSYNC 28

GND 30PCLK 32GND 34RST# 36

GND37 SDA 38INT39 SCL 40RS41 NOE 42

BL_CTRL43 NWE 44

BL+5V45 CS 46BLGND47BLGND49 VDD 48

+3.3V 50

CN20

P127B-2*25MGF-079-1A

PE2PE3PE15PD8PD9PD10PD11PD12

PE4PF13PD14PD15PD0PD1PE7PE8

+5VC8310uF

L5BEAD(FCM1608KF-601T03) C76

100nFL4

BEAD(FCM1608KF-601T03)

PC2LCD_INT

LCD_DISP

LCD_BL_CTRLPA5

MFX_GPIO11D0D1D2D3D4D5

D12D13D14D15A16A17

A19

A20

A23

A7

PE0PE1

PE0PE1

PD5PD4

I2C_SDAI2C_SCL

BL+5V

BL+5V

BLGND

BLGND

FMC_NE4

A23

LCD_DE

Page 68: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

68/8

7D

ocID030

791 Re

v 3

Figure 27. Audio codec device

5 16

Audio

MB1313 B.1

4/19/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

SAI1_SCKA

PC1

ADCDAT1F2ADCLRCLK1/GPIO1G3

AGND D6

CPVDDG9

CPVOUTN H7

CPVOUTP G7

CS/ADDR G2

DACDAT1E4

CPGND H9DCVDDF1

DBVDDD2 DGND E2

CPCB H8

AVDD1D9

BCLK1G1

CIFMODE A4

CPCA G8

DMICCLKC6

AGND E7AGND E8

AVDD2D8

GPIO2/MCLK2 E1

GPIO3/BCLK2H2GPIO4/LRCLK2F4GPIO5/DACDAT2H3

GPIO6/ADCLRCLK2G4 GPIO7/ADCDAT2E5

GPIO8/DACDAT3H4GPIO9/ADCDAT3F5GPIO10/LRCLK3H5 GPIO11/BCLK3F6

HP2GND F7

HPOUT1FB G5

HPOUT1L H6HPOUT1R G6

HPOUT2N F9HPOUT2P F8

IN1LND7 IN1LPC8

IN1RNB7 IN1RPC7IN2LN/DMICDAT1B9 IN2LP/VRXNB8

IN2RN/DMICDAT2A9 IN2RP/VRXPA8

LDO1ENAD4

LDO1VDDE9

LDO2ENAD5

LDO2VDDD1

LINEOUT1N C5

LINEOUT1P B5

LINEOUT2N C4LINEOUT2P B4LINEOUTFB A6

LRCLK1E3

MCLK1 D3

MICBIAS1 A7MICBIAS2 B6

REFGND A5

SCLK H1SDA F3

SPKGND1 A1SPKGND2 C1

SPKMODE A3

SPKOUTLN B1SPKOUTLP A2

SPKOUTRN C3SPKOUTRP B3

SPKVDD1B2

SPKVDD2C2

VMIDC C9

VREFCE6

U26

WM8994ECS/R

C91

100n

F

C94

100n

F

VDD

+1V8

VDD

SAI1_FSASAI1_SDASAI1_SDB

PA8PB9

PB5

Audio_INT

I2C_SDAI2C_SCL

PH5PH4

SAI1_MCLKAPB8

C90

100n

F

C89

100n

F

R15820

R15720

C85 2.2uF

C84 2.2uF

C87 2.2uF

C102

100n

F

DFSDM_CLK

DFSDM_DATA4 PC0

+3V3

C93

100n

F

+1V8

+3V3

+1V8

C81

100n

F

C101

100n

F

VDD

PI4

R166 4K7

R177 10K

C82 1uF

C95

1uF

C92

1uF

C80

4.7u

F

C79

4.7u

F

C78

4.7u

F

C774.7uF

C864.7uF

C884.7uF

PF10

R159 0R165 0

GND5 DOUT 4CLK 3VDD1 LR 2U31

MP34DT01TR

GND5 DOUT 4CLK 3VDD1 LR 2U30

MP34DT01TR

LEFT

RIGHT

Operating range: 1.62<VDD<3.6V

32

1 JP15 MICBIAS1

VDD

32

1

JP16

R178 0

2

6

4

3 CN24

PJ3028B-3

2

6

4

3 CN23

PJ3028B-3

R193

0

R194

0

R192

0

R191

0R2491K

R253

180

R2501K

R254

180

C144

4.7uF

C143

4.7uF

1 32

45

6

D10ESDA6V1BC6

1 32

45

6

D9ESDA6V1BC6

R164 [N/A]

I2C address: 0x34

Page 69: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

69/87

Figure 28. DSI display connector

6 16

DSI LCD connector

MB1313 B.1

3/31/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

DSI_INTPC2

DSI LCD

+5VC13410uF

L6BEAD(FCM1608KF-601T03) C135

100nF

L7 BEAD(FCM1608KF-601T03)

DSI_CK_PDSI_CK_N

DSI_D0_PDSI_D0_N

DSI_D1_PDSI_D1_N

DSI_BL_CTRL

DSI_TE

R136

10K

C65100nF

PG6

DSI_RST

11 2 2

33 4 4

55 6 677 8 899 10 10

1111 12 121313 14 141515 16 161717 18 18

1919 20 202121 22 222323 24 24

2525 26 26

2727 28 282929 30 303131 32 32

3333 34 34

3535 36 363737 38 383939 40 40

4141 42 42

4343 44 444545 46 464747 48 48

4949 50 505151 52 525353 54 545555 56 56

5757 58 585959 60 60

6161

626263636464

CN16

QSH-030-01-F-D-A-K-TR

+3V3

VDD

SCLK/MCLKLRCLKI2S PC1

PA8PB9

DSI_D2_PDSI_D2_N

DSI_D3_PDSI_D3_N

+1V8C63

100nF

I2C_SCL

I2C_SDA

SPI_CS

SPI_CLK

SPI_SDISPI_DCX

VDDC64

100nFSWIRE

PB14

MFX_GPIO9

PG12

PI1

PI3PI2

USART1_CK/TX config SB on MCU sheet

SB28SB27

SB31SB30

Operating range: 1. GVO LCD IEG1120TB103GF-001 works at 1.65V<VDD<3.3V2. MB1166 board works at VDD=3.3V only

SB25

USART1_TX

USART1_CK

SB24

PG13

PB6

PF11

PH4

PH5

Page 70: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

70/8

7D

ocID030

791 Re

v 3

Figure 29. Physical control peripherals, microSD card and EEPROM

7 16

Peripherals

MB1313 B.1

4/10/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

JOY_SELJOY_DOWNJOY_LEFTJOY_RIGHTJOY_UP

Buttons

Joystick

1 2

LD3Red

1 2

LD2Orange

1 2

LD4Blue

1 2

LD1Green+3V3

R187510

R186680

R185680

R184680

LEDs

LED4

LED3

LED1

LED2

PB15

PH13

PH14

PH15

COMMON5

Selection2

DOWN3

LEFT1RIGHT4UP6

GND 7GND 8

B1

MT-008A

MICRO SD

VDD

SMS064FF or SMS128FF

1 2 3 4 5 6 7 8SW

29

SW1

10

CN8PJS008-2000

R450

VDD

(TF) Card

input pin with pull-up

R6247K

R5147K

R4847K

R6047K

R5547K

VDD

SDIO1_CLKSDIO1_CMD

SDIO1_D0SDIO1_D1

SDIO1_D2SDIO1_D3

PC8PC9

PC10PC11

PC12PD2

uSD_Detect

R189220K

R190100

R188330

PC13

VDD

WAKEUP

143 2

B3WKUP

Wakeup & Key Button C113100nF

VDD

MicroSD card

Operating Voltage: VDD no Lower than 2.7V

MFX_GPIO0MFX_GPIO1MFX_GPIO2MFX_GPIO3MFX_GPIO4

MFX_GPIO5

1 23 45 67 8

CN2

F206A-2*04MGF-A

VDD

EXT_I2C Connector

+5V

SSM-104-L-DH (Samtec)

I2C_SCLI2C_SDA PH4

PH5EXT_RESET

E01

E12E23VSS4 SDA 5SCL 6WC 7VCC 8

U3

M24128-DFDW6TP

PH5PH4

R2510K

VDDC18

100nF

I2C_SDAI2C_SCL

I2C EEPROM

M24C64-FDW6TP

operating voltage ranges:1MHz 64Kbit I2C memory M24C64-FDW6TP: 1.7 to 5.5V1MHz 128Kbit I2C memory M24128-FDW6TP: 1.7 to 5.5V

I2C address: 0xA0

MFX_GPIO8

I2C_SDAI2C_SCL

SB13

SB12

C103[N/A]

R47[N/A]

VCC

B1

GN

DB2

GN

DB3

GN

DB4

DET

B5O

1A

1O

2A

2

O3

A3

O4

A4

O5

A5

O6

A6

I1C1

I2C2

I3C3

I4C4

I5C5

I6C6

U7EMIF06-HSD03F3

12

D12

ESDA7P60-1U1M

1 3

24 5 6

D13ESDA6V1-5SC6

Page 71: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

71/87

Figure 30. Analog input and output and touch-sensing device

8 16

Analog and TS

MB1313 B.1

6/5/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

13

2

RV23386P-103(10K)

VDD

Potentiometer/LDR

R1188.2K

VDD

Comp2_INP

32

1

JP9

32

1

JP5

R1081K

R246

1K

OpAmp1_INP

OpAmp1_INM

R245 [N/A]OpAmp1_VOUT

OA1_OUTTP9

+

-

OpAmp1

13

2

RV13314J-1-103

STM32L

PA0

PA1PA3 VDD

Potentiometer

LDR

Comparator

OpAmp/ADC

COMP2_OUTTP6

OpAmp1_VOUT

OpAmp1_INM

OpAmp1_VOUT

OpAmp1_INM

OpAmp1_INP OpAmp1_INP

PA3

PA0

PA1

STM32L

Comp2Comp2_INP

Comp2_INP

PB4 Comp2_OUT

Comp2_OUT Comp2_OUT

PB5

PB4

PB5

Variable gain

R121GL5528

ADC_DAC

ADC&DAC connector

C21[N/A]

R310

R320

Close to MCU on PCB

PA4

CN4Header 2X1

1 2

<----Touch Sensing diameter 10mmmin on active shield diameter 12mmmin

R43

10K

SHIELDSHIELD_CS

TS1TS_PAD

ESD resistor close to MCU pad

TKEY_CS

C2922nF(COG)GRM3195C1H223JA01L

R221K

C27220nF

TKEY

PB7PB6

PC6

PC7

Default setting: Open

Default setting: 1<->2 from Potentiometer

Default setting: 2<->3 to Comp2

Page 72: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

72/8

7D

ocID030

791 Re

v 3

Figure 31. ST-LINK/V2-1

9 16

ST-LINK/V2-1

MB1313 B.1

4/10/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

STM_RST

T_JT

CK

T_JTCK

T_JT

DO

T_JT

DI

T_JTMS

OSC_INOSC_OUT

T_N

RST

AIN_1

COM

PWR

Board Ident: PC13=0

SWD

T_SWDIO_IN

LED_STLINKMCO

VCP_RX

VCP_TX

T_SWO

R168[N/A]

R16710K

R170 4K7

R169 4K7

C141100nF

USB

_REN

UM

n

+3V3_ST_LINK

+3V3_ST_LINK

+3V3_ST_LINK

+3V3_ST_LINK

PWR

_EXT

+3V3_ST_LINK

C611uF_X5R_0603

C6610nF_X7R_0603

C681uF_X5R_0603

C62100nF

C67100nF

+3V3_ST_LINK

VBAT1

PA7

17

PC132

PA12 33PC143

PB0

18

PC154 JTMS/SWDIO 34

OSCIN5

PB1

19

OSCOUT6

VSS_2 35

NRST7

PB2/

BOO

T120

VSSA8

VDD_2 36

VDDA9

PB10

21

PA010

JTCK

/SW

CLK

37

PA111

PB11

22

PA212

PA15

/JTD

I38

PA3

13

VSS

_123

PA4

14

PB3/

JTD

O39

PA5

15

VD

D_1

24

PA6

16

PB4/

JNTR

ST40

PB12 25

PB5

41

PB13 26

PB6

42

PB14 27

PB7

43

PB15 28

BOO

T044

PA8 29

PB8

45

PA9 30

PB9

46

PA10 31

VSS

_347

PA11 32

VD

D_3

48

U27STM32F103CBT6

R156100K

Power Switch to supply +5Vfrom STLINK USB

PWR_ENn

+3V3_ST_LINK

1 23 45

CN19

[N/A]C139100nF

C142100nF

C140100nF

C137100nF

+3V3_ST_LINK

VDD

LED_STLINK

21 4

3

Red Yellow

LD9HSMF-A201-A00J1

R180100

R181100

R1820

+3V3_ST_LINK

T_JTCKT_JTDI

T_NRSTT_JTMS

T_JRST

TDITRST

TMS/SWDIO

TCK/SWCLK

RESET#

STM_JTMS_SWDIOSTM_JTCK_SWCLK

STM_JTMS_SWDIO

STM

_JTC

K_SW

CLK

T_JR

ST

SWIM_PU_CTRLSTL_USB_DMSTL_USB_DP

R162

100K

R161

2K7

R160

4K7

+3V3_ST_LINK

+5V

PB11

PB10

C714.7uF

IN1IN2

ON3 GND 4

SET 5

OUT 6OUT 7

FAULT8

U22

ST890CDR

VUSB_ST_LINK U5V_ST_LINK

R149 100K

R15010K

R1472K2

R1480

C69100nF

1 2 LD8Red

R179 1K

USB ST-LINK

R1721K5

R176100K

USB_RENUMn

R16310K

R25236K

R251 100

+3V3_ST_LINK

C96100nF

iDiff Pair 90ohm

iDiff Pair 90ohm

VBUS 1

DM 2DP 3ID 4

GND 5

Shield 6

USB

_Mic

ro-B

rece

ptac

le

Shield 7Shield 8

Shield 9EXP 10EXP 11

CN21

1050170001

3

1

2

T99013

VUSB_ST_LINK

VUSB_ST_LINK

VUSB_ST_LINK

STL_USB_DMSTL_USB_DP

51

2

GND3

4

BYPASSEN

Vin Vout

U21 LDK120M33R

C9910pF

C10010pF

1 2X3

NX3225GD-8.000M-EXS00A-CG04874

E5V

VBUS_FS

D3

BAT60JFILMD5V

SB32

SB33

R248[N/A]

I/O11GND2I/O23 I/O2 4Vbus 5I/O1 6

U29

USBLC6-2SC6

D5

BAT60JFILM

D2

BAT60JFILM

D4

BAT60JFILM

D8

BAT60JFILM

VUSB_ST_LINK

T_JTDO TDO/SWO

VccA1A12A23

GND4 DIR 5B2 6B1 7VccB 8U24

SN74LVC2T45DCUT

VDD

T_SWO

T_SWDIO_IN

VCCA1A12

A23

GND4 DIR 5B2 6B1 7VCCB 8U28

SN74LVC2T45DCUT

VDD

R171

0

VDD

C98100nF

C97100nF

R175100K

R174100K

R173

0+3V3_ST_LINK

+3V3_ST_LINK

C74

100nF

C75100nF

PB10TP15

C1364.7uF

Page 73: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

73/87

Figure 32. IDD measurement

10 16

IDD measurement / MFX (Multi Function eXpander)

MB1313 B.13/31/2017

Title:

Size: Reference:Date: Sheet: of

A3 Revision:

STM32L4Rx-EVALProject:

VDD_MCU

Currentdirection

to MCU

differentialamplifier

SH0 SH1 SH2

Shunts

3

4

5G

SD

6

21

T4STT7P2UH7

3

4

5

G

SD

6

21

T3STT7P2UH7

3

4

5

G

SD

6

21

T2STT7P2UH7

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

12

3

JP4

bypass

R921_1%_0805

R9124_1%_0805

R90620_1%_0805

R9310K_1%_0805

V+

V-

3

21

48

U14ATSZ122IST

5

67

U14BTSZ122IST

V+

V-

3

21

48 U13A

TSZ122IST

5

67

U13BTSZ122IST

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

D1 BAT60JFILM

USB_PSON

VDD

VDD

3

4 5

G

S D

621T5STT7P2UH7

VDD

+5V

+5V

U

New Parts

New Parts

PA0

PG9

PH5

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

3

4

5

G

SD

6

21

T8STT7P2UH7

3

4

5

G

SD

6

21

T7STT7P2UH7

100KR122

10KR132

510R133

0R113

100KR101

100KR100

100KR99

100KR98

100KR107

1uFC49

100R112

357KR125

11KR126

6K04R116

6K04R119 300KR120

300KR114

MFX_V3WAKEUP2 NRST7

TSC_XP/GPO010

TSC_XN/GPO111

TSC_YP/GPO212

TSC_YN/GPO313

USART_TX21USART_RX22

SPARE14

SWDIO34

SWCLK37

I2C_SCL42I2C_SDA43

BOOT044

I2C_ADDR45

IRQOUT46

IDD_CAL/GPO4 3

IDD_SH0 4IDD_SH1/GPO5 5IDD_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 27GPIO15 28

IDD_VDD_MCU 41

VD

D1

VD

DA

9

VD

D_1

24V

DD

_236

VD

D_3

48

VSS

A8

VSS

_123

VSS

_235

VSS

_347

U16

0R123

VDD1

JP7 [N/A]

uSD_Detect

JOY_SELJOY_DOWNJOY_LEFTJOY_RIGHTJOY_UP

USB_OVRCR

DSI_RST

LCD_RSTLCD_DISP

I2C_SCL

I2C_SDA

EXT_RESET

SB23

C55 100nF

C1271uF

C126100nF

C125100nF

C129100nF

C133100nF

C131100nF C56

100nF

C51

100nF

C52100nF

C50

100nF

L2BEAD(FCM1608KF-601T03)

Capacitor close to MCU

C1324.7uF

C53

100nF

I2C address: 0x84

Page 74: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

74/8

7D

ocID030

791 Re

v 3

Figure 33. JTAG and trace debug connectors

11 16

JTAG & Trace

MB1313 B.1

4/11/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

1234567891011121314151617181920

CN12

P127B-2*10MGF-079-1E7A

1234567891011121314151617181920

CN17JTAG

R14310K

TDI

RESET#

TRACE_D3TRACE_D2TRACE_D1TRACE_D0TRACE_CK

TRST

TMS/SWDIOTCK/SWCLKTDO/SWO

Trace connector JTAG connector

KEY

PA13PA14PB3PA15PB4

PE6PE5PC10PC9PE2

VDD

VDD

VDD

VDD

R87 22R88 22R89 22R94 22R104 22R95 22

FTSH-110-01-L-DV (Samtec)

1 32

4 5

U10ESDALC6V1W5

12345 6

78910

CN15

Tag-10_C

Only footprint with Cable: TC2050-IDC-NL

PA13

PA14PB3

PA15PB4

VDD

1 32

4 5

U19ESDALC6V1W5

1 32

4 5

U20ESDALC6V1W5

R140

[N/A

]

R142

[N/A

]

R130

[N/A

]

R131

[N/A

]

R139[N/A]

R144[N/A]

R102 [N/A]

R103 [N/A]R145 10K

R146 10K

PB11 PB10T_VCP_RX T_VCP_TX

VDD

STDC14 ReceiverFTSH-107-01-L-DV-A-K

1 23 45 67 8

1091113

1214

CN11

T_VCC must be to connected to VDD_MCU of the Target

100R255

T_SWDIOT_SWCLKT_SWO

T_NRSTT_VCP_TXT_VCP_RX

T_VCC

GNDDetect

Page 75: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

75/87

Figure 34. Motor-control connector

12 16

MotorControl

MB1313 B.1

3/31/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

R183K3

C141nF

+3V3

+3V3+5V

R15 0

C12[N/A]

C2[N/A]

R14 0

R13 0

R160

R110

MC_EmergencySTOP

MC_CurrentA

MC_CurrentB

MC_CurrentC

MC_PFC_sync

MC_PWM_3L

MC_PWM_2HMC_PWM_2L

MC_PWM_1HMC_PWM_1L

MC_PWM_3H

MC_ICL_ShutoutMC_DissipativeBrake

MC_PFC_PWMMC_EnAMC_EnB

MC_BusVoltage

MC_EnIndex

Motor control connector

PC3

PA1

PC0

PC1

PC2

PG9

PB14

PB7

PG13

PB8

PC7PH14

PH15

PB6

PI4PC6PH13

PC8

C11[N/A]

C10[N/A]

C7[N/A] C6

[N/A]C3[N/A]

C1[N/A]

PB15

C1610nF

C13100nF

C8100nF

R17100K

EMERGENCY STOP1

PWM_1H3

PWM_1L5PWM_2H7PWM_2L9

PWM_3H11PWM_3L13PHASE A CURRENT +15

PHASE C CURRENT +19 PHASE B CURRENT +17

ICL shut out21DISSIPATIVE BRAKE23

+5V POWER25

PFC SYNC27PFC PWM29Encoder A31

Encoder B33

GND 2

GND 4

GND 6GND 8GND 10

GND 12BUS VOLTAGE 14

PHASE A CURRENT - 16PHASE B CURRENT - 18

PHASE C CURRENT - 20GND 22

PFC Inductor current 24

Heatsink Temperature 26

3.3V Power 28PFC Shut down 30

PFC Vac 32

Encoder Index 34

CN1

MC_connector

R120

PA0

C9100nF

MC_PFC_IndCurr

MC_Temperature

R10 0

R80

C4[N/A]

MC_PFC_ShutdownPA9

PC4

MC_PFC_Vac

+3V3

R93K3

C51nF

SB1

Page 76: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

76/8

7D

ocID030

791 Re

v 3

Figure 35. USB OTG FS port

13 16

USB_OTG_FS

MB1313 B.1

4/10/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

+5VUSB_PSON

USB_OVRCR

+3V3

12

LD5Red

R4620

C194.7uF

R23 0

R6 0GND2

IN5EN4 OUT 1FAULT 3

U2

STMPS2151STR

VBUS1DM2DP3ID4

GND5

Shield6

USB

_Mic

ro-A

Bre

cept

acle

Shield7

Shield8Shield9EXP10

CN3

475900001

VBUS_FS PA9

PA10

PA11PA12

R29330

12

LD6Green

+3V3

R2722K

From MFX

To MFX

MFX_GPIO7

MFX_GPIO6

R2410K

R747K

R28

47K

3

1

2

T19013

USB Full Speed operating range voltage: 3.0V<VDDUSB<3.6V

USBOTG_DMUSBOTG_DPUSBOTG_ID

I/O11GND2I/O23 I/O3 4Vbus 5I/O4 6

U4

USBLC6-4SC6

Hirose: ZX62RD-AB-5P8

12

D15ESDA7P60-1U1M

Page 77: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

77/87

Figure 36. USART, CAN transceiver and PMOD connector

14 16

Interface

MB1313 B.1

6/5/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

162738495

CN7DB9-male

USART

C2+1

C2-2 V- 3

R1IN 4R2IN 5R3IN 6

R4IN 7

R5IN 8

T1OUT 9T2OUT 10

T3OUT 11T3IN12 T2IN13 T1IN14

R5OUT15 R4OUT16 R3OUT17 R2OUT18 R1OUT19 R2OUTB20 R1OUTB21

nSHDN 22nEN23

C1-24 GND 25VCC 26

V+ 27C1+28

U9

ST3241EBPR

C105 100nF

C26 100nF

C106100nF

C107100nFC32 100nF

+3V3

+3V3

RXDRTSTXDCTS

DSR

UART_CTS_3V3 PB13

UART_RTS_3V3PB12

VCCA1

A12

A23GND4 DIR 5B2 6B1 7VCCB 8

U1

SN74LVC2T45DCUT

+3V3VDD

VDD

C17100nF

C15100nF

R5100K

R19100K

VDD

UART_RTS_3V3

UART_RTS

UART_RX_3V3 PG8

UART_TX PG7

D1

GND2VCC3R4 Vref 5CANL 6CANH 7RS 8

U25

SN65HVD230

+3V3

VDD

R154120

JP13Header 2X1

32

1

JP14

R15210K

VDD

C138

100nF

R1510

R1550

R153[N/A]

Default setting: 1<->2

Default setting: Closed 162738495

CN22DB9-male

PB9

PB8

CAN_TX

CAN_RX

R247 0

31 2

D7ESDCAN24-2BLY

Optional

Operating voltage range: 3.0<VDD<3.6V

UART_TX_3V3

UART_TX_3V3

PMOD

123456

789

101112

P1

SSW-106-02-F-D-RA

+3V3

PB13

PMOD_INTPMOD_RST

SPI_CS

SPI_MISO

PG13PB14

PG7PI3

PG8PI2

PI1

SPI_MOSI

SPI_SCK

ATOM FH254206C-1600

PI0

PB12

UART_RX

UART_CTS

UART_RX

UART_CTS

UART_RTS_3V3

UART_TX_3V3

SB4SB5

SB7

SB8

SB11

SB6

SB9

SB10

R21 0R20 0

JP12

Default setting: Closed

Page 78: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Elec

trical s

ch

em

atic

sU

M2

248

78/8

7D

ocID030

791 Re

v 3

Figure 37. Octo-SPI Flash memory device

15 16

OctoSPI

MB1313 B.1

10/18/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

NC A2

NC A3

DNU A5

RESET#A4

NC B1

SCLKB2

GND B3

VCC B4

NC B5

VSSQ C1

CS#C2DSQC3

SIO2C4 NC C5

VCCQ D1

SIO1D2 SIO0D3

SIO3D4SIO4D5

SIO7E1 SIO6E2 SIO5E3 VCCQ E4

VSSQ E5

U6

MX25LM51245GXDI00

NC A2NC A5

RESET#A4

NC C2

CKB2

VSS A1

VCC B4

NC B5

VSSQ C1

CS#A3

RWDSC3

SIO2C4

NC C5

VCCQ D1SIO1D2 SIO0D3

SIO3D4SIO4D5

SIO7E1 SIO6E2 SIO5E3 VCCQ E4

VSSQ E5

CK#B1

VSS B3

U5

IS66WVH8M8BLL-100BLI

OCTOSPI2_IO0

OCTOSPI2_CLKOCTOSPI2_NCS

OCTOSPI2_IO1OCTOSPI2_IO2OCTOSPI2_IO3OCTOSPI2_IO4OCTOSPI2_IO5OCTOSPI2_IO6OCTOSPI2_IO7

OCTOSPI1_IO5OCTOSPI1_IO4

OCTOSPI2_DQS

OCTOSPI1_IO6OCTOSPI1_IO7

OCTOSPI1_IO3OCTOSPI1_IO2OCTOSPI1_IO1OCTOSPI1_IO0

OCTOSPI1_DQSOCTOSPI1_NCSOCTOSPI1_CLK

C115100nF

VDD

C110100nF

C108100nF

C111100nF

VDD

C109100nF

C116100nF

RESET#

C5 for VPP from Mircon

MIRCON: MT35XL512ABA1G12-0SIT

Operating range: 2.7<VDD<3.6V

Operating range: 2.7<VDD<3.6V

PA3

PI6PI5PG15

PI10PI9PH8PH9PH10PH11PH12

PI11

PB1PB0PA7PA6

PC4PC3

PA2PB2

PH2PG11

VPPTP4

R202[N/A]

VDD

R212[N/A]

VDD

R201[N/A]

VDD

Page 79: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

UM

22

48E

lectrica

l sc

he

ma

tics

DocID

030791 R

ev 3

79/87

Figure 38. Extension connectors

16 16

Extension Connectors

MB1313 B.1

3/31/2017

Title:

Size: Reference:

Date: Sheet: of

A4 Revision:

STM32L4Rx-EVALProject:

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40

CN13

P1039-2*20MGF-089-1A

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40

CN14

P1039-2*20MGF-089-1A

PA[0..15] PA[0..15]PB[0..15] PB[0..15]

PC[0..15] PC[0..15]

PC14 PC15

+3V3D5V

D5V

PH0PH1

+3V3

Place close Memory

Place close Memory

Left

Right

+5V

FTR-120-03-L-D-LC (Samtec)

FTR-120-03-L-D-LC (Samtec)

PA6

PA11PA12

PA9PA10

PA0

PA1

PA15

PA3

PA13PA14

PA2

PA8

PA4PA5

PB5 PB7

PB14PB15

PB10

PB8

PB9

PB1PB2

PB3

PB0

PB4

PB11PB12PB13

PB6

PC0PC1

PC2

PC3PC4

PC6

PC7

PC8

PC9

PC10

PC11PC12

PC13

PD2 PD3

PD4

PD5

PD6

PD7

PE0

PE1

PF11

PF10

PG15

PG9

PG8

PG11

PG10

PG12PG13

PG6

PG7

PH14PH15

PH9

PH8 PH11PH10

PH12

PH13

PH2

PH3

PH4PH5

PI0

PI9PI11

PI10

PI1

PI2

PI3

PI4

PI5

PI6

PI7

PA7

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40

CN5

P1039-2*20MGF-089-1A

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40

CN6

P1039-2*20MGF-089-1A

VDD

+3V3VDDVDD

SB52SB53

SB49SB50

A0A1A2

A3

A4

A5

A6A7A8

A9A10

A11

A12

A13

A14

A15

A16

A17A18

A19A20A21 A22

A23

D0D1

D2D3

D4 D5

D6

D7

D8

D9

D10

D11D12

D13D14

D15

D[0..15]

A[0..23]

D[0..15]

A[0..23]

PD[2..7] PD[2..7]

PE[0..1] PE[0..1]PF[10..11] PF[10..11]

PG[6..15] PG[6..15]PH[0..15] PH[0..15]

PI[0..11] PI[0..11]

RESET# R213820

PF0PF1PF2

PF3

PF4

PF5

PF12PF13PF14

PF15PG0

PG1

PE7 PE8

PE9

PE10

PE11

PE12

PE13

PE14PE15

PD8PD9

PD10PD11

PD12PD13

PD14PD15

PG2

PG3

PG4

PG5

PD0PD1

PE2PE3PE4

PE5 PE6

Page 80: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

I/O assignment UM2248

80/87 DocID030791 Rev 3

Appendix A I/O assignment

Table 39. STM32L4R9I-EVAL I/O assignment

Primary key

UFBGA169 DSI

Pin name Pinout assignmentRGB LCD with

FMC modeMotor-control

connector

1 K12 DSI_CKN - - -

2 K11 DSI_CKP - - -

3 L12 DSI_D0N - - -

4 L11 DSI_D0P - - -

5 J12 DSI_D1N - - -

6 J11 DSI_D1P - - -

7 L13 VCAPDSI - - -

8 [L13] VDD12DSI - - -

9 [L13] VDD12DSI - - -

10 J13 VSSDSI - - -

11 K13 VSSDSI - - -

12 H3 NRST NRST - -

13 K3 PA0 OPAMP1_VINP || MFX_IRQ_OUT - PFC ind. Curr.

14 M1 PA1 OPAMP1_VINM - Heatsink Temp.

15 N1 PA2 OCTOSPIP1_NCS - -

16 M2 PA3OCTOSPIP1_ CLK ||

OPAMP1_VOUT- -

17 N2 PA4 ADC/DAC - -

18 L3 PA5 LCD_BL_CTRL - -

19 L4 PA6 OCTOSPIP1_IO3 - -

20 M4 PA7 OCTOSPIP1_IO2 - -

21 E11 PA8 SAI1_SCK_A - -

22 E12 PA9 OTG_FS_VBUS - PFC shutdown

23 D11 PA10 OTG_FS_ID - -

24 E13 PA11 OTG_FS_DM - -

25 D13 PA12 OTG_FS_DP - -

26 A11 PA13 JTMS/SWDIO - -

27 A10 PA14 JTCK/SWCLK - -

28 A9 PA15 JTDI - -

29 N4 PB0 OCTOSPIP1_IO1 - -

30 L5 PB1 OCTOSPIP1_IO0 - -

31 N5 PB2 OCTOSPIP1_DQS - -

Page 81: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 81/87

UM2248 I/O assignment

86

32 A6 PB3 JTDO/TRACESWO - -

33 A5 PB4 NJTRST || COMP2_INP - -

34 B5 PB5 SAI1_SD_B || COMP2_OUT - -

35 C5 PB6 TSC_G2_IO3 || USART1_TX - Encoder A

36 D5 PB7 TSC_G2_IO4 - Encoder B

37 C4 PB8 SAI1_MCLK_A || CAN1_RX - Encoder Index

38 D4 PB9 SAI1_FS_A || CAN1_TX - -

39 N9 PB10 UART3_TX - -

40 H7 PB11 UART3_RX - -

41 N12 PB12 LPUART1_RTS_DE - -

42 N13 PB13 LPUART1_CTS - -

43 M12 PB14 PMOD_RST/DSI_BL_CTRL - PFC sync

44 L10 PB15 LED1 - PFC PWM

45 J2 PC0 DFSDM1_DATIN4 - PhaseA Current+

46 J3 PC1 SAI1_SD_A - PhaseB Current+

47 J4 PC2 LCD_INT - PhaseC Current+

48 K1 PC3 OCTOSPIP1_IO6 - PFC Vac

49 K4 PC4 OCTOSPIP1_IO7 - Bus Voltage

50 F11 PC6 TSC_G4_IO1 - MC_PWM_1H

51 G11 PC7 TSC_G4_IO2 - MC_PWM_2H

52 F9 PC8 uSD1_D0 - MC_PWM_3H

53 G13 PC9 uSD1_D1 || TRACED0 - -

54 D9 PC10 uSD1_D2 || TRACED1 - -

55 E9 PC11 uSD1_D3 - -

56 F8 PC12 uSD1_CK - -

57 E1 PC13 TAMP1/WKUP2 - -

58 F1PC14-

OSC32_INOSC32_IN - -

59 G1PC15-

OSC32_OUTOSC32_OUT - -

60 B8 PD0 FMC_D2 LCD_B4 -

61 C8 PD1 FMC_D3 LCD_B5 -

62 D8 PD2 uSD1_CMD - -

63 E8 PD3 - LCD_CLK -

64 C7 PD4 FMC_NOE LCD_NOE -

Table 39. STM32L4R9I-EVAL I/O assignment (continued)

Primary key

UFBGA169 DSI

Pin name Pinout assignmentRGB LCD with

FMC modeMotor-control

connector

Page 82: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

I/O assignment UM2248

82/87 DocID030791 Rev 3

65 D7 PD5 FMC_NWE LCD_NWE -

66 E7 PD6 FMC_NWAIT LCD_DE -

67 F7 PD7 FMC_NE1 - -

68 K10 PD8 FMC_D13 LCD_R3 -

69 K9 PD9 FMC_D14 LCD_R4 -

70 J10 PD10 FMC_D15 LCD_R5 -

71 J9 PD11 FMC_A16 LCD_R6 -

72 J8 PD12 FMC_A17 LCD_R7 -

73 H8 PD13 FMC_A18 - -

74 H11 PD14 FMC_D0 LCD_B2 -

75 H10 PD15 FMC_D1 LCD_B3 -

76 A4 PE0 FMC_NBL0 LCD_HSYNC -

77 B4 PE1 FMC_NBL1 LCD_VSYNC -

78 D3 PE2 FMC_A23 || TRACECK LCD_R0 -

79 D2 PE3 FMC_A19 LCD_R1 -

80 D1 PE4 FMC_A20 LCD_B0 -

81 E4 PE5 FMC_A21 || TRACED2 - -

82 E3 PE6 FMC_A22 || TRACED3 - -

83 L7 PE7 FMC_D4 LCD_B6 -

84 K6 PE8 FMC_D5 LCD_B7 -

85 J6 PE9 FMC_D6 LCD_G2 -

86 H6 PE10 FMC_D7 LCD_G3 -

87 N8 PE11 FMC_D8 LCD_G4 -

88 M8 PE12 FMC_D9 LCD_G5 -

89 L8 PE13 FMC_D10 LCD_G6 -

90 K7 PE14 FMC_D11 LCD_G7 -

91 J7 PE15 FMC_D12 LCD_R2 -

92 F5 PF0 FMC_A0 - -

93 F4 PF1 FMC_A1 - -

94 F3 PF2 FMC_A2 - -

95 G3 PF3 FMC_A3 - -

96 G4 PF4 FMC_A4 - -

97 G5 PF5 FMC_A5 - -

98 H4 PF10 DFSDM1_CKOUT - -

Table 39. STM32L4R9I-EVAL I/O assignment (continued)

Primary key

UFBGA169 DSI

Pin name Pinout assignmentRGB LCD with

FMC modeMotor-control

connector

Page 83: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 83/87

UM2248 I/O assignment

86

99 M5 PF11 DSI_TE/LCD_DE - -

100 N6 PF12 FMC_A6 - -

101 M6 PF13 FMC_A7 LCD_B1 -

102 L6 PF14 FMC_A8 LCD_G0 -

103 K5 PF15 FMC_A9 LCD_G1 -

104 J5 PG0 FMC_A10 - -

105 H5 PG1 FMC_A11 - -

106 H9 PG2 FMC_A12 - -

107 G8 PG3 FMC_A13 - -

108 G7 PG4 FMC_A14 - -

109 G9 PG5 FMC_A15 - -

110 G12 PG6 SWIRE - -

111 G10 PG7 LPUART1_TX - -

112 F10 PG8 LPUART1_RX - -

113 B7 PG9 MFX_WAKEUP - ICL shutout

114 D6 PG10 FMC_NE3 - -

115 E6 PG11 OCTOSPIP1_IO5 - -

116 F6 PG12 SPI_CS LCD_NE4 -

117 G6 PG13 PMOD_INT/ USART1_CK - Dissipative Brake

118 C6 PG15 OCTOSPIP2_DQS - -

119 H1 PH0-OSC_IN OSC_IN - -

120 J1 PH1-OSC_OUT OSC_OUT - -

121 A2 PH2 OCTOSPIP1_IO4 - -

122 E5 PH3-BOOT0 - - -

123 K8 PH4 I2C2_SCL - -

124 L9 PH5 I2C2_SDA - -

125 N10 PH8 OCTOSPIP2_IO3 - -

126 C11 PH9 OCTOSPIP2_IO4 - -

127 M9 PH10 OCTOSPIP2_IO5 - -

128 M10 PH11 OCTOSPIP2_IO6 - -

129 B13 PH12 OCTOSPIP2_IO7 - -

130 C9 PH13 LED2 - MC_PWM_1L

131 A13 PH14 LED3 - MC_PWM_2L

132 B12 PH15 LED4 - MC_PWM_3L

Table 39. STM32L4R9I-EVAL I/O assignment (continued)

Primary key

UFBGA169 DSI

Pin name Pinout assignmentRGB LCD with

FMC modeMotor-control

connector

Page 84: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

I/O assignment UM2248

84/87 DocID030791 Rev 3

133 A12 PI0 SPI2_NSS - -

134 B11 PI1 SPI2_SCK - -

135 B10 PI2 SPI2_MISO - -

136 C10 PI3 SPI2_MOSI - -

137 D10 PI4 Audio_INT -MC_EmergencyST

OP

138 E10 PI5 OCTOSPIP2_NCS - -

139 B9 PI6 OCTOSPIP2_CLK - -

140 B2 PI7 - - -

141 B1 PI9 OCTOSPIP2_IO2 - -

142 A1 PI10 OCTOSPIP2_IO1 - -

143 C3 PI11 OCTOSPIP2_IO0 - -

144 E2 VBAT - - -

145 N11 VDD - - -

146 H13 VDD - - -

147 C1 VDD - - -

148 A3 VDD - - -

149 C13 VDD - - -

150 N3 VDD - - -

151 G2 VDD - - -

152 N7 VDD - - -

153 A8 VDD - - -

154 M13 VDDDSI - - -

155 L2 VDDA - - -

156 F12 VDDIO2 - - -

157 B6 VDDIO2 - - -

158 D12 VDDUSB - - -

159 L1 VREF+ - - -

160 K2 VREF- - - -

161 A7 VSS - - -

162 C2 VSS - - -

163 H12 VSS - - -

164 M11 VSS - - -

165 B3 VSS - - -

Table 39. STM32L4R9I-EVAL I/O assignment (continued)

Primary key

UFBGA169 DSI

Pin name Pinout assignmentRGB LCD with

FMC modeMotor-control

connector

Page 85: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 85/87

UM2248 I/O assignment

86

166 C12 VSS - - -

167 H2 VSS - - -

168 F2 VSS - - -

169 M7 VSS - - -

170 M3 VSS - - -

171 F13 VSS - - -

Table 39. STM32L4R9I-EVAL I/O assignment (continued)

Primary key

UFBGA169 DSI

Pin name Pinout assignmentRGB LCD with

FMC modeMotor-control

connector

Page 86: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

Revision history UM2248

86/87 DocID030791 Rev 3

Revision history

Table 40. Document revision history

Date Revision Changes

18-Aug-2017 1 Initial version

25-Oct-2017 2

Added:

STM32L4R9I-EVAL board bottom view in Figure 5

Bootloader limitation in Chapter 9.8.1

Warning on AMOLED display in Chapter 9.32

Updated:

Cover views Figure 3 and Figure 4 moved to Section 9.1

Table 27 and Table 39 alternative function removed

Figure 23, Figure 24, and Figure 37 in Electrical schematics

9-Jan-2018 3

Updated:

Section 9.8.1: WA3 simplified

Table 34: PE3 replaced by PC9, PE4 replaced by PC10

Page 87: UM2248 User manual - STMicroelectronics...DocID030791 Rev 3 9/87 UM2248 Product marking 86 mass storage, virtual COM port and debug port • Microcontroller supply voltage: fixed 3.3

DocID030791 Rev 3 87/87

UM2248

87

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