STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Can peripheral-to-memory or memory-to-memory DMA be transfers be configured to substitute for lack of peripheral-to-peripheral features in the Cube toolchain?

I need to load the TIM1 CCR registers into the DAC1 outputs on an STML432KC. I have this working with the line DAC1->DHR12R1 = TIM1->CCRx executing in a loop. I'd like to substitute with DMA. Others have suggested that I can do this with the availabl...

KHarb.1 by Senior
  • 778 Views
  • 8 replies
  • 0 kudos

Resolved! STM32H5 Waveform Generation using External DAC

Hi,I am trying to generate waveforms using the STM32H563 microcontroller and several AD5791 DAC ICs. I am using the ADG732 Multiplexer with 5 select lines to connect my CS line to the required DAC IC. A simplified image of the hardware is provided be...

DAC_WF.jpg Screenshot 2024-06-11 125201.png mrsthb_qmt_0-1718274366194.png mrsthb_qmt_0-1718277565482.png

STM32U599 DAC doesn't work in DMA mode.

I tried everything to send a simple wave through the DAC pin using HAL and STM32CubeIDE to configure the project. What I've checked that works: - Clock source- Trigger source- Output pin configuration- Built-in triangle and noise wave generation. I t...

HTD by Senior III
  • 96 Views
  • 1 replies
  • 0 kudos

STM32U5 PDMtoPCM filter not working

Hello everyone,I am currently attempting to convert PDM data (from a MEMS CMM-4030DT-26354) to PCM data using the libPDMFilter_CM7_IAR_wc32 provided by STM32Cube. However, the results I am obtaining are not as expected. I am expecting a 1000 Hz sine ...

eduarm by Associate
  • 569 Views
  • 3 replies
  • 2 kudos

DAC underrun when writing to a HRTIM register

Hi,I have the following configuration:1. ADC converts values and writes it to memory with DMA2. DAC outputs the ADC data also with a DMA3. Both, the ADC and the DAC are triggered by HRTIM TimerA at a rate of 700kHzAll works fine, I can see the data c...

berait by Associate II
  • 89 Views
  • 0 replies
  • 0 kudos

Triggering the DAC DMA with HRTIM

Hello,I am trying to trigger the DAC1 DMA off of the HRTIM Master channel using the hrtim_dac_trg signals on an STM32G474, but I am not getting any output on my DAC pin. The timer does seem to be running (I can see MCNTR incrementing in the debugger)...

0693W000003BQESQA4.png 0693W000003BPvpQAG.png
SMile.1 by Associate
  • 745 Views
  • 8 replies
  • 0 kudos

How to use Vrefint when Vref+ is tied to Vssa?

Hi,I wanted to use STM32H743 with TFBGA100 package in a new project. Unfortunately this package does not provide Vref+ pin and it is internally tied to Vssa. I don't understand what is the reference source for ADCs and DAC, can I use VREFBUF in hold ...

krom by Associate
  • 148 Views
  • 3 replies
  • 0 kudos

Problems with Comparator/DAC on STM32G473

Hi,I've been struggling with using the STM32G473's internal comparator and DAC for a few days now.ComparatorI use the internal COMP1. For the negative Input I selected the DAC3-CH1 and for the positive input I selected the Pin PA1. PA1 is configured ...

Moritz1 by Associate III
  • 269 Views
  • 2 replies
  • 0 kudos
Labels