ST STM32L4P5AG Manual de usuario

Introduction
The STM32L4P5G-DK Discovery kit is a complete demonstration and development platform for the STMicroelectronics Arm®
Cortex®-M4 core-based STM32L4P5AGI6PU microcontroller with four I²C buses, three SPI and six USART ports, CAN port, two
SAI ports, 12-bit ADC, 12-bit DAC, internal 320-Kbyte SRAM and 1-Mbyte Flash memory, two Octo-SPI memory interfaces,
touch-sensing capability, USB OTG FS port, LCD-TFT controller, flexible memory controller (FMC), 8- to 14-bit DCMI interface
and JTAG debugging support.
The STM32L4P5G-DK Discovery kit, shown in Figure 1 and Figure 2, is used as a reference design for user application
development before porting to the final product.
The full range of hardware features available on the board helps users improve application development evaluating all the
peripherals (USB OTG FS, Octo-SPI Flash and PSRAM memory device, eMMC, and others). ARDUINO® Uno V3 and STMod+
connectors provide easy connection to extension shields or daughterboards for specific applications.
An STLINK-V3E is integrated into the board, as the embedded in-circuit debugger and programmer for the STM32 MCU and the
USB Virtual COM port bridge.
Figure 1. STM32L4P5G-DK top view Figure 2. STM32L4P5G-DK bottom view
Pictures are not contractual.
Discovery kit with STM32L4P5AG MCU
UM2651
User manual
UM2651 - Rev 2 - September 2020
For further information contact your local STMicroelectronics sales office. www.st.com

1Features
• STM32L4P5AGI6PU Arm® Cortex® core-based microcontroller featuring 1 Mbyte of Flash memory and 320
Kbytes of RAM in UFBGA169 package
• 240x240 64-color LCD with RGB interface (Connector only)
• 4-Gbyte onboard eMMC
• On-board current measurement
• SAI audio codec (Footprint only)
• ST-MEMS digital microphone (Footprint only)
• 512-Mbit Octo-SPI NOR Flash memory with DDR mode
• 64-Mbit Octo-SPI PSRAM memory with DDR mode
• 2 user LEDs
• Reset buttons
• 4-direction joystick with a selection button
• Board connectors:
– 8-bit camera (Footprint only)
– Stereo headset jack (Footprint only)
– USB with Micro-AB
– User interface through USB Virtual COM port
– Arm® Cortex® 10-pin 1.27 mm-pitch debug connector over STDC14 footprint
– ARDUINO® Uno V3 expansion connector
– STMod+ expansion connector
• Flexible power-supply options:
– ST-LINK USB VBUS, USB OTG connector, or external sources
• On-board STLINK-V3E debugger/programmer with USB re-enumeration capability: mass storage, Virtual
COM port, and debug port
• Microcontroller supply voltage: fixed 3.3 V and extern SMPS to generate Vcore logic supply
• Comprehensive free software libraries and examples available with the STM32CubeL4 MCU Package
• Support of a wide choice of Integrated Development Environments (IDEs) including IAR Embedded
Workbench®, MDK-ARM, and STM32CubeIDE
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
UM2651
Features
UM2651 - Rev 2 page 2/37

2Ordering information
To order the STM32L4P5G-DK Discovery kit, refer to Table 1. Additional information is available from the
datasheet and reference manual of the target STM32.
Table 1. Ordering information
Order code Board reference Target STM32
STM32L4P5G-DK MB1535 STM32L4P5AGI6PU
2.1 Codification
The meaning of the codification is explained in Table 2. The order code is mentioned on a sticker placed on the
top or bottom side of the board.
Table 2. Codification explanation
STM32TTXXY-DK Description Example: STM32L4P5G-DK
STM32TT MCU series in STM32 32-bit Arm Cortex MCUs STM32L4+ Series
XX MCU product line in the series STM32L4P5
YSTM32 Flash memory size:
• G for 1 Mbyte 1 Mbyte
DK Discovery kit Discovery kit
UM2651
Ordering information
UM2651 - Rev 2 page 3/37

