STM32L4R9 Discovery

From SEGGER Wiki
Revision as of 10:09, 5 March 2021 by Sebastian (talk | contribs)
Jump to: navigation, search

QSPI Flash Programming Support

Before continuing with this article, please read the generic article about QSPI flash programming support on STM32L4 devices (STM32L4Pxxx / STM32L4Qxxx / STM32L4Rxxx / STM32L4Sxxx (Q)SPI support).

Example implementation

As described in the generic article, the reference flash algorithm is based on our internal SPIFI Lib that is part of the JLinkARM.dll. For adaption to other pin configs an openflashloader will be provided. For further information regarding the Open Flashloader and how to use the JLinkDevices.xml file, please refer to the Openflashloader Wiki article (Open Flashloader).

Quad-SPI Interface Pins

The ST STM32L4R9 Discovery uses the following port pins to interface the (Q)SPI flash.

Alternate function Port / Pin
QSPI_CLK PG12
QSPI_CS PI6
QSPI_D0 PI11
QSPI_D1 PI10
QSPI_D2 PI9
QSPI_D3 PH8