Release Notes for STM32 Evaluation Board Common Drivers

Back to Release page

# Release Notes for STM32 Evaluation Board Common Drivers

Copyright 2011 STMicroelectronics

## Contents

1. STM32 Evaluation Board Common Drivers update History
2. License

## STM32 Evaluation Board Common Drivers update History

### V5.0.0 / 30-September-2011

Main Changes

- Update STM32 Evaluation Board Drivers architecture and folder organization, full API compatibility maintained vs. V4.6.2

- All the HW drivers required for each board are provided within this board folder. The concerned drivers are:

- stm32_eval_i2c_ee.c\.h: I2C M24CXX EEPROM memory driver
- stm32_eval_i2c_tsensor.c\.h: I2C LM75 temperature sensor driver
- stm32_eval_spi_flash.c\.h: SPI M25Pxxx FLASH memory driver
- stm32_eval_sdio_sd.c\.h: SDIO SD Card memory driver
- stm32_eval_spi_sd.c\.h: SPI SD Card memory driver
- These drivers were moved from \Common to \STM32XXX_EVAL folder(s)

- \Common folder contains only drivers for the fonts and log module used by the LCD driver
- stm32_eval.c\.h files removed, as consequence you need to perform the following update on your project configuration (based on EVAL drivers V4.6.2):

