CodePudding user response:
DAC data increasing data is the sawtooth wave and change the frequency by increasing the data rateCodePudding user response:
The program can play outCodePudding user response:
For programming is not understand, can only to modify the programCodePudding user response:
Can the program to be typed, I have these programs don't know much aboutCodePudding user response:
The waveform data stored in the array, a DMA output to the DAC, triggered by a counter, change the inside of the storage data waveform, the change can change the waveform frequency counter oh load values, the resources are used less, perfectCodePudding user response:
Can use interrupt set frequency, according to a count in the interrupt USES HAL library DAC_SetValue () sets the output value, the waveform can be generated in advance an array of data can be read in the interrupt.