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

Resolved! I have a timer set up to measure the input PWM period on channel 1 and pulse width on channel 2 as outlined in the reference manual and it works fine. However, when I stop the input signal, the capture registers are never reset to indicate 0 frequency.

Timer configurations are as follows:   // Control registers(input PWM on channel 1 and 2[pin 12 & 13])  TIM4->CCMR1 |= TIM_CCMR1_CC1S_0 ; // Active input for tim_ccr1  TIM4->CCMR1 |= TIM_CCMR1_CC2S_1; // Active input for tim_ccr2   TIM4->CCER  |= TIM...

bmose.2 by Associate
  • 798 Views
  • 2 replies
  • 0 kudos
Labels