The STM32L4R9I-EVAL board is designed as a complete demonstration and development
platform for the STMicroelectronics Arm
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
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.
®
DSI host controller, flexible memory controller (FMC), 8- to 14-bit camera
-based microcontroller with 2 Mbytes of Flash memory and
640 Kbytes of RAM in a UFBGA169 package
•1.2” 390x390 pixels MIPI DSI
SM
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
–MIPI DSI
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.
8/72UM2248 Rev 4
UM2248Ordering information
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 bl e 1. Additional information is
available from the datasheet and reference manual of the target STM32.
Table 1. Ordering information
STM32L4R9I-EVAL
1. DSI display daughterboard
2. TFT LCD daughterboard
2.1 Codification
The meaning of the codification is explained in Tabl e 2.
STM32XXYY-EVALDescriptionExample: STM32L4R9I-EVAL
XX
YY
I
Order code
Board
reference
– MB1313
– MB1314
– MB1315
(1)
(2)
Targeted STM32
STM32L4R9AII6
Table 2. Codification explanation
MCU series in STM32 Arm
Cortex MCUs
STM32 product line
in the
series
STM32 Flash memory size:
– I for 2 Mbytes
STM32L4 Series
STM32L4R9
2 Mbytes
UM2248 Rev 49/72
71
Development environmentUM2248
3 Development environment
3.1 System requirements
•Windows® OS (7, 8, and 10), Linux® 64-bit, or macOS
•USB Type-A or USB Type-C® to Micro-B cable
3.2 Development toolchains
•IAR Systems - IAR Embedded Workbench
•Keil® - MDK-ARM
•STMicroelectronics - STM32CubeIDE
(b)
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.
®(b)
®(a)
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
10/72UM2248 Rev 4
UM2248Hardware layout and configuration
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
6 Hardware layout and configuration
The STM32L4R9I-EVAL board is designed around the STM32L4R9AII6 target
microcontroller in a UFBGA 169-pin package.
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.
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, STLINK/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
UM2248 Rev 417/72
71
Hardware layout and configurationUM2248
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.
18/72UM2248 Rev 4
UM2248Hardware layout and configuration
Tabl e 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.
Table 3. Setting of configuration elements for CN12 trace connector
ElementSettingConfiguration
R53
SB56
R209
SB59
R211
SB60
SB56 open
SB56 closed
SB59 open
R209 out
SB59 closed
SB60 open
R211 out
SB60 closed
Warning: Enabling the CN12 trace outputs through hardware modifications described in
Tabl e 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
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.
R53 in
R53 out
R209 in
R211 in
Default setting.
PE2 connected to memory address line A23.
PE2 connected to Trace_CK on CN12. A23 pulled down.
Default setting.
PE5 connected to memory address line A21.
PE5 connected to Trace_D2 on CN12. A21 pulled down.
Default setting.
PE6 connected to memory address line A22.
PE6 connected to Trace_D3 on CN12. A22 pulled down.
V DC power inputs is usable with
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
RV3 potentiometer and producing a range of voltages between 1.71
V or with an adjustable voltage regulator controlled by
V and 3.6 V.
UM2248 Rev 419/72
71
Hardware layout and configurationUM2248
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
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.
Table 4. ST-LINK/V2-1 turns the ST890
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 overcurrent.
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/V21 does not supply the remainder of STM32L4R9I-EVAL from its USB port V
BUS
line.
20/72UM2248 Rev 4
UM2248Hardware layout and configuration
E5V
U5V
STlkD5V
E5V
U5V
STlkD5V
E5V
U5V
STlkD5V
E5V
U5V
STlkD5V
E5V
U5V
STlkD5V
1
3
2
1
3
2
1
3
2
1
3
2
1
3
2
1
3
2
Jumper /
solder
bridge
JP11
Power
source
selector
JP8
Vbat
connection
JP10
VDD_MCU
connection
JP1
VDD_USB
connection
Table 4. Power supply related jumpers settings
SettingConfiguration
STM32L4R9I-EVAL is supplied through the CN18 power
jack (marked PSU_DC5V). CN5 and CN6 extension
connectors do not pass the 5 V of STM32L4R9I-EVAL to the
daughterboard.
STM32L4R9I-EVAL is supplied through the CN3 Micro-AB
USB connector. CN5 and CN6 extension connectors do not
pass the 5 V of STM32L4R9I-EVAL to the daughterboard.
Default setting.
STM32L4R9I-EVAL is supplied through the CN21 Micro-B
USB connector. CN5 and CN6 extension connectors do not
pass the 5 V of STM32L4R9I-EVAL to the daughterboard.
STM32L4R9I-EVAL is supplied 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 daughterboard. Make sure to
disconnect from the daughterboard, any power supply that
may generate conflict with the power supply on the CN18
power jack.
Vbat is connected to the battery.
Default setting.
Vbat is connected to VDD.
Default setting.
VDD_MCU (VDD terminals of STM32L4R9AII6) is
connected to fixed +3.3 V.
VDD_MCU is connected to voltage in the range from
+1.71 V to +3.6 V, adjustable with potentiometer RV3.
Default setting.
VDD_USB (VDD USB terminal of STM32L4R9AII6) is
connected with VDD_MCU.
VDD_USB is connected to +3.3 V.
UM2248 Rev 421/72
71
Hardware layout and configurationUM2248
1
3
2
1
3
2
1
2
1
2
Table 4. Power supply related jumpers settings (continued)
Jumper /
solder
bridge
JP2
VDDA
connection
SettingConfiguration
Default setting.
VDDA terminal of STM32L4R9AII6 is connected with
VDD_MCU.
VDDA terminal of STM32L4R9AII6 is connected to +3.3 V.
JP3
VDD_IO
connection
SB33
SB33 Off
Powering
through
USB of
ST-LINK/
V2-1
1. On all ST-LINK/V2-1 boards, the target application is now able to run even if the ST-LINK/V2-1 is either not
connected to a USB host, or is powered through a USB charger (or through a not-enumerating USB host).
SB33 On
6.6 Clock references
Two clock references are available on STM32L4R9I-EVAL for the STM32L4R9AII6
microcontroller.
•32.768 kHz crystal X1, for embedded RTC
•25 MHz crystal X2, for the main clock generator
Default setting.
VDD_IO (VDDIO2 terminals of STM32L4R9AII6) is
connected with VDD_MCU.
VDD_IO is open.
Default setting.
The CN21 ST-LINK/V2-1 Micro-B USB connector can be
used to supply power to the STM32L4R9I-EVAL board
remainder, depending on the powering capability of the host
PC USB port declared in the enumeration.
CN21 Micro-B USB connector of ST-LINK/V2-1 supplies
power to the STM32L4R9I-EVAL board remainder. This is
the setting for powering the board through CN21 using a
USB charger)
(1)
.
The main clock generation is possible via an internal RC oscillator, disconnected by removing
resistors R61 and R65 when the internal RC clock is used.
Solder
bridge
SB50
22/72UM2248 Rev 4
Table 5. X1 crystal related solder bridge settings
SettingConfiguration
Default setting.
Open
Closed
PC14 OSC32_IN terminal is not routed to the CN5 extension
connector. X1 is used as the clock reference.
PC14 OSC32_IN is routed to the CN5 extension connector.
Resistor R50 must be removed, for the X1 quartz circuit not to
disturb the clock reference or source on the daughterboard.
Loading...
+ 50 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.