Questions tagged [stm32f7]

ARM Cortex-M7 based 32 bit MCU family from ST-Microelectronics. Relative of the STM32F4 family.

131 questions
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…
Ahmed Saleh
  • 1,934
  • 1
  • 29
  • 65
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
  • 170
  • 3
  • 12
1
vote
1 answer

FreeRTOS task priority and stack size

I have STM32F746ZG Nucleo-144pin board and generated the codes using STMCubeMx. I chose the FreeRTOS which is version 10.0.0 offered by CubeMx and the toolchain is SW4STM32. I made two tasks and the following is my function. My code here: void…
Hans
  • 170
  • 3
  • 12
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,175
  • 1
  • 12
  • 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
  • 317
  • 4
  • 14
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
  • 8
1
vote
1 answer

STM32F7 Discovery - where are the LEDs?

I am learning about ARM development on my STM32F7 Discovery Kit (w/ STM32F746NGH6 Microcontroller) and I'm trying to write a "blinky" program without using high level libraries. Reading the documentation, I couldn't figure out which MCU pins are all…
Jurc192
  • 63
  • 10
1
vote
0 answers

How to get data from ADC with STM32F7

So I wanted to read out multiple channels from adc3 on my stm32f7 discovery. I have been able to read out one channel and set up for multiple ones, but I can't figure out how to read out per channel. I wanted to read them out by interrupt so I set…
vera
  • 21
  • 3
1
vote
0 answers

LwIP on STM32F769

I'm trying to make a webserver out of my STM32F769I-Discovery board with RTOS and LwIP. It's supposed to return a few simple html/image files. Here's the link to the full code I have so…
xtrinch
  • 2,033
  • 1
  • 17
  • 41
1
vote
0 answers

STM32 - Dangers of using Data Watchpoint and Trace (DWT)

Looking at the code that is required to initialize Data Watchpoint and Trace (DWT) on STM32F7: DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; DWT->LAR = 0xC5ACCE55; DWT->CYCCNT = 0; DWT->CTRL |=…
MajesticRa
  • 12,389
  • 11
  • 54
  • 71
1
vote
1 answer

STM32F7 Discovery - USB FS host/device mode detection

The STM32F723IEK6 Discovery board has a full speed USB interface. I am trying in vain to initialize it. The reset signal is never received from the host and the appropriate interrupt flag is not set. The FS interface is OTG. It is supposed to…
A.K.
  • 809
  • 4
  • 12
1
vote
2 answers

lwIP call remote server API

This question will be rather general, as I haven't even gotten to coding yet and am just wondering if it is possible to achieve what I want with lwIP. What I would like, is for my embedded STM32F769I-Disco board to call a website URL API, e.g.…
xtrinch
  • 2,033
  • 1
  • 17
  • 41
1
vote
2 answers

1s timer on STM32F769I-DISCO

I'm trying to set up a 1s led blink on STM32F69I discovery board with STM32 HAL libraries. I've set up my timer the following way: __TIM2_CLK_ENABLE(); s_TimerInstance.Init.Prescaler = (216000); s_TimerInstance.Init.CounterMode =…
xtrinch
  • 2,033
  • 1
  • 17
  • 41
1
vote
1 answer

On STM32F7 DMA triggered by APB1 timers fails

I have STM32F7 Disco board with STM32F723IEK MCU. Trying to trigger a DMA request from a timer causes a DMA error, but only for timers from the APB1 group (TIM2 to TIM7 and others), that are connected to DMA1. Doing the same with TIM1 and TIM8,…
A.K.
  • 809
  • 4
  • 12
1 2
3
8 9