stm32l4+ discovery kits - stmicroelectronics · st link/v2.1 usb connector the back side offers a...
TRANSCRIPT
STM32L4+ DISCOVERY KITS
STM32L4R9I Discovery kitSTM32L4P5G Discovery kit
Revision 1.1
Hello, and welcome to this presentation of the STM32L4R9I and STM32L4P5G Discovery kits. It covers the main features of this discovery boards which are
dedicated to the STM32L4+ series. The demos included with the discovery kit will enable you to become more familiar with this new high-performance, low-power microcontroller.
1
Overview
• Discover the low-power STM32L4R9AI MCU
• AMOLED DSI round display with capacitive touch panel, Audio recording/ playback
• Embedded ammeter measures consumption in Run and low-power modes
• Embedded debugger
2
• Graphics capabilities
• Instantly measure power dissipation on real silicon
• Turn-key demonstration firmware
• Develop your own application
Application benefits
The STM32L4R9I Discovery kit enables users to easily prototype applications with state-of-the-art energy efficiency, as well as stunning audio and graphics
rendering with direct support for AMOLED DSI round display.The discovery kit also embeds a high precision ammeter for measuring the current consumption of the
STM32L4R9AI microcontroller in Run and low-power modes and a debugger that helps you develop your own applications from the existing examples.
2
Key Features• STM32L4R9AII6 microcontroller in UFBGA169 package
• ARM® Cortex®-M4 core with FPU and ST ART Accelerator™ @ 120 MHz.
• 2 Mbytes of Flash memory / 640 Kbytes of RAM
• Graphics performance (Chrom-ARTAccelerator™)
• MIPI® DSI 2-lanes
• Full-speed USB OTG
• Board features
• MCU current ammeter with 4 ranges and auto-calibration function
• 1.2” 390x390 pixel AMOLED round display with MIPI® DSI interface and capacitive touch panel
• 16 Mbit asynchronous PSRAM / 512 Mbytes of Octo-SPI Flash memory
• ST MEMS-based digital microphone
• SAI audio codec with a stereo headset jack including analog microphone input
• 4 direction joystick with selection button
• Embedded ST-LINK/V2-1 debugger/programmer
3
The STM32L4R9AII6 microcontroller (MCU) features an ARM® Cortex®-M4 core running at up to 120 MHz, 2 Mbytes of Flash memory, 640 Kbytes of RAM, graphics
performance with Chrom-ART Accelerator™. It also features a rich set of peripherals including the MIPI® DSI interface (which enables display connection) and USB On-The-Go (which enables direct connection with other USB
devices without the need for a host computer).
Some other hardware highlights from the discovery board
include:A high precision current ammeter with 4 ranges and auto-calibrationA 1.2’’ AMOLED round display with capacitive touch panel
capabilities to navigate through the demonstration menuA 16 Mbit asynchronous PSRAM and 512 Mbytes of Octo-
3
SPI Flash memory to store large data arrays or program codeAn ST MEMS-based digital microphone
An SAI audio codec with a stereo headset jack including analog microphone inputA four-direction joystick to navigate through the demonstration menus
An embedded ST-LINK/V2-1 debugger/programmer for connecting your favorite development tools.
This board incorporates 3 distinct STM32 devices: the target, the debugger and the MCU used to measure the current.
3
Expansion Boards• Round LCD display:
• 1.2’’ 390x390 pixel AMOLED round display
• Capacitive touch panel
• MIPI® DSI interface
• STMOD+™ Fanout board:
• MikroElektronika Mikrobus Click-board compatible connectors (CN10 and CN11)
• ESP-01 Wi-Fi board compatible connector (CN4)
• Seeed Studio™ Grove board compatible connectors (CN2 and CN3)
• Reserved standard 2.54 mm pitch of STMod+ pin header for breadboard.
4
CN4CN2CN3
CN10CN11
The STM32L4R9I DISCOVERY kit embeds two additional boards.A 1.2’’ 390x390 pixel AMOLED round display panel with 16
million colors depth with MIPI DSI interface and capacitive touch panel, enabling the demonstration of the board’s graphics capabilities and the navigation of the demonstration menu.
The wide range of connectors is extended with STMOD+ fanout board allowing to connect peripherals compatible with
- MikroElektronika Mikrobus click board with two 1x8 pin female connectors (CN10 and CN11)
- ESP-01 with 2x4 pin female connector (CN4)- Seeed Studio™ Grove with two 2x4 pin male
connectors (CN2 and CN3)- Reserved standard 2.5mm pitch of STMod+ pin header
4
for breadboard.
4
STM32L4R9I Discovery Board (Top Side) 5
MicroSD card socket
Digital camera module
Display DSI V3 connector
USB OTG full-speed connector
PMOD-connector (SPI)
STMOD+TM
connector
ST link connector
MEMS Microphones
This is the STM32L4R9I DISCOVERY board. The front side is covered by the LCD display with 2 MEMS microphones on the side.
The board offers a wide range of connectors for display, camera, memory card, STMOD+, PMOD and other USB peripherals.
5
STM32L4R9I Discovery Board (Bottom Side) 6
Arduino connectors
Analog audio connector
ST LINK/V2.1 USB
connector
The back side offers a wide range of connectors.A stereo headphone or stereo headset can be plugged into the 3.5mm standard jack connector.
The Arduino connectivity support provides unlimited expansion capabilities with a large choice of specialized add-on boards.This board enables us to demonstrate the STM32L4R9AI
performance and versatility thanks to its large peripheral set.
6
Power Supply Modes
• 5 possible sources
• USB-powered• 5 V DC power with limitation from ST LINK/V2.1 USB
connector CN13
• Jumper JP4 set to STLK
• 5 V DC power with limitation from USB OTG connector
(CN9)
• Jumper JP4 set to U5V
• 5 V DC power with limitation from DC power charger CN13
• Jumper JP4 set to CHGR
• Externally powered• Supplying through 5 V of Arduino™ connector CN16 (5 V)
• Jumper JP4 set to ARD and pin 2-3 of JP5 must be
connected.
• Supplying through Vin (6V to 9V) of Arduino™ connector
CN16 (Vin)
• Jumper JP4 set to E5V
7
JP4
JP5
The Discovery kit has flexible power supply options with 5 possible sources.It can be powered via USB in one of the following
configurations:- Plug in a micro USB cable on CN13 and set JP4 jumper to 5V STLK.- Plug in a micro USB cable on CN9 and set JP14 jumper
to 5V UV5.- Plug in a 5V-DC power charger on CN13 and set JP4 jumper to 5V CHGR.
It can also be supplied externally if - JP4 jumper is set to ARD and supplying through 5V Arduino connector CN16. Pins 2 and 3 of JP5 must be
connected to get 5V power from Arduino.- JP4 jumper is set to E5V and supplying a 6-9 V DC
7
power on the CN16 Arduino connector pin named Vin.
7
STM32L4P5G-DK top view 8
STM32L4P5G-DK Discovery kit (MB1535)
APMemory PSRAM 8-MByte(1)
Macronix 64-Mbyte(1)
Camera module
daughterboard MB1183 or
MB1379 (footprint only) 4-Gbyte eMMC
Display connector B-LCD12-
MIP1 (MB1609)
(footprint only)
(1) U11 and U12 footprints allows:
- the soldering of an MCP like the S71KL256SC0 memory to evaluate OctoSPI Multiplexed mode (2 nCS connected over solder bridges)- the soldering of differential 1V8 HyperBus memories (differential clock is available and can be enabled through solder bridge)
APS6408L‐3OBx BGA24
“Universal” footprint to connect
any Octal memory
STM32L4P5AG
UFBGA169 xtSMPS
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.
Please refer to document UM2651 for a complete and detailed list of the features.
8
STM32L4P5G-DK Expansion Boards 9
Display daughter board(MB1609) 240x240 64 color MIP from JDI
Camera daughter boardBased on 5 Mpixels 8-bit OV5640 CMOS sensor
Ordered
separately
The STM32L4P5G- DISCOVERY kit embeds two additional boards.• A camera 5 megapixels 8bitsand resolution of
2592*1944• LCD daughter board MB1609 is a 1.2’’, 240x240 pixel,
reflective round display panel with 6 bits RGB interface and capacitive touch panel, enabling the demonstration
of the board’s graphics capabilities and the navigation of the demonstration menu.
9
Demonstration Firmware
Now, let's have a look at the demos included in the STM32L4R9I discovery kit.
10
Menu Launcher
• STemWin by STMicroelectronics
• TouchGFX by Draupner Graphics A/S
• Embedded Wizard by Tara Systems
• 3 demonstrations available
The demonstration software is preloaded in the Octo-SPIFlash memory. The latest versions of the demonstration source code and associated documentation can be
downloaded from www.st.com/stm32l4-Discovery. Now let’s run the various applications by touching the display screen to enable navigation through the demonstration menus.
Three demonstrations can be selected from the menu launcher to evaluate watch, audio player, activity trackers
and power measurements applications:- STemWin developed by STMicroelectronics- TouchGFX developed by Draupner Graphics A/S- Embedded Wizard developed by Tara Systems.
11
STemWin Demonstration 12
Watch
Power
Measurements
Audio Player
System
informationReset
Audio Recorder
You can browse STemWin demonstration firmware through menus and sub-menus.
The “Watch” application shows the clock face.The “Audio Player” application plays any WAV file stored in the micro SD card.The “Audio Recorder” application uses MEMS digital
microphones to store audio.The “Power Measurement” application enables the user to measure the STM32L4R9AI MCU power consumption.
Finally, the system information menu allows to display various types of information about the board.
12
TouchGFX Demonstration 13
Audio Player
Power
Measurements
Game 2D
Activity Tracking Back Button
Watch
You can browse TouchGFX demonstration firmware through menus and sub-menus.
The “Audio Player” application plays any WAV file stored in the micro SD card. The “Game2D” application uses STM32L4R9AII6 graphics capabilities and highlights core usage with and without
Chrom-ARTAccelerator™ enabled.The “Watch” application shows watch widgets with several clock faces.
The “Power Measurement” application enables the user to select the power mode and measure the STM32L4R9AI MCU power consumption.The “Activity Tracking” application is for monitoring and
tracking metrics such as activity time, distance, calories consumption or heartbeat. Walk, run, bicycle and swim
13
activities can be selected through sub-menus.The “Back Button” menu allows to go back to menu launcher.
13
Embedded Wizard Demonstration 14
Running module
Watch widgets
Main menu
You can browse Embedded Wizard demonstration firmware through main menu and sub-menus.
The “Running” application is for monitoring and tracking metrics such as activity time, speed, distance walked or run, heartbeat and tracker position.The “Watch” application demonstrates watch widgets with
several clock faces.The “Back Button” menu allows to go back to menu launcher.
14
References
• Refer to www.st.com/stm32l4-discovery
• Ordering information
• Getting started manual, user’s manual and application notes
• Board schematics
• Application development environment support
• Demonstration firmware sources
• Video available on YouTube and st.com
• “Getting started with STM32L4R9I discovery kit”
15
For more information on the low-power STM32L4R9I Discovery kit, please go to www.st.com/STM32L4-DISCOVERY. You can also watch our videos on our
YouTube ST channel.
15