ST STM32L4R9I-EVAL User manual

October 2017 DocID030791 Rev 2 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

Contents UM2248
2/87 DocID030791 Rev 2
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

DocID030791 Rev 2 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

Contents UM2248
4/87 DocID030791 Rev 2
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

DocID030791 Rev 2 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

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

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

Features UM2248
8/87 DocID030791 Rev 2
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:

DocID030791 Rev 2 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

Demonstration software UM2248
10/87 DocID030791 Rev 2
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

DocID030791 Rev 2 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
06Y9
9
SRZHUVXSSO\
9
SRZHUVXSSO\
9''$'-
SRZHUVXSSO\
670/5$,,
8)%*$
9%$7
57&
2FWR63,
2FWR63,
6',2
27*)6
76&
/386$57
63,
&$1
8$57
'$3
')6'0
6$,
0,3,'6,
5*%
)0&
,&
$'&'$&
23$03
&203
*3,2
$XGLRFRGHF
'6,/&'FRQQHFWRU
7)7/&'FRQQHFWRU
125)ODVK
65$0365$0
((3520
(;7B,&FRQQHFWRU
$'&'$&FRQQHFWRU
3RWHQWLRPHWHU/'5
-R\VWLFNEXWWRQV
/('V
0RWRUFRQWURO
FRQQHFWRU
302'FRQQHFWRU
&$1FRQQHFWRU
67/,1.9
-7$*6:'FRQQHFWRU
7$*FRQQHFWRU
7UDFHFRQQHFWRU
67'&FRQQHFWRU
9EDWWHU\
.+]FU\VWDO
2FWR63,)ODVK
2FWR63,65$0
PLFUR6'FDUG
86%FRQQHFWRU
2QH763$'
56FRQQHFWRU
0(0V

DocID030791 Rev 2 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

Hardware layout and configuration UM2248
18/87 DocID030791 Rev 2
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.

DocID030791 Rev 2 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 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/87 DocID030791 Rev 2
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.
Other manuals for STM32L4R9I-EVAL
1
This manual suits for next models
1
Table of contents
Other ST Motherboard manuals

ST
ST GS-BT2416C2DBAT1 User manual

ST
ST STEVAL-SP1ML915 User manual

ST
ST UM1789 User manual

ST
ST STM32CubeF4 User manual

ST
ST AEK-MOT-TK200G1 User manual

ST
ST STLINK-V3SET User manual

ST
ST P-NUCLEO-USB002 User manual

ST
ST STM32091C-EVAL User manual

ST
ST STM3240G-EVAL User manual

ST
ST NUCLEO-L433RC-P User manual