Release Notes for STM32L5xx CMSIS

Copyright © 2019 STMicroelectronics

License

This software component is licensed by ST under Apache-2.0 license, the "License"; You may not use this component except in compliance with the License. You may obtain a copy of the License at:

Apache License v2.0

Purpose

This driver provides the CMSIS device for the STM32L5 products. This covers STM32L552xx/STM32L5622x devices.

This driver is composed of the descriptions of the registers under “Include” directory.

Various template file are provided to easily build an application. They can be adapted to fit applications requirements.

Update History

Main Changes

Fourth release

Contents

Fourth release of STM32L5xx CMSIS Device drivers to support STM32L552xx and STM32L562xx devices

  • stm32l552xx.h and stm32l562xx.h updates
    • Fix ICACHE_FCR_CERRF bit definition
    • Align DBGMCU_CR register and bits definitions with RM0438 revision 5
    • Cleanup RCC_CFGR_* definitions to keep only bits definitions
  • Templates\gcc\startup_stm32l552xx.s and startup_stm32l562xx.s
    • Call SystemInit() before RAM initialization in startup/Reset_Handler
  • Add README.md and License.md files for GitHub publication
  • Misspelled words corrections in driver descriptions

Notes

Reminder:

  • When TrustZone is enabled in the system (Flash option bit TZEN=1)
    • template device partition_stm32l552xx.h or partition_stm32l562xx.h file must be copied and optionally updated in user application secure project to configure the system (SAU, interrupts, core).
    • default Security Attribute Unit (SAU) configuration in the partition_stm32l552xx.h and partition_stm32l562xx.h:
      • SAU region 0: 0x0C03E000-0x0C03FFFF (Secure, Non-Secure Callable)
      • SAU region 1: 0x08040000-0x0807FFFF (Non-Secure FLASH Bank2 (256 Kbytes))
      • SAU region 2: 0x20018000-0x2003FFFF (Non-Secure RAM (2nd half SRAM1 + SRAM2 (160 Kbytes)))
      • SAU region 3: 0x40000000-0x4FFFFFFF (Non-Secure Peripheral mapped memory)
      • SAU region 4: 0x60000000-0x9FFFFFFF (Non-Secure external memories)
      • SAU region 5: 0x0BF90000-0x0BFA8FFF (Non-Secure System memory)

Main Changes

Third release

Contents

Third official release of STM32L5xx CMSIS Device drivers to support STM32L552xx and STM32L562xx devices

  • stm32l552xx.h and stm32l562xx.h updates
    • Add root secure services library (RSSLIB) definitions
    • Add bootloader id address
    • Align DBGMCU_APB2FZR register and bits definitions with RM0438

Notes

Reminder:

  • When TrustZone is enabled in the system (Flash option bit TZEN=1)
    • template device partition_stm32l552xx.h or partition_stm32l562xx.h file must be copied and optionally updated in user application secure project to configure the system (SAU, interrupts, core).
    • default Security Attribute Unit (SAU) configuration in the partition_stm32l552xx.h and partition_stm32l562xx.h:
      • SAU region 0: 0x0C03E000-0x0C03FFFF (Secure, Non-Secure Callable)
      • SAU region 1: 0x08040000-0x0807FFFF (Non-Secure FLASH Bank2 (256 Kbytes))
      • SAU region 2: 0x20018000-0x2003FFFF (Non-Secure RAM (2nd half SRAM1 + SRAM2 (160 Kbytes)))
      • SAU region 3: 0x40000000-0x4FFFFFFF (Non-Secure Peripheral mapped memory)
      • SAU region 4: 0x60000000-0x9FFFFFFF (Non-Secure external memories)
      • SAU region 5: 0x0BF90000-0x0BFA8FFF (Non-Secure System memory)

Main Changes

Second release

Contents

Second official release of STM32L5xx CMSIS Device drivers to support STM32L552xx and STM32L562xx devices

  • Templates system_stm32l5xx.c, system_stm32l5xx_s.c and system_stm32l5xx_ns.c
    • Add vector table relocation capability with conditional USER_VECT_TAB_ADDRESS

Notes

Reminder:

  • When TrustZone is enabled in the system (Flash option bit TZEN=1)
    • template device partition_stm32l552xx.h or partition_stm32l562xx.h file must be copied and optionally updated in user application secure project to configure the system (SAU, interrupts, core).
    • default Security Attribute Unit (SAU) configuration in the partition_stm32l552xx.h and partition_stm32l562xx.h:
      • SAU region 0: 0x0C03E000-0x0C03FFFF (Secure, Non-Secure Callable)
      • SAU region 1: 0x08040000-0x0807FFFF (Non-Secure FLASH Bank2 (256 Kbytes))
      • SAU region 2: 0x20018000-0x2003FFFF (Non-Secure RAM (2nd half SRAM1 + SRAM2 (160 Kbytes)))
      • SAU region 3: 0x40000000-0x4FFFFFFF (Non-Secure Peripheral mapped memory)
      • SAU region 4: 0x60000000-0x9FFFFFFF (Non-Secure external memories)
      • SAU region 5: 0x0BF90000-0x0BFA8FFF (Non-Secure System memory)

Main Changes

First release

Contents

First official release of STM32L5xx CMSIS Device drivers to support STM32L552xx and STM32L562xx devices

  • Templates
    • When TrustZone security is enabled in the system (Flash option bit TZEN=1), the partition_stm32l552xx.h and partition_stm32l562xx.h are available from \Include\Templates with a default Security Attribute Unit (SAU) configuration:
      • SAU region 0: 0x0C03E000-0x0C03FFFF (Secure, Non-Secure Callable)
      • SAU region 1: 0x08040000-0x0807FFFF (Non-Secure FLASH Bank2 (256 Kbytes))
      • SAU region 2: 0x20018000-0x2003FFFF (Non-Secure RAM (2nd half SRAM1 + SRAM2 (160 Kbytes)))
      • SAU region 3: 0x40000000-0x4FFFFFFF (Non-Secure Peripheral mapped memory)
      • SAU region 4: 0x60000000-0x9FFFFFFF (Non-Secure external memories)
      • SAU region 5: 0x0BF90000-0x0BFA8FFF (Non-Secure System memory)
    • system_stm32l5xx_s.c and system_stm32l5xx_ns.c for respectively secure application and non-secure application when TrustZone security is enabled (TZEN=1)
    • Linker files for 256 and 512 Kbytes Flash device configurations

Notes

When TrustZone is enabled in the system (Flash option bit TZEN=1), template device partition_stm32l552xx.h or partition_stm32l562xx.h file must be copied and optionally updated in user application secure project to configure the system (SAU, interrupts, core)