
AN3439| Application Note
Maxim/Dallas > App Notes > A/D and D/A CONVERSION/SAMPLING CIRCUITS Keywords: MAX5591, DACs, example code, PIC, PIC18F442, assembler, microcontrollers
Dec 21, 2004
APPLICATION NOTE 3439
PIC'ing the MAX5591: Interfacing a PIC Microcontroller to the MAX5591 Fast-Settling DAC
A tutorial is presented on interfacing a PIC18F442 microcontroller to the MAX5591 fast-settling DAC, with an example program.
MAX5591 Overview
The MAX5591 is a 12-bit, fast-settling DAC featuring a 3-Wire SPITM serial interface. The MAX5591 interface is capable of supporting SPI up to 20MHz, with a maximum settling time of 3us. This application note contains descriptions of an application circuit and all the firmware required to interface the fastest line of PIC microcontrollers (the PIC18F core) to the MAX5591. The example assembly program was written specifically for the PIC18F442, using the free assembler provided in MPLAB IDE version 6.10.0.0.
Hardware Overview
The application circuit utilizes the MAX5591EVKIT, which consists of the MAX5591, an ultra-high-precision voltage reference (MAX6126), two push-button switches, gain-setting resistors, and a proven PCB layout. The PIC18F442 is not present on the MAX5591EVKIT board, but it was added to the system here to complete the application schematic shown in Figure 1. The /CS\, SCLK, DIN and DOUT pads on the MAX5591EVKIT allow an easy connection for the SPI serial interface.
For Larger Image
AN3439 Application Note maxim Download PDF
Add this permalink to your bookmarks for future download of AN3439 ApplicationNote
Permalink: http://application.emcelettronica.com/maxim/AN3439