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
3 answers
STM32F4 I2C Slave Receiver
I am using STM32F4 board as slave receiver and nordic board as master transmitter. I am able to send the slave address as 0x30 which is acknowledged by the slave and I send the device register address as 0x10 and I then send some data using…

Bala
- 31
- 1
- 1
- 5
2
votes
3 answers
NVIC_SystemReset () not working for STM32F4
I am working on STM32F4 board. My IDE is IAR Embedded Work bench. I am trying to do a software reset from code. For that i used API ' NVIC_SystemReset(); ' defined in
core_cm4.h header. But the system reset is not happening.
I tried the same…

yemans
- 917
- 3
- 12
- 17
2
votes
1 answer
STM32F4 Hanging in I2C_CheckEvent()
I've been finding that the I2C communication between my STM32F4 and IMU device randomly hangs. The STM32F4 is the master and the only other device on the bus is an IMU6050 6 axis accel/gyro. The program ends up hanging by getting stuck in a loop…

HammerFet
- 841
- 3
- 10
- 16
2
votes
2 answers
How to write float data in Flash memory in STM32F4 discovery board
I'm trying to receive a float number through a VCP and writing it in the Flash memory of the STM32F4 discovery board, using Keil IDE.
The functions used to write in the Flash memory:
FLASH_Status FLASH_ProgramDoubleWord(uint32_t Address, uint64_t…

Blueberry
- 29
- 1
- 5
2
votes
3 answers
STM32F4 memory retained on programming
Is there any memory on the STM32F407VG that is retained when a new program is flashed onto the chip?
I want to store a serial number on the device that is tied to the device, not the program.
I am aware there is a hardware identifier stored on the…

Neomanderx3
- 21
- 2
2
votes
1 answer
STM32F4xx with GDB and OpenOCD bugs
I am developing a program on the STM32F4Discovery board using GCC, GDB and OpenOCD.
I can compile everything just fine, but when I start debugging, the program goes straight to the HardFault Handler, instead of going to the Reset_Handler.
Also, I…

user3416228
- 21
- 2
2
votes
2 answers
LwIP Netconn API + FreeRTOS TCP Client Buffer Issue
I've been trying to modify the tcp server example with LwIP in STM32F4DISCOVERY board. I have to write a sender which does not necessarily have to reply server responses. It can send data with 100 ms frequency, for example.
Firstly, the example of…

mozcelikors
- 2,582
- 8
- 43
- 77
2
votes
1 answer
set up linker for stm32f4 discovery and g++
I am trying compile some code that uses USART and std functions from such as printf() for the stm32f4 discovery. First I compile all code files into a object file using g++ but when I use the linker to create the executable the linker throws errors…

NicholasB
- 129
- 4
- 11
2
votes
1 answer
STM32F3 I2C read data
I'm using the STM32F373 microcontroller and wrote a simple function to read data from a MPU6050 gyro+accel on i2c 1 (PB7 PB6).
The problem is that when I try to read sensor register data - flag I2C_ISR_TXIS is always equal to RESET (not set).
Why…

damace
- 131
- 1
- 6
2
votes
0 answers
SQLite under 100K
I need an SQLite version (or similar) that compiles under 100k.
This is to accomodate the application code and drivers along with the SQLite to run on an ARM Cortex M4 based STM32F4 series processor.
No external memory. Only using the 196k SRAM and…

Larry Klass
- 21
- 1
2
votes
1 answer
Compiling and Building a Slim version of avconv/ffmpeg for STM32F4-Discovery - an armv7 thumb 1/2 architecture
This is my first attempt at posting for help on Stack Overflow.
My Project:
Using an STM32F4-Discovery with the STM32F407VGT6 chip with the FPv4-SP and a camera/LCD peripheral setup, I need to record video at QVGA and output into a compressed MPEG-4…

Jack Sanchez
- 23
- 4
2
votes
2 answers
stm32f405 generate trigger signal pwm
I'm trying to generate a phase shift PWM signal using three timers.
TIM1 is used as reference(Running at 1MHz)
TIM3 is used as a trigger to phase shift TIM4
TIM4 is used to generate the phase shifted signal triggerd by TIM3
To Sum up: TIM1 ---…

Jonny Schubert
- 1,393
- 2
- 18
- 39
2
votes
1 answer
stm32f3 discovery gcc-arm eclipse
Does anyone have a working open source environment for the STM32 F3 discovery board? Does anyone have a tutorial that can be easily ported from the STM32 F4/ F0 to the F3 discovery?

user1051705
- 23
- 1
- 3
2
votes
1 answer
Has anyone used the USB to Serial library successfully on ChibiOS?
I'm using the ChibiOS/RT operating system, trying to get the USB to Serial library to work. I have managed to link all the files together and it ran with Yagarto. but I can't seem to even use the start function of the USB to Serial lib.
I am using…

P_Rein
- 500
- 1
- 6
- 16
2
votes
3 answers
STM32F4Discovery: Receiving CAN message
I am lost on how to receive CAN message on STM32F4Discovery. I have it in Silent_Loopback mode, meaning all sent messages should arrive in CAN controller itself. I get Transmit_OK status when I send the message, however, nothing appears in the FIFO…

jurij
- 383
- 3
- 7
- 21