ST STM32L4R9I-EVAL User Manual Download Page 1

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 DSI

SM

 

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

Summary of Contents for STM32L4R9I-EVAL

Page 1: ...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 prod...

Page 2: ...L 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...

Page 3: ...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 Operationa...

Page 4: ...47 7 Connectors 49 7 1 CN1 motor control connector 49 7 2 CN2 external I2 C 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 ext...

Page 5: ...8 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...

Page 6: ...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 functi...

Page 7: ...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 Micr...

Page 8: ...ependent 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 S...

Page 9: ...nvironments IDEs including IAR Embedded Workbench MDK ARM and STM32CubeIDE 2 Ordering information To order the STM32L4R9I EVAL Evaluation board refer to Table 1 Additional information is available fro...

Page 10: ...de 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...

Page 11: ...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...

Page 12: ...Hardware layout and configuration UM2248 12 72 UM2248 Rev 4 Figure 2 STM32L4R9I EVAL board top side...

Page 13: ...248 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 contractu...

Page 14: ...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...

Page 15: ...UM2248 Rev 4 15 72 UM2248 Hardware layout and configuration 71 Figure 5 STM32L4R9I EVAL board bottom view Picture is not contractual...

Page 16: ...Hardware layout and configuration UM2248 16 72 UM2248 Rev 4 6 2 Mechanical dimensions Figure 6 MB1313 STM32L4R9I EVAL board...

Page 17: ...ing 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...

Page 18: ...32L4R9I 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 dedicate...

Page 19: ...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 p...

Page 20: ...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...

Page 21: ...lied through pin 39 of CN5 and pin 39 of CN6 extension connectors STM32L4R9I EVAL is supplied through the CN18 power jack CN5 and CN6 extension connectors pass the 5 V of STM32L4R9I EVAL to the daught...

Page 22: ...32L4R9I EVAL board remainder depending on the powering capability of the host PC USB port declared in the enumeration SB33 On CN21 Micro B USB connector of ST LINK V2 1 supplies power to the STM32L4R9...

Page 23: ...nce Closed PC15 OSC32_OUT is routed to the CN5 extension connector Resistor R49 must be removed for the X1 quartz circuit not to disturb clock reference on the daughterboard Table 6 X2 crystal related...

Page 24: ...nger exist To locate the visual date code information on the STM32L4R9II6 package refer to its datasheet DS12023 available at www st com section Package Information Date code related portion of the pa...

Page 25: ...pulse density modulation outputs To share the same data line their outputs are interlaced The combined data output of the microphones is directly routed to STM32L4R9AII6 terminals thanks to the integ...

Page 26: ...minals of STM32L4R9AII6 by multiple peripherals the following limitations apply in using the audio features If the SAI1_MCLKA and SAI1_FSA are used as part of SAI1 port it cannot be used as CAN periph...

Page 27: ...related operating supply voltage of STM32L4R9AII6 VDD_USB line must be within the range from 3 0 V to 3 6 V 6 11 RS232 port The STM32L4R9I EVAL board offers one RS 232 communication port The RS 232 co...

Page 28: ...nal Terminal name Port name Function Alternate function Board modifications for enabling motor control 1 Emergency Stop PI4 TIM8_BKIN Close SB3 Remove R234 2 GND GND 3 PWM_1H PC6 TIM8_CH1 Close SB21 R...

Page 29: ...5V 5V 26 Heatsink Temp PA1 ADC1_IN6 Close SB40 Remove R216 27 PFC Sync PB14 TIM15_CH1 Close SB41 Remove R207 and no board on the PMOD connector 28 3 3V 3 3V 29 PFC PWM PB15 TIM15_CH2 Close SB51 Remove...

Page 30: ...is exclusive with Octo SPIP1 Flash memory device audio codec potentiometer LDR microSD card LED1 to LED4 drive MEMS MFX PMOD USB OTG_FS TFT LCD connector DSI display connector and touch sensing 33 En...

Page 31: ...UM2248 Rev 4 31 72 UM2248 Hardware layout and configuration 71 Figure 9 PCB top side rework for motor control...

