Release Notes forSTM32CubeF2 Firmware Package

Copyright © 2017 STMicroelectronics

Purpose

STMCube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.

STM32Cube Version 1.x includes:

The HAL (Hardware Abstraction Layer) drivers provided within this package supports the following STM32F2 product lines 205xx/215xx/207xx/217xx

Update History

Maintenance release

Main Changes

  • Patch release to fix known defects and enhancements implementation.
  • All source files: update disclaimer to add reference to the new license agreement.

  • CMSIS updates
    • Update the GCC startup file to be aligned to IAR/Keil IDE.
  • HAL updates
    • HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers.
    • HAL Generic driver
      • Allow redefinition of macro UNUSED(x).
    • HAL GPIO driver
      • Reorder EXTI configuration sequence in order to avoid unexpected level detection.
    • HAL EXTI driver
      • Fix computation of pExtiConfig->GPIOSel in HAL_EXTI_GetConfigLine().
    • HAL ADC driver
      • Remove multiple volatile reads or writes in interrupt handler for better performance.
    • HAL DAC driver
      • Fix incorrect word ‘surcharged’ in functions headers.
    • HAL/LL TIM driver
      • Manage configuration of the Capture/compare DMA request source:
        • Add related new exported constants (TIM_CCDMAREQUEST_CC, TIM_CCDMAREQUEST_UPDATE).
        • Create a new macro __HAL_TIM_SELECT_CCDMAREQUEST() allowing to program the TIMx_CR2.CCDS bitfield.
      • Improved driver robustness against wrong period values.
      • Improved driver robustness against wrong DMA related parameters.
      • __LL_TIM_CALC_PSC() macro update to round up the evaluate value when the fractional part of the division is greater than 0.5.
      • Removed lock management from callback management functions.
    • HAL RTC driver
      • Use bits definitions from CMSIS Device header file instead of hard-coded values.
      • Wrap comments to be 80-character long and correct typos.
      • Move constants RTC_IT_TAMP. from hal_rtc.h to hal_rtc_ex.h.
      • Gather all instructions related to exiting the “init” mode into new function RTC_ExitInitMode().
      • Rework functions HAL_RTCEx_SetTamper() and HAL_RTCEx_SetTamper_IT() to:
        • Write in TAFCR register in one single access instead of two.
        • Avoid modifying user structure sTamper.
      • Check if the RTC calendar has been previously initialized before entering initialization mode.
      • Add a new API HAL_UARTEx_GetRxEventType that could be used to retrieve the type of event that has led the RxEventCallback execution.
      • Remove macro __HAL_RTC_TAMPER_GET_IT() as it is redundant with macro __HAL_RTC_TAMPER_GET_FLAG() and create an alias into the hal_legacy.h file.
    • HAL UART driver
      • Handling of UART concurrent register access in case of race condition between Tx and Rx transfers.
      • Improve header description of UART_WaitOnFlagUntilTimeout() function.
      • Add a check on the UART parity before enabling the parity error interruption.
      • Fix typo in UART_IT_TXE bit description.
      • Removal of HAL_LOCK/HAL_UNLOCK calls in HAL UART Tx and Rx APIs.
      • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
    • HAL SMARTCARD driver
      • Improve header description of SMARTCARD_WaitOnFlagUntilTimeout() function.
      • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
    • HAL IRDA driver
      • Improve header description of IRDA_WaitOnFlagUntilTimeout() function.
      • Add a check on the IRDA parity before enabling the parity error interrupt.
      • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
    • HAL SDMMC driver
      • Take in account the voltage range in the CMD1 command.
      • Add new LL function to have correct response for MMC driver.
      • Update the driver to have all fields correctly initialized.
      • Add a internal to manage the power class and call it before to update speed of bus width.
      • Add new API to get the value of the Extended CSD register and populate the ExtCSD field of the MMC handle.
    • HAL/LL USART driver
      • Handle USART concurrent register accesses in case of race condition between Tx and Rx transfers.
      • Improve header description of USART_WaitOnFlagUntilTimeout() function.
      • Add a check on the USART parity before enabling the parity error interrupt.
      • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
    • HAL CAN driver
      • Removal of never reached code.
      • Improve protection against bad inputs.
    • HAL HASH driver
      • HAL code quality enhancement for MISRA-C2012 Rule-2.2_c.
    • HAL NOR driver
      • Enable write operations before effective write to NOR memory in HAL_NOR_Init() function to avoid HardFault.
      • FMC_WRITE_OPERATION_DISABLE for NOR cause Hardfault for Read operations.
    • HAL SPI driver
      • Fix driver to don’t update state in case of error (HAL_SPI_STATE_READY will be set only in case of HAL_TIMEOUT).
    • HAL IWDG driver
      • Update comment describing the calculation of HAL_IWDG_DEFAULT_TIMEOUT macro.
    • HAL DMA driver
      • Manage the case of an invalid callback ID passed to the HAL_DMA_RegisterCallback() function.
    • HAL I2C driver
      • Update HAL_I2C_Mem_Write_DMA() and HAL_I2C_Mem_Read_DMA() APIs to add initialization for Devaddress, Memaddress and EventCount parameters.
      • Update I2C_MasterReceive_RXNE() process to safely manage data N=2 and N=3, Disable BUF interrupt if nothing to do.
      • Update HAL_I2C_Master_Transmit_IT to return HAL_BUSY instead of HAL_ERROR when timeout occur and I2C_FLAG_BUSY is SET.
      • Clear ACK bit once 3 bytes to read remain to be able to send the NACK once the transfer ends.
      • Duplicate the test condition after timeout detection to avoid false timeout detection.
    • HAL/LL USB driver
      • PCD: add handling of USB OUT Endpoint disable interrupt.
      • PCD: fix device IN endpoint isoc incomplete transfer interrupt handling.
      • PCD: fix USB device Isoc OUT Endpoint incomplete transfer interrupt handling.
      • HCD: fix handling of ODDFRM bit in OTG_HCCHARx for Isochronous IN transactions.
      • PCD: added fix to correct received transfer length with USB DMA activated.
      • Fix added to USB_ClearInterrupts() and USB_HC_Halt() APIs.
      • Remove useless software setting to setup the frame interval at 80%.
      • Adding support of hub split transactions.
  • Projects updates
    • NUCLEO-F207ZG :
      • Replace hard-coded page end address by a variable in EE_VerifyPageFullyErased() to consider both PAGE 0 and PAGE 1 instead of only PAGE 0 in EEPROM emulation application.
  • BSP updates
    • stm32_adafruit_sd.c:
      • Fix BSP_SD_ReadBlocks and BSP_SD_WriteBlocks to support SDHC cards.
    • stm32_adafruit.c:
      • Correct logical test in BSP_LCD_DisplayStringAt() and DrawChar().
    • stm32_adafruit_sd.h:
      • Remove volatile qualification for SD_CID structure’s fields.

Contents

Projects
Name Version Release notes
Projects see Projects Release note for details release notes
Drivers
Name Version Release note
STM32F2xx CMSIS V2.2.6 release notes
STM32F2xx HAL V1.2.8 release notes
BSP Adafruit_Shield V3.0.6 release notes
BSP STM32F2xx_Nucleo_144 V1.0.3 release notes
BSP STM322xG_EVAL V7.0.2 release notes
Utilities
Name Version Release note
CPU V1.1.4 release notes
Fonts V1.0.3 release notes
Log V1.0.4 release notes

