ST STM32L4R9I-EVAL User manual

September 2020 UM2248 Rev 4 1/72
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 DSISM
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

Contents UM2248
2/72 UM2248 Rev 4
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 Delivery recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5 Technology partners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.1 STM32L4R9I-EVAL board views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6.2 Mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.3 ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.3.1 Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.3.2 ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.4 ETM trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.5 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.5.1 Supplying the board through ST-LINK/V2-1 USB port . . . . . . . . . . . . . . 20
6.5.2 Using ST-LINK/2-1 along with powering through the CN18 power jack 20
6.6 Clock references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.7 Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.8 Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.8.1 Bootloader limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.9 Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.9.1 Digital microphones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.9.2 Headphones outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.9.3 Limitations in using audio features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.10 USB OTG FS port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

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

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

UM2248 Rev 4 5/72
UM2248 Contents
5
7.18 CN22 CAN D-type male connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Appendix A I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
8 STM32L4R9I-EVAL board information . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8.1 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8.2 Board revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
8.3 Board known limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

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

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

Features UM2248
8/72 UM2248 Rev 4
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 DSISM 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
SM 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
•Flexible power-supply options: power jack, ST-LINK/V2-1 USB connector,
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

UM2248 Rev 4 9/72
UM2248 Ordering information
71
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 from 1.71 V 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
– MB1314(1)
– MB1315(2)
1. DSI display daughterboard
2. 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

Development environment UM2248
10/72 UM2248 Rev 4
3 Development environment
3.1 System requirements
•Windows®OS (7, 8, and 10), Linux®64-bit, or macOS®(a)
•USB Type-A or USB Type-C®to Micro-B cable
3.2 Development toolchains
•IAR Systems - IAR Embedded Workbench®(b)
•Keil®- MDK-ARM(b)
•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.
4 Delivery recommendations
Before the first use, make sure that no damage occurred to the boards 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 to the STM32L4R9AII6 microcontroller, visit www.st.com
website.
5 Technology partners
MACRONIX: 512-Mbit Octo-SPI Flash, part number MX25LM51245GXDI00
a. macOS®is a trademark of Apple Inc. registered in the U.S. and other countries.
b. On Windows only

UM2248 Rev 4 11/72
UM2248 Hardware layout and configuration
71
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 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
MSv46034V2
3.3 V
power supply
1.8 V
power supply
VDD ADJ
power supply
STM32L4R9AII6
UFBGA169
VBAT
RTC
Octo SPI1
Octo SPI2
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
SRAM/PSRAM
EEPROM
EXT_I2C connector
ADC/DAC connector
Potentiometer/LDR
Joystick/buttons
LEDs
Motor control
connector
PMOD 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
Octo SPI SRAM
microSD card
USB connector
One TS PAD
RS232 connector
MEMs

Hardware layout and configuration UM2248
12/72 UM2248 Rev 4
Figure 2. STM32L4R9I-EVAL board (top side)

UM2248 Rev 4 13/72
UM2248 Hardware layout and configuration
71
6.1 STM32L4R9I-EVAL board views
Figure 3. STM32L4R9I-EVAL board (top view) with round DSI display MB1314 daughterboard
Picture is not contractual

Hardware layout and configuration UM2248
14/72 UM2248 Rev 4
Figure 4. STM32L4R9I-EVAL board (top view) with TFT LCD MB1315 daughterboard
Picture is not contractual

UM2248 Rev 4 15/72
UM2248 Hardware layout and configuration
71
Figure 5. STM32L4R9I-EVAL board (bottom view)
Picture is not contractual

Hardware layout and configuration UM2248
16/72 UM2248 Rev 4
6.2 Mechanical dimensions
Figure 6. MB1313 STM32L4R9I-EVAL board

UM2248 Rev 4 17/72
UM2248 Hardware layout and configuration
71
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 board.
Compared to the 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

Hardware layout and configuration UM2248
18/72 UM2248 Rev 4
Features dropped:
•SWIM interface
The CN21 USB connector can be used to power STM32L4R9I-EVAL regardless of the
ST-LINK/V2-1 facility use for debugging or for flashing STM32L4R9AII6. This holds also
when the ST-LINK/V2 stand-alone tool is connected to 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 stand-alone 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 (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 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 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.
6.4 ETM trace
The CN12 connector 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.

UM2248 Rev 4 19/72
UM2248 Hardware layout and configuration
71
Table 3 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 hardware modifications described in
Table 3 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 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 the 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 6.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 a 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 4 describes the setting of all jumpers related to powering the STM32L4R9I-EVAL and
its 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 3. Setting of configuration elements for CN12 trace connector
Element Setting Configuration
R53
SB56
R53 in
SB56 open
Default setting.
PE2 connected to memory address line A23.
R53 out
SB56 closed PE2 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 closed PE5 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 closed PE6 connected to Trace_D3 on CN12. A22 pulled down.

Hardware layout and configuration UM2248
20/72 UM2248 Rev 4
6.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 is the
beginning of 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 the ST-LINK/V2-1
part of STM32L4R9I-EVAL draws power at that time. If the SB33 solder bridge is open, the
U22 ST890 power switch is set in the 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.
If a short-circuit occurs on the board, the ST890 power switch protects the USB port of the
host PC against a current 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 4. ST-LINK/V2-1 turns the ST890
power switch ON regardless of the enumeration procedure result and passes the power
unconditionally to the board.
The LD7 red LED turns on whenever the whole board is powered.
6.5.2 Using ST-LINK/2-1 along with powering through the CN18 power jack
If the board requires more than 300 mA of supply current, this cannot be provided by the
host PC connected to the 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 the host PC to the CN12 USB connector.
In case the board requires 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
built-in over-current protection on its USB port, limiting or shutting down the power out
of its USB port when the excessive current requirement 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.
Other manuals for STM32L4R9I-EVAL
1
Table of contents
Other ST Motherboard manuals

ST
ST STEVAL-AKI002V1 User manual

ST
ST STM32L476G-EVAL User manual

ST
ST UM2414 User manual

ST
ST M24LR-DISCOVERY User manual

ST
ST STM32L4R9I-EVAL User manual

ST
ST VIPower VIPer22A-E Installation and operating instructions

ST
ST STEVAL-BTDP1 User manual

ST
ST STEVAL-PTOOL2V1 User manual

ST
ST UM1509 User manual

ST
ST STEVAL-IPMM10B User manual