Ask questions, find answers, and share insights on STM32 products and their technical features.
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...
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...
// 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...
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...
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...
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 ...
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 ...
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 ?