STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

DFDSM injection conversion triggered via internal timer.

Hello, I am trying to do an injection conversion of the DFSDM peripheral with the read process being triggered via an internal timer (TIM1) utilising the HAL drivers. Specifically, I want to set the counter to count up and trigger the read process ev...

SJohn.5 by Associate II
  • 538 Views
  • 1 replies
  • 0 kudos

Resolved! Issues with code generation for DFSDM peripheral - a) a variable is declared twice b) an initialization sequence is executed in wrong order

The attached simple project contains an ioc-files where the DFSDM peripheral is configured: channel 0 and channel 1; filter 0 for channel 0 and filter 1 for channel 1. In addition i have configured TIM6; but that's not relevant for the issue. This al...

MJord by Associate
  • 289 Views
  • 1 replies
  • 0 kudos

Interrupt not triggering on NUCLEO-F413ZH

Hi,I have a single PDM mic connected to DFSDM2, channel 0 on the NUCLEO. I have configured the peripheral for 16kHz and I have verified that the clock generated is 1MhZ and the mic sends PDM data when clocked.I have checked the signals going to the u...

0693W00000DmcFbQAJ.png 0693W00000DmcFRQAZ.png 0693W00000DmcFCQAZ.png 0693W00000DmcF7QAJ.png
NKara.3 by Associate II
  • 188 Views
  • 1 replies
  • 0 kudos

STM32H7 DFSDM+ADC - bugs in CubeMX/HAL/generated code?

Using the latest CubeMX 6.2.1 and STM32H7A3 I try to accomplish, one would think, a very simple task: filter data from ADCs using DFSDM.Objective: capture N samples (conversions) on demand (e.g. button press) from several ADC channels, smooth edges w...

TDJ by Senior III
  • 521 Views
  • 1 replies
  • 0 kudos

Resolved! Does DFSDM limit SYSCLK frequency? (the problem)

I am trying to set up DFSDM clock for STM32H7A3VITx and external 10MHz Manchester-encoding modulator using CubeMX.Since Manchester requires DFSDM clock at least 6x higher than modulator clock, minimum clock frequency is 60MHz.The only two *active* cl...

0693W000008yKWdQAM.png
TDJ by Senior III
  • 361 Views
  • 4 replies
  • 0 kudos

Resolved! How to set up DFSDM with timer in CubeMX?

In CubeMX I am trying to put together DFSDM setup described in STM32L4 workshop: 4.6 New peripherals - DFSDM - App example 2 (PT100 thermometer) but for STM32H7A3VITx. Objective: fill the filter buffer with N samples every 1s. Screenshots below.I got...

0693W000008yYmGQAU.png 0693W000008yYmLQAU.png 0693W000008yaaRQAQ.png
TDJ by Senior III
  • 288 Views
  • 1 replies
  • 0 kudos