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
3
votes
4 answers
STM32F429 is not receiving the CAN Message
I am using STM32F429 Microcontroller and need to implement CAN Bus Communication between CAN2 and PCAN View.I am able to transmit the message from CAN2 but I am not able to receive any message.I am using TJA1041A CAN transreceiver in the…

user2870154
- 77
- 2
- 3
- 9
3
votes
2 answers
How to find value of APB1 Clock in STM32F429
Can anyone tell me how to find the APB1 clock frequency of STM32F429?
And how to calculate the Baud Rate of STM32F429.
P.S...Please dont tell to refer Reference Manual,as those works are already done and I would like to tell me the exact value of…

user2870154
- 77
- 2
- 3
- 9
3
votes
4 answers
stm32 DMA cannot send data to SPI1 DR (Cannot use DMA to send data to SPI)
I am trying to use DMA to send data to SPI1. SPI1 will then control DAC for voltage update.
The chip used is STM32F407. Therefore, the corresponding channel/stream is: channel3/stream5, as is shown in reference manual. However, when the DMA is…

richieqianle
- 602
- 2
- 7
- 20
3
votes
1 answer
Flash is corrupting after a couple of immediate resets
I want to store Device ID inside the flash permanently. So I am using internal Flash of STM32. I can write&read to Flash in STM32. After writing the value to the flash, and switch off and then I can read it without any problem. But the problem is…

ozturkib
- 1,493
- 16
- 28
3
votes
2 answers
How to read swd output via USB?
I am trying to write an application similar to stmicro STM-STUDIO, which reads variables from an embedded application running on a device (STM32Fx Discovery) via USB. How do I go about reading the output (variables) coming from the board, preferably…

TonyP
- 5,655
- 13
- 60
- 94
3
votes
1 answer
Virtual COM failing with pyserial/Linux, but working otherwise
I am using Virtual COM Port (VCP) example code from http://blog.memsme.com/stm32f4-virtual-com-port-2/ on STM32F4 Discovery Board to have USB VCP. This code is originally by ST and used by many other people in their projects
Communication with the…

user199309
- 187
- 1
- 10
3
votes
2 answers
FreeRTOS - Stack corruption on STM32F4
I am currently having problems with what I think is stack corruption of some error of configuration while running FreeRTOS on an STM32F407 target.
I have looked at FreeRTOS stack corruption on STM32F4 with gcc but got no help there.
The application…

Niklas Norin
- 355
- 1
- 3
- 9
3
votes
2 answers
webcam interfacing with stm32
I want to use the STM32F4 microcontroller to receive a video stream then stream it over ethernet with the rtsp protocol .
I need you guys to tell me wich circuit would be the best for interfacing with STM32.
Can I interface a webcam with the STM32…

mrbm
- 2,164
- 12
- 11
3
votes
1 answer
FreeRTOS stack corruption on STM32F4 with gcc
I'm trying to get FreeRTOS running on my stm32f4discovery board. I have installed summon-arm-toolchain and created a Makefile to compile my code. Here is the…

Wang Ye
- 153
- 1
- 10
2
votes
0 answers
pyserial Serial.read() returns b''
I'm try to reproduce the result of benchmarking at here
I use STM32F429 Nucleo-144 board and Ubuntu 20.04 with VMWare on Windows10.
When I run benchmarks.py in terminal, Serial.read() returns empty bytes, b''.
Here is the snippet of the code:
import…

Yong Ryeol Choi
- 33
- 4
2
votes
1 answer
How to compile CMSIS DSP library for a bare metal project?
I'm working on a bare-metal project on the STM32F4Discovery Board and I'm trying to integrate the CMSIS DSP library.
I've downloaded the pre-compiled library and include files for the Cortex M4 processor from this Github Repository.
I also…

Gio
- 61
- 1
- 6
2
votes
1 answer
In what file are __io_putchar() and __io_getchar() defined?
I've noticed that the syscalls.c file for an STM32F407-DISC project (Made through the STM32CubeIDE) has __io_putchar() and __io_getchar() as externs.
But I can't locate any file within the project where these functions are actually defined.
This is…

Jazz Jackson
- 21
- 3
2
votes
2 answers
STM32 USB CDC Rx Interrupt
I have implemented USB CDC (VCP) on STM32-F446re(Nucleo). I am using int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len) in loop to receive data. But lot of data is also being sent over, hence I want reception interrupt based.
Can anyone help me…

Schrodinger95
- 25
- 1
- 4
2
votes
2 answers
Why does sending CMD58 over SPI to my Class 10 SD return 0x01 instead of 0x00?
I am trying to initialize an SD card using an SPI bus and STM32F4 Discovery Board. I am mainly relying on Elm Chan's implementation of the disk_initialize function in the example code to base my own implementation. Unfortunately, I have run into an…

Sujith Naapa Ramesh
- 21
- 3
2
votes
1 answer
How receive data with HAL_UART?
I'm learning about the STM32. I'm want receive data by UART byte-to-byte with interruption.
HAL_UART_Receive_IT(&huart1, buffer, length)
Where &huart1 is my uart gate, buffer is the input storage and length is the amount of input bytes. I use the…

Elias Elnatã
- 31
- 1
- 3
- 6