Forum Posts
Freertos low Power Run mode
Hi guys, I use stm32L4 and freertos, I try to make low power run mode in my project. Normally my mcu works 60Mhz but I want to reduce clock as much as possible in low power run mode like 1Mhz and I want to use freertos in low power run mode. I change...
Resolved! I am getting a internal sensor temperature that is 11°C lower than room temperature, why?
I am using a Nulceo-L452, down below the whole code, but first some high lights://To convert I read VDDA and used the macro:temp_celcius = __HAL_ADC_CALC_TEMPERATURE(3285, adc_in17, ADC_RESOLUTION_12B);// I set enough sampling timesConfig.SamplingTi...
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...
Resolved! Can a low power timer (LPTIM) drive an RGB LED in STOP mode?
MCU: STM32L4R9ZGJ6Hardware: Custom battery powered boardLED: ARGB1313HSDesired LED functionality: Blink, on/off, fade in/out ("Breathing")Hello,I am familiar with a regular timer and how they can drive a RGB LED using multiple channels (CCx registers...
How much time require for independent watchdog to be ready on stm32f765ni mcu?
After enabling independent watchdog(IWDG) and write access, I am setting prescaler and reload counter and then waiting for IWDG_SR register to be 0x00000000. Waiting period is taking approx 48 milliseconds, but as per datasheet it should take five RC...
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 ...
Resolved! How to prevent sporadic ringing on VLXSMPS pin in "Direct SMPS supply" configuration?
Hello,we use the system supply configuration "Direct SMPS supply" (AN5419 Figure 2) for the STM32H735VG.We have the following problem in the current hardware design: At pin VLXSMPS an oscillation with approx. 6.4MHz can be measured sporadically (see ...
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 ?