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
STM32F407 SPI reciveing only 0xFF (255) or 0
Recently I have been trying to receive a data from my STM32F407 motion sensor. I have the following code:
uint8_t SPI1_Read(){
GPIO_ResetBits(GPIOA, GPIO_Pin_4); // CS low
while(SPI_I2S_GetFlagStatus(SPI1,SPI_I2S_FLAG_TXE)==RESET){}
…

royalBlue
- 95
- 3
- 9
0
votes
1 answer
GPIO mode register
I've adjusted the example from here for the STM3240G-EVAL board in order to blink LEDs 3 and 4. I have it working, but am confused by the Mode register setting:
GPIOG->MODER |= (GPIO_MODER_MODER6_0 | GPIO_MODER_MODER8_0) ;
When I read the reference…

oboist B
- 1
- 4
0
votes
1 answer
STM32F4 Discovery USB in HS mode?
I want to convert the USB HID MOUSE demonstration example (from the STM32F4 Discovery board firmware package) into HIGH SPEED and be able to transfer 128Bytes in a single Xfer.
I changed the following places;
HID REPORT;
REPORT_SIZE…

pacman
- 41
- 2
- 8
0
votes
1 answer
Does the XBee ANSI C library work with the STM32F4 family?
I am trying to use the STM32F4 family with XBee, but how can I send XBee API packets from one module to other via STM32F4?

user2819759
- 85
- 1
- 9
0
votes
1 answer
stm32 UART sending null bytes when starting
I'm trying to exchange data between 2 stm32f407 boards through uart. The peripheral that I'm using is the USART2 (there are more of them on the board). I've configured it with a baud rate of 9600, 8 bit frame, no parity bits and only 1 stop bit. The…

user3768186
- 5
- 1
- 5
0
votes
1 answer
Semihosting on stm32
I'm trying to implement semihosting on an arm board (precisely stm32f4D07, mounting a cortex-m4 processor) in order to facilitate the debugging of a program.
I've followed the steps indicated in this nice article. I've installed openocd, compiled my…

user3768186
- 5
- 1
- 5
0
votes
1 answer
How is generating PWM related to GPIO speed?
During GPIO configuration and initialization we, for example, may set the pin speed to 50MHz, 100 MHz, but we also may set it to 2MHz. As far as I know less speed = less power consumption. How is generating PWM related to pin speed? When I want to…

Torcek
- 13
- 2
0
votes
1 answer
STM32F429 Discovery SPI Registers
I am trying to use the STM32F429 Discovery board in order to communicate in a transmit only mode to an LCD over SPI. However, every time I write to the data register to output, I see nothing get loaded in my debugging view (CrossStudio).
int…
0
votes
1 answer
ABI call to __aeabi_idivmod doesn't behave as expected
I'm trying to develop a program on a bare metal architecture (stm32f4 board with ARM cortex-m4f processor). I'm experiencing a strange problem with the ABI call __aebi_idivmod.
The call is generated by the compiler because in the code there is…

user3768186
- 5
- 1
- 5
0
votes
1 answer
Random number from integer array? C in uVision 4
I am coding on uVision 4 in C for a ARM assignment.
I can't seem to figure it out but every time I keep on getting the string "536876144".
int main(void) {
int binary[8] = {0,0,0,0,0,0,0,0};//I want this array as integers (for binary terms),…

user3682308
- 53
- 1
- 1
- 6
0
votes
1 answer
have troubles with Make files
I have some problems with double! Through terminal there is some query, that I should give some number (For example how much delay in per hour). If I give through terminal a number such as 1.1 h then it prints about -1173000! It should print only…

goethe
- 35
- 8
0
votes
1 answer
how to start an opc ua client for embedded STM32 board
Recently, I need some idea about how to start an OPC UA client programm on an embedded STM32, I do how to use the ansi C stack provided by OPC foundation

user3431136
- 1
- 1
0
votes
1 answer
Can a MCU run code directly from flash?
I am using the STM32F4Discovery board and I nedd to run my code with a library which takes about 500KB when is compiled. I am skeptical if this system can support the memory requirements of the library. This MCU have 192KB of RAM and 1MB of flash.…

user3415239
- 3
- 2
0
votes
2 answers
I am trying this command. "make stm32f429-discovery"
I am trying this command. make stm32f429-discovery
I have stm32f429-discovery board (arm cortex M3). and i want to install u-boot on it,i am trying this as per given in tutorial, and get this error.......
/bin/bash:…

Uzair
- 1
- 3
0
votes
1 answer
Frequency related sine wave generator on embedded system
I have a similar question on this topic :Writing musical notes to a wav file. But, I am a beginner in stackoverflow.com and I have not enough reputation to add command and I am not sure posting a Q under a Q is allowed.
Please let me explain my…

Stratoraider
- 3
- 4