This directory contains the board drivers to demonstrate the capabilities of the STM32F4-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
stm32f4_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 STM32F4-Discovery_BSP_User_Manual.chm file
Main Changes
stm32f4_discovery.c
Add AUDIO_IO_DeInit() function to align with BSP Components Common drivers V4.0.0
Main Changes
stm32f4_discovery.c/.h
Align to STM32F4xx HAL Driver V1.3.0 for __HAL_RCC_PPP_CLK_ENABLE()
Main Changes
stm32f4_discovery_accelerometer.h
Change “" by”/" in the include path to fix compilation issue under Linux
stm32f4_discovery_audio.c/.h
BSP_AUDIO_OUT_Init(): Fix limitation on the I2S clock configuration
Change “" by”/" in the include path to fix compilation issue under Linux
stm32f4_discovery.c/.h
Change I2C_SPEED used define by BSP_I2C_SPEED
Miscellaneous comments update
Main Changes
stm32f4_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 STM32F4-Discovery)
I2S2_Init(): configures the I2S to clock the microphone at 1.024 MHz as required instead of 2.048MHz
Main Changes
stm32f4_discovery_audio.c/.h
Enhance BSP_PB_Init() function by removing the call of __SYSCFG_CLK_ENABLE() already enabled in the HAL_GPIO_Init()
stm32f4_discovery_audio.c/.h
Add note that only the audio stereo format is supported
Comments clean up and typo corrections
Main Changes
Major update based on STM32Cube specification: drivers architecture and APIs modified vs. V1.1.2, and thus the 2 versions are not compatible.
This version has to be used only with STM32CubeF4 based development
Main Changes
All source files: license disclaimer text update and add link to the License file on ST Internet.
Main Changes
PDM Library moved from Utilities32F4-Discovery to Utilities32_Audiofolder
All source files: update disclaimer to add reference to the new license agreement
stm32f4_discovery_audio_codec.c
Audio_MAL_Init() function: DMA configuration changed as below
DMA_FIFOMode_Disable changed to DMA_FIFOMode_Enable
DMA_FIFOThreshold_1QuarterFull changed to DMA_FIFOThreshold_HalfFull
Main Changes
Add PDM audio software decoding Library drivers, used to decode and reconstruct the audio signal produced by MP45DT02 MEMS microphone from STMicroelectronics. For more details about this Library, please refer to document “PDM audio software decoding on STM32 microcontrollers (AN3998)”.
stm32f4_discovery_audio_codec.c/.h: update to use DMA instead of Interrupt in I2S communication with the external codec.
Main Changes
First official version of the STM32F4-Discovery Board Drivers