STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Right edge aligned PWM

I've edited this post to make it more useful to others.We are well into development of a board at work using an STM32F072RBT6 MCU. I just wrote a quick from scratch test using a NUCLEO-F072RB board to verify things. I'm not sure of the exact problem,...

SPetr.6 by Associate III
  • 1878 Views
  • 6 replies
  • 0 kudos

MCU starts code if I do a hardware reset!

Hello,I'm working with STM32F427VIT6 microcontroller. BOOT0 is connected to GND through 10K resistor. The NRST state is high.My problem is when I power up the board, the microcontroller code execution seems to not start. The execution only starts if ...

BS.2 by Associate
  • 1926 Views
  • 3 replies
  • 0 kudos

STM32G474 dual bank feature seems not working.

My application is running in Bank1 and I program new firmware binary file to bank2 via USB and toggle the bank(set BFB2), it does not start . When I check the binary file generated by cubeIDE and the binary file written to bank2(using cubeprogrammer)...

HYe_i.1 by Associate
  • 836 Views
  • 1 replies
  • 0 kudos

STM32G474 ADC in continuous regular scanning mode with injection fails due to injection channels being internally tied to ground

I am trying to set up my NUCLEO-G474RE board to perform ADC regular scanning mode using DMA with 4 channels and also discontinuous injection with 2 channels as shown below.But when I run my code the injected channels always return zero or one, even i...

0693W000007EvA4QAK.jpg 0693W000007EvFxQAK.jpg 0693W000007EvHyQAK.jpg
CHossack by Associate III
  • 1554 Views
  • 2 replies
  • 0 kudos

Resolved! stm32h747: XIP from external SDRAM

Is it possible to run the firmware from an external SDRAM?There is an example for h750, but it does not work with h747.I go to the address I need, but I get a hardfault into bootloader for first command into external sdram

0693W000008zkr0QAA.jpg
VLesc.1 by Associate
  • 731 Views
  • 1 replies
  • 0 kudos

How to boot from external flash using quadSPI.

I want to use external flash as boot memory because the size of internal flash is not enough for my controller. what i was thinking is to write code in external NOR flash and give address as starting address for boot in flash.ld file but then i found...

Mani.V by Associate II
  • 1788 Views
  • 6 replies
  • 0 kudos

Option bytes programming STM32H7

Hi, I want to program the brownout in code:void setBrownout (uint32_t level) {   FLASH_OBProgramInitTypeDef OBInit;   HAL_FLASHEx_OBGetConfig(&OBInit);   if (OBInit.BORLevel == 0) { // not programmed yet      OBInit.BORLevel = level;      OBInit.Opti...

DKlep.1 by Associate
  • 556 Views
  • 0 replies
  • 0 kudos