PrecisionDAC — Mixed-Signal Output System
- Problem
- Deliver a high-accuracy analog output from a floating-point setpoint over a resource-constrained AVR MCU.
- Approach
- Wrote Embedded C firmware to convert IEEE 754 floating-point values into the DAC81408's register format and drive it over SPI, with a serial link for setpoint updates.
- Challenges
- Getting bit-exact floating-point-to-register conversion right, and debugging the analog output path against expected values on a bench scope.
- Result
- 0.037% full-scale error, verified against reference measurements.