STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HRTIM center-aligned mode with 100% duty?

Is it possible to achieve 100% duty cycle on HRTIM using center-aligned mode?when HRTIM1->sTimerxRegs[5].CMP1xR = 2124 (PERIOD-1), the duty is almost 100% end when HRTIM1->sTimerxRegs[5].CMP1xR = 2125, the duty drops to zero. As per the code below, ...

Asantos by Senior
  • 1538 Views
  • 2 replies
  • 0 kudos

Resolved! Hi! I am having isues regarding hal function for setting the pwm duty cycle. I am using stm32f401cd. __HAL_TIM_SET_COMPARE is not setting the value.

aI don't have a scope but i can measure from multimeter, if it is there. I am guessing there is a bug or I am doing something wrong. I think software focuses on Pulse value and does not recognize __HAL_TIM_SET_COMPARE command. I uploaded the code. An...

BELMA.1 by Associate II
  • 1537 Views
  • 2 replies
  • 0 kudos

STM32H7 ADC clock and conversion rate

Hello,I'm using a STM32H427ZI rev Y. 20Mhz crystal and ADC to convert 4 channels in scan mode, using a timer to start the conversions (500kS/s) and the DMA to get the data.PLL2 is configured to 80MHz (the max undivided ADC clock is 100MHz). I would l...

tarzan by Associate II
  • 1687 Views
  • 2 replies
  • 0 kudos

STM32L0 LPUART not wakeup on stop mode

Hello everyone,I'm working on a project with an STM32L072CBT6.In my project, i use a LPUART1 and USART1 to send and receive data. Connected to this i use a DMA to get data.My projet works fine so i try to implement stop mode to reduce consumption.In ...

0693W00000YAoj7QAD.jpg 0693W00000YAoQpQAL.jpg 0693W00000YAoMoQAL.jpg 0693W00000YAojvQAD.jpg
MLam by Associate III
  • 1521 Views
  • 1 replies
  • 2 kudos

Resolved! Cannot get SPI woriking on STM32L0

Greetings good people of ST communityI have a problem which I didn't manage to solve by myself, so I am hoping to get some help if possibleI have an LPS22HB sensor (https://eu.mouser.com/datasheet/2/389/lps22hb-1849683.pdf), and I want to connect it ...

0693W00000aH8s4QAC.bmp
JZida.1 by Associate II
  • 1183 Views
  • 3 replies
  • 0 kudos

Typos in the STM32L0x3 RM0367 Reference manual RM0367 Rev 8?

p.177: Figure 17. Clock tree includes "LSU", "LSD", "LSD", and "LSD" signals between the @V33 block and @V18 block. "LSU" is not included in the figure's abbreviations Legend. It also looks like the first "LSD" should rather be "LSE", the second "LSD...

Todd1 by Associate
  • 763 Views
  • 2 replies
  • 0 kudos