Questions tagged [stm32f7]

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

164 questions
0
votes
2 answers

Using structs to centralize the hardware abstraction layers make the code execution slow

I'm trying to use the structure for centralizing my hardware configuration. However, this makes my codes slow later while the struct has been defined as a global variable in the RAM. For example, I have defined. typedef struct { PeriphBus …
0
votes
1 answer

How to reprogram stm32F769 DISCO board with the original DEMO code that it shipped with?

I'm playing around with the board in the question and I'm struggling with it even though I'm fairly familiar with the F767 Nucleo. What I want: to reprogram the demo that came on to the board for now, as I haven't managed to get the display on the…
ChrisD91
  • 249
  • 3
  • 10
0
votes
1 answer

STM32 HAL_Delay TIMER Microcontroller

What is the difference between HAL_Delay() function and an empty for-loop? Timer should create interrupt and switch off LED. If I use HAL_Delay() in interrupt function the result is that LED is off forever: void TIM6_DAC_IRQHandler() { …
G. S.
  • 51
  • 8
0
votes
4 answers

STM32 - QSPI Flash Read Only Problem In Memory Mapped Mode

In STM32F7, The code is running from the internal flash (default), we can read/write data from/to internal flash. My problem is: I want to use external QSPI flash for my code execution (Memory mapped mode). Also during this mode, I would like to use…
Fredrick Gauss
  • 5,126
  • 1
  • 28
  • 44
0
votes
1 answer

How can I calculate the HSYNC and VSYNC for the RK043FN48H-CT672B from the datasheet?

I'm working with STM32F746G Disco Board and wanted to understand how these values are calculated. The HSYNC, VSYNC, HBP, HFP, VBP, VFP values mentioned in data sheet (https://cache.nxp.com/docs/en/supporting-information/RK043FN02H-CT.pdf) and the…
chin
  • 21
  • 4
0
votes
0 answers

Debugging STM32F767 with OpenOCD - unknown device id problem

Trying to debug STM32F767 (NUCLEO-F767ZI board) with OpenOCD 0.10.0 in VSCode I get the following error: Info : device id = 0xa05f0000 Warn : Cannot identify target as a STM32 family. Error: auto_probe failed Does it mean OpenOCD simply does not…
0
votes
2 answers

NVIC System Reset fails

I’m using STM32f767zi with FreeRTOS kernel. I have two task: 1- one is triggered by a task notification from an interrupt every 100ms and receives some data through TCP. 2- the other task is handling some requests from user. Now, if task-2 request…
0
votes
0 answers

STM32 Eclipse (CubeIDE) debug project doesn't start in main.c, but in UcHeap assembly code instead

I have a working project, but from some point on, when I start it in Debug mode, it doesn't stop in main.c, but stops in one point in the code before main... Debugger reports trace/breakpopint at ucHeap() 0x20011b88 .... If I click on Run->Reset,…
user2064070
  • 305
  • 3
  • 13
0
votes
1 answer

IEEE 1588 PTP Clock Source in STM32H743

I'm trying to get PTP timestamp on STM32H743 Nucleo board. There is no proble with LwIP and ethernet driver so far except for PTP. I followed the instruction( 58.9.7 Programming guidelines for IEEE 1588 timestamping) on reference manual (RM0433) as…
ierturk
  • 452
  • 6
  • 22
0
votes
1 answer

Is there a Simulator for IAR?

I'm searching for IAR Simulator where I can run my code without the hardware. If there is, is there a trail period? And also where can I download it and how do I simulate? The hardware I'm looking at is STM32F7.
0
votes
1 answer

FLASH banks and processor core instruction fetching stm32f7

I am learning my way through smth32f746ng microcontroller, and ran in to few questions regarding flash and writing to flash with OpenOcd. So opoenOCD writes by default to first bank of flash at adress 0x0. Processor can access flash via ITCM bus or…
Anton Stafeyev
  • 761
  • 1
  • 7
  • 20
0
votes
0 answers

Segger Embedded Studio linking error STM32F7

at the moment I'm trying to import a SW4STM32 project for the STM32F746G-Discovery board into the Segger Embedded Studio. The initially project works fine but with the Segger Embedded Studio I've got some problems. After some small problems…
Melissa123
  • 55
  • 1
  • 10
0
votes
1 answer

Is there any working mbed Ethernet Interface library?

I'm doing a project on STM32F767ZI. Error I became when I compiled my code was "EthernetInterface library is not supported on your target". I researched on google and found someones F7_Ethernet library, but the program still can't be compiled…
enzo
  • 3
  • 1
0
votes
1 answer

STM32F769NI USB CDC host problem sending simple data to the device

I am making HID for some data acquisition system. There are a lot of sensors who store test data and when I need I get to them and connect via USB and take it. USB host sent 3 bytes and USB device, if bytes are correct, sends its stored data. Sounds…
0
votes
0 answers

Why i am not able to transmit messages through UART using Interrupts in STM32?

void EXTI15_10_IRQHandler(void) { HAL_UART_Transmit(&huart1,"1 \r\n", 5,10); flag=1; HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_0); for(int i=0; i<100000; i++); HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_13); } I am trying to display a message…
vathsa b
  • 1
  • 1