STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32G0B1: internal temperature sensor

I am trying to measure/calculate the internal temperature of an STM32G0B1VE design.The algorithm used is taken from the reference manual RM0444 Rev 5 pages 376-378:Temperature in degreesC = ((TS_CAL2_TEMP-TS_CAL1_TEMP) / (TS_CAL2-TS_CAL1)) * (TS_DAT...

xlrl by Associate II
  • 3797 Views
  • 11 replies
  • 1 kudos

Control LED light

hey thereI have a project where I need to control light of a LED and dim it. usually we use TIMER PWM GENERATION. for example in CubeMX I set a pin to TIMx CHy and by choosing "PWM Generating CHy" I can easily control LED light using PWM signal.but i...

Ala by Senior
  • 1428 Views
  • 10 replies
  • 0 kudos

RTC smooth calibration and verification?

Hi,I m using the smooth calibrationtim1 is using an external clock 1Hz from signal generator and channel 1 is working in output compare mode generating interrupt every 32 seconds, tim2 is using LSE and channel 1 is in input capture mode.When the inte...

suads by Associate III
  • 1394 Views
  • 2 replies
  • 0 kudos

STM32F4 Gated Timer with TIM2_CH3

I want to count the 'high time' of a signal on TIM2_CH3. I simply want to count up TIM2 by using internal clock, but gating it with TIM2_CH3. I don't care about interrupts; I only want to use the counter value to access how much 'activity' has occurr...

0693W00000JM8mcQAD.png
SS13 by Associate II
  • 554 Views
  • 2 replies
  • 0 kudos

one Timer PWM, 2 LEDs

Hey thereI want to use one and only one Timer to generate PWM signal to control 2 LED lights. assume that PWM generated is only attached to one the LEDs. how can I make both of LEDs shine or dim with only one PWM?thanks in advance for any help and hi...

Ala by Senior
  • 855 Views
  • 8 replies
  • 0 kudos