STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Create 3 pwm signals with 120° using only one timer

Hello,I'm using a NUCLEO-G431KB to create the PWM signals.I need to have 3 PWM signals plus their complementary outputs with same pulsewidth and a phaseshift of 120° between them, see picture below.In the video Hands-On with STM32 Timers: Internal Tr...

0693W00000Y7PtGQAV.jpg
LRomb.2 by Associate
  • 464 Views
  • 1 replies
  • 0 kudos

Resolved! ADC not working for STM32u585 microcontroller

hi, im working on ADC, but ADC is not working, it is getting into infinite loop in this stage  while ((hadc->Instance->ISR & tmp_flag_end) == 0UL)and my code follows like this HAL_GPIO_WritePin(GPIOH, GPIO_PIN_7, GPIO_PIN_SET);    // get ADC value ...

meghasb by Senior
  • 2168 Views
  • 7 replies
  • 0 kudos

Resolved! Opamp saturation Nucleo-U575ZI

Hello friends!I have been messing around with the onboard opamp and here is the problem. When I configure it as the follower, things are okay, but as soon as I configure it as an AMP with PGA on and set any gain, I see quite dramatic DC shift on the ...

Skfir by Senior
  • 1729 Views
  • 6 replies
  • 0 kudos

Testing timer and unable to get the expected output

htim3.Init.Prescaler = 20 - 1; htim3.Init.CounterMode = TIM_COUNTERMODE_UP; htim3.Init.Period = 200 - 1; sConfigOC.OCMode = TIM_OCMODE_TOGGLE; sConfigOC.Pulse = 0;I am using a NUCLEO-L476 and have a 20MHz clock source. I am using no interrupt...

SWenn.1 by Senior III
  • 718 Views
  • 4 replies
  • 0 kudos