8.5.4Mono Continuous Mode

Software Overview

8.5.4Mono Continuous Mode

The following descriptions explain the software for the data acquisition in Mono Continuous Mode. The required interface connections are shown in Figure 2

Program Files:

MONOCON1.ASM

Includes the complete software algorithm to control the Mono 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 mono 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 11. 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 MONOCON1.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 11 gives a general overview of the software structure (MONOCON1.ASM).

36SLAA040

Page 42
Image 42
Texas Instruments TLV1562 manual Mono Continuous Mode, Program Files, Other Files, Code verification