Evaluation board from STM. Based on the STM32F407VGT6, it includes an ST-LINK/V2 embedded debug tool, two ST MEMS, digital accelerometer and digital microphone, one audio DAC with integrated class D speaker driver, LEDs and push buttons and an USB OTG micro-AB connector.
Questions tagged [stm32f4discovery]
542 questions
2
votes
2 answers
STM32F4 FSMC with TFT LCD
I am trying to understand the Flexible Static Memory Controller (FSMC) on the STM32f4-discovery.
I have done a lot of research and I cannot understand how this works. I am a completely self taught programmer who is currently pursuing a degree in…

Bradley bare
- 21
- 1
- 4
2
votes
1 answer
GNU ARM plugin for Eclipse under Windows - OpenOCD not starting debugging
I'm having problems trying to setup dev env for STM32F4 Discovery board in Windows.
I have installed all required files (GCC for ARM, Windows Build Tools, Eclipse Plugin) and I'm getting this error when trying to start OpenOCD debugging:
Missing…

StjepanV
- 167
- 2
- 14
2
votes
0 answers
how to link arm math library to compile for the stm32f4
I am trying to calculate FFT on the stm32f4
The first errors I got were:
/home/mennesker/Workspace/stm/STM-mainopdracht2/main.c:111: undefined reference to `arm_cfft_radix4_init_f32'
/home/mennesker/Workspace/stm/STM-mainopdracht2/main.c:114:…

MVT
- 137
- 8
2
votes
1 answer
STM32 DMA: bytes remaining in buffer, encoded?
For quite a while now I've been struggling with DMA communication with two STM32 boards in some form or another. My current issue is as follows.
I have a host (a Raspberry Pi) running the following code, waiting for the board to initialise…

Joost
- 4,094
- 3
- 27
- 58
2
votes
0 answers
Debugging two projects in the same workspace - IAR embedded workbench
I have two STM32F4 Discovery boards (Board 1 and Board 2, let's say) and two different projects for the two boards in the same workspace.
Board 2 is dependent on an input from Board 1. In order to realize this, I flash Board 2 with its code first…

smyslov
- 1,279
- 1
- 8
- 29
2
votes
1 answer
Auto calibration of internal RTC
In my Application I want to make a kind of auto-calibration of the internal RTC. I want avoid (if possible) to use external equipment for the calibration. My idea is to use the Smooth calibration with 32 second calibration window. I want to check…

Lorenzo
- 3,293
- 4
- 29
- 56
2
votes
2 answers
OBD II with STM32
I want to make an OBD II Reader using my stm32f4 discovery board. I googled for the some documentations on what kind of CAN frame needs to be sent to the OBD port and what is been received from it. Please help me in this context, I don't want to use…

Mridul Pandey
- 382
- 4
- 7
2
votes
2 answers
How command line parameters are passed to a semi-hosted program?
I am looking at the STM32f4xx project template, generated by the GNU ARM Eclipse plugin, with semihosting enabled. The main function is defined with both argc and argv parameters, which is pretty useless in a freestanding embedded program, but in…

Eugene Sh.
- 17,802
- 8
- 40
- 61
2
votes
2 answers
STM32F4-Discovery Board: Print out data from connected sensor on the PC screen
The IDE I use is 'Keil µVision5'.
I own a STM32F429ZIT-Discovery Board (it has a LCD display on board), to which I connected a Bosch Sensortec BNO055 9-Axis IMU. I want them to communicate via I²C to each other, thus I already made the required…

mascail
- 23
- 1
- 7
2
votes
0 answers
keil 4 and stm32f4discovery fpu not working
////// EDIT: SOLVED, read solution below
I'm trying to use the fpu with the stm32f4Discovery board, programmed with Keil 4 (free version) but, when trying to use it, enters in an infinite loop.
I don't know exactly why, I'm using a very simple code…

jmth
- 41
- 3
2
votes
1 answer
STM32F4 Discovery board hal blink not blinking
I just started to play with HAL on stm32f4 discovery board.
The most basic blink doesn't work, any hint on that matter would be helpful?
Code itself compiles without any problems.
I was testing STM32CubeMX and used pre-generated main file frome…

user505160
- 1,176
- 8
- 25
- 44
2
votes
1 answer
Receiving data from 2 UARTs, STM32F4-Discovery, HAL drivers
I want to receive data from 2 sensors connected to my STM32F4-Discovery via 2 UARTs. Transmitting data from STM32 to sensors works but receiving doesn´t. Guarantee it isn´t a hardware problem. I found tutorials for 1 connected UART but not for 2 at…

Jardo421
- 85
- 1
- 3
- 8
2
votes
1 answer
STM32F429 Timer triggered USART DMA transfer issue
This is my first post at this forum.
I am developing a MIDI sequencer device based on a STM32F429DISCOVERY board running at stock 180MHz. In order to send midi messages the USART1 is configured for 31250 bauds and the appropriate DMA is configured…

kostix
- 21
- 2
2
votes
1 answer
Cannot read from/write to external SRAM using FMC on STM32F429I-Disco board
I am currently using a STM32F429I Disco board with full FMC (FSMC on F407) pins to try to connect to IS62WV51216BLL SRAM module from Waveshare without much success.
The main SRAM test/initialization code has been given down below.
Apologies for the…

SangHyun Hong
- 23
- 1
- 4
2
votes
3 answers
ARM Cortex M4 hard fault - floating point
When I run my program, which just calculates a sine wave:
for(i = 0; i < ADS1299_SIGNAL_WINDOW; i++){
TEST[i] = (float32_t)(10.0f * (float32_t)(arm_sin_f32((float32_t)(3.14f * i/ADS1299_SIGNAL_WINDOW))));
}
The compiler generates the following…

SolarSunrise
- 43
- 1
- 5