Known Limitations

  • Warnings detected with LibJPEG applications are related to the Libjpeg third party MW stack V8d with System Workbench for STM32 (SW4STM32) V2.9:
    • No impact of these warnings on the functional behavior

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.40.2+ ST-Link
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 + ST-LINK
    • Only template projects are migrated to Arm Compiler 6 with MDK-ARM 5.31 (“AC-like Warnings” mode).
  • System Workbench for STM32 (SW4STM32) (7-2018-q2-update) toolchain V2.9.0 + ST-Link

Maintenance release

Main Changes

  • Patch release of STM32CubeF2 Firmware Package.

  • CMSIS updates
    • Improve GCC startup files robustness.
    • Add LSI maximum startup time datasheet value: LSI_STARTUP_TIME.
    • Add atomic register access macros.
  • HAL updates
    • HAL/LL ADC driver
      • Update timeout mechanism to avoid false timeout detection in case of preemption.
      • Update HAL ADC driver to add include of the LL ADC driver.
      • Update LL_ADC_DeInit() API to clear missing SQR3 register.
    • HAL CAN driver
      • Update HAL_CAN_Init() API to be aligned with reference manual and to avoid timeout error:
        • Update CAN Initialization sequence to set “request initialization” bit before exit from sleep mode.
    • HAL GPIO driver
      • Update HAL_GPIO_Init() API to avoid the configuration of PUPDR register when Analog mode is selected.
    • LL FMC driver
      • Fix compilation warning with gcc -Wpedantic compiler option.
    • HAL NAND driver
      • Update implementation of “HAL_NAND_Write_Page_16b” and “HAL_NAND_Read_Page_16b” APIs implementation to fix an issue with the page calculation of 8 bits memories.
      • Update functions HAL_NAND_Read_SpareArea_16b() and HAL_NAND_Write_SpareArea_16b() to fix column address calculation issue.
    • HAL SDMMC driver
      • Update the definition of SDMMC_DATATIMEOUT constant in order to allow the user to redefine it in his proper application.
      • SD_FindSCR() updated to resolve an issue with FIFO blocking when reading.
      • Update the definition of SDMMC_DATATIMEOUT constant in order to allow the user to redefine it in his proper application.
      • Add the block size settings in the initialization functions and remove it from read/write transactions to avoid repeated and inefficient reconfiguration.
      • Update read/write functions in DMA mode in order to force the DMA direction.
      • Deploy new functions MMC_ReadExtCSD() and SDMMC_CmdSendEXTCSD () that read and check the sectors number of the device in order to resolve the issue of wrongly reading big memory size.
    • HAL/LL SPI driver
      • Update to fix MISRA-C 2012 Rule-13.2.
      • Update LL_SPI_TransmitData8() API to avoid casting the result to 8 bits.
    • HAL IRDA driver
      • Fixed typos in the IRDA State definition description.
    • HAL IWDG driver
      • Updated HAL_IWDG_Init() API in order to fix HAL_GetTick() timeout vulnerability issue.
      • Add LSI startup time in default IWDG timeout calculation (HAL_IWDG_DEFAULT_TIMEOUT).
    • HAL/LL RTC driver
      • New APIs to subtract or add one hour to the calendar in one single operation without going through the initialization procedure (Daylight Saving):
        • Add HAL_RTC_DST_Add1Hour()
        • HAL_RTC_DST_Sub1Hour()
        • HAL_RTC_DST_SetStoreOperation()
        • HAL_RTC_DST_ClearStoreOperation()
        • HAL_RTC_DST_ReadStoreOperation()
      • Update __HAL_RTC_…(__HANDLE__, …) macros to access registers through (__HANDLE__)->Instance pointer and avoid “unused variable” warnings.
      • Correct month management in IS_LL_RTC_MONTH() macro.
    • HAL DMA driver
      • Update HAL_DMA_IRQHandler() API to set the DMA state before unlocking access to the DMA handle.
    • HAL EXTI driver
      • Update macros using LINE as a macro parameter in order to use EXTI_LINE instead to resolve parameter conflicts with standard C usage.
      • Update HAL_EXTI_GetConfigLine() API to set default configuration value of Trigger and GPIOSel before checking each corresponding registers.
    • HAL SMARTCARD driver
      • Fixed typos in the SMARTCARD State definition description.
    • HAL/LL TIM driver
      • Made TIM_DMADelayPulseCplt callback as a private function.
      • Update HAL_TIMEx_OnePulseN_Start and HAL_TIMEx_OnePulseN_Stop (pooling and IT mode) to take into consideration all OutputChannel parameters.
      • Update input capture measurement in DMA mode to avoid zero return values at high frequencies.
      • Updated LL_TIM_GetCounterMode() API to return the correct counter mode.
      • Corrected reversed description of TIM_LL_EC_ONEPULSEMODE One Pulse Mode.
    • HAL I2C driver
      • Update to prevent several calls of Start bit:
        • Update I2C_MemoryTransmit_TXE_BTF() API to increment EventCount.
      • Update to avoid I2C interrupt in endless loop:
        • Update HAL_I2C_Master_Transmit_IT(), HAL_I2C_Master_Receive_IT(), HAL_I2C_Master_Transmit_DMA() and HAL_I2C_Master_Receive_DMA() APIs to unlock the I2C peripheral before generating the start.
      • Update to use the right macro to clear I2C ADDR flag inside I2C_Slave_ADDR() API as it’s indicated in the reference manual.
    • HAL RNG driver
      • Update timeout mechanism to avoid false timeout detection in case of preemption.
    • HAL UART driver
      • Enhance reception for idle services (ReceptionToIdle):
        • Add a new field (HAL_UART_RxTypeTypeDef) to the UART_HandleTypeDef structure to identify the type of ongoing reception.
        • Add UART Reception Event Callback registration.
      • Add reception specific APIs specific to reception for Idle transfer in different modes:
        • HAL_UARTEx_ReceiveToIdle(): Receive an amount of data in blocking mode until either the expected number of data is received or an IDLE event occurs.
        • HAL_UARTEx_ReceiveToIdle_IT(): Receive an amount of data in interrupt mode until either the expected number of data is received or an IDLE event occurs.
        • HAL_UARTEx_ReceiveToIdle_DMA(): Receive an amount of data in DMA mode until either the expected number of data is received or an IDLE event occurs.
      • Update HAL_UART_Receive(), HAL_UART_Receive_IT() and HAL_UART_Receive_DMA() APIs to support the new enhancement of ReceptionToIdle.
      • Fix wrong comment related to RX pin configuration within the description section.
      • Correction on UART ReceptionType management in case of ReceptionToIdle API are called from RxEvent callback.
    • LL USART driver
      • Remove useless check on maximum BRR value by removing IS_LL_USART_BRR_MAX() macro.
  • Projects updates
    • Fix include path on some SW4STM32 Projects.

Contents

