STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Sometimes LPTIM2 does not start when using one shot mode. I see this happened 4 years ago to another user and their question went unanswered. So I'll try. (STM32L4R5ZIT6)

// Code to start the one shot timer void set_delta_alarm(Long t) { LL_LPTIM_Enable(LPTIM2); while (0 == LL_LPTIM_IsEnabled(LPTIM2)) ; LL_LPTIM_SetAutoReload(LPTIM2, t); // * TE_SECOND / ONE_SECOND); LL_LPTIM_ClearFLAG_ARRM(LPTIM2); LL_LPTIM_Star...

RChap.1 by Associate II
  • 2274 Views
  • 0 replies
  • 0 kudos

Launching option bytes bricks the MCU

Hi,I am trying to set the write protection on my STM32G071 uC. I found the explanation here on how to do it in code. However once HAL_FLASH_OB_Launch is executed, the debugger loses connection and the uC is bricked. I tried to get a connection again ...

Specific ARR value interrupt

Hi,I am usinfg STM32F0 and TIM1(16 bit) , ARR value has to be 0xFFFF and I want to generete interrupt for specific ARR value etc(when ARR is 32500). My project is very complicated. What is the best way to do this ?

hdemi.1 by Associate III
  • 290 Views
  • 1 replies
  • 0 kudos

Resolved! SWV doesn't display the right information

Hi!! To test how the SWV data trace timeline graph works, I have a simple application where I increment by 1 a variable called count. Very basic. In debug mode, I see count increasing correctly in the live expressions window. while(1){ count++; HAL_D...

0693W00000Y7pzUQAR.png
mdiro by Associate III
  • 520 Views
  • 1 replies
  • 0 kudos