8 Software Overview

Software Overview

8 Software Overview

The software in this report shows how to use all modes of the TLV1562 and useful variations for each mode. It also includes a C program to start data acquisition from a C level. To limit the number of programs, the report supplies five files for running the ADC in five modes; a sixth program shows the C-callable function. Each program can enable different software blocks to give the user a large choice for generating the data acquisition. For more details, see paragraph 8.3.9.

Instead of using numbers for memory addresses or constants, very often symbols replace the numbers. For that, the symbol (name) is assigned with the real value (number) in the file header. The advantage of doing this is the higher flexibility. Instead of changing a variable memory location in every related instruction, the value for this location is changed only once in the program header. This prevents software bugs from appearing through a forgotten correction of a related instruction.

BSPC_BUFFER_START set 00800h

; memory location (800h) for the

 

; start address of the SPC buffer

@AXR = #(BSPC_BUFFER_START)

; assign the starting address of auto

 

; buffer

8.1Software Development tools

The DSKplus Starter Kit of the TMS320C54x comes with a free compiler to generate an absolute object file from assembler code (DSKPLASM.EXE in the TMS320C54x DSKplus development tools). The object code is then loaded into the GoDSP software to run it on the kit.

An advanced version of this kit is the TMS320C54x Optimizing C Compiler/ Assembler/Linker (for example: TMDS324L855-02). These tools allow generation of object code from C and assembler files. Furthermore, they also link the code to an executable COFF file. The software in this report was created with these tools.

For more information visit TI’s Internet page at:

http://www.ti.com/sc/docs/dsps/tools/c5000/c54x/index.htm.

8.2DSP Memory Map

Figure 6 shows the memory map assigned to the application.

PROGRAM MEMORY (on-chip DARAM 10k words (OVLY=1) from 0080h to 27FFh):

18SLAA040

Page 24
Image 24
Texas Instruments TLV1562 manual Software Overview, Software Development tools, DSP Memory Map