Motorola MCU 68HC912 Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Nie Motorola MCU 68HC912. SPI-Based Data Acquisition/Monitor Using the Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 14
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 0
1 2 3 4 5 6 ... 13 14

Podsumowanie treści

Strona 1 - Serial ADC

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

Strona 2 - Introduction

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

Strona 3 - System Timing

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

Strona 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

Strona 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

Strona 6 - MSP430F149 Code Example

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

Strona 7

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

Strona 8

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

Strona 9

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

Strona 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

Strona 11 - SLAA108A

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

Strona 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

Strona 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

Strona 14

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

Komentarze do niniejszej Instrukcji

Brak uwag