Name Version Release note
STM32F2xx CMSIS V2.2.5 release notes
STM32F2xx HAL V1.2.7 release notes

Known Limitations

  • Warnings detected with LibJPEG applications are related to the Libjpeg third party MW stack V8d with System Workbench for STM32 (SW4STM32) V2.9:
    • No impact of these warnings on the functional behavior

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.40.2+ ST-Link
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 + ST-LINK
  • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • Patch release of STM32CubeF2 Firmware Package.

  • HAL

    • HAL/LL I2C driver
      • Update to fix hardfault issue with HAL_I2C_Mem_Write_DMA() API:
        • Abort the right ongoing DMA transfer when memory write access request operation failed: fix typo “hdmarx” replaced by “hdmatx”

Contents

Drivers
Name Version Release note
STM32F2xx HAL V1.2.6 release notes

Maintenance release

Main Changes

  • General updates to fix known defects and enhancements implementation

  • HAL
    • HAL driver
      • Enhance HAL_SetTickFreq() API robustness:
        • HAL_SetTickFreq(): update to restore the previous tick frequency when HAL_InitTick() configuration failed.
      • Add new defines for ARM compiler V6:
        • __weak
        • __packed
        • __NOINLINE
      • Update HAL_Init_Tick() API to proporely store the priority when using the non-default time base.
    • HAL/LL ADC driver
      • Update the type for the following ADC parameters in ADC_InitTypeDef structure to fix MISRA-C 2012 Rule-10.4 error
        • uint32_t ContinuousConvMode to FunctionalState ContinuousConvMode
        • uint32_t DiscontinuousConvMode to FunctionalState DiscontinuousConvMode
        • uint32_t DMAContinuousRequests to FunctionalState DMAContinuousRequests
      • Update the following APIs to set status HAL_ADC_STATE_ERROR_INTERNAL and error code HAL_ADC_ERROR_INTERNAL when error occurs:
        • HAL_ADC_Start()
        • HAL_ADC_Start_IT()
        • HAL_ADC_Start_DMA()
        • HAL_ADCEx_InjectedStart()
        • HAL_ADCEx_InjectedStart_IT()
        • HAL_ADCEx_MultiModeStart_DMA()
      • Update HAL_ADC_Stop_DMA() API to check if DMA state is Busy before calling HAL_DMA_Abort() API to avoid DMA internal error.
      • Update LL_ADC_REG_Init() API to avoid enabling continuous mode and discontinuous mode simultaneously.
    • HAL GPIO driver
      • Update HAL_GPIO_TogglePin() API to allow multi Pin’s toggling.
      • Update LL_GPIO_TogglePin() API to improve robustness: use BSRR register instead of ODR register.
    • HAL RCC driver
      • Fix HAL_RCC_OscConfig() to not return HAL_ERROR if the same PLL configuration is requested.
    • HAL/LL HASH driver
      • Fix Misra-C 2012 Rule-5.1 warning on identifiers to be distinct in the first 31 characters in renaming all HAL_HASH_xxx_Accumulate_yy() and HAL_HASHEx_xxx_Accumulate_yy() APIs respectively into HAL_HASH_xxx_Accmlt_yy() and HAL_HASHEx_xxx_Accmlt_yy()
      • Correct phase management issue when performing two successive hash operations on two different buffers
      • Create new APIs to initialize the HASH peripheral then processes pInBuffer in interruption mode.
        • HASH_Accumulate_IT()
        • HAL_HASH_SHA1_Accmlt_IT()
        • HAL_HASH_MD5_Accmlt_IT()
      • Create new APIs to wrap-up multi-buffer hashing processing in polling and interrupt modes
        • HAL_HASH_MD5_Accmlt_End()
        • HAL_HASH_SHA1_Accmlt_End()
        • HAL_HASH_MD5_Accmlt_End_IT()
        • HAL_HASH_SHA1_Accmlt_End_IT()
      • Ensure processing suspension flag is reset to HAL_HASH_SUSPEND_NONE value in HAL_HASH_Init() API
      • Add comments to describe case of message made of several parts, not all with length multiple of 4 bytes.
      • HASH_DMAXferCplt() callback API state improperly set to READY instead of BUSY fixed.
    • HAL NOR driver
      • Correct MISRA-C 2012-Rule-10.4_a / 14.4_d / 18.4 warnings in HAL NOR drivers
      • Update address calculation in HAL_NOR_ProgramBuffer()
      • Add new commands operations:
        • NOR_CMD_READ_ARRAY
        • NOR_CMD_WORD_PROGRAM
        • NOR_CMD_BUFFERED_PROGRAM
        • NOR_CMD_CONFIRM
        • NOR_CMD_BLOCK_ERASE
        • NOR_CMD_BLOCK_UNLOCK
        • NOR_CMD_READ_STATUS_REG
        • NOR_CMD_CLEAR_STATUS_REG
      • Apply adequate commands according to the command set field value
        • command set 1 for Micron JS28F512P33
        • command set 2 for Micron M29W128G and Cypress S29GL128P
      • Update some APIs in order to be compliant for memories with another command set.
        • HAL_NOR_Init()
        • HAL_NOR_Read_ID()
        • HAL_NOR_ReturnToReadMode()
        • HAL_NOR_Read()
        • HAL_NOR_Program()
        • HAL_NOR_ReadBuffer()
        • HAL_NOR_ProgramBuffer()
        • HAL_NOR_Erase_Block()
        • HAL_NOR_Erase_Chip()
        • HAL_NOR_GetStatus()
    • HAL SRAM driver
      • General update to enhance HAL SRAM driver robustness
        • Update HAL_SRAM_Init() API to avoid activation of burst access for SRAM
    • LL FSMC driver
      • Remove useless casts.
      • Update FSMC_NORSRAM_Init() API in order to resolve compilation issue with Microsoft Visual Studio 2017.
      • Update FSMC_NORSRAM_Extended_Timing_Init() API in order to manage Bus turnaround phase duration FSMC_BWTR1_BUSTURN availability.
    • HAL/LL IWDG driver
      • Update HAL_IWDG_DEFAULT_TIMEOUT define value to consider LSI value instead of hardcoded value
    • HAL/LL I2C update
      • Update I2C_MasterReceiveRXNE() static API to avoid set the STOP bit again after the bit clearing by Hardware during the masking operation
        • Add new API I2C_WaitOnSTOPRequestThroughIT() to wait for stop bit.
      • Update sequential APIs to avoid requesting a START when a STOP condition is not fully treated
        • Wait the end of STOP treatment by polling (with a timeout) the STOP bit on Control register CR1
      • Update HAL_I2C_ER_IRQHandler() API to fix acknowledge failure issue with I2C memory IT processes
        • Add stop condition generation when NACK occurs.
    • HAL/LL I2S driver
      • Update HAL_I2S_DMAStop() API to be more safe
        • Add a check on BSY, TXE and RXNE flags before disabling the I2S
      • Update HAL_I2S_DMAStop() API to fix multi-call transfer issue(to avoid re-initializing the I2S for the next transfer).
        • Add __HAL_I2SEXT_FLUSH_RX_DR() and __HAL_I2S_FLUSH_RX_DR() macros to flush the remaining data inside DR registers.
        • Add new ErrorCode define: HAL_I2S_ERROR_BUSY_LINE_RX
    • HAL/LL SPI driver
      • Update SPI_DMAReceiveCplt() API to handle efficiently the repeated transfers.
        • Disable TX DMA request only in bidirectional receive mode
      • Update HAL_SPI_Init() API
        • To avoid setting the BaudRatePrescaler in case of Slave Motorola Mode
        • Use the bit-mask for SPI configuration
      • Update Transmit/Receive processes in half-duplex mode
        • Disable the SPI instance before setting BDIOE bit
      • Fix wrong timeout management
        • Calculate Timeout based on a software loop to avoid blocking issue if Systick is disabled
    • HAL/LL UART driver
      • Update UART BRR calculation for ROM size gain
      • Update UART polling and interruption processes to fix issues related to accesses out of user specified buffer.
        • Update UART_Transmit_IT(), UART_Receive_IT(), HAL_UART_Transmit() and HAL_UART_Receive() APIs.
    • HAL SMARTCARD driver
      • Update SMARTCARD transmission and reception APIs to handle memory corruption
        • HAL_SMARTCARD_Transmit(), HAL_SMARTCARD_Receive(), HAL_SMARTCARD_Transmit_IT() and HAL_SMARTCARD_Receive_IT()
    • HAL/LL TIM driver
      • Align HAL/LL TIM driver with latest updates and enhancements
      • Update Encoder interface mode to keep TIM_CCER_CCxNP bits low
        • Add TIM_ENCODERINPUTPOLARITY_RISING and TIM_ENCODERINPUTPOLARITY_FALLING definitions to determine encoder input polarity.
        • Add IS_TIM_ENCODERINPUT_POLARITY() macro to check the encoder input polarity.
        • Update HAL_TIM_Encoder_Init() API
        • Replace IS_TIM_IC_POLARITY() macro by IS_TIM_ENCODERINPUT_POLARITY() macro.
      • Fix bug when using multiple DMA request to different channels of same timer
        • Introduce DMA burst state management mechanism
          • Add a new structure for DMA Burst States definition : HAL_TIM_DMABurstStateTypeDef
          • Update __HAL_TIM_RESET_HANDLE_STATE to support DMABurstState
          • Add a new API HAL_TIM_DMABurstState() to get the actual state of a DMA burst operation
          • Add DMABurstState, the DMA burst operation state, in the TIM_HandleTypeDef structure
          • Add new API TIM_DMAErrorCCxN() for TIM DMA error callback (complementary channel)
          • Add new API TIM_DMADelayPulseNCplt() for TIM DMA Delay Pulse complete callback (complementary channel)
      • Implement TIM channel state management mechanism
        • Add new macro
          • TIM_CHANNEL_STATE_SET_ALL and TIM_CHANNEL_N_STATE_SET_ALL
          • TIM_CHANNEL_STATE_SET and TIM_CHANNEL_N_STATE_SET
          • TIM_CHANNEL_STATE_GET and TIM_CHANNEL_N_STATE_GET
      • Add new API HAL_TIM_GetActiveChannel()
      • Add new API HAL_TIM_GetChannelState() to get actual state of the TIM channel
      • Add a new structure for TIM channel States definition : HAL_TIM_ChannelStateTypeDef
      • Update __HAL_TIM_RESET_HANDLE_STATE to support ChannelState and ChannelNState
      • Add a new element in the TIM_HandleTypeDef structure : ChannelState to manage TIM channel operation state
      • Add a new element in the TIM_HandleTypeDef structure : ChannelNState to manage TIM complementary channel operation state
      • Update HAL_TIMEx_MasterConfigSynchronization() API to avoid functional errors and assert fails when using some TIM instances as input trigger.
        • Replace IS_TIM_SYNCHRO_INSTANCE() macro by IS_TIM_MASTER_INSTANCE() macro.
        • Add IS_TIM_SLAVE_INSTANCE() macro to check on TIM_SMCR_MSM bit.
      • Remove ‘register’ storage class specifier from LL TIM driver.
      • Add new API HAL_TIM_DMABurst_MultiWriteStart() allowing to configure the DMA Burst to transfer multiple Data from the memory to the TIM peripheral
      • Add new API HAL_TIM_DMABurst_MultiReadStart() allowing to configure the DMA Burst to transfer Data from the TIM peripheral to the memory
    • HAL/LL USB driver
      • Bug fix: USB_ReadPMA() and USB_WritePMA() by ensuring 16-bits access to USB PMA memory
      • Bug fix: correct USB RX count calculation
      • Fix USB Bulk transfer double buffer mode
      • Remove register keyword from USB defined macros as no more supported by C++ compiler
      • Minor rework on USBD_Start() and USBD_Stop() APIs: stopping device will be handled by HAL_PCD_DeInit() API.
      • Remove non used API for USB device mode.
    • LL UTILS driver
      • UTILS_SetFlashLatency() API renamed to LL_SetFlashLatency() and set exportable.
  • CMSIS
    • All header files
      • Remove unused IS_TIM_SYNCHRO_INSTANCE() assert macro
    • Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS
    • system_stm32f2xx.h
      • SystemInit(): update to don’t reset RCC registers to its reset values.
  • For the complete list of changes, please refer to the release notes of each firmware component

