STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

OC1M set active/inactive on match immediatly changes output

In the capture/compare ISR, I want to program the next CCR1 value and the associated action: to change the output to active or inactive when CNT matches CCR1. For this I need to set TIM1_CCMR1 OC1M to 0001 or 0010. However, as soon as I program OC1M ...

Svan .41 by Associate II
  • 1976 Views
  • 10 replies
  • 0 kudos

how to use ADC with DMA in HRTIM

i'm trying to take AD value with DMA when HRTIM TIMER A counter is equal to periodI tried using TIMER B and set to call interrupt when its counter is equal to period (TIMERA and TIMERB setting is equal)but when i checked with Oscilloscope it sh...

Isari.2 by Associate
  • 397 Views
  • 0 replies
  • 0 kudos

STM32 HSE HSI selection

Hi : we notice both HSE or HSI could be used to supply system clock. what is the difference between these two options? and which one should we use in our product? and, for the power consumption, if we connect external crystal, then choose HSE ...

LLi.7 by Associate II
  • 1504 Views
  • 6 replies
  • 0 kudos

MPU region size [HAL] [L0]

In the firmware package L0 v1.12.0In the file "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h"These are the region sizes defined:#define MPU_REGION_SIZE_32B ((uint8_t)0x04) #define MPU_REGION_SIZE_64B ((uint8_t)0x05) #defin...

SZano by Associate III
  • 643 Views
  • 2 replies
  • 0 kudos

Is there documentation on best practices for changing system clock configurations and voltage scaling when an STM32 MCU device is already running?

I am updating legacy firmware running on an STM32L151QEhx to the HAL libraries. Our current firmware changes the PLL (which supplies sysclk) configuration's multiplier and divider and the voltage scaling whenever a USB is connection is detected or te...

BCogh.2 by Associate II
  • 491 Views
  • 1 replies
  • 0 kudos