Motorola MCU 68HC912 Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Nein Motorola MCU 68HC912 herunter. SPI-Based Data Acquisition/Monitor Using the Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 14
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 0
1 2 3 4 5 6 ... 13 14

Inhaltsverzeichnis

Seite 1 - Serial ADC

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

Seite 2 - Introduction

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

Seite 3 - System Timing

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

Seite 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

Seite 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

Seite 6 - MSP430F149 Code Example

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

Seite 7

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

Seite 8

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

Seite 9

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

Seite 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

Seite 11 - SLAA108A

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

Seite 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

Seite 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

Seite 14

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

Kommentare zu diesen Handbüchern

Keine Kommentare