This directory contains the board drivers to demonstrate the capabilities of the STM32F401-Discovery Board Drivers.
Update History
Main Changes
Update Release_Notes.html to support new format
Main Changes
All source files: update disclaimer to add reference to the new license agreement
Main Changes
Remove date & version
Add general description of BSP drivers
stm32f401_discovery_audio.c/.h:
Aligned with PDM library v3.0.0
Note
This version must be used with v3.0.0 of PDM library
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
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
Main Changes
stm32f401_discovery.c
Add AUDIO_IO_DeInit() function to align with BSP Components Common drivers V4.0.0
Main Changes
stm32f401_discovery.c/.h
Align to STM32F4xx HAL Driver V1.3.0 for __HAL_RCC_PPP_CLK_ENABLE() .
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
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
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
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
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)
Main Changes
First official version of the STM32F401-Discovery Board Drivers