Page 32: ...Hardware layout and configuration UM2248 32 72 UM2248 Rev 4 Figure 10 PCB bottom side rework for motor control...

Page 33: ...used to connected the CAN transceiver avoiding unknown signals from the CAN transceiver 6 14 1 Limitations CAN operation is exclusive with the audio codec and MC operation 6 14 2 Operating voltage Th...

Page 34: ...neral purpose color LEDs LD1 LD2 LD3 LD4 are available as light indicators Each LED is ON with a low level of the corresponding ports of STM32L4R9AII6 And the four LEDs are exclusive with MC operation...

Page 35: ...outing either of the potentiometer or LDR to PA0 an external source is also connectible to it using the terminal 1 of JP5 The PA3 output of the operational amplifier is accessible on test point TP9 Re...

Page 36: ...s the Comp2 function Table 12 Configuration elements related to OpAmp1 Element Setting Configuration SB39 SB38 R214 SB38 open SB39 closed R214 out OpAmp1_INP is routed to pin PA0 of STM32L4R9AII6 SB38...

Page 37: ...umper is removable and an external voltage applied to the terminal 1 of CN10 for specific purposes 6 20 SRAM device IS61WV102416BLL a 16 Mbit static RAM SRAM 1 M x 16 bit is fitted on the STM32L4R9I E...

Page 38: ...corresponding to NOR SRAM2 bank1 The NOR Flash memory device is selected with the FMC_NE3 chip select signal 16 bit data word operation mode is selected by a pull up resistor connected to the BYTE ter...

Page 39: ...e must be in the range from 1 7 V to 3 6 V 6 23 EXT_I2C connector The connection of CN2 EXT_I2C to the I C bus daughterboard is possible MFX_GPIO8 of MFX MCU provides the EXT_RSET signal and the SB12...

Page 40: ...STM32L4Rxxx and STM32L4Sxxx device errata ES0393 6 26 Touch sensing button The STM32L4R9I EVAL board supports a touch sensing button based on either RC charging or charge transfer technique The latter...

Page 41: ...lt setting PC6 is not routed to motor control Closed PC6 is routed to motor control This setting is not good for the robustness of touch sensing R46 In PC7 port is routed to the CN6 connector of the d...

Page 42: ...PB7 port is routed to the CN5 connector of the daughterboard This setting is not good for the robustness of touch sensing Out Default setting PB7 port is cut from CN5 SB17 Open Default setting PB7 is...

Page 43: ...terboard is available to mount on the STM32L4R9I EVAL board Table 20 shows the assignment of CN16 and STM32L4R9AII6 terminals 18 PB0 MFX_GPIO0 JOY_SEL Input Joystick 19 PB1 MFX_GPIO1 JOY_DOWN Input Jo...

Page 44: ...DSI_CK_N 6 GND 7 GND 8 RFU GND 9 DSI_D0_P 10 RFU GND 11 DSI_D0_N 12 GND 13 GND 14 RFU GND 15 DSI_D1_P 16 RFU GND 17 DSI_D1_N 18 GND 19 GND 20 21 BLVDD 5 V 22 SPI_CS PG12 23 BLVDD 5 V 24 SPI_CLK UART_...

Page 45: ...on FMC mode description Pin connection 1 GND GND 2 GND GND 3 R0 PE2 4 G0 PF14 5 R1 RS A19 PE3 6 G1 PF15 7 R2 D12 PE15 8 G2 D6 PE9 9 R3 D13 PD8 10 G3 D7 PE10 11 R4 D14 PD9 12 G4 D8 PE11 13 R5 D15 PD10...

Page 46: ...lay daughterboard that is available to mount on the STM32L4R9I EVAL board via CN1 connector GVO IEG1120TB103GF 001 is selected for round LCD with one data lane 390x390 resolution 24 bpp with capacitiv...

Page 47: ...only supports 3 3 V power and interface So a level shifter SN74LVC16T245DGGR is requested on TFT RGB LCD daughterboard to support a wide power supply range Table 24 shows the pin function description...

