Motorola MCU 68HC912 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Non Motorola MCU 68HC912. SPI-Based Data Acquisition/Monitor Using the Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 14
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Application Report
SLAA108A – November 2001
1
SPI-Based Data Acquisition/Monitor Using the TLC2551
Serial ADC
Tom Hendrick Advanced Analog Applications
ABSTRACT
The TLC2551 12-bit serial output analog to digital converter can easily interface to the
serial peripheral interface port of many popular microcontrollers. This application report
focuses on using the SPI port of the MSP430F149 and 68HC912 microcontroller in a
complete data acquisition system using the TLC2551 analog to digital converter and the
TLV5616 digital to analog converter.
Contents
Introduction ..........................................................................................................................................2
System Timing......................................................................................................................................3
A to D Requirements...........................................................................................................................3
D to A Requirements...........................................................................................................................3
TLC2551 Serial Interface......................................................................................................................4
TLC2551 Timing....................................................................................................................................4
TLV5616 Timing....................................................................................................................................5
MSP430F149 Code Example................................................................................................................6
68HC912 Code Example.....................................................................................................................10
Figures
Figure 1. System Block Diagram........................................................................................................2
Figure 2. System Timing Diagram......................................................................................................3
Figure 3. TLC2551 Timing Diagram....................................................................................................4
Figure 4. TLV5616 Data Register........................................................................................................5
Figure 5. TLV5616 Timing Diagram....................................................................................................5
Tables
Table 1. I/O Pins of the TLC2551.......................................................................................................4
Table 2. I/O Pins of the TLV5616.......................................................................................................5
For questions regarding this or other data converter products, e-mail the Data Converter
Applications Team at dataconv[email protected]m
. Please include the product name in the subject
heading.
Vue de la page 0
1 2 3 4 5 6 ... 13 14

Résumé du contenu

Page 1 - Serial ADC

Application ReportSLAA108A – November 20011SPI-Based Data Acquisition/Monitor Using the TLC2551Serial ADCTom Hendrick Advanced Analog ApplicationsABST

Page 2 - Introduction

SLAA108A10 SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC68HC912 Code Example;*******************************************************

Page 3 - System Timing

SLAA108ASPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC 11BSR INIT ; Subroutine to initialize SPI registersBSR SAMPLE ; Subroutine to

Page 4 - TLC2551 Timing

SLAA108A12 SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADCLOOP:LSRD ; R Shift ACCDDBNE X,LOOP ; Loop 4 timesSTAA UPPER_BYTE ; Store sh

Page 5 - TLV5616 Serial Interface

SLAA108ASPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC 13References1. Multi Converter EVM Users Guide (SPRU131)2. MSP430x1xx Family U

Page 6 - MSP430F149 Code Example

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,enhancements, improvemen

Page 7

SLAA108A2 SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADCMicrocontrollerADCDACMISOMOSISCLKSS/CSSignal InputReconstructedOutputI/OIntro

Page 8

SLAA108ASPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC 3System TimingDACADCFigure 2. System Timing DiagramA to D RequirementsThe 12-b

Page 9

SLAA108A4 SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADCTLC2551 Serial InterfaceThe TLC2551 is a 12-bit serial output successive appr

Page 10 - 68HC912 Code Example

SLAA108ASPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC 5TLV5616 Serial InterfaceThe TLV5616 is a 12-Bit voltage output digital-to-ana

Page 11 - SLAA108A

SLAA108A6 SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADCMSP430F149 Code Example;*****************************************************

Page 12

SLAA108ASPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC 7ADC_CS equ 001h ; Assign p3.1 to ADC_CSFS equ 010h ; Assign p3.6 to FS (DAC a

Page 13 - References

SLAA108A8 SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADCWrite_DAC bis.b #001h,&P3OUT ; Turn on LED of F149 Boardswpb R12 ; Swap B

Page 14

SLAA108ASPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC 9SetupClockbic.b #XTOFF, &BCSCTL1bis.b #SELM2+SELS, &BCSCTL2HF_WAIT ;

Commentaires sur ces manuels

Pas de commentaire