STM32 MPUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Unable to enable PWM driver in uboot

We have custom SOM which has been designed with STM32MP157C and we want to enable the backlight of a display panel using a PWM driver in uboot. For this, we tried enabling the pwm_backlight.c driver available in /drivers/video/ in uboot.Following con...

0693W00000UnvTrQAJ.png 0693W00000UnvJJQAZ.png
DKapu.2 by Associate
  • 645 Views
  • 1 replies
  • 0 kudos

CNT value interrupt

I want to generete interrupt for specific value of TIM->CNT TIM1->DIER |= TIM_IT_CC1; TIM1->CCR1 = myVal;I use only above. if(TIM_GetITStatus(TIM1,TIM_IT_CC1) != RESET){ //when interrupt generete here ,CCR1 is not equal my value } I'm so confused w...

hdemi.1 by Associate III
  • 536 Views
  • 6 replies
  • 1 kudos

PWM - output during Suspend mode

HiWe are using SEEED studio 102110318 module which uses STM32MP157CAC3 processor. We want to know if there is any way we can keep processor pin PD13 pin to low state in suspend state. We want the pin to maintain low state while in sleep mode. We have...

Srini by Associate II
  • 701 Views
  • 4 replies
  • 0 kudos

Resolved! In the STM32MP157 I am trying to program an interrupt every 100 us using timer 14. It looks like the code generated is correct, but the result is not correct. It looks like the DiV4 has no effect. The timing is the same as no divide.

Looking at the clock in the MX Device Configuration Tool it says 204 to APB1 Timer Clocks (MHz).To get to 10000 Hz I have to divide 204 MHz by 20400. Fortunately there are a bunch of ways to do this. But on the first try I tried Prescaler 51Counter ...