Questions tagged [stm32f4discovery]

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.

542 questions
1
vote
1 answer

How to "Command not supported" in keil uvision 5.30 for STM32F4

I'm using STM board STM32F407VG with the ide KEIL MDK5.30. I have tried to flash the basic blinky example to the board. After building the code with 0 error and warning clicked on the download button to flash to the board. At that time an dialogue…
Aravind
  • 41
  • 5
1
vote
0 answers

STM32 cant send data with esp8266 thingspeak.what did I wrong?

I am working on a project about send PWM values and time values(with RTC) from stm32 to wifi module and bluetooth module at the same time.I wrote a code for esp8266 and esp8266 connected to my phone.But didnt send any value to bluetooth module or…
1
vote
1 answer

How can I change LED's brightness with PWM and USART in USART1_IRQHandler?

I am using STM32F4 discovery board and I am working on changing LED brightness and timer period using ADC and USART. I use DMA to fetch ADC values, selected TIM4 for PWM and selected USART1 for USART. ADC, USART and PWM are working well so far, but…
1
vote
1 answer

How to fix functions grayed out with a strike-through in STM32CubeIDE?

I'm using STM32CubeIDE to write an application for a STM32F411RE Nucleo board. The code involves the use of a timer. When I attempt to build my project, I get a number of "undefined reference" errors for the timer functions called. After looking…
CtrlG
  • 13
  • 2
1
vote
1 answer

CMakeLists - Make linker do not find files

I am trying to get running the GPIO_EXTI example from the STM32Cube_FW_F4_V1.24.0 using CMake and the actual GNU Tool Chain Version 9_2019_q4_major on Windows via Cygwin Terminal. The Project shall run on the STM32F4-DISCOVERY board. I have a…
MarksSO
  • 63
  • 1
  • 12
1
vote
2 answers

STM32 Uart Interrupt Burst transmit problem

I'm trying to implement uart in interrupt mode, but something go wrong obviously. Here is my problem: I want to send some strings as soon as possible (example: want to send 10 times string "test123") but for some reason that isn't possible (I make…
subavet995
  • 139
  • 14
1
vote
0 answers

stm32f4discovery Program and interrupt-vector in RAM

I'm trying to recreate a project we did in school on my stm32f4discovery-board. For some reason the teacher decided to load the program and the interrupt-vector into RAM. The interrupt-vector should start at address 0x2001C000. I managed to load and…
datamoose
  • 181
  • 7
1
vote
3 answers

stm32 spi full-duplex slave mode

I'm working on spi communicate between stm32f0308-discovery and jetson tx2. Jetson is master and stm32 should be slave. (idk how but if it is possible stm32 may be master too.) My problem is I'm new for stm32 and I don't know how an I make stm32 to…
1
vote
0 answers

Not possible to do CFFT Frequency binning with CMSIS on STM32?

At the moment I am attempting to implement a program for finding 3 frequencies (xs = 30.1 kHz, ys = 28.3 kHz and zs = 25.9 kHz) through the use of the CMSIS pack on the STM32F411RE board. I cannot get the Complex FFT (CFFT) and complex magnitude…
Nanne118
  • 125
  • 1
  • 13
1
vote
0 answers

I2c SLAVE HAL Transmit

I'm tring to transmit as a slave to the master with I2C in a STM32F446RE but i can't get to it. When there is no code running on the MCU i can see the master requesting me to write on the osciloscope. But when I use this…
Manel Vilella
  • 31
  • 1
  • 7
1
vote
0 answers

How to compile C functions that start with __asm in arm-none-eabi?

I'm trying to compile this PTPD code https://github.com/mpthompson/stm32_f4_ptpd . Unfortunately, it requires premium version of Keil. Therefore, I am migrating it to use arm-none-eabi and Makefile. I have managed to get the rest of the program to…
Madis
  • 31
  • 4
1
vote
1 answer

Interfacing A71CH with I2C

I'm trying to interface the following chip with STM32F4 https://www.nxp.com/docs/en/supporting-information/AN12207.pdf I'm currently trying to transmit a repeated start using hal sequential transmission with an interrupt but it doesn't work at all,…
andreahmed
  • 29
  • 5
1
vote
1 answer

Unable to connect to the GDB server through arm-none-eabi-gdb command

I am following this tutorial. I have compiled the code successfully, but when I try to run using command arm-none-eabi-gdb -q thumbv7em-none-eabihf/debug/led-roulette on terminal, it says that: C:\Program Files (x86)\GNU Tools ARM Embedded\8…
Muhammad Ovais
  • 152
  • 3
  • 16
1
vote
1 answer

STM32F4 discovery ETM(Embedded Trace Macrocell) and Instrumentation Trace Macrocell(ITM)

I have my application running on a stm32f4 discovery board. I want to extract execution trace (particularly branching control flow) and also time stamped data trace. I have the following questions: stm32f4 discovery board does not have debug…
Smitha
  • 11
  • 2
1
vote
2 answers

no audio data from PC send to STM32F4 audio class USB

I'm working in an audio project. We use stm32f407 like a USB audio device to get audio data from PC then send out by I2S module. We are using stm32f4 Discovery kit and STM32cubeMX. After generate code by following this video, i change nothing and…