TV Converter Box User Manual
Software Overview
40 SLAA040
8.5.6 C-Callable with Mono Interrupt Driven Mode Using CSTART to Start Conversion
The following descriptions explain the software for the data acquisition with a user
friendly C program interface in monomode using the CSTART
signal. The
required interface connections are shown in Figure 2.
Program Files:
C1562.ASM Includes the complete software in the C-layer
asm1562.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
C1500.exe Compiler c-code into assembler
mnem2alg.exe Mnemonic – algebraic instruction converter
asm500.exe C54x Code compiler
lnk500.exe C54x linker
rts.lib Library to organize boot loader
The timing requirements for interfacing the ’C54x to the ADC are provided in
Table 13. The STEP numbers given there can be found again as Marker in the
code. This helps to debug and verify the code.
Code verification:
The user only needs to edit the C1562.C – software file and to run the AUTO.BAT
to adapt the acquisition. This software samples one of the four channels, with a
specified number of samples, and stores each sample into a defined memory
location.
To verify the software, the user must change the code in the C1562.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.