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
0 answers
STM32F429I emWin GUI Library
I am using a STM32F429I Discovery card with a HCSR-04 ultrasonic ranging sensor. I am trying to use the user interface library of Segger (emWin - GUI.lib) in STM32CubeIDE. I want to utilize the GUI.lib file that I have installed from Segger's…

ConventionalProgrammer
- 107
- 10
1
vote
0 answers
Using the LSE clock of an STM32
I have been testing for weeks a circuit with a STM32G030F6P6TR, which has no high speed clock, as it is a TSSOP20 encapsulation.
Only an LSE or clock bypass can be configured. I have tried with STM32Cube to configure the micro (I'm a newbie, I come…

Anto
- 313
- 1
- 3
- 13
1
vote
0 answers
STM32f407VEt6 + ethernet + uip + dp83848 how can I do ping project?
Good day!
I am writing a project for stm32f407vet6, the essence is simple - exchange over ethernet between the board and the upper level.
I tried to use the LWIP stack, but the board does not start with it the first time and the ping does not pass…

Alleftinna
- 11
- 2
1
vote
0 answers
Debugging assembly programs in arm
I am trying to write an assembly function for an arm-v7-m cortex-m4 processor. I am using the eclipse IDE with the gnu arm compiler (arm-none-eabi). To compile the .S file, in my 'project properties', I have set the target processor arm family to…

SMajumder
- 11
- 2
1
vote
2 answers
Port COM is not appear STM32F4 tinyUSB
I'm trying to add tinyUSB library but I get this define CFG_TUSB_RHPORT1_MODE as not defined.With this line I have problem. If i comment this line, my usb is not appear in device manager. I did this tutorial. Could you check what i'm doing wrong…

Dominik Jadczak
- 31
- 3
1
vote
0 answers
STM32 Interface with EEPROM using SPI and having issue with address for writing and reading
With an STM32 bit microcontroller, I am working on an EEPROM interface. I'm using STMCUBEIDE and proteus software to simulate hardware for the same purpose. The following is my code:
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_6, GPIO_PIN_SET);
uart_buf_len…

Rikin Nayak
- 29
- 5
1
vote
0 answers
why uart transmission not working after enabling of HSE in STM32 F411re..?
I'm trying to change the clock to HSE and half the clock speed in APB1 and 2 buses.Before calling HAL_RCC_ClockConfig() I am able to print the clock values through UART. After calling of HAL_RCC_ClockConfig() I can't able to print the clock values…

Ajith Pinninti
- 21
- 4
1
vote
1 answer
SD card in SDIO is not working in latest CubeIDE
Im trying to connect sd card in sdio to stm32f407vg discovery to store some data. Im using this tutorial https://www.youtube.com/watch?v=0NbBem8U80Y. Im doing everything step by step, but it is still not working. This is my code.
#include…

Arseniy
- 11
- 1
1
vote
3 answers
How do I know which pin is triggering the interrupt if multiple pins share the same interrupt?
I am writing code with the STM323 ide and using the STM32f303re nucleo board. I configured pin PA7 as an interrupt, however it does not have its own interrupt handler like previous development boards i've worked with.
As you can see, this one…

helpmepls
- 81
- 6
1
vote
1 answer
MULS instruction gives error A1858E in Keil
MOV R0, #20
MOV R1, #1
MULS R0, R0,R1
error: A1858E: Flag setting form of this instruction not available
When I use the mul command, there is no problem, but when I type MULS, it gives the above error.
My Board: STM32F4 Discovery

JunEmbed
- 11
- 3
1
vote
1 answer
How to program STM32f4 as SPI Slave
i have an issue in coding of STM32F407 in SPI Slave mode,
In my case , Master is ADE7880 IC and Slave is STM32F407,
.
I am a beginner , i have connected the same pins mentioned in ADE7880 Datasheet and code generated using STM32cubeMX,
static…

VIVEK A
- 27
- 6
1
vote
2 answers
Why is UART w/DMA only receiving last byte of sended data?
This is the UARTEx_RxEventCallback() function which should continue to receive bytes. Here you can see in Hercules screen, I sent 123456789 but it only receives the last byte. Why is it happening. My DMA settings are set Normal (not Circular),…

daaarwiin
- 127
- 1
- 13
1
vote
2 answers
Why does UART keep continuing to write my 25 byte buffer which byte it left off?
I have an interrupt (RXNE) based receive cycle running on STM32F1. I do only use receive command which is:
HAL_UART_Receive_IT(&huart3, RxBuffer, sizeof(RxBuffer));
Thus I receive a message then write my buffer which is:
uint8_t…

daaarwiin
- 127
- 1
- 13
1
vote
2 answers
Can't we use HAL_Delay() in ISR of stm32 F407VG
I am new to stm32, I tried to implement an interrupt using the user button of stm32F407VG.
I added a HAL_Delay() inside the interrupt function.
When the button is pressed, the Interrupt service routine start executing but it never comes back to the…

DextroLaev
- 106
- 6
1
vote
2 answers
De-activating the Core Voltage Regulator to Perform Power Analysis on STM32F407 DISCOVERY Board
I am trying to perform Power Analysis (Side-Channel Attack) on AES-128 that I have implemented on STM32F407 DISCOVERY MCU. I have found out that I can measure with a current probe from VCap1 and Vcap2 . To do so, the regulator that feeds the core…

Baris Zorba
- 11
- 1