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
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:
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
18SLAA040