STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

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
  • 607 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
  • 816 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
  • 1511 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 ...