Manual background
@ADSAMPLE = A;
@ADSAMPLE = #(TLC5618_LATCH_ATLC5618_FAST_MODETLC5618_POWER_UP) ; set the mode of the DAC
data(BDXR) = @ADSAMPLE; send out the sample to the serial DAC SEND_SERIAL_END:
.endif
* test for table end, set pointer back if true
.if SAVE_INTO_MEMORY TC = (AR0 == AR7)
if (NTC) goto STORE_END
* set pointer back to table start AR7 = #(data_loc_A)
AR6 = #(data_loc_B)
.endif
STORE_END: RETURN

Software Overview

; is AR7 = AR0? (table end reached?)

;

; point to first date location of the storage table ; point to first date location of the storage table

; jump back into data aquisition routine

**************************************************************

*IRQ_INT0:

*Interrupt routine of the external interrupt input pin INT0

**************************************************************

IRQ_INT0:

return_enable; interrupt is not in use

**************************************************************************

*BXINT0:

*Interrupt routine of the serial transmit interrupt of the buffered SPI

**************************************************************************

BXINT0:

return_enable

; interrupt is not in use

.sect ”.text”

 

.copy ”calibrat.asm”

 

.end

 

Interfacing the TLV1562 Parallel ADC to the TMS320C54x DSP

85

Page 91
Image 91
Texas Instruments manual Software Overview, Interfacing the TLV1562 Parallel ADC to the TMS320C54x DSP