3Development 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
Note: macOS® is a trademark of Apple Inc. registered in the U.S. and other countries.
All other trademarks are the property of their respective owners.
3.2 Development toolchains
• IAR Systems - IAR Embedded Workbench®(1)
• Keil® - MDK-ARM(1)
• STMicroelectronics - STM32CubeIDE
1. On Windows® only.
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.
UM2651
Development environment
UM2651 - Rev 2 page 4/37

4Conventions
Table 3 provides the conventions used for the ON and OFF settings in the present document.
Table 3. ON/OFF convention
Convention Definition
Jumper JPx ON Jumper fitted
Jumper JPx OFF Jumper not fitted
Jumper JPx [1-2] Jumper fitted between Pin 1 and Pin 2
Solder bridge SBx ON SBx connections closed by 0 Ω resistor
Solder bridge SBx OFF SBx connections left open
Resistor Rx ON Resistor soldered
Resistor Rx OFF Resistor not soldered
UM2651
Conventions
UM2651 - Rev 2 page 5/37

5Delivery recommendations
Before first use, check the board for any damage that might have occurred during shipment, that all socketed
components are firmly fixed in their sockets and that none are loose in the plastic bag.
UM2651
Delivery recommendations
UM2651 - Rev 2 page 6/37

6Hardware layout and configuration
The STM32L4P5G-DK Discovery kit is designed around the STM32L4P5AGI6PU target microcontroller. Figure 3
illustrates STM32L4P5AGI6PU connections with peripheral components. Figure 4 shows the location of the main
components on the top side of the Discovery board and Figure 5 shows the location of the main components on
the bottom side of the Discovery board.
Figure 3. STM32L4P5G-DK hardware block diagram
STM32L4P5AGI6PU
3.3 V
Audio codex
RTC
DAP
32 KHz Crystal
VBAT
STLINK-V3E
I2C1
SAI1
LEDs
eMMC
Joystick,
buttons
GPIO
SDMMC1
USB connector OTG FS
OctoSPI2
Octo-SPI Flash
USART1
DFSDM
3.3 V power
supply
1.8 V power
supply
RGB TFT LCD
STMod+
connector
OctoSPI1
Octo-SPI
PSRAM
MEMs
DCMI
Camera
connector
PIR
ARDUINO®
connector
Touch panel
MFX
SMPS power
supply
Note: The grey features are not soldered, only footprints are present on the board.
UM2651
Hardware layout and configuration
UM2651 - Rev 2 page 7/37

Figure 4. STM32L4P5G-DK PCB layout (Top view)
CN2
SWCLK and SWDIO
CN1
STMod+ connector
LD3
STLINK-V3E
overcurrent alarm
CN5
Camera connector
U8
STM32L4P5AGI6PU
LD1, LD2
User LEDs
CN4
ST-LINK SWD
LD4
STLINK-V3E COM
LD5
5V PWR
CN6
STDC14 connector
LD6
USB-OTG overcurrent
LD7
USB-OTG
CN7
USB-OTG connector
JP4
5V source selection
CN9
LCD connector
CN8
External SMPS selection
UM2651
Hardware layout and configuration
UM2651 - Rev 2 page 8/37

Figure 5. STM32L4P5G-DK PCB layout (Bottom view)
SW1
STLINK-V3E
switcher
CN13, CN15
ARDUINO® connector
CN17
MFX SWD
CN11
STLINK-V3E
USB
LD8
ARDUINO® LED
CN16
Audio OUT
CN12, CN14
ARDUINO® connector
UM2651
Hardware layout and configuration
UM2651 - Rev 2 page 9/37
Este manual sirve para los siguientes modelos
1
Manuales populares de Hardware de red de otras marcas

Matrix Switch Corporation
Matrix Switch Corporation MSC-HD161DEL Manual de usuario

B&B Electronics
B&B Electronics ZXT9-IO-222R2 Manual de usuario

Yudor
Yudor YDS-16 Manual de usuario

D-Link
D-Link ShareCenter DNS-320L Manual de usuario

Samsung
Samsung ES1642dc Instrucciones de uso

Honeywell Home
Honeywell Home LTEM-PV Instrucciones de montaje












