cancel
Showing results for 
Search instead for 
Did you mean: 

Generate 1KHz sawtooth waveform with amplitude changeable from 1.5V to 3.0V

HChen.13
Associate

Dear Sir,

I used the STM32L052R8 CPU with 32MHz to try to generate a "1KHz sawtooth waveform with amplitude changeable from 1.5V to 3.0V" with 『HAL_DACEx_TriangleWaveGenerate(&hdac, DAC_CHANNEL_1, DAC_TRIANGLEAMPLITUDE_4095);�? function. But it fail.

Does any one can give me some reference materials ?

My IDE are STM32CubeMX Ver. 5.3.0 + Keil uVision5.

Thank you very much

Hung-Jin Chen

0 REPLIES 0