
SLAA108A
6 SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC
MSP430F149 Code Example
;************************************************************************
; MSP430F149 Demo - Data Acquisition with the TLC2551 ADC and TLV5616 DAC
;
;
; TLC2551 MSP430F149
; ------------- -------------
;| || |
; | SDO|--->|P3.2(SOMI) |
; CH0~~>|AIN SCLK|<---|P3.3(UCLK) |
; | /CS|<---|P3.0(GPIO) |
; | FS|<---|P3.5(GPIO) |
;| || |
;| || |
;||
;||
; TLV5616 DAC | |
; _____________ | |
; | SDI|<---|P3.1(SIMO) |
; | /CS|<---|P5.3(GPIO) |
; | FS|<---|P3.5(GPIO) |
;
; Note: MSP430F149 is set with 8Mz Resonator in this code.
;
; Assembled with IAR Embedded Workshop for MSP430 Kickstart
;
; Texas Instruments, Inc.
; Tom Hendrick
; Data Aquisition Applications - Dallas
; Nov. 2001
;************************************************************************
#include "msp430x14x.h" // Standard Equations
#define DUMMY 0x000
;************************************************************************
;Constants
;************************************************************************
Comentários a estes Manuais