Contents

Name Version Release note
STM32F2xx CMSIS V2.2.4 release notes
STM32F2xx HAL V1.2.5 release notes

Known Limitations

  • None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
  • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • General updates to fix known defects and enhancements implementation

  • HAL
    • HAL/LL GPIO update
      • Update GPIO initialization sequence to avoid unwanted pulse on GPIO Pin’s
    • HAL I2C update
      • Update HAL_I2C_EV_IRQHandler() API to fix I2C send break issue
        • Add additional check on hi2c->hdmatx, hdmatx->XferCpltCallback, hi2c->hdmarx, hdmarx->XferCpltCallback in I2C_Master_SB() API to avoid enabling DMA request when IT mode is used.
      • Update HAL_I2C_ER_IRQHandler() API to fix acknowledge failure issue with I2C memory IT processes
        • Add stop condition generation when NACK occurs.
      • Update HAL_I2C_Init() API to force software reset before setting new I2C configuration.
      • Update HAL I2C processes to report ErrorCode when wrong I2C start condition occurs
        • Add new ErrorCode define: HAL_I2C_WRONG_START
        • Set ErrorCode parameter in I2C handle to HAL_I2C_WRONG_START
      • Update I2C_DMAXferCplt(), I2C_DMAError() and I2C_DMAAbort() APIs to fix hardfault issue when hdmatx and hdmarx parameters in i2c handle aren’t initialized (NULL pointer).
        • Add additional check on hi2c->hdmtx and hi2c->hdmarx before resetting DMA Tx/Rx complete callbacks.
  • Middleware
    • Update to use new version of PDM Library V3.2.0
  • For the complete list of changes, please refer to the release notes of each firmware component

Contents

