Back to Release page

# Release Notes for STM32F10x Standard Peripherals Library Drivers (StdPeriph_Driver)

Copyright 2011 STMicroelectronics

## Contents

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

## STM32F10x Standard Peripherals Library Drivers update History

### V3.5.0 / 11-March-2011

Main Changes

- stm32f10x_can.h/.c files:

- 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

- stm32f10x_i2c.h/.c files:

- 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.

- stm32f10x_tim.h/.c files:

- Change the TIM_DMABurstLength_xBytes definitions to TIM_DMABurstLength_xTansfers

### 3.4.0 - 10/15/2010

1. General

- Add support for STM32F10x High-density value line devices.

2. STM32F10x_StdPeriph_Driver

- stm32f10x_bkp.h/.c

- Delete BKP registers definition from stm32f10x_bkp.c and use defines within stm32f10x.h file.

- stm32f10x_can.h/.c

- Delete CAN registers definition from stm32f10x_can.c and use defines within stm32f10x.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.

- stm32f10x_crc.h/.c

- Delete CRC registers definition from stm32f10x_crc.c and use defines within stm32f10x.h file.

- stm32f10x_dac.h/.c

- Delete DAC registers definition from stm32f10x_dac.c and use defines within stm32f10x.h file.

- stm32f10x_dbgmcu.h/.c

- Delete DBGMCU registers definition from stm32f10x_dbgmcu.c and use defines within stm32f10x.h file.

- stm32f10x_dma.h/.c

- Delete DMA registers definition from stm32f10x_dma.c and use defines within stm32f10x.h file.
- Add new function "void DMA_SetCurrDataCounter(DMA_Channel_TypeDef* DMAy_Channelx, uint16_t DataNumber);"

- stm32f10x_flash.h/.c

- FLASH functions (Erase and Program) updated to always clear the "PG", "MER" and "PER" bits even in case of TimeOut Error.

- stm32f10x_fsmc.h/.c

- Add new member "FSMC_AsynchronousWait" in "FSMC_NORSRAMInitTypeDef" structure.

- stm32f10x_gpio.h/.c

- GPIO_PinRemapConfig() function: add new values for GPIO_Remap parameter, to support new remap for TIM6, TIM7 and DAC DMA requests, TIM12 and DAC Triggers / DMA2_Channel5 Interrupt mapping.

- stm32f10x_pwr.h/.c

- Delete PWR registers definition from stm32f10x_pwr.c and use defines within stm32f10x.h and core_cm3.h files.

- stm32f10x_rtc.h/.c

- Delete RTC registers definition from stm32f10x_rtc.c and use defines within stm32f10x.h file.

- stm32f10x_spi.h/.c

- Add new definition for I2S Audio Clock frequencies "I2S_AudioFreq_192k".

- stm32f10x_tim.h/.c

- Add new definition for TIM Input Capture Polarity "TIM_ICPolarity_BothEdge".

### 3.3.0 - 04/16/2010

1. General

- Add support for STM32F10x XL-density devices.
- I2C driver: events description and management enhancement.

2. STM32F10x_StdPeriph_Driver

- stm32f10x_dbgmcu.h/.c

- DBGMCU_Config() function: add new values DBGMCU_TIMx_STOP (x: 9..14) for DBGMCU_Periph parameter.

- stm32f10x_flash.h/.c: updated to support Bank2 of XL-density devices (up to 1MByte of Flash memory). For more details, refer to the description provided within stm32f10x_flash.c file.
- stm32f10x_gpio.h/.c

- GPIO_PinRemapConfig() function: add new values for GPIO_Remap parameter, to support new remap for FSMC_NADV pin and TIM9..11,13,14.

- stm32f10x_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 stm32f10x_i2c.h and stm32f10x_i2c.c files.

- stm32f10x_rcc.h/.c: updated to support TIM9..TIM14 APB clock and reset configuration
- stm32f10x_tim.h/.c: updated to support new Timers TIM9..TIM14.
- stm32f10x_sdio.h:

- SDIO_SetSDIOReadWaitMode() function: correct values of SDIO_ReadWaitMode parameter
  change
  #define SDIO_ReadWaitMode_CLK ((uint32_t)0x00000000)
  #define SDIO_ReadWaitMode_DATA2 ((uint32_t)0x00000001)
  by
  #define SDIO_ReadWaitMode_CLK ((uint32_t)0x00000001)
  #define SDIO_ReadWaitMode_DATA2 ((uint32_t)0x00000000)

### 3.2.0 - 03/01/2010

1. General

- Add support for STM32 Low-density Value line (STM32F100x4/6) and Medium-density Value line (STM32F100x8/B) devices.
- Almost peripherals drivers were updated to support Value line devices features
- Drivers limitations fix and enhancements.

2. STM32F10x_StdPeriph_Driver

- Add new firmware driver for CEC peripheral: stm32f10x_cec.h and stm32f10x_cec.c
- Timers drivers stm32f10x_tim.h/.c: add support for new General Purpose Timers: TIM15, TIM16 and TIM17.
- RCC driver: add support for new Value peripherals: HDMI-CEC, TIM15, TIM16 and TIM17.
- GPIO driver: add new remap parameters for TIM1, TIM15, TIM16, TIM17 and HDMI-CEC: GPIO_Remap_TIM1_DMA, GPIO_Remap_TIM15, GPIO_Remap_TIM16, GPIO_Remap_TIM17, GPIO_Remap_CEC.
- USART driver: add support for Oversampling by 8 mode and onebit method. 2 functions has been added: USART_OverSampling8Cmd() and USART_OneBitMethodCmd().
- DAC driver: add new functions handling the DAC under run feature: DAC_ITConfig(), DAC_GetFlagStatus(), DAC_ClearFlag(), DAC_GetITStatus() and DAC_ClearITPendingBit().
- DBGMCU driver: add new parameters for TIM15, TIM16 and TIM17: DBGMCU_TIM15_STOP, DBGMCU_TIM16_STOP, DBGMCU_TIM17_STOP.
- FLASH driver: the FLASH_EraseOptionBytes() function updated. This is now just erasing the option bytes without modifying the RDP status either enabled or disabled.
- PWR driver: the PWR_EnterSTOPMode() function updated. When woken up from STOP mode, this function resets again the SLEEPDEEP bit in the Cortex-M3 System Control register to allow Sleep mode entering.

## 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