stm32f4discovery Questions

5

I'm using STM32F746ZG and use five UARTs. All UARTs are working fine. Can someone tell me the procedure to change the baud rate on the USART once it has already been initialized? I'm using USART6 a...
Isotron asked 31/7, 2019 at 4:44

5

I tried to use the hardware NSS signal with the HAL library, but I can't find any function to make the NSS pin have a low or high level. I also tried to find the answer in the HAL documentation, bu...
Cleromancy asked 3/3, 2016 at 18:39

5

I want to upload program to my STM32F4 Discovery board using st-flash command. Problem is when I try to upload *.hex or *.elf file it is just not working. I tried many ways ( like using xxd ) of co...
Indolent asked 16/11, 2014 at 20:38

4

Wikipedia says: A weak symbol denotes a specially annotated symbol during linking of Executable and Linkable Format (ELF) object files. By default, without any annotation, a symbol in an objec...
Melodymeloid asked 19/2, 2016 at 14:17

1

I have FreeRTOS running on a STM32F4DISCOVERY board, and I have this code: xTaskCreate( vTask1, "Task 1", 200, NULL, 1, NULL ); xTaskCreate( vTask2, "Task 2", 200, NULL, 1, NULL ); vTaskStartSched...

3

Solved

I'm using STM32F746ZG and FreeRTOS. The start address of flash is 0x08000000. But I want to change it to 0x08040000. I've searched this issue through google but I didn't find the solution. I chan...
Maillot asked 5/7, 2019 at 3:58

1

Solved

I want to write to flash Sector 11 of STM32F407VGT from my user code to store some data. I have used the stm32f4xx_hal_flash.c library. I first erase the sector using this code: void Flash_Init(vo...
Afrit asked 12/1, 2019 at 12:58

7

Solved

There are two ways of emulating EEPROM on the STM32F4: On-chip 4 Kbytes backup SRAM On-chip Flash, with specific software algorithm The second option is described here: AN3969. But google, u...
Barracoon asked 18/12, 2013 at 20:28

1

Solved

I'm creating a context switch program for a personal mini ARM kernel project and the context switch program is written entirely in Assembly. The problem is when I make a SVC call (svc 0) I enter th...
Dikmen asked 6/8, 2018 at 6:2

1

Solved

I'm trying to blink LEDs on my STM32F4 Discovery. Somehow it's stuck on the delay function. I have changed the SysTick interrupt priority to 0 and added the IncTick(), GetTick() functions. What am ...
Grayback asked 5/9, 2017 at 19:32

6

Solved

I'm trying to figure out how to use this new HAL driver. I want to receive data using the HAL_UART_Receive_IT() which sets up the device to run an interrupt function when data is received. Proble...
Stomachache asked 21/7, 2014 at 22:26

3

Solved

I've been working on audio project with STM32F4 discovery and I noticed one thing, all I2S standards only work with one microphone (depending which edge the standard uses separate bits). For exmpl....
Bayonet asked 5/10, 2015 at 6:50

3

Solved

I've found large number of examples, but nothing on how to do it "properly" from STM32MXCube. How do I create skeleton code from STM32CubeMX for USB CDC virtual COM port communications (if possibl...
Hobble asked 5/11, 2015 at 15:53

1

Solved

I am trying to use Percepio trace lib for FreeRTOS in Snapshot recorder mode. After compilation and running it on my discovery board I need to somehow dump entire RAM to file. I've started ST-LINK ...
Incapacity asked 6/10, 2015 at 10:54

2

I am using STM32f4 discovery board connected with xbee to receive temperature data from remote temperature sensor. Code used is CMIS UART example code. I will receive packet data, 1 byte at a time....
Pomp asked 1/7, 2015 at 9:3

1

Solved

I'm trying to use the internal flash of an STM32F405 to store a bunch of user settable bytes that remain after rebooting. I'm using: uint8_t userConfig[64] __attribute__((at(0x0800C000))); to a...
Cimbri asked 13/2, 2015 at 16:9

3

I am in possession of an STM32F4Discovery board, which contains both an STM32F4 microcontroller, and an ST-LINKv2 debugger interface. I would like to do some simple C programming on this setup, and...
Beatup asked 11/9, 2012 at 19:33

1

I'm trying to compile and upload an STM32F4 Discovery project through Eclipse under Linux Mint 16. The project compiles correctly, but during the upload I get the error: WARN src/stlink-usb.c: Err...
Uphroe asked 26/4, 2014 at 14:12

2

Solved

I've been experimenting with the STM32-DISCOVERY a lot lately, but I'm not sure how to get started with an application for this board. I want to show the time of the RTC on the stm32's display. How...
Les asked 17/2, 2014 at 16:33

1

I like to detect a button press to switch through the 4 LEDs on the board, like Click-1 --> LED 1 on Click-2 --> LED 2 on Click-3 --> LED 3 on Click-4 --> LED 4 on Click-5 --> LED 1...
Tertiary asked 19/9, 2013 at 19:16
1

© 2022 - 2024 — McMap. All rights reserved.