Name Version Release note
CMSIS V5.4.0 release notes
STM32F2xx CMSIS V2.2.3 release notes
STM32F2xx HAL V1.2.4 release notes
BSP STM32F2xx_Nucleo_144 V1.0.2 release notes
BSP Adafruit_Shield V3.0.0 release notes
BSP STM322xG-EVAL V7.0.1 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V2.0.2 release notes
BSP Components ili9325 V1.2.3 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.2.2 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.44 release notes
STM32 PDM audio software decoding Library V3.2.0 release notes
STM32 USB Device Library V2.5.3 release notes
STM32 USB Host Library V3.3.3 release notes
FatFS R0.11 release notes ST modified 20171117 release notes
FreeRTOS V10.0.1 release notes ST modified 20190329 release notes
LibJPEG V8d release notes ST modified 20190201 release notes
LwIP V2.0.3 release notes ST modified 20180813 release notes
MbedTLS V2.14.1 release notesST modified 20190329 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • Warnings detected with LibJPEG applications are related to the Libjpeg third party MW stack V8d with System Workbench for STM32 (SW4STM32) V2.9:
    • No impact of these warnings on the functional behavior

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
  • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • General updates to fix known defects and enhancements implementation
  • General updates to fix CodeSonar compilation warnings
  • General updates to fix the user manual .chm files
  • The following changes done on the HAL drivers require an update on the application code based on older HAL versions
    • Add support of HAL callback registration feature
      • The feature disabled by default is available for the following HAL drivers:
        • ADC, CAN, CRYP, DAC, DCMI, ETH, HASH, HCD, I2C, UART, USART, IRDA, SMARTCARD,
        • MMC, NAND, NOR, PCCARD, PCD, RNG, RTC, SD, SRAM, SPI, I2S, TIM and WWDG
      • The feature may be enabled individually per HAL PPP driver by setting the corresponding definition USE_HAL_PPP_REGISTER_CALLBACKS to 1U in stm32f2xx_hal_conf.h project configuration file (template file stm32f2xx_hal_conf_template.h available from Drivers/STM32F2xx_HAL_Driver/Inc)
      • Once enabled , the user application may resort to HAL_PPP_RegisterCallback() to register specific callback function(s) and unregister it(them) with HAL_PPP_UnRegisterCallback()
    • Rework of HAL CRYP driver (compatibility break)
      • HAL CRYP driver has been redesigned with new API’s, to bypass limitations on data Encryption/Decryption management present with previous HAL CRYP driver version.
      • The new HAL CRYP driver is the recommended version. It is located as usual in Drivers/STM32F2xx_HAL_Driver/Src and Drivers/STM32f2xx_HAL_Driver/Inc folders. It can be enabled through switch HAL_CRYP_MODULE_ENABLED in stm32f2xx_hal_conf.h
      • The legacy HAL CRYP driver is no longer supported.
    • Rework of HAL CAN driver (compatibility break)
      • A new HAL CAN driver has been redesigned with new API’s, to bypass limitation on CAN Tx/Rx FIFO management present with previous HAL CAN driver versions
      • The new HAL CAN driver is the recommended version. il is located as usual in Driver/STM32F2xx_HAL_Driver/Src and Driver/STM32F2xx_HAL_Driver/Inc folders. it can be enabled through switch HAL_CAN_MODULE_ENABLED in stm32f2xx_hal_conf.h file.
      • The legacy HAL CAN driver is also present in the package release in Driver/STM32F2xx_HAL_Driver/Src/Legacy and Driver/STM32F2xx_HAL_Driver/Inc/Legacy folders for software compatibility reasons. its usage is not recommended as deprecated. it can however be enabled through switch HAL_CAN_LEGACY_MODULE_ENABLED in stm32f2xx_hal_conf.h file.
    • For HAL HCD driver add the following USB callback in usbh_conf.c user file to be compliant with latest changes done on USB Host (HAL/Stack)
      • HAL_HCD_PortEnabled_Callback()
      • HAL_HCD_PortDisabled_Callback()
  • Demonstrations binaries are no more delivered within the STM32CubeF2 MCU package. They are available for download, in addition to their required media files if any, in a standalone package accessible through each hardware board official web page. Please refer to the corresponding demonstration binary readme.txt to get web page for each board.

  • HAL
    • Add support of HAL callback registration feature
    • Add new HAL EXTI driver
    • Rework of HAL CRYP driver(compatibility break)
    • Rework of HAL CAN driver(compatibility break)
    • Here below the new features introduced on HAL drivers
      • Add support of I2C repeated start feature in DMA Mode With the following new API’s
        • HAL_I2C_Master_Seq_Transmit_DMA()
        • HAL_I2C_Master_Seq_Receive_DMA()
        • HAL_I2C_Slave_Seq_Transmit_DMA()
        • HAL_I2C_Slave_Seq_Receive_DMA()
      • Add SPI Abort transfer API’s:
        • HAL_SPI_Abort()
        • HAL_SPI_Abort_IT()
      • Add HAL_DCMI_ConfigSyncUnmask() API to manage embedded synchronization delimiters unmasks
      • Add new TIM Callbacks API’s:
        • HAL_TIM_PeriodElapsedHalfCpltCallback()
        • HAL_TIM_IC_CaptureHalfCpltCallback()
        • HAL_TIM_PWM_PulseFinishedHalfCpltCallback()
        • HAL_TIM_TriggerHalfCpltCallback()
  • CMSIS
    • Fix known defects and several implementation enhancement
    • Align ErrorStatus typedef to common error handling
  • Middleware
    • Update to use FreeRTOS 10.0.1 ST modified 20190329
    • Update to use STemWin V5.44 ST modified 20180322
    • Update to use USB Device Library V2.5.3
    • Update to use USB Host Library V3.3.3
    • Update to use new version of LwIP V2.0.3
    • Update to use new version of PDM Library V3.1.0
    • Update to use mbedTLS V2.14.1 ST modified 20190329
    • Update to use LibJPEG v8d ST modified 20190201
  • Projects
    • Update CAN examples to support new HAL CAN driver.
    • Update HAL CRYP examples to be aligned with new HAL CRYP drivers
    • Update HAL I2C examples to be compliant with new I2C API
    • Rework GPIO_InfiniteLedToggling_Init LL example to use GPIO initialization structure for GPIO configuration instead of LL inline macros
    • Update DMA FIFO Mode examples to use HAL DMA registers Callback API to register the different DMA transfer Callbacks
    • Add EEPROM application running on STM322xG-EVAL
      • This application describes the software solution for substituting standalone EEPROM by emulating the EEPROM mechanism using the on-chip Flash of STM32F2xx devices.
    • Add IAP application running on STM322xG-EVAL
      • This application describes how to be loaded into Flash memory using In-Application Programming (IAP, through USART).
    • Update MbedTLS applications to be compliant with new MbedTLS architecture
    • Update FreeRTOS applications to be compliant with new FreeRTOS architecture
    • Update STemWin applications to be compliant with new STemWin architecture
    • Update USB HOST projects to be compliant with USB Host Stack V3.3.3:
      • Add the following USB callback in usbh_conf.c user file:
        • HAL_HCD_PortEnabled_Callback()
        • HAL_HCD_PortDisabled_Callback()
    • Update USB Device projects for 207xx/217xx devices to be compliant with USB Device V2.5.3
      • USB HS mode isn’t supported by these STM32 devices
    • Update USB device applications by adding a UNUSED() macro in the following APIs on file usbd_desc.c files in order to avoid compilation warnings with EWARM 8.30
      • USBD_DFU_DeviceDescriptor()
      • USBD_DFU_LangIDStrDescriptor()
      • USBD_DFU_ManufacturerStrDescriptor()
      • USBD_DFU_SerialStrDescriptor()
    • Remove useless setting of ep0_mps in usbd_conf.c file for USB device applications
  • For the complete list of changes, please refer to the release notes of each firmware component

