Back to Release page
# Release Notes for STM32F2xx Standard Peripherals Library Drivers Copyright 2012 STMicroelectronics
## Contents STM32F2xx Standard Peripherals Library Drivers update History License ## STM32F2xx Standard Peripherals Library Drivers update History ### V1.1.2 / 05-March-2012 Main Changes All source files: license disclaimer text update and add link to the License file on ST Internet. stm32f2xx_dcmi.c DCMI_GetFlagStatus() function: fix test condition on RISR register, use if (dcmireg == 0x00) instead of if (dcmireg == 0x01) stm32f2xx_pwr.c PWR_PVDLevelConfig() function: remove value of the voltage threshold corresponding to each PVD detection level, user should refer to the electrical characteristics of the STM32 device datasheet to have the correct value ### V1.1.1 / 28-December-2011 Main Changes All source files: update disclaimer to add reference to the new license agreement ### V1.1.0 / 07-October-2011 Main Changes stm32f2xx_sdio.h/.c SDIO_SetPowerState() function: fix POWER register configuration, only one access (for read or write) is allowed stm32f2xx_usart.h/.c Update procedure to check on overrun error interrupt pending bit, defines for the following flag are added: USART_IT_ORE_RX: this flag is set if overrun error interrupt occurs and RXNEIE bit is set USART_IT_ORE_ER: this flag is set if overrun error interrupt occurs and EIE bit is set stm32f2xx_i2c.h Add test on I2C3 in IS_I2C_ALL_PERIPH() macro stm32f2xx_tim.c TIM_UpdateRequestConfig(): correct function header's comment TIM_ICInit(): add assert macros to test if the passed TIM parameter has channel 2, 3 or 4 stm32f2xx_rtc.c Remove useless code from RTC_GetDate() function ### V1.0.0 / 18-April-2011 Main Changes First official release for STM32F2xx devices All drivers Update file and function's header comments to add more explanation and fix Doxygen tags formatting stm32f2xx_syscfg.h/.c Add 2 functions for Compensation Cell management: void SYSCFG_CompensationCellCmd(FunctionalState NewState); FlagStatus SYSCFG_GetCompensationCellStatus(void); stm32f2xx_rtc.h RTC_DateTypeDef structure: change RTC_Month and RTC_WeekDay members size to 8bit (instead of 32bit) ### V1.0.0RC1 / 18-March-2011 Main Changes Official version (V1.0.0) Release Candidate 1 All drivers Add more comments and information about how to use the driver and the functions API Delete registers definition from stm32f2xx_ppp.c and use defines within stm32f2xx.h file stm32f2xx_rcc.h/.c RCC_PLLConfig() function updated to support only Silicon RevisionB and RevisionY (PLLR parameter removed) stm32f2xx_spi.c I2S_Init() function updated to support only the I2S clock scheme available in Silicon RevisionB and RevisionY stm32f2xx_can.h/.c Add 5 new functions 3 new functions controlling the counter errors: CAN_GetLastErrorCode(), CAN_GetReceiveErrorCounter() and CAN_GetLSBTransmitErrorCounter() 1 new function to select the CAN operating mode: CAN_OperatingModeRequest() 1 new function to support CAN TT mode: CAN_TTComModeCmd() CAN_TransmitStatus() function updated to support all CAN transmit intermediate states stm32f2xx_adc.h/.c Name of the possible values of ADC_DMAAccessMode parameter modified as below: ADC_DMAAccessMode_HalfWord -> ADC_DMAAccessMode_1 ADC_DMAAccessMode_TwoHalfWords -> ADC_DMAAccessMode_2 ADC_DMAAccessMode_TwoBytes -> ADC_DMAAccessMode_3 ADC_MultiModeDMARequestAfterLastTransferCmd(): the 1st parameter ADCx removed stm32f2xx_cryp.h/.c CRYP_GetITStatus() function coding updated Add 2 functions for CRYP Context swapping: ErrorStatus CRYP_SaveContext(CRYP_Context* CRYP_ContextSave, CRYP_KeyInitTypeDef* CRYP_KeyInitStruct); void CRYP_RestoreContext(CRYP_Context* CRYP_ContextRestore); Name of the possible values of CRYP_DMAReq parameter modified as below: CRYP_DMAReq_Rx -> CRYP_DMAReq_DataIN CRYP_DMAReq_Tx -> CRYP_DMAReq_DataOUT Add three drivers to provide high level functions for AES, DES and TDES: stm32f2xx_cryp_aes.c: provides high level functions to encrypt and decrypt an input message using AES in ECB/CBC/CTR modes stm32f2xx_cryp_des.c: provides high level functions to encrypt and decrypt an input message using DES in ECB/CBC modes stm32f2xx_cryp_tdes.c: provides high level functions to encrypt and decrypt an input message using TDES in ECB/CBC modes These drivers uses the stm32f2xx_cryp.c/.h driver to access the STM32F2xx CRYP peripheral stm32f2xx_hash.h/.c HASH_GetITStatus() function coding updated Add 2 functions for HASH Context swapping: void HASH_ContextSaving(HASH_Context* HASH_ContextSave); void HASH_ContextRestoring(HASH_Context* HASH_ContextRestore) Add two drivers to provide high level functions for SHA1 and MD5: stm32f2xx_hash_sha1.c: provides high level functions to compute the HASH SHA1 and HMAC SHA1 Digest of an input message stm32f2xx_hash_md5.c: provides high level functions to compute the HASH MD5 and HMAC MD5 Digest of an input message These drivers uses the stm32f2xx_hash.c/.h driver to access the STM32F2xx HASH peripheral stm32f2xx_rng.h/.c RNG_GetITStatus() function coding updated Add new function: void RNG_ClearFlag(uint8_t RNG_FLAG); stm32f2xx_gpio.h Change the name of the parameter GPIO_Mode_AIN by GPIO_Mode_AN stm32f2xx_rtc.h/.c Rename the function RTC_DigitalCalibConfig() to RTC_CoarseCalibConfig() (no change on the parameter name) Rename the function RTC_DigitalCalibCmd() to RTC_CoarseCalibCmd() (no change on the parameter name) Add 3 functions: void RTC_DateStructInit(RTC_DateTypeDef* RTC_DateStruct); void RTC_TimeStructInit(RTC_TimeTypeDef* RTC_TimeStruct); void RTC_AlarmStructInit(RTC_AlarmTypeDef* RTC_AlarmStruct); stm32f2xx_flash.h/.c Name of the possible values of OB_BOR parameter modified as below: OB_BOR_Level_3 -> OB_BOR_LEVEL3 OB_BOR_Level_2 -> OB_BOR_LEVEL2 OB_BOR_Level_1 -> OB_BOR_LEVEL1 OB_BOR_Level_Off -> OB_BOR_OFF FLASH_OB_GetBOR() function updated to return the BOR level value as defined in OPTCR register stm32f2xx_i2c.h/.c Add 1 new function: I2C_NACKPositionConfig(): This function configures the same bit (POS) as I2C_PECPositionConfig() but is intended to be used in I2C mode while I2C_PECPositionConfig() is intended to used in SMBUS mode. stm32f2xx_tim.h Change the TIM_DMABurstLength_xBytes definitions to TIM_DMABurstLength_xTansfers ## License Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this package except in compliance with the License. You may obtain a copy of the License at: http://www.st.com/software_license_agreement_liberty_v2 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. For complete documentation on STM32 Microcontrollers visit www.st.com/STM32