Page 48: ...on Pin number Description 1 GND 2 GND 3 R0 4 G0 5 R1 6 G1 7 R2 8 G2 9 R3 10 G3 11 R4 12 G4 13 R5 14 G5 15 R6 16 G6 17 R7 18 G7 19 GND 20 GND 21 B0 22 DE 23 B1 24 LCD_DSIP 25 B2 26 HSYNC 27 B3 28 VSYNC...

Page 49: ...6 GND PWM_2H PC7 7 8 GND PWM_2L PH14 9 10 GND PWM_3H PC8 11 12 GND PWM_3L PH15 13 14 PC4 BUS VOLTAGE CURRENT A PC0 15 16 GND CURRENT B PC1 17 18 GND CURRENT C PC2 19 20 GND ICL Shutout PG9 21 22 GND D...

Page 50: ...13 CN3 USB OTG FS Micro AB connector front view Table 26 CN2 EXT_I2C connector Pin number Description Pin number Description 1 I2C1_SDA PH5 5 VDD 2 NC 6 NC 3 I2C_SCL PH4 7 GND 4 EXT_RESET MFX_GPIO8 8...

Page 51: ...onnector Pin number Description Alternative functions How to disconnect alternative functions to use on the extension connector 1 PH9 OCTO SPI2_IO4 Remove U5 3 PH14 LED3 MC Remove R185 open SB44 5 PH1...

Page 52: ...52 28 PA0 MFX_IRQ_OUT OpAmp1_INP MC Remove R214 open SB38 and SB39 30 GND 32 PA1 OpAmp1_INM MC Remove R216 open SB40 34 PA4 ADC_DAC Remove R32 36 PH11 OCTO SPI2_IO6 Remove U5 38 VDD 40 3V3 Table 30 CN...

Page 53: ...d P1 6 PC8 SDIO1_D0 MC Remove R195 open SB2 8 PC10 SDIO1_D2 Trace_D1 Remove R197 open SB58 10 GND 12 PC11 SDIO1_D3 Remove R60 no SD card insert 14 PC12 SDIO1_CLK no SD card insert 16 PA10 USB OTG_ID N...

Page 54: ...13 PG12 FMC_NE4 SPI Remove R238 open SB26 15 PE4 FMC_A20 17 PE5 FMC_A21 Keep CN12 open 19 PF1 FMC_A1 21 PF2 FMC_A2 23 PB9 SAI1_FSA CAN_TX Remove R243 R247 25 PF10 DFSDM_CLK Open JP16 27 PF5 FMC_A5 29...

Page 55: ...extension connector 1 PA14 JTAG_TCK SWCLK Do not use CN11 CN12 CN15 and CN17 for debug connector 3 PD7 FMC_NE1 5 PD3 TFT LCD_CLK No connection for CN20 7 PB3 JTAG_TDO SWO Do not use CN11 CN12 CN15 an...

Page 56: ...ve R236 open SB34 10 GND 12 PA8 SAI1_SCKA Remove U26 14 PG3 FMC_A13 16 PG6 DSI LCD_SWIRE No connection for CN16 18 PG2 FMC_A12 20 PD11 FMC_A16 22 PH4 I2C2_SCL Remove R3 24 PB11 UART3_RX Remove R171 No...

Page 57: ...D sub male connector front view 7 7 CN8 microSD connector Figure 16 CN8 microSD connector top view Table 33 RS232 D sub male connector Pin number Description Pin number Description 1 NC 6 NC 2 RS232_R...

Page 58: ...ector Pin number Description Pin number Description 1 SDIO_D2 PC10 6 Vss GND 2 SDIO_D3 PC11 7 SDIO_D0 PC8 3 SDIO_CMD PD2 8 SDIO_D1 PC9 4 VDD 9 GND 5 SDIO_CLK PC12 10 MicroSDcard_detect MFX GPIO15 Tabl...

Page 59: ...GND 4 TCK PA14 5 GND 6 TDO PB3 7 KEY 8 TDI PA15 9 GND 10 RESET 11 GND 12 Trace_CLK PE2 13 GND 14 Trace_D0 PC9 or SWO PB3 15 GND 16 Trace_D1 PC10 or nTRST PB4 17 GND 18 Trace_D2 PE5 19 GND 20 Trace_D3...

