cancel
Showing results for 
Search instead for 
Did you mean: 

Standard Peripherals Library v3.1.2

swhite
Associate III
Posted on September 30, 2009 at 09:09

Standard Peripherals Library v3.1.2

1 REPLY 1
swhite
Associate III
Posted on May 17, 2011 at 13:25

http://www.st.com/stonline/products/support/micro/files/stm32f10x_stdperiph_lib.zip

V3.1.2 - 09/28/2009

1. General

* Add support for Hitex Development Tools HiTOP.

2. Libraries

* CMSIS

o system_stm32f10x.c: SetSysClockTo56() function, change the flash latency to 2 instead of 1

* STM32F10x_StdPeriph_Driver

o stm32f10x_tim.c: in TIM_OCxInit() functions, add new instruction to set the CCxS bits (x= 1, 2, 3, 4) to 0, i.e. the channel CCx is configured as output. In the previous version these functions was assuming that the CCxS bits are reset; if a channel was previously configured in input, a call to this function doesn't allow using it in output mode. This is resolved with this modification.

o stm32f10x_spi.h: I2S_InitTypeDef structure, change the type of I2S_AudioFreq field to uint32_t instead of uint16_t. This modification is needed to support I2S 96KHz frequency (available in Connectivity Line devices).

o stm32f10x_flash.c: FLASH_EraseOptionBytes() function, add note to clarify this function behavior.

3. Project

* STM32F10x_StdPeriph_Examples

o I2C\EEPROM example

+ i2c_ee.c: I2C_EE_BufferRead() function, the following line was removed

/* Clear EV6 by setting again the PE bit */

I2C_Cmd(I2C_EE, ENABLE);

o RCC example

+ main.c: SetSysClockTo56() function, change the flash latency to 2 instead of 1

* Template

o Add template projects for HiTOP toolchain to support Medium-density (Template\HiTOP\STM3210B-EVAL), High-density (Template\HiTOP\STM3210E-EVAL) and Connectivity line (Template\HiTOP\STM3210C-EVAL) devices.