The BSP (Board Specific
Package) drivers are parts of the STM32Cube package based on the HAL
drivers and provide a set of high level APIs relative to the hardware
components and features in the evaluation boards, discovery kits and nucleo
boards coming with the STM32Cube package for a given STM32 serie.
The BSP drivers allow a quick access to the boards’
services using high level APIs and without any specific configuration as the
link with the HAL and the external components is done in intrinsic within the drivers.
From project settings points of view, user has only
to add the necessary driver’s files in the workspace and call the needed
functions from examples. However some low level
configuration functions are weak and can be overridden by the applications if user
wants to change some BSP drivers default behavior.
Update HistoryV3.0.2 / 06-October-2017
Main
Changes
- Fix compilation errors with SW4STM32 toolchain
V3.0.1 / 25-September-2017
Main
Changes
- Add general description of BSP drivers
- Remove date & version
- stm324xg_eval_lcd.c:
- Update BSP_LCD_DrawBitmap() API to fix functional misbehaviour with SW4STM32 Toolchain
V3.0.0 / 27-January-2017
Main
Changes
- stm324xg_eval_sd.c/.h:
- Update BSP SD APIs following new HAL SD drivers implementation
- Fix BlockSize to 512 bytes
- stm324xg_eval_audio.c/.h:
- Add BSP_AUDIO_OUT_MspInit, BSP_AUDIO_OUT_MspDeInit and BSP_AUDIO_OUT_ClockConfig APIs as weak
- Remove CODEC_Reset API
- stm324xg_eval_sram.c/.h:
- Add BSP_SRAM_MspInit API as weak
- stm324xg_eval_camera.c/.h:
- Add BSP_CAMERA_MspInit API as weak
- Notes:
- These BSP drivers break the compatibility with previous versions.
- If FatFs is required, "FatFS R0.11 ST modified 20161223" must be used with this version of BSP drivers.
V2.2.2 / 22-April-2016
Main
Changes
- stm324xg_eval_camera.h update BSP Camera driver to use the new HAL DCMI API's:
- Update BSP_CAMERA_Suspend() API to call HAL_DCMI_Suspend() API
- Update BSP_CAMERA_Resume to call HAL_DCMI_Resume() API
V2.2.1 / 15-January-2016 Main
Changes
- General updates to fix doxygen errors
- Add STM324xG_EVAL_BSP_User_Manual.chm file
- stm324xg_eval.c
- Update to initialize the SRAM PageSize parameter to avoid issue with GCC compiler
V2.2.0 / 05-January-2016 Main
Changes
- stm324xg_eval.c/.h
- Update to support the new LCD component (ili9325) version V1.2.2
- Add new API: LCD_IO_WriteMultipleData()
- Update LCD_IO_ReadData() API prototype: add "RegValue" parameter
V2.1.0 / 14-August-2015Main Changes - stm324xg_eval.c
- Add AUDIO_IO_DeInit function to align with latest audio codecs V2.0.2
V2.0.5 / 02-March-2015 Main
Changes
- stm324xg_eval.c/.h
- Align to STM32F4xx HAL Driver V1.3.0 for __HAL_RCC_PPP_CLK_ENABLE() macros implementation.
V2.0.4 / 10-December-2014
Main
Changes
- stm324xg_eval.c/.h
- Change I2C_SPEED used define by BSP_I2C_SPEED
- stm324xg_eval_eeprom.c/.h
- Change BSP_EEPROM_WaitEepromStandbyState() and BSP_EEPROM_WritePage() to be declared as static APIs
- stm324xg_eval_camera.h, stm324xg_eval_audio.h, stm324xg_eval_io.h, stm324xg_eval_ts.h and stm324xg_eval_lcd.c/.h
- Change "\" by "/" in the include path to fix compilation issue under Linux
- Miscellaneous comments update
V2.0.3 / 26-June-2014
Main
Changes
- stm324xg_eval_audio.c/.h
- BSP_AUDIO_OUT_Play(): uses the buffer size in byte instead of half-word
V2.0.2 / 19-June-2014
Main
Changes
- stm324xg_eval.c/.h
- Add protection for double initialization of IO_Init within LCD_IO_Init()
- Enhance BSP_PB_Init() function by removing the call of __SYSCFG_CLK_ENABLE() already enabled in the HAL_GPIO_Init()
- stm324xg_eval_audio.c/.h
- Add note that only the audio stereo format is supported
- stm324xg_eval_sd.c/.h
- Ensure
compatibility with the updated version of FatFs sd_diskio driver (i.e.
FatFs R0.10 ST modified 20140422) supporting SDIO/SPI to interface uSD
- Comments clean up and typo corrections
V2.0.1 / 26-February-2014
Main
Changes
- stm324xg_eval_sd.c/.h
- Update SD_DATATIMEOUT value
- stm324xg_eval_eeprom.c/.h
- Update usage of BSP_EEPROM_TIMEOUT_UserCallback() function
V2.0.0 / 18-February-2014
Main
Changes
- Major update
based on STM32Cube specification: drivers architecture and APIs
modified vs. V1.1.1, and thus the 2 versions are not compatible.
- This version has to be used only with STM32CubeF4 based development
V1.1.1 / 11-January-2013
Main
Changes
- stm324xg_eval_ioe.c
- Update the MEMS pins configuration in IOE_Config() function.
- Update I2C communication sequence in I2C_ReadDataBuffer() function to ensure efficient and robust I2C transfer.
- stm324xg_eval_lcd.c
- Replace STM324xG_LCD_Init() function by LCD_Init() function and add a legacy for old LCD Initialization function name for compatibility purpose.
V1.1.0 / 21-December-2012
Main
Changes
- stm3224xg_eval_sdio_sd.h/.c
- Support SDHC memory cards with capacity greater than 4 GB
- Transmit
and receive functions: swap the order of state machine and DMA
configuration, to fix marginal limitation where the card sent data to
the SDIO interface while the DMA is not ready to transfer them
- Support SDHS (High Speed) memory cards, add new function SD_HighSpeed()
- stm324xg_eval_ioe.c
- Configuration clean up and corrections
- Touch screen (TSC) Interrupt mode enhancement
- Update Read/Write low layer functions to ensure efficient and robust I2C transfer
- Update legacy functions I2C_WriteDeviceRegister(), I2C_ReadDeviceRegister() and I2C_ReadDataBuffer() to use polling mode instead of DMA
- Add three new functions I2C_DMA_WriteDeviceRegister(), I2C_DMA_ReadDeviceRegister() and I2C_DMA_ReadDataBuffer(), for DMA based I2C transfer
- stm324xg_eval.c
- SD_LowLevel_Init(): Set the GPIO clock to 50MHz to support High Speed mode
- stm324xg_eval_i2c_ee.c
- Enable I2C DMA request only after the enable of the DMA stream, to avoid DMA FIFO error generation
- stm324xg_eval_fsmc_sram.c
- Change memory type to SRAM instead of PSRAM (PSRAM is available only on STM324xG-EVAL RevA) and update timing values
V1.0.2 / 09-March-2012
Main
Changes
- All source files: license disclaimer text update and add link to the License file on ST Internet.
- stm324xg_eval_lcd.c
- Enhance Gamma Curve settings for ILI9320 controller
- stm324xg_eval.c and stm324xg_eval_ioe.c
- Swap
the order of I2C IOs and alternate function (AF)
configuration: AF configuration should be done before to configure the
IOs.
- stm324xg_eval_sdio_sd.c
- In SD_WaitWriteOperation() and SD_WaitReadOperation() functions: reset StopCondition flag after sending CMD12
V1.0.1 / 28-December-2011Main
Changes
- All source files: update disclaimer to add reference to the new license agreement
- stm324xg_eval_lcd.c
- Remove “static” from TextColor and BackColor variables declaration (need to be changed from other application modules)
- stm324xg_eval_ioe.h
- Add
conditional compilation on the default DMA stream(s) used for I2C1 Tx
and Rx transfers, to allow user to change them from application level.
- stm322xg_eval_sdio_sd.h
- SD_CardInfo structure, define CardCapacity variable as 64-bit long (instead of 32-bit) to support SDHC memory cards with capacity greater than 4 GB.
- stm324xg_eval_fsmc_sram.c
- Add IOs config of missing FSMC address lines (FSMC_A21, FSMC_A22 and FSMC_A23).
V1.0.0 / 30-September-2011Main
Changes
- First official release for STM3240_41_G_EVAL board RevB drivers
- stm322xg_eval_lcd.c: increase FSMC AddressSetupTime value from 4 to 5 to be compliant with some LCD access timing
License
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions
in binary form must reproduce the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
For
complete documentation on STM32 Microcontrollers
visit www.st.com/STM32
|