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

TIM8_CH2N for PWM

I try to setup the PB0 for PWM mode to drive a LED.When I use the TIM3_CH3, it is working with the following code.But it does not work for TIM8_CH2N.I suppose something to do with the "N" but could not find out what in HAL code should be changed.TIM_...

Using DAC output for class D audio amplifier

I'm wondering what would be an ideal circuit to connect a very simple 2-4W class D audio amplifier to a DAC output of an STM32 MCU.My goal is to be able to play some WAV files using build-in DAC of STM32F051.I found an amplifier TDA2822G-S08-R, took ...

Resolved! Correct order of using HAL_ADC_RegisterCallback function

Dear ST Community,as part of a project to capture analog microphone data, I would like to use my own callback funtions instead of hal callbacks. For this I register my ADC callbacks with the HAL function HAL_ADC_RegisterCallback as follows:/*********...

Rookie38 by Associate III
  • 1286 Views
  • 1 replies
  • 0 kudos

STM32H7 timer interrupt slightly too fast

I am using TIM2 on a STM32H7 to generate interrupts - e.g. every 1 ms. Using the formulas from the documentation, Update_event = TIM_CLK/((PSC + 1)*(ARR + 1)*(RCR + 1)), solving for ARR and using RCR = 0 we getARR = 1/(Update_event * (1 + PSC) / TIM_...

0693W00000QMxaGQAT.png
OBjor.1 by Associate II
  • 1697 Views
  • 7 replies
  • 0 kudos

RTC hours keep counting after 24 hours

Hi,I use RTC on a STM32L073. Every 12hours, I receive a date and time to set to the RTC. (Sometime, like 1% of the time) After writen the new RTC value, the RTC doesn't overflow after 23h59min59sec and keep counting without incrementing day. I can ha...

Ppeyr.1 by Associate III
  • 1872 Views
  • 5 replies
  • 3 kudos

Resolved! STM32H7 Power down sequence

About Power-Down Sequence (Device : STM32H7B0xB)​Datasheet : DS13196 - Rev 6 Page 13"During the power-down phase, VDD can temporarily become lower than other supplies only if the energy provided to the microcontroller remains below 1 mJ. " ​Could y...

Makoto by Associate
  • 1099 Views
  • 3 replies
  • 2 kudos