does anyone know how to initialize the tlc32040 in assembly language.|
my project is to send digital data then using tlc32040 on tms320c31
dsk to convert the data into analog signal. i'm a beginner using the
tms320c31 dsk. thank you.
Look in the DSK3APPS subdirectory for the file LOOPAIC.ASM
The TLC32040 AIC receives its timing information using what is known as a
'secondary transfer' that is interleaved with the DAC data. The problem
with this is two fold.
1) The method used for signaling a secondary transmit is to set the 2 LSB's
of an outgoing DAC value where the 2 LSB bit pattern determines which
register it to be reprogrammed. YOU MUST THEREFOR CLEAR THE 2 LSB'S FOR
NORMAL DAC DATA.
2) If your application fails to respond to each DAC interrupt, the DSP and
AIC can get out of synch, causing the data bits to 'slip' relative to the
frame synch. Being 'data' this can easily initiate an AIC reprogram.
3) The *simple* way to prevent this is to use the DMA to recirculate the DXR
value. That is, once the AIC is running, set the DMA to continuously
read-write the DXR value. This however consumes the DMA for other purposes.
VC33 DSK - PCM3003 Codec
The PCM3003 stereo codec on the VC33 DSK is *not* serialy programmed, and
therefor is immune to such problems. However, it is a sigma-delta
converter, and therefor of no use for control or instrumentation
applications. Basically you cant convert a DC level, and the sample delay
Hope this helps
At 04:27 AM 8/14/03 -0000, you wrote:
>does anyone know how to initialize the tlc32040 in assembly language.
>my project is to send digital data then using tlc32040 on tms320c31
>dsk to convert the data into analog signal. i'm a beginner using the
>tms320c31 dsk. thank you.
|Keith Larson |
|Member Group Technical Staff |
|Texas Instruments Incorporated |
| 281-274-3288 |
| www.micro.ti.com/~klarson |
| TMS320C3x/C4x/VC33 Applications |
| TMS320VC33 |
| The lowest cost and lowest power 500 w/Mflop |
| floating point DSP on the planet! |