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 HistoryV2.2.3 / 21-September-2017
Main
Changes
- Remove date & version
- Add general description of BSP drivers
- stm32f401_discovery_audio.c/.h:
- Aligned with PDM library v3.0.0
- Notes:
- This version must be used with v3.0.0 of PDM library
V2.2.2 / 27-January-2017
Main
Changes
- Replace __PPP_CLK_ENABLE/DISABLE with __HAL_RCC_PPP_ENABLE/DISABLE
- Add BSP_AUDIO_OUT_ClockConfig, BSP_AUDIO_OUT_MspInit and BSP_AUDIO_OUT_MspDeInit as weak functions
- Add BSP_AUDIO_IN_ClockConfig, BSP_AUDIO_IN_MspInit and BSP_AUDIO_IN_MspDeInit as weak functions
V2.2.1 / 12-January-2016
Main
Changes
- General updates to fix doxygen errors
- Add STM32F401-Discovery_BSP_User_Manual.chm file
- stm32f401_discovery_audio.c
- BSP_AUDIO_OUT_Init() update to configure correctly the PLL I2S parameters
V2.2.0 / 14-August-2015 Main
Changes
- stm32f401_discovery.c
- Add AUDIO_IO_DeInit() function to align with BSP Components Common drivers V4.0.0
V2.1.3 / 02-March-2015 Main
Changes
- stm32f401_discovery.c/.h
- Align to STM32F4xx HAL Driver V1.3.0 for
__HAL_RCC_PPP_CLK_ENABLE() .
V2.1.2 / 10-December-2014
Main
Changes
- stm32f401_discovery_accelerometer.h, stm32f401_discovery_audio.h and stm32f401_discovery_gyroscope.h:
- Change "\" by "/" in the include path to fix compilation issue under Linux
V2.1.1 / 26-June-2014
Main
Changes
- stm32f401_discovery_audio.c/.h
- BSP_AUDIO_OUT_Play(): uses the buffer size in byte instead of half-word
- BSP_AUDIO_IN_PDMToPCM(): duplicates samples to make stereo audio stream (since a single microphone in mounted on STM32F401-Discovery)
- I2S2_Init(): configures the I2S to clock the microphone at 1.024 MHz as required instead of 2.048MHz
V2.1.0 / 19-June-2014
Main
Changes
- stm32f401_discovery.c/.h
- Enhance BSP_PB_Init() function by removing the call of __SYSCFG_CLK_ENABLE() already enabled in the HAL_GPIO_Init()
- stm32f401_discovery_audio.c/.h
- Add note that only the audio stereo format is supported
- stm32f401_discovery_gyroscope.c/.h
- Update BSP_GYRO_Init() to support new L3GD20 device ID (I_AM_L3GD20_TR)
- Comments clean up and typo corrections
V2.0.0 / 18-February-2014
Main
Changes
- Major update
based on STM32Cube specification: drivers architecture and APIs
modified vs. V1.0.1, and thus the 2 versions are not compatible.
- This version has to be used only with STM32CubeF4 based development
V1.0.1 / 14-November-2013
Main
Changes
- stm32f429i_discovery_l3gd20.c
: Set SPI baudrate to 5.25 MHz to fit Gyroscope timing characteristics
(Gyroscope l3gd20 SPI interface max baud rate is 10MHz for write/read)
V1.0.0 / 11-September-2013
Main
Changes
- First official version of the STM32F401-Discovery Board Drivers
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.
|