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

Hi, I am new to the STM32. The function SystemCoreClockUpdate() in the library file system_stm32f10x.c extracts the PLL multipl. factor PLLMUL[3:0] from the RCC_CFGR register. Question: why the '+2' here: pllmull = ( pllmull >> 18) + 2;

void SystemCoreClockUpdate (void){  uint32_t tmp = 0, pllmull = 0, pllsource = 0;  /* Get SYSCLK source -------------------------------------------------------*/  tmp = RCC->CFGR & RCC_CFGR_SWS;    switch (tmp)  {    case 0x00:  /* HSI used as system...

Kmax18 by Senior II
  • 1221 Views
  • 2 replies
  • 0 kudos

ADC1 behaving strangely on a STM32L496AGI6.

Hi forum.I have a question regarding the STM32L496G-discovery board. I want ADC1 to sample PC4 located on the on board Arduino connector, take 10 samples for this example and have the DMA xfer these to memory. I have a CubeIde project set up and have...

kvresto by Senior
  • 1679 Views
  • 5 replies
  • 0 kudos

STM32H7B3 bricked after flashing!

Hi,I'm trying to program code into custom PCB with STM32H7B3.I was first able to connect to STM32H7B3 (read Device ID etc.), but after flashing, the target cannot be found!ERROR: STM32: Connecting to CPU via connect under reset failed.I created code ...

Tuoman by Senior II
  • 2374 Views
  • 5 replies
  • 0 kudos

What if callback function is interrupted?

On the STM32L0 I have a callback defined based on RTC alarms. In parallel I have a number of external interrupt (EXTIs) . Scenario Callback function is running due to RTC Alarm interrupt. Now EXTI is triggered as well (or visa verse -> EXTI function ...