Texas Instruments TLV1562 manual Contents

Models: TLV1562

1 99
Download 99 pages 55.38 Kb
Page 3
Image 3
Contents

Contents

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2 The Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2.1 TMS320C54x Starter Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2.2 TLV1562EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.3 ADC TLV1562 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.3.1 Suggestions for the ’C54x to TLV1562 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.3.2 Recyclic Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.3.3 Note on the Interface, Using an External ADC Clock Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2.4 Onboard Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.4.1 TLC5618 – Serial DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.4.2 TLV5651 – Parallel DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3 Operational Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1 Reference Voltage Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.2 Input Data Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.3 Connections Between the DSP and the EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3.1 Jumpers Used on the TLV1562EVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

4 The Serial DAC/DSP System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5 The DSP Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

6 Other DSP/TLV1562 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 6.1 DSP Internal Serial Port Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

7 Conversation Between the TLV1562 and the DSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 7.1 Writing to the ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 7.2 Mono Interrupt Driven Mode Using RD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 7.3 Mono Interrupt Driven Mode Using CSTART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 7.4 Dual Interrupt Driven Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 7.5 Mono Continuous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 7.6 Dual Continuous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

8 Software Overview

18

8.1

Software Development tools

18

8.2

DSP Memory Map

18

8.3

Programming Strategies for the ’C54x, Explanations

20

 

8.3.1 Optimizing CPU Resources for Maximum Data Rates

20

 

8.3.2 Address and Data Bus for I/O Tasks

20

 

8.3.3

Timer Output

20

 

8.3.4

Data Page Pointer

21

 

8.3.5 Generating the Chip Select Signal and the

CSTART

. . . . . . . . . . . . . . . . . . . . . . . . . . . .Signal

21

 

8.3.6 Interfacing the Serial DAC 5618 to the DSP

21

 

8.3.7

Interrupt Latency

22

 

8.3.8 Branch Optimization (goto/dgoto, call/dcall, ...)

22

 

8.3.9 Enabling Software Modules (.if/.elseif/.endif)

23

8.4

Software Code Explanation

23

 

8.4.1 Software Principals of the Interface

23

8.5

Flow Charts and Comments for All Software Modes

27

 

8.5.1 The Mono Interrupt Driven Mode Using

RD

. . . . . . . . . . . . . . . . . . . . . . . .to Start Conversion

27

 

8.5.2 Mono Interrupt Driven Mode Using

CSTART

. . . . . . . . . . . . . . . . . . . . . . .to Start Conversion

30

 

8.5.3 Dual Interrupt Driven Mode

33

 

8.5.4

Mono Continuous Mode

36

Interfacing the TLV1562 Parallel AD-Converter to the TMS320C54x DSP

iii

Page 3
Image 3
Texas Instruments TLV1562 manual Contents