Texas Instruments TLV1562 Dual Continuous Mode, Program Files, Other Files, Code verification

Models: TLV1562

1 99
Download 99 pages 55.38 Kb
Page 44
Image 44
8.5.5Dual Continuous Mode

Software Overview

8.5.5Dual Continuous Mode

The following descriptions explain the software for data acquisition in dual continuous mode. The required interface connections are shown in Figure 2.

Program Files:

DUALCON1.ASM

Includes the complete software algorithm to control the Dual Continuous Mode

CALIBRAT.ASM

Calibration procedure of the DAC

CONSTANT.ASM

Common file of all modes (constants definition)

VECTORS.ASM

Common file of all modes (IRQ vector table)

Other Files:

 

linker.cmd

Organization of the DSP memory (data and program memory)

auto.bat

Batch file to start the compiler for the dual continuous software

asm500.exe

C54x Code compiler

lnk500.exe

C54x linker

The timing requirements to interface the ’C54x to the ADC are provided in Table 12. The STEP numbers given there can be found again as Marker in the code. This helps to debug and verify the code.

Code verification:

To verify the software, the user must change the code in the DUALCON1.ASM file and save those changes. The next step is to recompile the four .ASM files by executing the AUTO.BAT batch file. If compiler and linker finish without error messages, the new output file is ready to load in the DSP program memory (e.g. with the GoDSP development tools) and to execute.

The flow chart in Figure 12 gives a general overview of the software structure (DUALCON1.ASM).

38SLAA040

Page 44
Image 44
Texas Instruments TLV1562 manual Dual Continuous Mode, Program Files, Other Files, Code verification