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

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
  • 1461 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
  • 1983 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
  • 2190 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
  • 1302 Views
  • 3 replies
  • 2 kudos

Multi channel ADC + SPI + I2C

I'm using STM32 NUCLEOH743ZI2 board were I have written a code which consist of Multi channel ADC using DMA with timer, SPI and I2C protocols. SPI and I2C is not working whenever multi channel ADC is enabled else SPI and I2C is working fine. We are u...

GHARI.1 by Associate II
  • 719 Views
  • 1 replies
  • 0 kudos