- In the project files, add your EVAL board driver source file (ex. "stm3210c_eval.c") instead of "stm32_eval.c"
- Include your EVAL board driver header file (ex. #include "stm3210c_eval.h") instead of #include "stm32_eval.h"
- If you are using the EVAL board's LCD, you need to add the include of the LCD header file (ex: #include "stm3210c_eval_lcd.h")

- If you are using the LCD log module, after copying it to the application folder you have to edit it and update the name of the LCD header file. For more details, refer to the lcd_log_conf_template.h driver description.

### V4.6.2 / 22-July-2011

Main Changes

- STM3210C_EVAL

- stm3210c_eval_lcd.c: update to support new LCD AM240320D5TOQW01H (controller ILI9325)

- STM322xG-EVAL

- stm322xg_eval.h: fix value of the SDIO clock divider (SDIO_TRANSFER_CLK_DIV constant) to 2 instead of 0

- stm322xg_eval_lcd.c: increase FSMC AddressSetupTime value from 1 to 3 to be compliant with some LCD access timing

- stm322xg_eval_audio_codec.c: update Codec_CtrlInterface_Init() and Codec_GPIO_Init() functions to not reconfigure the I2C peripheral if it's already enabled and configured (to avoid configuring the I2C twice when using both Audio codec and IO Expander drivers in the same application).

### V4.6.1 / 18-April-2011

Main Changes

- Update some STM322xG_EVAL drivers (no change on the API) to fix warnings with TASKING C compiler.
- Change the Release Notes name to STM32 Evaluation Board Drivers
- stm322xg_eval.c

- SD_LowLevel_Init(): change SDIO pins speed configuration to "GPIO_Speed_25MHz"

### V4.6.0 / 11-March-2011

Main Changes

- Official version supporting STM322xG_EVAL evaluation board RevB (for STM32F2xx devices).
- Common

- Add new LCD log utility drivers: The LCD Log module allows to automatically set a header and footer on any application using the LCD display and allows to dump user, debug and error messages by using the following macros: LCD_ErrLog(), LCD_UsrLog() and LCD_DbgLog().

Note: the STM322xG_EVAL board RevA was wrongly named STM3220F_EVAL

### V4.5.0 / 07-March-2011

Main Changes

- stm32_eval_sdio_sd.c\.h: driver improvement

- SD Clock increased to 24MHz to improve the data transfer performance.
- Add new functions to check the SDIO peripheral and SD Card status at any time: SD_WaitReadOperation(), SD_WaitWriteOperation(). The software sequence is little bit changed but without any impact on driver API. For more details, refer to the stm32_eval_sdio_sd.c driver description.
- Add new structure containing the SD Status register parameters. This structure is called by the SD_SendSDStatus() function.
- Transfers mode updated

- Read/Write Block using Polling and DMA modes
- Read/Write Multi Blocks using DMA mode only
- Interrupt mode removed

- Data transfer functions are managing only fixed Block size (512-byte)

- STM32100B-EVAL

- stm32100b_eval_cec.c: fix some strict ANSI-C errors

- STM32100E-EVAL

- stm32100e_eval_cec.c: fix some strict ANSI-C errors

### V4.4.0 / 31-December-2010

Main Changes

- Add new directory for STM32L152-EVAL board containing the following files:

- stm32l152_eval.h/.c, stm32l152_eval_lcd.h/.c, stm32l152_eval_glass_lcd.h/.c, stm32l152_eval_i2c_ee.h/.c

- Add support for the STM32100E-EVAL Rev B: SPI FLASH CS pin "sFLASH_CS_PIN" changed from PB.02 to PE.06.
- stm32100e_eval_lcd.h/.c: Add support for "LCD_ILI9325" LCD controller.
- stm32100e_eval_fsmc_onenand.h/.c driver updated to correct asynchronous and synchronous read operations procedures.

### 4.3.0 - 10/15/2010

1. General

- I2C EEPROM, Temperature Sensor and IOE Expander drivers updated to use the DMA for read/write transfer and add more robustness
- SD Card (SDIO) driver updated to add more robustness
- SPI Flash and SD Card (SPI) drivers: SPI MISO pin configuration changed to Input Floating

2. Utilities

- Add new directory for STM32100E-EVAL board containing the following files:

- stm32100e_eval.h/.c, stm32100e_eval_lcd.h/.c, stm32100e_eval_cec.h/.c, stm32100e_eval_fsmc_onenand.h/.c, stm32100e_eval_fsmc_sram.h/.c, stm32100e_eval_ioe.h/.c

- Common

- stm32_eval_sdio_sd.c: Update the DMA End of Transfer Check loop inside the SD_ReadBlock(), SD_WriteBlock(), SD_ReadMultiBlocks() and SD_Write MultiBlocks().

- stm32_eval_i2c_ee.c/.h

- Enhanced sEE_WaitEepromStandbyState() function for more robustness.
- Enhanced Read and Write operations to manage I2C limitations.
- Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
- Add critical sections user callbacks allowing to disable then enable interrupts when I2C operation require to be not interrupted.

- stm32_eval_i2c_tsensor.c/.h

- Enhanced I2C communication functions by using DMA for registers Read and Write operations.
- Add Timeout management with user callback implementation which allows recovering from I2C bus errors.

- STM32100B_EVAL

- stm32100b_eval.h: Add LM75 DMA defines.

- stm32100b_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.

- STM3210B_EVAL

- stm3210b_eval.h: Add LM75 DMA defines.

- stm3210b_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.

- STM3210C_EVAL

- stm3210c_eval.h: Add EEPROM driver Timeout define.

- stm3210c_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.

- stm3210c_eval_i2c_ioe.c

- Enhanced I2C communication functions by using DMA for registers Read and Write operations.

- Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
- change IOE_I2C_SPEED from "400000" to "300000".

- STM3210E_EVAL

- stm3210e_eval.c: change "void SD_WaitForDMAEndOfTransfer(void)" to "uint32_t SD_DMAEndOfTransferStatus(void)".

- stm3210e_eval.h: Add LM75 DMA defines.

- stm3210e_eval_fsmc_nand.h: remove "NAND_CMD_AREA_TRUE1" define.

- stm3210e_eval_fsmc_nand.c: Update FSMC timing in NAND_Init() function to be aligned with AN2784 application note.

- stm3210e_eval_fsmc_nor.c

- NOR_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure

- stm3210e_eval_fsmc_sram.c

- Update FSMC timing in SRAM_Init() function to be aligned with AN2784 application note.

- SRAM_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure

- stm3210e_eval_lcd.c

- LCD_FSMCConfig() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure

### 4.2.0 - 04/16/2010

1. General

- I2C EEPROM driver update to use the DMA to perform data transfer to/from EEPROM memory.

2. Utilities

- STM32_EVAL

- stm32_eval_i2c_ee.c: updated to use the DMA to perform data transfer to/from EEPROM memory. For more details, refer to the description provided within this file.
- stm3210c_eval.c: add low level functions to configure the DMA (needed for I2C EEPROM driver)
- stm3210c_eval_ioe.c: add a delay in IOE_TS_GetState() function to wait till the end of ADC conversion
- stm3210e_eval_fsmc_nor.c: add PD6 pin configuration in NOR_Init() function
- stm3210b_eval_lcd.c: remove the second ";" from "static void PutPixel(int16_t x, int16_t y);;"

### 4.1.0 - 03/01/2010

1. General

- Add support for STM32 Low-density Value line (STM32F100x4/6) and Medium-density Value line (STM32F100x8/B) devices.
- Add support for the STMicroelectronics STM32100B-EVAL evaluation board.

2. Utilities

- STM32_EVAL

- Add new directory "Common" containing a common drivers for all STM32 evaluation boards: fonts.h/.c, stm32_eval_i2c_ee.h/.c, stm32_eval_spi_flash.h/.c, stm32_eval_i2c_tsensor.h/.c, stm32_eval_spi_sd.h/.c and stm32_eval_sdio_sd.h/.c
- Add new driver for the STM32100B-EVAL managing Leds, push button and COM ports.
- New HDMI CEC High level driver.
- For all LCD drivers new fonts has been added.
- New FSMC memories drivers for STM3210E-EVAL board: stm3210e_eval_fsmc_sram.h/.c, stm3210e_eval_fsmc_nor.h/.c and stm3210e_eval_fsmc_nand.h/.c.

## 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 STMicroelectronics Microcontrollers visit www.st.com