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
0
votes
1 answer
How do I use delay function inside the timer interrupt callback function?
I am using Xbee with STM32F4 micro controller as a coordinator and end devices. I am looking to send 3 different RF packets to my end device whenever timer interrupt is called. My current issue is if I send all 3 packets together to same end device,…

user2819759
- 85
- 1
- 9
0
votes
3 answers
Very few write cycles in stm32f4
I'm using a STM32F401VCT6U "discovery" board, and I need to provide a way for the user to write addresses in memory at runtime.
I wrote what can be simplified to the following function:
uint8_t Write(uint32_t address, uint8_t* values, uint8_t count)…

dureuill
- 2,526
- 17
- 24
0
votes
2 answers
printing the stack of a task in FreeRTOS
I am working on a STM32F4-discovery board, i installed FreeRTOS on the board and was able to run two tasks created by main function.
Now i want task 1 to access the local variables of task 2 with any passing of variable by reference or by value.
I…

y11
- 91
- 1
- 1
- 8
0
votes
1 answer
STM32F4 Discovery and CAN programming
I am trying to start learning programming and I am trying to get this code to work: https://github.com/espruino/Espruino/blob/master/targetlibs/stm32f4/lib/stm32f4xx_can.c
I am using Atollic TruStudio Lite.
I did the basic LED blinking code with…

etz01
- 1
- 1
- 1
- 2
0
votes
1 answer
FreeRTOS (Terminal to see the output STDIO)
I am working on STMdiscovery board, i installed freertos on the board and made the LED blink successfully, now i want to output some printf statements on the some terminals, (i think freertos supports STDIO). Can anybody guide how to do this and…

y11
- 91
- 1
- 1
- 8
0
votes
1 answer
eCos configuration tools for stm32f4vg407
I want to test blink example on stm32f4 discovrey board using eCos RTOS.
But in eCos configtool there is no configuration template for stm32f4.
can anyone help me to turn around this problem ?
thanks

user3198245
- 25
- 5
0
votes
2 answers
Negative value returned by time
I try to return number of second from 1970 with time function with stm32f4 card.
I have these datatype configured
RTC_HandleTypeDef RtcHandle;
RTC_DateTypeDef dateStruct;
RTC_TimeTypeDef timeStruct;
I do a call…

robert trudel
- 5,283
- 17
- 72
- 124
0
votes
1 answer
Extract value from .csv file
I am working on STM32F429, I want to extract value from a csv file. My csv file contain more than 200.000 values, this are all in a single line. And for example I want to read the value beetween 14896th and 14897th comas. How can I do that? …

Fabrice
- 3
- 3
0
votes
0 answers
32F429IDISCOVERY board hard fault/default handler
I'm trying to implement a GOCR algorithm to 32F429IDISCOVERY board. The GOCR itself works very well on PC but on the discovery board I'm still having some issues that makes it unstable and unusable. Sometimes the algorithm works fine, everything…

Calleb
- 33
- 7
0
votes
0 answers
OCR algorithm (GOCR) to 32F429IDISCOVERY board
I'm trying to implement an OCR algorithm (GOCR algorithm specifically) to 32F429IDISCOVERY board and I'm still getting nothing back...
I'm recording a image from OV7670 camera in RGB565 format to SDRAM of the board that is then converted to…

Calleb
- 33
- 7
0
votes
1 answer
STM32F4xx peripherals memory map
I've noticed that according to the datasheet and reference manual in those microcontrollers is 128 bytes for GPIOG (for example).
0x4002 1800 - 0x4002 1BFF GPIOG (From datasheet)
My question is: why 128 bytes (1024 bits)? All GPIOG registers only…

Karolis Milieška
- 621
- 5
- 15
0
votes
1 answer
STM32F4-Discovery SPI LIS3DSH
I was able to use the code below to init the SPI and read the values from accelerometer
SPI_InitTypeDef SPI_InitTypeDefStruct;
GPIO_InitTypeDef GPIO_InitTypeDefStruct;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_SPI1, ENABLE);
…

Michael Wang
- 41
- 1
- 3
0
votes
2 answers
No r/w bit made available to firmware by I2C peripheral of STM32F40x chips
I was wondering if anyone has found a way to determine the intention of a master communicating with an stm32f40x chip? From the perspective of the firmware on the stm32f40x chip, the ADDRess sent by the master is not available, and the r/w bit (bit…
user1069620
0
votes
2 answers
STM32F407 UART gives garbage on terminal
I have just started my adventures with STM32f407 Discovery board. I'm using latest stable release of CoIDE and using up to date toolchain/libraries.
I managed to write the following code in order to use USART1 from the board
int…

erPe
- 558
- 2
- 11
- 22
0
votes
1 answer
STM32F407 TIM8 complementary
I can't figure out why my code doesn't work! I've worked with TIM1 and everything works fine but when I change to TIM8, PC6 and PC7 are always on and the complementaries always off. Please help me out and happy holidays!
/* Includes…

co2ark5
- 45
- 1
- 3
- 12