Symbols
loading...
Files
loading...

BSP sample

BSP is a sample project defining the following symbols:

Most used functions

Name
Location
Summary
This function handles NMI exception.
This function handles Hard Fault exception.
This function handles Debug Monitor exception.
This function handles Memory Manage exception.
This function handles Bus Fault exception.
This function handles Usage Fault exception.
This function handles SysTick Handler.
This function handles SVCall exception.
This function handles PendSVC exception.
This function is executed in case of error occurrence.
Main program
This function handles External line 0 interrupt request.
Test Audio Hardware. The main objective of this test is to check the hardware connection of the Audio peripheral.
Test ACCELERATOR MEMS Hardware. The main objective of this test is to check acceleration on 2 axes X and Y
Test Audio Hardware. The main objective of this test is to check the hardware connection of the Audio peripheral.
This function handles EXTI4_IRQ Handler.
Test Gyroscope MEMS Hardware. The main objectif of this test is to check the hardware connection of the MEMS peripheral.
System Clock Configuration The system Clock is configured as follow : System Clock source = PLL (HSI) SYSCLK(Hz) = 100000000 HCLK(Hz) = 100000000 AHB Prescaler = 1 APB1 Prescaler = 2 APB2 Prescaler = 1 HSI Frequency(Hz) = 16000000 PLL_M = 16 PLL_N = 400 PLL_P = 4 PLL_Q = 7 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 3
Read Acceleration data.
Read Gyroscope Angular data.

Other commonly used symbols

Name
Location
Summary
Internal High Speed oscillator (HSI) value. This value is used by the RCC HAL module to compute the system frequency (when HSI is used as system clock source, directly or through the PLL). Value of the Internal oscillator in Hz
Adjust the value of External High Speed oscillator (HSE) used in your application. This value is used by the RCC HAL module to compute the system frequency (when HSE is used as system clock source, directly or through the PLL). Value of the External oscillator in Hz
Miscellaneous Configuration *********************** Vector Table base offset field. This value must be a multiple of 0x200.
@file BSP/Inc/main.h @author MCD Application Team Header for main.c module @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file BSP/Inc/stm32f4xx_it.h @author MCD Application Team This file contains the headers of the interrupt handlers. @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code
External clock source for I2S peripheral This value is used by the I2S HAL module to compute the I2S clock source frequency, this source is inserted directly through I2S_CKIN pad. Value of the External oscillator in Hz
Internal Low Speed oscillator (LSI) value.
External Low Speed oscillator (LSE) value. Value of the External Low Speed oscillator in Hz
Time out for HSE start up, in ms
Time out for LSE start up, in ms
@file BSP/Inc/stm32f4xx_hal_conf.h @author MCD Application Team HAL configuration file @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
This is the list of modules to be used in the HAL driver
This is the HAL system configuration section Value of VDD in mv
@file BSP/Inc/audio_play.h @author MCD Application Team Header for audio_play.c module @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file BSP/Inc/mems.h @author MCD Application Team Header for mems.c module @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
@file BSP/Inc/audio_record.h @author MCD Application Team Header for audio_record.c module @attention Copyright (c) 2017 STMicroelectronics. All rights reserved. This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.