Skip to main content
HChen.13
Visitor II
September 16, 2019
Question

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

  • September 16, 2019
  • 0 replies
  • 469 views

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

This topic has been closed for replies.