Contents

Name Version Release note
CMSIS V5.4.0 release notes
STM32F2xx CMSIS V2.2.2 release notes
STM32F2xx HAL V1.2.3 release notes
BSP STM32F2xx_Nucleo_144 V1.0.2 release notes
BSP Adafruit_Shield V3.0.0 release notes
BSP STM322xG-EVAL V7.0.1 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V2.0.2 release notes
BSP Components ili9325 V1.2.3 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.2.2 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.44 release notes
STM32 PDM audio software decoding Library V3.1.0 release notes
STM32 USB Device Library V2.5.3 release notes
STM32 USB Host Library V3.3.3 release notes
FatFS R0.11 release notes ST modified 20171117 release notes
FreeRTOS V10.0.1 release notes ST modified 20190329 release notes
LibJPEG V8d release notes ST modified 20190201 release notes
LwIP V2.0.3 release notes ST modified 20180813 release notes
MbedTLS V2.14.1 release notesST modified 20190329 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • Warnings detected with LibJPEG applications are related to the Libjpeg third party MW stack V8d with System Workbench for STM32 (SW4STM32) V2.9:
    • No impact of these warnings on the functional behavior

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
  • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • General updates to be compliant with Linux platforms
  • General update to fix known defects and several implementations enhancement
  • Remove support of TrueSTUDIO tool chain
  • Remove Date and version from all header files

  • HAL
    • General updates to fix known defects and enhancements implementation
    • stm32f2xx_hal_mmc.c: Fix compilation warning with GCC compiler
  • CMSIS
    • General updates to fix known defects and enhancements implementation
  • BSP
    • General updates to fix known defects and enhancements implementation
    • stm322xg_eval_lcd.c: Fix LCD compilation errors with GCC compiler
  • Projects
    • Fix MDK-ARM limitation with STemWin sample demo application on STM322xG_EVAL.
  • For the complete list of changes, please refer to the release notes of each firmware component

Contents

Drivers
Name Version Release note
CMSIS V4.5.0 release notes
STM32F2xx CMSIS V2.2.1 release notes
STM32F2xx HAL V1.2.2 release notes
BSP STM32F2xx_Nucleo_144 V1.0.2 release notes
BSP Adafruit_Shield V3.0.0 release notes
BSP STM322xG-EVAL V7.0.1 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V2.0.2 release notes
BSP Components ili9325 V1.2.3 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.2.2 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.32 release notes
STM32 PDM audio software decoding Library V2.1.0 release notes
STM32 USB Device Library V2.4.2 release notes
STM32 USB Host Library V3.3.1 release notes
FatFS R0.11 release notes ST modified 20171117 release notes
FreeRTOS V9.0.0 release notes ST modified 20170303 release notes
LibJPEG V8d release notes ST modified 20161118 release notes
LwIP V2.0.0 release notes ST modified 20161223 release notes
MbedTLS V2.4.0 release notesST modified 20161223 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.4 + ST-Link
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23 + ST-LINK
  • System Workbench for STM32 (SW4STM32) toolchain V1.14 + ST-Link

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • General update to fix known defects and several implementations enhancement

  • HAL
    • HAL CONF Template update
      • Add support for HAL MMC driver.
    • HAL CAN update
      • Add management of overrun error.
      • Allow possibility to receive messages from the 2 RX FIFOs in parallel via interrupt.
      • Fix message lost issue with specific sequence of transmit requests.
      • Handle transmission failure with error callback, when NART is enabled.
      • Add __HAL_CAN_CANCEL_TRANSMIT() call to abort transmission when timeout is reached

Contents

Drivers
Name Version Release note
CMSIS V4.5.0 release notes
STM32F2xx CMSIS V2.2.0 release notes
STM32F2xx HAL V1.2.1 release notes
BSP STM32F2xx_Nucleo_144 V1.0.1 release notes
BSP Adafruit_Shield V3.0.0 release notes
BSP STM322xG-EVAL V7.0.0 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V2.0.2 release notes
BSP Components ili9325 V1.2.3 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.2.2 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.32 release notes
STM32 PDM audio software decoding Library V2.1.0 release notes
STM32 USB Device Library V2.4.2 release notes
STM32 USB Host Library V3.3.1 release notes
FatFS R0.11 release notes ST modified 20171117 release notes
FreeRTOS V9.0.0 release notes ST modified 20170303 release notes
LibJPEG V8d release notes ST modified 20161118 release notes
LwIP V2.0.0 release notes ST modified 20161223 release notes
MbedTLS V2.4.0 release notesST modified 20161223 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • STemWin sample demo application on STM322xG_EVAL is not fully functional with MDK-ARM toolchain: the application doesn’t run successfully after the second hit of the Hide Button. in fact when pressing the button again while the progress bar displays the next steps, pressing Hide or Next Buttons are not working anymore.

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.1
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v7.0.0
  • System Workbench for STM32 (SW4STM32) toolchain V1.14

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • Add Low Layer drivers under Drivers32F2xx_HAL_Driver
    • Low Layer drivers allow performance and memory footprint optimization
    • Low Layer drivers APIs provide register level programming: they require deep knowledge of peripherals described in STM32F2xx Reference Manuals
    • Low Layer drivers are available for: ADC, Cortex, CRC, DAC, DMA, EXTI, GPIO, I2C, IWDG, PWR, RCC, RNG, RTC, SPI, TIM, USART, WWDG peripherals and additional Low Level Bus, System and Utilities APIs.
    • Low Layer drivers APIs are implemented as static inline function in new Inc/stm32f2xx_ll_ppp.h files for PPP peripherals, there is no configuration file and each stm32f2xx_ll_ppp.h file must be included in user code.
    • Refer to UM1739 for Low Layer presentation and UM1940 for API list
  • General update to fix known defects and several implementations enhancement

  • HAL
    • Add Low Layer drivers under Drivers32F2xx_HAL_Driver
    • Add new HAL driver for MMC
    • HAL SD drivers overall rework for more efficient implementation
      • Note: this driver rework implied:
        • STM32F2xx Evaluation boards and Discovery boards BSP drivers update
        • FatFS Middleware update
        • All SD applications and examples update
    • HAL NAND driver update to
      • Modify NAND_AddressTypeDef, NAND_DeviceConfigTypeDef and NAND_HandleTypeDef structures fields
      • Add new HAL_NAND_ConfigDevice API
  • CMSIS
    • Use _Pos and _Mask macros for all Bit Definitions
    • Fix known defects and several implementation enhancement
  • Middleware
    • Upgrade to use new version of LwIP V2.0.0
      • Note: Applications based on previous version LwIP V1.4.1 require update to cope with the upgrade to the currently used V2.0.0. For details please refer to its Release Note and to the updated LwIP applications provided by this firmware package.
    • Update to new version of FreeRTOS V9.0.0
    • Update FatFS to implement changes on sd_diskio.c file to be aligned with HAL SD driver and BSP drivers API changes.
    • Add the support of mbedTLS V2.4.0
      • Note: Starting from this STM32Cube Firmware release PolarSSL is no more supported
    • Update LibJPEG Library V.8d with a new build to remove all links to FatFS components
      • Note: The updates made on this new build have impact on application based on previous version LibJPEG V8d ST modified 20161118. For details please refer to its Release Note.
    • Update STemWin Library V5.32 with a new build with EWARM V7.70
  • Projects
    • Add Low Layer examples and MIX examples on the STM32F207ZG-Nucleo board
    • Add new mbedTLS applications to replace PolarSSL middleware applications
    • Update overall projects to be aligned with latest version of HAL, BSP and Middleware drivers

