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! PWM gating by other timer on STM32L412

Hello,In my project I need to generate 1s on, 1s off PWM signal in hardware.First I checked if my PWM works with simple project, and it does.But following AN4776 for N-pulse waveform generation application example - part 1.LL_APB2_GRP1_EnableClock(L...

Linas L by Senior II
  • 461 Views
  • 3 replies
  • 0 kudos

TIM3-> CCR1 is not capturing TIM3->CNT value in input capture function .I am trying to interface HC-sr04 Ultrasonic sensor to STM32F401. I am giving input to TRIG pin with 10 micro second ON and Need to Measure Pulse from ECHO pin of the Sensor.

#include<NEW.h>void Ultra_setting();void delay();int timeStamp = 0;int main(){  //GPIO A configuration Ultra_setting(); Gpio_Init();  //input capture mode  RCC->APB1ENR |= 2;   //ENABLE TIMER 3  TIM3->PSC = 16;    //divide by 16  TIM3->CCMR1 |= (0b01...

Nchun.1 by Senior
  • 1068 Views
  • 7 replies
  • 0 kudos