/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Onboard DAC

Username:     
Password:     
             

Forum

# 1   2010-01-13 21:20:40 Onboard DAC

paulh100
New member
From: Devon
Registered: 2009-02-12
Posts: 3

Onboard DAC

Hi All,

I have just managed to get the on board DAC up and running with the assistance of the TwoChannels_TriangleWave standard peripheral example.

I can see how to change the amplitude of the triangle wave by defining 'DAC_TriangleAmplitude_2047' etc... however I want to be able to change the amplitude (or the frequency) of the DAC output on the fly with a variable.

Is this possible?

FYI The plan is for the end device (with a filter etc...) to output a 4-20mA signal proportional to an RMS approximation of a recorded ADC buffer.

Many Thanks,

Paul.

Offline

 

Board footer