Texas Instruments TLV1562 User Manual

Page 34

Advertising
background image

Software Overview

28

SLAA040

Program Files:

MONOIDM1.ASM

includes the complete software algorithm to control the monomode

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 monomode software

asm500.exe

C54x Code compiler

lnk500.exe

C54x linker

The timing requirements to interface the ’C54x to the ADC are provided in
Tables 6 and 7. 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 MONIDM1.ASM file
and save those changes. The next step is to recompile the three .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 7 gives a general overview of the software structure
(MONOIDM1.ASM).

Advertising