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
1
vote
2 answers
STM32F407 timers with hall encoders
I'm a bit unsure what's the best approach to the problem given my knowledge of the STM32. I want to measure the speed and position of a motor with an integrated hall encoder of 6400 rising/falling edges per rotation, separated into two channels (one…

Yannick
- 830
- 7
- 27
1
vote
0 answers
STM32 I2C issue with max127
I am trying to read analog data from Max127 using stm32f4 discovery board. I seem to have setup the gpio pins and i2c correctly. But I seem to be getting a constant value from the i2c. It would be grea if I can find out my mistake, and I would…

vnal1141
- 11
- 2
1
vote
2 answers
Stm32f4 dma m2m
I'm using STM32F407VG Discovery Board and I've issue with DMA memory to memory transfer. I want to copy 32 bytes of data from one place in memory to other using DMA by writing copy_dma() function. In while loop i'm checking Transfer Complete flag…

Mariusz Górka
- 25
- 4
1
vote
3 answers
How to implement long press key event for stm32f429i discovery board using keil?
I interfaced a keypad to stm32f429i board and am able to display respective button of keypad on LCD screen of board. Short press is working fine but I have no idea how to implement long press key event. Can someone please help me?

SubbaReddy
- 11
- 1
- 4
1
vote
1 answer
how to implement SPI on STM32F3 board using standard peripheral library?
I am trying to implement SPI on STM32F3 Discovery board using standard peripheral library. I don't want to use HAL drivers(It is a constraint). I am not able to figure what I am missing. I am implementing the SPI in slave mode. Below is the SPI…

user8398475
- 61
- 2
- 7
1
vote
2 answers
stm32f4xx HAL lib & PCF8457AT - no response to write
I have stm32f4-discovery kit and I want to try i/o expander for hd44870 LCD . I have PCF8574AT link to io example like mine 8-bit expander where i2c address is 0x3f (checked by i2c scanner) on hi2c3 hardware. For c/c++ use HAL libraries on Eclipse…

PawelW
- 21
- 1
- 6
1
vote
1 answer
STM32F - SPI with DMA "ErrorCallback" and frames shifted
I am communicating 2 uC (an arduino display as MASTER and STM32F429 as slave).Its communication consists of 10 bytes in full duplex through SPI using DMA, every 150ms.
During some minutes the communication goes very good, both uC are sending their…

Alex _
- 31
- 2
- 6
1
vote
0 answers
SPI getting data not accoring to SCK
I have been trying to implement spi on STM32F407 discovery mode in DMA mode. I got the data, but the problem is that, I have 112 bits of data via Pulse Position Modulation, and the frequency of data is 1MHz. Since this info signal is arbitrary, I've…
1
vote
2 answers
freertos tick factor 2 too fast on stm32f4xx
my current freertos setup must have a mistake because when i use the task delay function or the timer period, both timings are twice as fast as desired.
what have i checked already:
DEBUG VARIABLES: all three parts included in incrementing the tick…
user7747610
1
vote
2 answers
STM32F407VG6 Button Led Blink Speed
I want to configure my button and configure LED blink speed so that when I press the button the first time the LEDs blink slower. When I press a second time the LEDs blink more slowly still, When I press a third time and LEDs blink the…

Jason Ozbek
- 13
- 3
1
vote
2 answers
ili9341 Not Working on STM32f4 discovery
I am testing IlI9341 3.2 TFT LCD on stm32F4-discovery. I wired based on Discovery datasheet. I also read ILI9341 datasheet and went through all registers.
However I get nothing. Also, the LD7, LD5 and LD6 keep on indicating overflow of current.…

Juliano
- 23
- 4
1
vote
0 answers
stuck in starting kernel (uclinux) on stm32f429 custom board
I’ve ported uboot and uclinux on my DISCO board (stm32f429-disco) using robotest files on github recently. Now I’m trying to port them on my custom board which uses:
UART6 instead of UART3
a 12 MHz oscillator instead of the 8 MHz usedin DISCO
a…

mehdi_sd
- 49
- 6
1
vote
1 answer
Error with stty and STM32F4-DISCO (fourQ-package)
I recently downloaded the v3 of the FourQlib [1], build the FourQlib and wanted to test if everything went well.
First of all, my system:
Windows 10 (host) with MinGW, ARM Toolchain, MSYS, ...
Ubuntu 16.04 LTS (Guest) (gcc, arm toolchain,…

Shalec
- 172
- 9
1
vote
1 answer
Qt does not detect all connected ports
Good evening,
my project is to create a desktop application.
This application will allow me to communicate from the PC to an stm32 microcontroller via the usb port.
I use the class: QSerialPort available on Qt
I want to know the number of USB port…

oumaima
- 21
- 4
1
vote
0 answers
Sending a bit to an STM32f4 micro-controller through USB using MATLAB
I am working with an STM32F4 board that is running an embedded program. I would like to be able to send some data back and forth between a MATLAB script and the STM32F4. The MATLAB script is running a program that controls some lab equipment.
Due to…

JahKnows
- 2,618
- 3
- 22
- 37