Difference between revisions of "DAC"
From ArmadeusWiki
m |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | The [[Max5821 | Max5821L DAC]] can be controlled from the user space by using the '''setDAC''' function. | + | The [[Max5821 | Max5821L DAC]] can be controlled from the user space by using the '''setDAC''' function. No special driver is needed except the i2c host one, which is statically built into the kernel. |
==Installation== | ==Installation== | ||
− | + | Not needed on latest versions (> Armadeus 3.0): the tool is installed by default. Informations are kept [[Talk:DAC|here]]. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Usage== | ==Usage== | ||
− | + | To set the DAC outputs to a given value, use the ''setDAC'' command: | |
+ | <pre class="apf"> | ||
# setDAC | # setDAC | ||
Line 35: | Line 17: | ||
If no VALUE is given, then the output is powered down | If no VALUE is given, then the output is powered down | ||
## | ## | ||
+ | </pre> | ||
− | + | {{Warning|Do not forget to connect a voltage reference for the DAC !!}} | |
==Links== | ==Links== |
Latest revision as of 22:56, 27 October 2009
The Max5821L DAC can be controlled from the user space by using the setDAC function. No special driver is needed except the i2c host one, which is statically built into the kernel.
Installation
Not needed on latest versions (> Armadeus 3.0): the tool is installed by default. Informations are kept here.
Usage
To set the DAC outputs to a given value, use the setDAC command:
# setDAC ##Usage: setDAC OUTPUT [VALUE] power down or set DAC output with value 0 - 1023 OUTPUT is A , B or AB (both) VALUE must be 0 - 1023 If no VALUE is given, then the output is powered down ##