STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32G474 DAC with DMA doesnt work

I have trying DAC with DMA from STM32G474 eval board. I can see the values being updated to the DOR register and the DAC EN is set to 1. However, the output of the DAC is stuck at 0.I have attached the cubeide settings.

0693W00000JMOdcQAH.png 0693W00000JMP2lQAH.png 0693W00000JMP2gQAH.png 0693W00000JMP0lQAH.png
JHari.1 by Associate II
  • 440 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F051 DAC not working

I'm working with a STM32F051 Discovery board. I've created a project that should allow me to adjust the output voltage to the DAC pin PA4, but the expected step voltage output to that pin remains at ground voltage level.I'm sure that I'm missing som...

TBibe.1 by Associate
  • 527 Views
  • 2 replies
  • 1 kudos

BUG: CubeMX enables unused channel on dual-channel DAC

I configure STM32F767I(G-I)Tx via CubeMX. I enabled ADC_IN4 and DAC_OUT2 on dual-channel DAC.ADC_IN4 shares pin with DAC_OUT1. Even though DAC_OUT1 was not enabled in CubeMX I can see it applies voltage on the pin breaking ADC reading,This can be sol...

EHabi.1 by Associate
  • 330 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMX6.3.0 DAC+DMA+TIM

I use STM32CubeMX6.3.0 to config DAC ,DMA ,TIM2,and gererate projec for MDK,the initial order is below(auto create by STM32CubeMX6.3.0): MX_GPIO_Init();MX_DAC_Init();MX_DMA_Init(); MX_TIM2_Init();​​then I create a buffer for sin wave,data,and start D...

bmo.11 by Associate
  • 284 Views
  • 2 replies
  • 0 kudos

STM32F405 DAC channel 2 not working

Hi, I've created a custom board with the STM32F405RGT6. I am trying to simultaneously send two sinewaves (90 deg out of phase) from the two dac channels to an IQ modulator chip. The DAC is set up to have data given to them via DMA (DMA streams 5 and ...

NBenn.1 by Associate II
  • 648 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H7A3 DAC2 clock enable

I’m using STM32CubeMX 6.2.1, STM32CubeIDE 1.6.1 and STM32Cube_FW_H7_V1.9.0. I found that the MX generated init code (LL) for DAC2 calls LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_DAC12) when it should call LL_APB4_GRP1_EnableClock(LL_APB4_GRP1_PERI...

AMacI.1 by Associate II
  • 352 Views
  • 2 replies
  • 0 kudos