Stm32F407 - Laird LSR STERLING-LWB STM Quick Start Manual

Table of Contents

Advertisement

The STM32F411VET6U are very STM32F412VET6U similar parts. The main differences are, up to 1 Meg
byte Flash and 256 k byte RAM and additional peripherals (FSMC, QSPI, DFSDM and CAN).
The Sterling Demo Board does not use the additional peripherals. In general, a platform that was based
on the STM32F411 VEH6 can be updated to support the STM32F412VET6U with the following changes
to the .mk file
HOST_MCU_VARIANT
HOST_MCU_PART_NUMBER := STM32F412VEH6
WICED has STM32F4xx processor specific files located in the path: WICED\WICED-Studio-4.0\43xxx_Wi-
Fi\WICED\platform\MCU\ STM32F4xx. These files contain definitions for the STM32F412 and the
WICED build system will pick the correct ones based on the MCU variant and part number.

6.3 STM32F407

The STM32F407 is similar to the F411. It is available with up to 1 Meg byte of Flash and 192 k byte RAM.
A 64 k byte block of Core Coupled Memory (CCM) is typically used for the parallel camera interface,
although it can also be used as general purpose RAM.
WICED does have support for the F407/F417 in the MCU files and the MCU Variant and Part Number can
be set to STM32F417. However the 64 k CCM RAM block is not contiguous with the other on chip RAM
blocks and it cannot easily be used by the GCC linker as part of the SRAM data segment.
To use the 64 k byte CCM RAM for WICED applications, it is suggested to take the following steps.
1. Change the HOST_MCU_VARIANT := STM32F417 and the HOST_MCU_PART_NUMBER :=
STM32F417VGT in the platform makefile. For example near line 38 in the file
\43xxx_Wi-Fi\platforms\LSRSTERLING_00950\LSRSTERLING_00950.mk
2. Add a memory section definition to the file
WICED\platform\MCU\STM32F4xx\GCC\app_with_bootloader.ld that will allocate RAM to the
named section.
3. Allocate static RAM blocks to the CCM RAM
This is an example of a memory section definition that could be added to app_with_bootloader.ld
.ccmram : /* CCM SRAM section available on the STM32F407, 417 */
{
. = ALIGN(4);
ccmram_start = .; /* create a symbol at CCM_SRAM start */
*(.ccmram)
*(.ccmram*)
*(.bss*)
*(COMMON)
. = ALIGN(4);
ccmram_end = .;
}> CCM_SRAM AT>CCM_SRAM :bss
The information in this document is subject to change without notice.
330-0234-R1.2
:= STM32F412
/* create a symbol at CCM_SRAM end */
Copyright ©2016-2017 LSR
Sterling-LWB STM Expansion Board
USER GUIDE
Page 24 of 25

Advertisement

Table of Contents
loading

Table of Contents