Back to Release page

Release Notes for STM32F2xx Standard Peripherals Library Drivers (StdPeriph_Driver)

Copyright 2010 STMicroelectronics

 

Contents

  1. STM32F2xx Standard Peripherals Library Drivers update History
  2. License

STM32F2xx Standard Peripherals Library Drivers  update History

V0.0.3 - 10/15/2010

  1. General
  • Alpha3 Release
  • FLASH driver: API enhancement and add more comments on how to use the driver functions (not compatible with previous version)
  1. STM32F2xx_StdPeriph_Driver
  • stm32f2xx_flash.h/.c
    • Add more comments on how to use the driver functions 
    • API updated, the table below provides the changes vs. previous version

STM32F2xx FLASH driver:  API update details

V0.0.3RC3 (and V0.0.2)

V0.0.3

void FLASH_PrefetchBufferCmd(uint32_t FLASH_PrefetchBuffer);

void FLASH_PrefetchBufferCmd(FunctionalState NewState);

void FLASH_UnlockOptionBytes(void);

void FLASH_OB_Unlock(void);

void FLASH_LockOptionBytes(void);

void FLASH_OB_Lock(void);

void FLASH_WriteProtection(uint32_t FLASH_WRProt_Sector, 
                                                        FunctionalState NewState);

void FLASH_OB_WRPConfig(uint32_t OB_WRP,
                
                                     FunctionalState NewState);

void FLASH_ReadProtection(uint8_t FLASH_ReadProtection_Level);

void FLASH_OB_RDPConfig(uint8_t OB_RDP);

void FLASH_UserOptionByteConfig(uint8_t OB_IWDG, uint8_t OB_STOP,
                                                                     uint8_t OB_STDBY);

void FLASH_OB_UserConfig(uint8_t OB_IWDG, uint8_t OB_STOP,
                                                      uint8_t OB_STDBY);

void FLASH_SetBORResetLevel(uint8_t FLASH_BORResetLevel);

void FLASH_OB_BORConfig(uint8_t OB_BOR);

 

FLASH_Status FLASH_ProgramOTP(uint32_t Address,
                                                                   uint32_t Data);

FLASH_Status FLASH_OptionBytesLoadStart(void);

FLASH_Status FLASH_OB_Launch(void);

uint32_t FLASH_GetUserOptionByte(void);

uint8_t FLASH_OB_GetUser(void);

uint8_t FLASH_GetWriteProtectionOptionByte(void);

uint16_t FLASH_OB_GetWRP(void);

FlagStatus FLASH_GetReadProtectionStatus(void);

FlagStatus FLASH_OB_GetRDP(void);

 

uint8_t FLASH_OB_GetBOR(void);

 

 

  • stm32f2xx_can.h/.c
    • Delete CAN registers definition from stm32f2xx_can.c and use defines within stm32f2xx.h file
    • Update the wording of some defines and Asserts macro.
    • CAN_GetFlagStatus() and CAN_ClearFlag() functions: updated to support new flags (were not supported in previous version). These flags are:  CAN_FLAG_RQCP0, CAN_FLAG_RQCP1, CAN_FLAG_RQCP2, CAN_FLAG_FMP1, CAN_FLAG_FF1, CAN_FLAG_FOV1, CAN_FLAG_FMP0, CAN_FLAG_FF0,   CAN_FLAG_FOV0, CAN_FLAG_WKU, CAN_FLAG_SLAK and CAN_FLAG_LEC.
    • CAN_GetITStatus() function: add a check of the interrupt enable bit before getting the status of corresponding interrupt pending bit.
    • CAN_ClearITPendingBit() function: correct the procedure to clear the interrupt pending bit.
  • stm32f2xx_adc.c
    • ADC_StructInit() function: add the initialization of ADC_ExternalTrigConvEdge member
  • stm32f2xx_dbgmcu.h/.c
    • Add RTC Debug Freeze
  • stm32f2xx_hash.h/.c
    • Add new flags "DCIS" and "DINIS" 

V0.0.3RC3 - 10/11/2010

  1. General
  • Drivers update to support new enhancement added in Cut2.0 and bug fix
  • Some of the update leads to loss of compatibility vs. the previous version
  1. STM32F2xx_StdPeriph_Driver
  • stm32f2xx_adc.h/.c
    • Change ADC_ExternalTrigConvPolarity by ADC_ExternalTrigConvEdge and ADC_NbrOfChannel by ADC_NbrOfConversion in ADC_InitTypeDef structure
    • Change ADC_ExternalTrigInjectedConvPolarityConfig() function by ADC_ExternalTrigInjectedConvEdgeConfig() and ADC_ExternalTrigInjecConvPol parameter by ADC_ExternalTrigInjecConvEdge
  • stm32f2xx_cryp.h/.c
    • CRYP_VecKeyInitTypeDef structure and associated function split into two structures and functions
    • IT definition updated
    • CRYP_FIFOReset() function renamed to CRYP_FIFOFlush()
    • Update CRYP_Init() function coding
  • stm32f2xx_dma.h/.c
    • Add new function DMA_SetCurrDataCounter()
    • Remove DMA_AcknowledgeLengthConfig() function
    • Rename DMA_DirectMode field by DMA_FIFOMode in DMA_InitTypeDef structure
    • Change any reference to Fifo by FIFO in DMA_InitTypeDef structure and DMA_GetFifoStatus() function
  • stm32f2xx_flash.h/.c
    • Fix warning when compiling with USE_FULL_ASSERT enabled
  • stm32f2xx_fsmc.h/.c
    • Add new field AsynchronousWait to FSMC_NORSRAMInitTypeDef structure
  • stm32f2xx_hash.h/.c
    • HASH_RxMsg structure renamed to HASH_MsgDigest
    • HASH_ResetCore() function renamed to HASH_Reset()
    • IT definition updated
    • Update HASH_Init() function coding: group write access to CR register in two instructions and reset the HASH processor core before to exit
  • stm32f2xx_i2c.h/.c: I2C events description and management enhancement.
    • I2C_CheckEvent() function: updated to check whether the last event contains the I2C_EVENT  (instead of check whether the last event is equal to I2C_EVENT)
    • Add detailed description of I2C events and how to manage them using the functions provided by this driver. For more information, refer to stm32f2xx_i2c.h and stm32f2xx_i2c.c files.
  • stm32f2xx_rcc.h/.c: update to support new enhancement added in Cut2.0
    • New PLL2 for I2S clock: add new functions RCC_PLLI2SCmd() and RCC_PLLI2SConfig()
    • Add new function RCC_I2SCLKConfig() to select the I2S clock source (PLLI2S or external clock)
    • More clock sources to output on MCO2 pin: RCC_MCO2Config() function updated
  • stm32f2xx_rng.h/.c
    • IT definition updated
    • Source code comment updated
  • stm32f2xx_rtc.h/.c
    • Correct WRP register name to WPR
  • stm32f2xx_tim.h/.c
    • Update to support new enhancement in Cut2.0: add new function to for HSE measurement by TIM11
    • Update IS_TIM_xx_PERIPH  macro names

License

The enclosed firmware and all the related documentation are not covered by a License Agreement, if you need such License you can contact your local STMicroelectronics office.

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

 


For complete documentation on STM32(CORTEX M3) 32-Bit Microcontrollers visit www.st.com/STM32