STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! 'new' operator causing crash in c++ project

Hi all, I am porting a c++ project from the STM32H7 EVAL board to the STM32H7 Nucleo 144.The project uses CubeMX to generate the project, then I port in all the source code and set the c/c++/linker directories, symbols and settings.The project uses F...

Mttjcksn by Associate III
  • 2037 Views
  • 5 replies
  • 0 kudos

STGAP1BS SPI communication

I'm having difficulty writing to STGAP1BS configuration registers. I'm using a Nucleo -G474RE to communicate with STGAP1BS chip on a custom board through SPI bus. Below I'm trying to configure CFG2 with the value 0xA0 but when I read back the registe...

RigolDS22.png
a24 by Associate
  • 175 Views
  • 0 replies
  • 0 kudos

Choosing MCU for motor driving

I should choose a microprocessorcontroller (to be implemented on a pcb in the future) to control a 3-phase brushless motor using field oriented control.There are really a lot of MCU models, so I would like a guide/advice that shows how to choose it a...

luke514 by Senior
  • 474 Views
  • 5 replies
  • 2 kudos

VDDA reading

I have a problem regarding VDDA on my hardware piece, that has an STM32U535RET6 chipset. According to the documentation, this exact chipset, does not have an internal reference buffer, so I'm stuck to using the VDDA/VREFINT as they are for my ADC1-IN...

Zer0_0-1727336937664.png
Zer0 by Associate II
  • 285 Views
  • 2 replies
  • 2 kudos

Resolved! Creating non-eraseble Flash Memory Space

Hello, i am using STM32H723 Microcontroller. I need to create a region in the memory(preferably whole sector 7) that is not erasable during debugging process. To do this i made the following changes in the linker script:MEMORY { ITCMRAM (xrw) : ...

STM32U575 Watchdog Mechanism

Hi We want to use STM32U575 Watchdog Mechanism in our operational FW, but have the following concerns:1. Can MCU ST Bootloader kick the WD in general, and especially duringca FW update, when it is busy writing/reading to flash the new FW to update or...

RLanz.2 by Associate III
  • 1765 Views
  • 8 replies
  • 2 kudos

STM32G4 and Timer channel 5&6

Currently i am writing my own MCAL drivers for G4 MCU's and i dont understand interrupts for timer channels 5&6. Lets assume Timer 1 where you can check interrupt status of CC of channels 5&6 in TIMx_SR on bits 16&17. But there is no mention about ac...

Eiffel by Associate III
  • 371 Views
  • 3 replies
  • 1 kudos

STM32 with small flash + HAL + DEBUG + no Optimization...

... leads to "funny" results:STM32L011 with 16 kB of flash, HAL inits and LED toggle in main, DEBUG, no optimization:93% of flash usedI had not expected it to be that bad! :grinning_face_with_sweat:Okay, I will probably not use too much HAL, will use...

STM32L011_HAL_DEBUG_noOpt.png
LCE by Principal
  • 2396 Views
  • 24 replies
  • 9 kudos