STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

In STM32CubeMX version 6.0.0, STM32H753IITx, DAC1, NVIC settings there is the option 'Timebase: TIM6 global interrupt, DAC1CH1 and DAC1CH2 underrun error interrupts' that cannot be disabled. I am not using DMA for DAC. Bug?

What has TIM6 to do with this? I do use it for System Core, SYS, Timebase Source. Why can I not disable the global underrrun interrupt? I use DMA for ADC1 and 2 and BDMA for ADC3.At startup HAL_DAC_IRQHandler gets called, DAC_FLAG_DMAUDR1 is set and ...

DGrön.1 by Associate II
  • 313 Views
  • 3 replies
  • 0 kudos

Resolved! DAC to ADC loop doesn't work

Hello,I'm working with the NUCLEO-F722ZE EVB on STM32CubeIDE.My design has a DAC output connected via a jumper wire to an ADC input (see the red wire in the attached picture.The DAC is successfully generating a sawtooth wave - verified via an oscillo...

skon.1 by Senior
  • 703 Views
  • 8 replies
  • 0 kudos

Resolved! STM32G431C8

I want to use DMA to move data from memory to DAC1 channel 1 and channel 2. Channel 1 uses DMA Channel 5 and that works. CubeMX configured DAC1 Channel 2 for DMA1 Channel 6. The datasheet says STM32G431 is a category 2 device which has only channel 0...

dac to comparator does not working interrupt

comparator does not interruptThis function handles TIM6, DAC1 and LPTIM1 interrupts (LPTIM1 interrupt through EXTI line 29). LL_EXTI_LINE_17 ? 17 ? 29 ? @file      : main.c LL_TIM_GenerateEvent_CC1(TIM6); LL_EXTI_EnableIT_0_31(LL_EXTI_LINE_17); LL_EX...

0693W000000VzD8QAK.jpg 0693W000000Vz0JQAS.jpg
Ecift.1 by Associate
  • 283 Views
  • 1 replies
  • 0 kudos

Lock-in detection on stm32f373cct6

I want to implement a lock-in detection on stm32f373cct6 that means that I need to trig the DMA of the DAC and the DMA of the SDADC with the same timer.I am using CubeMx to confugure the stm32f373cct6.I want to trig the DMA of the injected SDADC1 wit...