ARM Cortex-M7 based 32 bit MCU family from ST-Microelectronics. Relative of the STM32F4 family.
Questions tagged [stm32f7]
164 questions
1
vote
1 answer
How to generate exact 1us interrupt on STM32f7xx using Hardware Timers
I am new to interrupt-based programming.
In my current project, I need the interrupt generated exactly at 1us interval.
Below is the screenshot from the Clock Configuration tab in CubeMX.
I am using the TIM3 timer as it can generate the clock…

Gaurav1234
- 43
- 7
1
vote
3 answers
problem with sprint/printf with freeRTOS on stm32f7
Since two days I am trying to make printf\sprintf working in my project...
MCU: STM32F722RETx
I tried to use newLib, heap3, heap4, etc, etc. nothing works. HardFault_Handler is run evry time.
Now I am trying to use simple implementation from this…

Arkadiusz Bryń
- 33
- 1
- 5
1
vote
2 answers
How to trigger a set number of ADC conversions with DMA using a hardware timer?
I'm working on STM32F767 with STM32CubeIDE using HAL (I don't have time to fully learn bare metal, I'm doing it in my spare time). I have TIM2 set up as a PWM on both CH1 and CH2 with a period of 200us and a duty cycle of 25% for CH1 and approx. 30%…

ChrisD91
- 249
- 3
- 10
1
vote
0 answers
Cannot debug my STM32 CubeIDE project anymore, but code works without J-Link
I somehow have fallen in the state where I cannot start in debug mode my project in CubeIDE and J-Link. The code compiles, flash is written, but then instead of stopping on the first instruction in my main function in main.c, I get stuck in the…

user2064070
- 305
- 3
- 13
1
vote
0 answers
STM32CubeIDE deletes files
I've got an issue with the CubeIDE from STM (Version 1.1.0).
I generated a Cube project, worked with it for 2 months, edited it,... no major problems. But suddenly the IDE deletes files like my main.cpp,..
I just did some adjustments, like adding…

Melissa123
- 55
- 1
- 10
1
vote
2 answers
TouchGFX widget visible on empty screen
I'm evaluating the TouchGFX tool additional to the STM32-Platform.
Everything works "fine", like the interaction with some hardware resources of the STM32F746G-Discovery board, but there is another issue.
I created a custom keyboard (as seen as in…

Melissa123
- 55
- 1
- 10
1
vote
3 answers
How do I show ADC values on my LCD screen using TouchGFX?
I would like to show adc values on my lcd screen on the stm32f746G - DISCO board. The main challenge comes from integrating the TouchGFX software. This generates the model, view, and presenter files necessary to output widgets and wildcards. I…

Mark
- 15
- 1
- 4
1
vote
1 answer
STM32F7-Is there a way to synchronize the output of two different timers in output compare mode?
My processor is an STM32F746ZGT6 and I wish to use TCD132DG, so I need to generate two synchronous clock pulses with different frequencies (One of them is 2 MHz and the other one is 500 KHz) so I used two different timers in output compare mode. The…

Amir Reza
- 13
- 4
1
vote
1 answer
Animation using Single Frame buffer how is it possible?
I'm using the device STM32F746. I know it has a hardware 2D Graphics accelerator.
I know how to do animation using double buffering.
But according to this
https://www.touchgfx.com/news/high-quality-graphics-using-only-internal-memory/
They are…

andre_lamothe
- 2,171
- 2
- 41
- 74
1
vote
2 answers
Consumption of SRAM for cortex-M3 and cortex-M7
I migrate from M3 to M7. M3 used STM32F103VE and has 64 KB of SRAM. The M7 is STM32F746ZG and it has 240KB of SRAM. I moved most of the M3 code to M7. Additional LWIP is being used for the Ethernet function in M7. But I found that heap memory was…

Hans
- 398
- 2
- 4
- 14
1
vote
1 answer
STM32: storing a map of addresses in an array
I'm trying to store a map of addresses in an array.
The following code snippet works as expected on my STM32F767ZI, but compiles with a warning...
intptr_t addressMap[2];
int* a=NULL;
int* b=NULL;
*a=10;
*b=20;
addressMap[0]=(intptr_t)…

Johann Horvat
- 1,285
- 1
- 14
- 18
1
vote
1 answer
Running TCP Server and UDP Client on a STM32
I’m trying to run a TCP server and a UDP Client simultaneously on a STM32 Nucleo F746ZG. I’m using the freeRTOS and LWIP libraries and I´m getting trouble on running both network technologies (TCP and UDP) at the same time. However independently…

Victor Callejas
- 457
- 7
- 17
1
vote
0 answers
Cannot receive data on STM32F746 UDP socket via LwIP
I've been trying to get the LwIP stack to work on my STM32F746 Discovery board, but no luck so far when it comes to receiving data. Sending works just fine, but for some reason, I can't receive any packets. Wireshark confirms that the packets are…

Eduard Pop
- 11
- 1
1
vote
1 answer
Uart dma receive interrupt stops receiving data after several minutes
I have a project that I have used stm32f746g discovery board. It receives data with fixed size from Uart sequentially and to inform application about each data receive completed, dma callback is used (HAL_UART_RxCpltCallback function). It works fine…

masoud
- 116
- 1
- 1
- 10
1
vote
1 answer
STM32 SPI Receive DMA is getting garbage data
In my project, I am using Master SPI communication to get analog data from external ADC. My MCU is STM32F746ZGTX. My system needs to work real time so I used SPI DMA Receive and Transmit functions.
I am reading all external ADC data correctly with…

dredg
- 11
- 2
- 9