Using a 16 Bit DAC with the Tiva LaunchPad (ARM Cortex-M4) - Video Included

I've figured out how to interface my Tiva LaunchPad with a better quality DAC (digital to analog converter). You might recall from an earlier blog post that I was using a simple 8 bit DAC made from a handful of 22K resistors that sounded, well, less than optimal. I'm now using a 16 bit integrated circuit DAC for better audio quality.


Things possibly worth pointing out:
  • The DAC chip I'm using is a Maxim MAX541. Datasheet here.
  • The MAX541 requires 5v power, yet the Tiva LaunchPad only provides 3.3v. I've used a Recom ROE-3.305S DC/DC Converter to deal with this. Datasheet here.
  • The MAX541 requires a reference voltage between two and three volts. I've used a Texas Instruments LM4041 to generate this. Datasheet here.

Here's a circuit diagram I've drawn up to show how everything is setup:

TivaLaunchPadMax541CircuitDiagram

If you're interested in taking a look at my C code that makes this project work, feel free to download it here. I used TI's Code Composer Studio for development, building and debugging, but the code can be easily viewed with any text editor.

Any questions? Feel free to ask.

Date: January 19th, 2017 at 7:41pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, 16 Bit DAC, Sabbatical

Previous Next