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
STM32F407 DISC board running with stm32CubeIDE debugger connection lost
when i try to run my stm32f407 disc board with cubeIDE it shows connection lost.
i have tried
1.setting swd pins manually
2.updating drivers
but nothing is solving the issue.

Chandra Shekhar
- 11
- 1
1
vote
1 answer
How to resolve error - L6236E: No section matches selector - no section to be FIRST/LAST
I've looked into other similer questions on stackOverflow but I haven't been able to get those solutions to work.
So, I've generated the code for STM32F4-Discovery using STM32CubeMX. First of all, on code generation, I get error message, saying…

Muzahir Hussain
- 1,009
- 2
- 16
- 35
1
vote
1 answer
Is Arduino able to update only part of firmware?
I'm building a new project, and need to choose an MCU board.
What I'm trying is firmware's partial update. I will appoint part of firmware(like functions) on specific flash sector, and update only the sector so I don't need to erase&write the whole…

Jongheon Baek
- 63
- 5
1
vote
1 answer
What is use of RX and TX in ST-LINK/V2
I am using ST-LINK/V2. In this module we have 20 pins:
Pin 4 RX
Pin 6 TX
What is the use of RX and TX Pins? Can I use those pins as serial communication(USART) pins? If it is not possible then what is the use of those pins?

Devilal guguloth
- 11
- 1
- 3
1
vote
1 answer
STM32 timer clock frequency doesn't change and stay at 1.6MHz
It's been days which I'm reading the reference manual and changing the code to configure the STM32F401RE timers clock. It seems that SYSCLK is set at 84MHZ, PCLK1 is 42MHZ, and PCLK2 is 84MHZ. but every time I want to use TIM2, the clock is set at…

Mehdi
- 62
- 6
1
vote
0 answers
Spı sck pin always high
I am working on a project on 20*2 character oled(US2066) so I wrote a code for configuration of SPI and code has not any error or warning but the SPI doesnt work on my code what is the problem?
The configuration of SPI is:
void…

Furkan Güngör
- 31
- 5
1
vote
1 answer
Is this the right way to SPI?
I am currently trying to check with the function, if my SPI is working currectly.
This function should return 1, if everything is fine...but it always return 0. Maybe values in pTxData are wrong ?
uint8_t Gyro_CanReadWHOAMI() {
uint8_t…

Vlad Paskevits
- 388
- 2
- 12
1
vote
1 answer
SYS_TICK handler function is not getting called after enabling flags in SysTick Control and Status Register
I'm using STM32F407G-DISC1 board, SYS_TICK handler is not getting called after enabling flags in SysTick Control and Status Register which is at 0xE000E010 memory mapped location. SysTick Reload Value Register value is set to 15999.
void…

Teja P
- 11
- 2
1
vote
1 answer
Measure the signal frequency on STM32
I need to measure the frequency of the input signal using stm32f407-Discovery and send it once per second. The frequency of the controller is 168 MHz. The maximum input frequency is 6 MHz. If I use EXTI, I can measure a maximum of 4 MHz. As the…

SMP33
- 21
- 4
1
vote
0 answers
STM32F4 GPIO LED With External Interrupt
I am trying to use an external button connect to PA1 to trigger an external interrupt in order to switch on a LED(on PD12). I have tried using a variable declared in stm32f4xx_it.c and setting it = 1 inside the EXTI1_IRQHandler and also tried using…

Altus Cilliers
- 23
- 4
1
vote
1 answer
STM32F4 PWM Buzzer Stops Playing Halfway Through Song
I am trying to write code to play simple songs using a STM32F407G discovery board and the STM32CUBEIDE. I created an array to store the note frequency values and also one for their duration(not 100% accurate yet,just wanted to test a concept). I…

Altus Cilliers
- 23
- 4
1
vote
1 answer
STM32F429 Discovery - Unable to Use SPI with DMA for driving WS2812B LEDs
I have setup a project using STM32CubeIDE to use with my STM32F429I-DISC1 Discovery board.
I would like to use it to drive an array of WS2812B LED modules, which requires a single data line at a high frequency.
I would like to use SPI with DMA in…

William Miceli
- 33
- 1
- 9
1
vote
1 answer
Receiving a string through UART in STM32F4
I've written this code to receive a series of char variable through USART6 and have them stored in a string. But the problem is first received value is just a junk! Any help would be appreciated in advance.
while(1)
{
…

farnaz Mohammadi
- 11
- 1
- 2
1
vote
0 answers
I can't read mouse data in STM32F407VG-Discovery
I am trying to get data from computer mouse with USB to TTL converter but I read nothing in rfBuff1.
I check the USB to TTL whether it works or not. I connected it to computer and stm32f4, and used HTerm to send some data, it worked. Seems the…

Omer Sahin
- 21
- 3
1
vote
0 answers
C: STM32F4 discovery software debouncing user button interrupt
I'm trying to program an STM32F4 discovery board so that the user button can be used to alter the state of the program via interrupt. My state machine code and the interrupt is working fine, however the button-presses/interrupts need debouncing.
I'm…

Saturn
- 21
- 1