Contents

Drivers
Name Version Release note
CMSIS V4.5.0 release notes
STM32F2xx CMSIS V2.2.0 release notes
STM32F2xx HAL V1.2.0 release notes
BSP STM32F2xx_Nucleo_144 V1.0.1 release notes
BSP Adafruit_Shield V3.0.0 release notes
BSP STM322xG-EVAL V7.0.0 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V2.0.2 release notes
BSP Components ili9325 V1.2.3 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.2.2 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.32 release notes
STM32 PDM audio software decoding Library V2.1.0 release notes
STM32 USB Device Library V2.4.2 release notes
STM32 USB Host Library V3.3.1 release notes
FatFS R0.11 release notes ST modified 20171117 release notes
FreeRTOS V9.0.0 release notes ST modified 20170303 release notes
LibJPEG V8d release notes ST modified 20161118 release notes
LwIP V2.0.0 release notes ST modified 20161223 release notes
MbedTLS V2.4.0 release notesST modified 20161223 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • STemWin sample demo application on STM322xG_EVAL is not fully functional with MDK-ARM toolchain: the application doesn’t run successfully after the second hit of the Hide Button. in fact when pressing the button again while the progress bar displays the next steps, pressing Hide or Next Buttons are not working anymore.

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.1
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v7.0.0
  • System Workbench for STM32 (SW4STM32) toolchain V1.14

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • Maintenance release to fix known defects and several enhancements implementation

  • HAL
    • General updates to fix known defects and enhancements implementation
    • stm32f2xx_hal_conf_template.h
      • Optimize HSE Startup Timeout value from 5000ms to 100 ms
      • Add new define LSE_STARTUP_TIMEOUT
      • Add new define USE_SPI_CRC for code cleanup when the CRC calculation is disabled.
    • Update HAL drivers to support MISRA C 2004 rule 10.6
    • Add new template driver to configure timebase using TIMER :
      • stm32f2xx_hal_timebase_tim_template.c
    • Enhance HAL delay and Timebase implementation by means of RTC Alarm or RTC Wakeup usage
    • Almost HAL drivers implementation enhancement requiring update on user application code based on HAL V1.1.3
      • Add peripheral error management during DMA process for HAL UART, USART, IRDA, SMARTCARD, SPI and I2C drivers
      • Update HAL I2C driver to avoid waiting on STOPF/BTF/AF flag under DMA ISR by using the peripheral end of transfer interrupt in the DMA transfer process.
      • Overall HAL IWDG and WWDG drivers rework
  • CMSIS
    • General updates to fix known defects and enhancements implementation
  • Middlewares
    • Update to STemWin 5.32 version
    • Updated USB Device V2.4.2: Fix known defects and enhancement implementation
    • Update to FreeRTOS V8.2.3
    • Update to new build of LwIP V1.4.1 ST modified 20160211
      • Note: Updated architecture having impact on application based on previous version LwIP V1.4.1 ST modified 20140619
  • BSP
    • General updates to fix known defects and enhancements implementation
  • Projects
    • General updates to fix known defects and enhancements implementation
    • Update applications and demonstrations related to STemWin library in order to support the latest STemWin version
    • Update HAL_TimeBase_TIM example to use the new HAL timebase template
    • Add HAL_TimeBase_RTC_ALARM and HAL_TimeBase_RTC_WKUP examples on all the supported boards
    • Projects are updated following changes in latest version of HAL and Middlewares
  • For the complete list of changes, please refer to the release notes of each firmware component

Contents

Drivers
Name Version Release note
CMSIS V4.5.0 release notes
STM32F2xx CMSIS V2.1.2 release notes
STM32F2xx HAL V1.1.3 release notes
BSP STM32F2xx_Nucleo_144 V1.0.1 release notes
BSP Adafruit_Shield V3.0.0 release notes
BSP STM322xG-EVAL V6.2.1 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V2.0.2 release notes
BSP Components ili9325 V1.2.3 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.2.2 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.32 release notes
STM32 PDM audio software decoding Library V2.1.0 release notes
STM32 USB Device Library V2.4.2 release notes
STM32 USB Host Library V3.3.2 release notes
FatFS R0.11 release notes ST modified 2015008 release notes
FreeRTOS V8.2.3 release notes ST modified 20160122 release notes
LibJPEG V8d release notes ST modified 20141223 release notes
LwIP V2.0.0 release notes ST modified 20160211 release notes
PolarSSL V1.2.8 release notesST modified 20150327 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • STemWin sample demo application on STM322xG_EVAL is not fully functional with MDK-ARM toolchain: the application doesn’t run successfully after the second hit of the Hide Button. in fact when pressing the button again while the progress bar displays the next steps, pressing Hide or Next Buttons are not working anymore.

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain v7.60.1
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain v5.20
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.5.2
  • System Workbench for STM32 (SW4STM32) toolchain V1.9

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • Patch release to fix issue in Ethernet HAL driver

Contents

Drivers
Name Version Release note
STM32F2xx HAL V1.1.2 release notes

Known Limitations

  • None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V7.40.1
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.16
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.3.1
  • System Workbench for STM32 (SW4STM32) toolchain V1.3.0

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • Support new board: STM32F207ZG NUCLEO144
  • Fix known defects and enhancements implementation

  • HAL
    • General updates to fix known defects and enhancements implementation
    • One change done on the HAL CRYP requires an update on the application code based on HAL V1.1.0
      • Update HAL_CRYP_DESECB_Decrypt() API to invert pPlainData and pCypherData parameters
    • HSE_STARTUP_TIMEOUT constant has been corrected in stm32f2xx_hal_conf_template.h file, its value changed from 5000 to 100.
  • CMSIS
    • General updates to fix known defects and enhancements implementation
  • Middlewares
    • No changes
  • BSP
    • Add new BPS drivers for STM32F2xx_Nucleo_144 boards
  • Utilities
    • Use latest version of STM32CubeUpdater V4.10.0
  • Projects
    • General updates to fix known defects and enhancements implementation
    • Add 34 projects for STM32F207ZG NUCLEO144 boards
  • For the complete list of changes, please refer to the release notes of each firmware component

Contents

