2025-11-28 5:07 AM
Hello Everyone,
Since the STM32CubeMX .ioc file does not exist for the DAC_GenerateWaveform_TriggerHW example code (as usual), does anyone have suggestions/recommendations on the best way to recreate it?
Seems like I need to make iterative guesses in STM32CubeMX and then see if the numbers start matching up in the original DAC_GenerateWaveform_TriggerHW example code?
Thanks!
C:\ST\STM32Cube_FW_H7_V1.12.1\Projects\NUCLEO-H7A3ZI-Q\Examples_LL\DAC\DAC_GenerateWaveform_TriggerHW\Src\main.c
2025-11-28 5:15 AM - edited 2025-11-28 5:16 AM
@JFlowers wrote:Since the STM32CubeMX .ioc file does not exist for the DAC_GenerateWaveform_TriggerHW example code (as usual),
not sure what you mean by "as usual" ?
Some ST examples do have .ioc files (ie, they were created using CubeMX); some weren't - see previous discussions, eg here.
The clue to which is which seems to be here.
@JFlowers wrote:does anyone have suggestions/recommendations on the best way to recreate it?
These projects just weren't created using CubeMX at all - you can't re-create something which wasn't ever there.
2025-11-28 6:11 AM
Hello @JFlowers ,
The following article Getting started with DAC will help you on how to set up the DAC as wave generator in STM32CubeMX and creating a simple application to test the DAC.