ST STM32L4R9I User manual

July 2023 UM2248 Rev 5 1/77
1
UM2248
User manual
Evaluation board with STM32L4R9AI MCU
Introduction
The STM32L4R9I-EVAL board is designed as a 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.
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

Contents UM2248
2/77 UM2248 Rev 5
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 Codification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5 Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.1 STM32L4R9I-EVAL main board views . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.2 Mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.3 ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.3.1 Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.3.2 ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.4 ETM trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.5 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.5.1 Supplying the main board through the ST-LINK/V2-1 USB port . . . . . . 21
6.5.2 Using ST-LINK/2-1 along with powering via the power jack . . . . . . . . . 21
6.6 Clock references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.7 Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.8 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.8.1 Bootloader limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.9 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.9.1 Digital microphones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.9.2 Headphones outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.9.3 Limitations in using audio features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.10 USB OTG FS port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

UM2248 Rev 5 3/77
UM2248 Contents
5
6.10.1 STM32L4R9I-EVAL used as a USB Device . . . . . . . . . . . . . . . . . . . . . . 27
6.10.2 STM32L4R9I-EVAL used as a USB Host . . . . . . . . . . . . . . . . . . . . . . . 28
6.10.3 Limitations in using the USB OTG FS port . . . . . . . . . . . . . . . . . . . . . . 28
6.10.4 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.11 RS232 port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.11.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.12 microSD™ card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.12.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.12.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.13 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.13.1 Board modifications to enable motor control . . . . . . . . . . . . . . . . . . . . . 31
6.13.2 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.14 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6.14.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6.14.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6.15 Extension connectors (CN5, CN6, CN13, and CN14) . . . . . . . . . . . . . . . 35
6.16 User LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.17 Physical input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.17.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.18 Operational amplifier and comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.18.1 Operational amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.18.2 Comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.18.3 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.19 Analog input, output, VREF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.20 SRAM device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.20.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.20.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.21 NOR flash memory device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.21.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.21.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.22 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.22.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.23 EXT_I2C connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.24 Octo-SPI flash memory device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.24.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Contents UM2248
4/77 UM2248 Rev 5
6.24.2 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.25 Octo-SPI DRAM device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.25.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.25.2 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.26 Touch-sensing button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.26.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.27 MFX MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.28 IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.29 MIPI DSI®display connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.29.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.30 TFT LCD (RGB and FMC mode) connector . . . . . . . . . . . . . . . . . . . . . . . 46
6.30.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.31 Pmod™ connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.32 MB1314 DSI display daughterboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.33 MB1315 TFT LCD daughterboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.1 Motor-control connector (CN1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.2 External I2C connector (CN2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
7.3 USB OTG FS Micro-AB connector (CN3) . . . . . . . . . . . . . . . . . . . . . . . . 51
7.4 Analog input-output connector (CN4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
7.5 Extension connectors (CN5, CN6, CN13, and CN14) . . . . . . . . . . . . . . . 52
7.6 RS232 connector (CN7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
7.7 microSD™ connector (CN8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
7.8 MFX programming connector (CN9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
7.9 STDC14 connector (CN11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
7.10 Trace debugging connector (CN12) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.11 TAG connector (CN15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.12 MIPI DSI®display connector (CN16) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.13 JTAG connector (CN17) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.14 Power connector (CN18) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.15 ST-LINK/V2-1 programming connector (CN19) . . . . . . . . . . . . . . . . . . . . 62
7.16 RGB TFT LCD connector (CN20) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.17 ST-LINK/V2-1 USB Micro-B connector (CN21) . . . . . . . . . . . . . . . . . . . . 62

UM2248 Rev 5 5/77
UM2248 Contents
5
7.18 CAN D-type male connector (CN22) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
8 I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
9 STM32L4R9I-EVAL product information . . . . . . . . . . . . . . . . . . . . . . . . 70
9.1 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
9.2 STM32L4R9I-EVAL product history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
9.3 Board revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
10 Federal Communications Commission (FCC)
and ISED Canada Compliance Statements . . . . . . . . . . . . . . . . . . . . . . 74
10.1 FCC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
10.2 ISED Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

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

UM2248 Rev 5 7/77
UM2248 List of figures
7
List of figures
Figure 1. STM32L4R9I-EVAL hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 2. STM32L4R9I-EVAL main board (top side) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 3. STM32L4R9I-EVAL board (top view) with MB1314 round DSI display daughterboard . . . 14
Figure 4. STM32L4R9I-EVAL board (top view) with MB1315 TFT LCD daughterboard . . . . . . . . . . 15
Figure 5. STM32L4R9I-EVAL board (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 6. MB1313 STM32L4R9I-EVAL main board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 7. MB1314 DSI display daughterboard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 8. USB Composite Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 9. PCB top-side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 10. PCB bottom-side rework for motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 11. Motor-control connector (CN1) top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Figure 12. EXT_I2C connector (CN2) front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 13. USB OTG FS Micro-AB connector (CN3) front view. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 14. Analog input-output connector (CN4) top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 15. RS232 D-sub male connector (CN7) front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Figure 16. microSD™ connector (CN8) top view. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Figure 17. STDC14 debugging connector (CN11) top view. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Figure 18. ETM trace debugging connector (CN12) top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Figure 19. JTAG/SWD debugging connector (CN17) top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Figure 20. Power supply connector (CN18) front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Figure 21. USB Micro-B connector (CN21) front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Figure 22. CAN D-type 9-pin male connector (CN22) front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

Features UM2248
8/77 UM2248 Rev 5
1 Features
•STM32L4R9AII6 Arm®(a)-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 a stereo audio headphone with independent content
– Slot for microSD™ card supporting SD and SDHC
– TFT LCD standard connector
–MIPIDSI
®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
– Extension connector for the daughterboard
– Motor-control connector on the daughterboard
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

UM2248 Rev 5 9/77
UM2248 Ordering information
76
•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:
mass storage, Virtual COM port, and debug port
•Microcontroller supply voltage: fixed 3.3 V or adjustable range of 1.71 to 3.6 V
•MCU current consumption measurement circuit
•Access to the 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
Embedded Workbench®, MDK-ARM, and STM32CubeIDE
2 Ordering information
To order the STM32L4R9I-EVAL Evaluation board, refer to Ta ble 1. Additional information is
available from the datasheet and reference manual of the target STM32.
2.1 Codification
The meaning of the codification is explained in Table 2.
Table 1. Ordering information
Order code Board reference Targeted STM32
STM32L4R9I-EVAL
–MB1313
(1)
–MB1314
(2)
–MB1315
(3)
1. Main board
2. DSI display daughterboard
3. TFT LCD daughterboard
STM32L4R9AII6
Table 2. Codification explanation
STM32XXYY-EVAL Description Example: STM32L4R9I-EVAL
XX MCU series in STM32 Arm
Cortex MCUs STM32L4 series
YY STM32 product line in the series STM32L4R9
ISTM32 flash memory size:
– I for 2 Mbytes 2 Mbytes
EVAL Evaluation board Evaluation board

Development environment UM2248
10/77 UM2248 Rev 5
3 Development environment
3.1 System requirements
•Multi-OS support Windows®(a) 10, Linux®(b) 64-bit, or macOS®(c)
•USB Type-A or USB Type-C®to Micro-B cable
3.2 Development toolchains
•IAR Systems®- IAR Embedded Workbench®(d)
•Keil®- MDK-ARM(d)
•STMicroelectronics - STM32CubeIDE
3.3 Demonstration software
The demonstration software, included in the STM32Cube MCU Package corresponding to
the on-board microcontroller, 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 can be downloaded from
www.st.com.
a. Windows is a trademark of the Microsoft group of companies.
b. Linux®is a registered trademark of Linus Torvalds.
c. macOS®is a trademark of Apple Inc. registered in the U.S. and other countries.
All other trademarks are the property of their respective owners.
d. On Windows®only.

UM2248 Rev 5 11/77
UM2248 Conventions
76
4 Conventions
Table 3 defines some conventions used in the present document.
5 Delivery recommendations
Before the first use, make sure that no damage occurred to the boards during shipment and
that no socketed components are loosened in their sockets or fallen into the plastic bag.
In particular, pay attention to the following components:
1. microSD™ card in its receptacle (CN8)
2. MB1314 DSI display daughterboard in its connector (CN16)
For product information related to the STM32L4R9AII6 microcontroller, visit the www.st.com
website.
Table 3. ON/OFF conventions
Convention Definition
Jumper JPx ON Jumper fitted
Jumper JPx OFF Jumper not fitted
Jumper JPx [1-2] Jumper fitted between Pin 1 and Pin 2
Solder bridge SBx ON SBx connections closed by 0 resistor
Solder bridge SBx OFF SBx connections left open
Resistor Rx ON Resistor soldered
Resistor Rx OFF Resistor not soldered

Hardware layout and configuration UM2248
12/77 UM2248 Rev 5
6 Hardware layout and configuration
The STM32L4R9I-EVAL board is designed around the STM32L4R9AII6 target
microcontroller in a UFBGA 169-pin package. Figure 1 illustrates the STM32L4R9AII6
connections with peripheral components. Figure 2 shows the location of the main
components on the main board. Figure 3, Figure 4, and Figure 5 are the three images
showing the
STM32L4R9I-EVAL main board top view with round DSI display, top view with TFT LCD,
and bottom view.
Figure 1. STM32L4R9I-EVAL hardware block diagram
MSv46034V3
3.3 V
power supply
1.8 V
power supply
VDD ADJ
power supply
STM32L4R9AII6
UFBGA169
VBAT
RTC
OCTOSPI1
OCTOSPI2
SDIO1
OTG FS
TSC
LPUSART1
SPI2
CAN
UART3
DAP
DFSDM
SAI1
MIPI DSI
RGB
FMC
I2C2
ADC/DAC
OPAMP1
COMP2
GPIO
Audio codec
DSI LCD connector
TFT LCD connector
NOR flash memory
SRAM/PSRAM
EEPROM
EXT_I2C connector
ADC/DAC connector
Potentiometer/LDR
Joystick/buttons
LEDs
Motor control
connector
Pmod
TM
connector
CAN connector
ST-LINK/V2-1
JTAG/SWD connector
TAG connector
Trace connector
STDC14 connector
3 V battery
32 KHz crystal
Octo-SPI flash memory
Octo-SPI SRAM
microSD
TM
card
USB connector
One TS PAD
RS232 connector
MEMs

Hardware layout and configuration UM2248
18/77 UM2248 Rev 5
Figure 7. MB1314 DSI display daughterboard
6.3 ST-LINK/V2-1
ST-LINK/V2-1 facility for debugging and flashing of the STM32L4R9AII6 is integrated on the
STM32L4R9I-EVAL main board.
Compared to the ST-LINK/V2 standalone 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 100 mA current on USB

UM2248 Rev 5 19/77
UM2248 Hardware layout and configuration
76
Features dropped:
•SWIM interface
The USB connector (CN21) can be used to power STM32L4R9I-EVAL regardless of the ST-
LINK/V21 facility used for debugging or for flashing STM32L4R9AII6. This holds also when
the ST-LINK/V2 standalone tool is connected to the CN12, CN17, CN11, or CN15 connector
and used for debugging or flashing STM32L4R9AII6. Section 6.5 provides more details on
powering STM32L4R9I-EVAL.
For full detail on both versions of the debug and flashing tool, the standalone ST-LINK/V2
and the embedded ST-LINK/V2-1, refer to www.st.com.
6.3.1 Drivers
Before connecting STM32L4R9I-EVAL to a Windows®8 or older 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 main board is connected to the PC before installing the
driver, the Windows device manager might 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. Proceed using the USB Composite Device line, as shown in Figure 8.
Figure 8. USB Composite Device
6.3.2 ST-LINK/V2-1 firmware upgrade
For its operation, ST-LINK/V2-1 employs a dedicated MCU with flash memory. Its firmware
determines ST-LINK/V2-1 functionality and performance. The firmware might 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.
6.4 ETM trace
The trace connector (CN12) is available to output trace signals used for debugging. 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.

Hardware layout and configuration UM2248
20/77 UM2248 Rev 5
Table 4 shows the setting of configuration elements to shunt PE2, PE5, and PE6 MCU ports
to the CN12 connector, to use them as debug trace signals.
Warning: Enabling the CN12 trace outputs through the hardware modifications described in
Table 4 results in reducing the memory address bus width to 20 address lines and so the
addressable space to 1 Mword of 16 bits. As a consequence, the onboard SRAM and NOR
flash memory usable capacity is reduced to 16 Mbits.
6.5 Power supply
The STM32L4R9I-EVAL main board must be powered from a 5 V DC power source. It
incorporates a precise polymer Zener diode (Poly-Zen) protecting the main board from
damage due to the wrong power supply. One of the following four 5 V DC power inputs is
usable with an appropriate main board configuration:
•Power jack (CN18) marked PSU_DC5V on the main board. A jumper must be placed in
the E5V location (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 500 mA to the main
board. The offering enumeration feature is described in Section 6.5.1.
•Micro-AB USB receptacle (CN3) of the USB OTG interface marked USB OTG_FS on
the board supplies up to 500 mA to the main board.
•Pin 39 of CN5 and pin 39 of CN6 extension connectors for a custom daughterboard,
marked D5V on the main board.
No external power supply is provided with the main 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 5 describes the setting of all jumpers related to powering the STM32L4R9I-EVAL and
its extension board. VDD_MCU is an STM32L4R9AII6 digital supply voltage line. It is possible
Table 4. Setting of configuration elements for trace connector (CN12)
Element Setting Configuration
R53
SB56
R53 ON
SB56 OFF Default setting.: PE2 connected to memory address line A23.
R53 OFF
SB56 ON PE2 connected to Trace_CK on CN12. A23 pulled down.
R209
SB59
R209 ON
SB59 OFF Default setting: PE5 connected to memory address line A21.
R209 OFF
SB59 ON PE5 connected to Trace_D2 on CN12. A21 pulled down.
R211
SB60
R211 ON
SB60 OFF Default setting: PE6 connected to memory address line A22.
R211 OFF
SB60 ON PE6 connected to Trace_D3 on CN12. A22 pulled down.
Table of contents
Other ST Motherboard manuals

ST
ST STM32H7B3I-EVAL User manual

ST
ST STA304 User manual

ST
ST STM3210E-EVAL User manual

ST
ST STUSB03E User manual

ST
ST EVAL-L9963-MCU Installation and operating instructions

ST
ST STM3241G-EVAL User manual

ST
ST SPC58XXADPT64S User manual

ST
ST SPC560D-DIS User manual

ST
ST STM8L101-EVAL User manual

ST
ST STLINK-V3SET User manual

ST
ST STEVAL-IDB007V Series User manual

ST
ST STEVAL-DIGAFEV1 User manual

ST
ST STM32CubeH7 User manual

ST
ST STEVAL-IHM022V1 User manual

ST
ST STM32 Nucleo-32 User manual

ST
ST STEVAL-QUADV01 User manual

ST
ST UM1682 User manual

ST
ST AEK-MOT-TK200G1 User manual

ST
ST SPC572L-DISP User manual

ST
ST PTB801DC User manual