STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32H7 Option bytes programming halts CPU

The MCU halts for approximately 300ms after setting the OPTSTART bit in the FLASH_OPTCR register. In HAL_FLASH_OB_Launch() :HAL_StatusTypeDef HAL_FLASH_OB_Launch(void) { HAL_StatusTypeDef status;   /* Wait for CRC computation to be completed */ ...

NilocA by Associate
  • 902 Views
  • 2 replies
  • 0 kudos

How to connect to U5 discovery board on Windows 11

Hello,​I have watched the ST video "Discover the new STM32U5 IoT node B-U585-IOT02A Discovery kit", which showed using the STLink Virtual COM Port (VCP) with a terminal program to connect to the board. I've also seen articles, with no answers, about ...

EC.3 by Associate III
  • 650 Views
  • 1 replies
  • 0 kudos

STM32L5 - Single Bank Flash Mode

I'm attempting to switch to single-bank flash mode on an STM32L562ZET6Q (512k Flash), but so far I've been unable to get the Flash OPTR to operate as the reference manual claims.I used the normal process for modifying the OPTR: HAL_FLASH_Unloc...

MBand.3 by Associate III
  • 2430 Views
  • 9 replies
  • 0 kudos

Resolved! Bootloader not Jumping to Application without Vbat.

Hi everyone,I am working on a custom STM32F401 board and came across a strange problem. I have a coin battery connected o Vbat pin of the MCU and using custom bootloader with it. Everything works fine but once I remove the battery (no voltage in Vbat...

TALHA by Associate II
  • 1983 Views
  • 7 replies
  • 0 kudos

TIM I2S using SPI

Hello Everybody,I am trying to emulate I2S using the SPI interface on the STM32F103.I have looked at the AN5086, but setting up the timer correctly is still unsuccessful.The SPI-CLK is connected to the TIM2 via Channel configured as "input capture di...

PGild.1 by Associate III
  • 1958 Views
  • 5 replies
  • 0 kudos

Resolved! Fast ADC polling with STM32F466?

Hi,I want to permanently sample ADC data with an ST32F466. Timing is not important, so the idea is to do that out of the main loop. So my idea is, whenever there is some time and whenever the main-loop reaches the related position in code, it reads o...

BSchm.6 by Associate III
  • 934 Views
  • 2 replies
  • 0 kudos

HRTIM external synch

Hi,I am using STM32G474 with STM32CubeIDE.I need to output the pin HRTIM_SCOUT from the master IC to another IC that will work as slave. I am trying for so long... but it is not working.Here is a piece of code that can help understand what I am doing...

DKuro.1 by Associate III
  • 816 Views
  • 1 replies
  • 0 kudos