Drivers
Name Version Release note
CMSIS V4.5.0 release notes
STM32F2xx CMSIS V2.1.1 release notes
STM32F2xx HAL V1.1.1 release notes
BSP STM32F2xx_Nucleo_144 V1.0.0 release notes
BSP Adafruit_Shield V2.0.1 release notes
BSP STM322xG-EVAL V6.1.2 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V1.0.2 release notes
BSP Components ili9325 V1.2.3 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.0.1 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.28 release notes
STM32 PDM audio software decoding Library V2.1.0 release notes
STM32 USB Device Library V2.4.1 release notes
STM32 USB Host Library V3.2.2 release notes
FatFS R0.11 release notes ST modified 2015008 release notes
FreeRTOS V8.2.1 release notes ST modified 20150327 release notes
LibJPEG V8d release notes ST modified 20141223 release notes
LwIP V1.4.1 release notes ST modified 20140619 release notes
PolarSSL V1.2.8 release notesST modified 20150327 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V7.40.1
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.16
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.3.1
  • System Workbench for STM32 (SW4STM32) toolchain V1.3.0

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC
  • STM32F207ZG and STM32F207ZG-Nucleo board RevB

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

  • Maintenance release to fix known defects and several enhancements implementation

  • HAL
    • Macros and literals renaming to ensure full compatibility across STM32 series, backward compatibility with HAL V1.0.1 maintained thanks to new added file stm32_hal_legacy.h under /Inc/Legacy
    • Fix known defects and several enhancements implementation. Four changes done on the HAL requires an update on the application code based on HAL V1.0.1
      • LSI_VALUE constant has been corrected in stm32f2xx_hal_def.h file, its value changed from 40 KHz to 32 KHz
      • UART, USART, IRDA and SMARTCARD (referenced as PPP here below) drivers: in DMA transmit process, the code has been updated to avoid waiting on TC flag under DMA ISR, PPP TC interrupt is used instead. Below the update to be done on user application:
        • Configure and enable the USART IRQ in HAL_PPP_MspInit() function
        • In stm32f2xx_it.c file, PPP_IRQHandler() function: add a call to HAL_PPP_IRQHandler() function
      • HASH IT process: update to call the HAL_HASH_InCpltCallback() at the end of the complete buffer instead of every each 512 bits
      • HAL CRYP driver updated to support multi instance, so user must ensure that the new parameter Instance is initialized in his application(CRYPHandle.Instance = CRYP)
    • Update drivers to be C++ compliant
    • Several update on source code formatting, for better UM generation (i.e. Doxygen tags updated)
    • Add *.chm UM for all drivers, a UM is provided for each superset RPN
  • CMSIS
  • General updates to fix known defects and enhancements implementation

  • Middlewares
    • Updated USB Device V2.4.1: fix known defects and several enhancement implementation
    • Updated USB Host V3.2.2: fix known defects and several enhancement implementation
  • BSP
    • Update STM322xG-EVAL BSP driver to support the cs43l22 audio codec component
  • Projects
    • Add more Examples and Applications for STM322xG_EVAL board (47 in total)
    • Add the support of System Workbench for STM32 (SW4STM32) toolchain
  • For the complete list of changes, please refer to the release notes of each firmware components

Contents

Drivers
Name Version Release note
CMSIS V4.3.0 release notes
STM32F2xx CMSIS V2.1.0 release notes
STM32F2xx HAL V1.1.0 release notes
BSP STM322xG-EVAL V6.1.2 release notes
BSP Components Common V4.0.1 release notes
BSP Components cs43l22 V2.0.0 release notes
BSP Components ili9325 V1.0.2 release notes
BSP Components ili9341 V1.0.2 release notes
BSP Components ili9320 V1.0.1 release notes
BSP Components ov2640 V1.0.2 release notes
BSP Components stmpe811 V2.0.0 release notes
Middlewares
Name Version Release note
STemWin V5.32 release notes
STM32 PDM audio software decoding Library V2.1.0 release notes
STM32 USB Device Library V2.4.1 release notes
STM32 USB Host Library V3.3.2 release notes
FatFS R0.11 release notes ST modified 2015008 release notes
FreeRTOS V8.2.1 release notes ST modified 20150327 release notes
LibJPEG V8d release notes ST modified 20141223 release notes
LwIP V1.4.1 release notes ST modified 20140619 release notes
PolarSSL V1.2.8 release notesST modified 20150327 release notes
Utilities
Name Version Release note
CPU V1.1.0 release notes
Fonts V1.0.0 release notes
Log V1.0.0 release notes

Known Limitations

  • None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain v7.40.1
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain v5.16
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.3.1
  • System Workbench for STM32 (SW4STM32) toolchain V1.3.0

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board RevC

Backward Compatibility

  • None

Dependencies

  • None

Maintenance release

Main Changes

Maintenance release

Main Changes

  • First official release of STM32CubeF2 (STM32Cube for STM32F2 Series)

Contents

Drivers
Name Version Release note
CMSIS V3.20 release notes
STM32F2xx CMSIS V2.0.0 release notes
STM32F2xx HAL V1.0.0 release notes
BSP STM322xG-EVAL V6.0.0 release notes
BSP Components Common V1.0.0 release notes
BSP Components ampire480272 V1.0.0 release notes
BSP Components ampire640480 V1.0.0 release notes
BSP Components ili9325 V1.0.0 release notes
BSP Components ili9325 V1.0.0 release notes
BSP Components ov2640 V1.0.0 release notes
BSP Components stmpe1600 V1.0.0 release notes
BSP Components stmpe811 V1.0.0 release notes
BSP Components cs43l22 V1.0.0 release notes
BSP Components ts3510 V1.0.0 release notes
BSP Components l3gd20 V1.0.0 release notes
BSP Components lis302dl V0.1.0 release notes
Middlewares
Name Version Release note
STemWin V5.22 release notes
STM32 USB Device Library V2.0.0 release notes
STM32 USB Host Library V3.0.0 release notes
FatFS R0.10 release notes ST modified 20171117 release notes
FreeRTOS V7.6.0 release notes ST modified 20170303 release notes
LwIP V1.4.1 release notes ST modified 20161223 release notes
PolarSSL V1.2.8 release notesST modified 20161223 release notes

Known Limitations (planned for next releases)

  • TrueSTUDIO projects are not provided for a few Applications
  • The LCD ili9320 mounted on previous versions of the STM322xG_EVAL board will be supported in a future version of the STM32Cube F2 FW package (V1.1.0)

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V6.70.2 + ST-Link
  • RealView Microcontroller Development Kit (MDK-ARM toolchain v4.73)
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) tool

Supported Devices and EVAL boards

  • STM32F217xx/215xx/207xx/205xx devices and STM322xG_EVAL board
  • This package contains the list of components mentioned above but the current FW package Examples and Applications have used only the following components
    • LCD ili9325
    • Audio Codec cs43l22
    • IO Expander stmpe811
    • Camera ov2640
    • plus
      • eeprom M24C64
      • SRAM IS61WV1024

Backward Compatibility

  • None

Dependencies

  • None

For complete documentation on STM32 Microcontrollers , visit: www.st.com

This release note uses up to date web standards and, for this reason, should not be opened with Internet Explorer but preferably with popular browsers such as Google Chrome, Mozilla Firefox, Opera or Microsoft Edge.