Page 60: ...tail 7 13 CN17 JTAG connector Figure 19 CN17 JTAG SWD debugging connector top view Table 38 CN17 JTAG SWD debugging connector Pin number Description Pin number Description 1 VDD power 2 VDD power 3 PB...

Page 61: ...mbedded ST LINK V2 1 programming during board manufacturing It is not populated by default and not for end users 7 16 CN20 TFT LCD connector RGB A TFT color LCD board is mounted on CN20 Refer to Secti...

Page 62: ...ype 9 pin male connector front view 2 DM 5 Shield 3 DP Table 39 CN21 USB Micro B connector front view continued Pin number Description Pin number Description Table 40 CN22 CAN D type 9 pin male connec...

Page 63: ...J13 VSSDSI 11 K13 VSSDSI 12 H3 NRST NRST 13 K3 PA0 OPAMP1_VINP MFX_IRQ_OUT PFC indirect current 14 M1 PA1 OPAMP1_VINM Heatsink Temp 15 N1 PA2 OCTOSPIP1_NCS 16 M2 PA3 OCTOSPIP1_ CLK OPAMP1_VOUT 17 N2...

Page 64: ...46 J3 PC1 SAI1_SD_A PhaseB Current 47 J4 PC2 LCD_INT PhaseC Current 48 K1 PC3 OCTOSPIP1_IO6 PFC Vac 49 K4 PC4 OCTOSPIP1_IO7 Bus Voltage 50 F11 PC6 TSC_G4_IO1 MC_PWM_1H 51 G11 PC7 TSC_G4_IO2 MC_PWM_2H...

Page 65: ...R0 79 D2 PE3 FMC_A19 LCD_R1 80 D1 PE4 FMC_A20 LCD_B0 81 E4 PE5 FMC_A21 TRACED2 82 E3 PE6 FMC_A22 TRACED3 83 L7 PE7 FMC_D4 LCD_B6 84 K6 PE8 FMC_D5 LCD_B7 85 J6 PE9 FMC_D6 LCD_G2 86 H6 PE10 FMC_D7 LCD_G...

Page 66: ...OSPIP1_IO5 116 F6 PG12 SPI_CS LCD_NE4 117 G6 PG13 PMOD_INT USART1_CK Dissipative Brake 118 C6 PG15 OCTOSPIP2_DQS 119 H1 PH0 OSC_IN OSC_IN 120 J1 PH1 OSC_OUT OSC_OUT 121 A2 PH2 OCTOSPIP1_IO4 122 E5 PH3...

Page 67: ...1 PI10 OCTOSPIP2_IO1 143 C3 PI11 OCTOSPIP2_IO0 144 E2 VBAT 145 N11 VDD 146 H13 VDD 147 C1 VDD 148 A3 VDD 149 C13 VDD 150 N3 VDD 151 G2 VDD 152 N7 VDD 153 A8 VDD 154 M13 VDDDSI 155 L2 VDDA 156 F12 VDDI...

Page 68: ...M2248 Rev 4 166 C12 VSS 167 H2 VSS 168 F2 VSS 169 M7 VSS 170 M3 VSS 171 F13 VSS Table 41 STM32L4R9I EVAL I O assignment continued Primary key UFBGA 169 DSI Pin name Pinout assignment RGB LCD with FMC...

Page 69: ...e In no event ST will be liable for any customer usage of these engineering sample tools as reference design or in production E or ES marking examples of location On the target STM32 that is soldered...

Page 70: ...release MB1314 Revision B01 The revision B 01 is the initial release Revision C01 CN2 changed to BM20B 0 8 24DS 0 4V 51 MB1315 Revision A01 The revision A 01 is the initial release 8 3 Board known li...

Page 71: ...and Figure 4 moved to Section 9 1 Table 27 and Table 39 alternative function removed Figure 23 Figure 24 and Figure 37 in Electrical schematics 9 Jan 2018 3 Updated Section 9 8 1 WA3 simplified Table...

Page 72: ...lection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted b...

Reviews: