STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! ADC_DMA in other file than main

Dear everyone,I'm trying to use ADC in DMA mode, inside other file (a library).My ADC.H/* * ADC.h */ #include "stdlib.h" #include "stdio.h" #include "string.h" #include "stm32f1xx_hal.h" #include "stm32f1xx_hal_conf.h" //-------------------------...

jlecl.1 by Associate III
  • 2 replies
  • 1 kudos

DMA - from SPI to DAC - 16 bit

Hi,I use DMA for transfer data from external flash memory to DAC for playing sounds - in 8 bits mode like that:1) TIM6  gives impulses to DMA_1 - which transmit  dummy byte to external flash in 8 khz intervals (Fsampling of sound). External flash alw...

JR2963 by Senior
  • 2 replies
  • 0 kudos

Resolved! Why won't my DAC output a voltage larger than 2.56v?

Hi there,I've been having difficulty trying to make the DAC channel 1 output 3.3v. The largest voltage that the DAC outputs is 2.56 volts which I measured with an oscilloscope. I try to set the output voltage to be higher with the following code snip...

RWang.9 by Associate II
  • 16 replies
  • 1 kudos

Hi, I've purchased an STM32H723ZG Nucleo Board to evaluate and test the potential of the onboard DAC. The max sampling time for the STM32H72x with the max bus speed at 137.5MHz is 51.1Msps as described in the AN4566 but I can't reach them.

I'm trying to generate a 1.2 MHz sine burst using the DAC, DMA and Timers. Everything works fine but only up to 200-250KHz then increasing the frequency the amplitude begins to decrease.Moreover I've managed to reach about 25Msps and it seems impossi...

MZ.NG by Associate
  • 1 replies
  • 0 kudos

Resolved! NUCLEO-U575ZI DMA->DAC doesn't work (USEF)

Hello everybody! I have a sine-wave array, that I throw to the DAC, triggering it by TIM6. When the TIM6 interrupt routine is responsible for supplying samples - everything works fine, but when I try to use DMA nothing works. The DMA keeps spitting t...

Skfir by Associate III
  • 1 replies
  • 0 kudos