This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

McBSO SPI question for C6713 DSK

Other Parts Discussed in Thread: DAC8501

Hello everyone,

 

I am using McBSP0 on the C6713 to drive an SPI DAC (TI's DAC8501).

I noticed that if I do the following:

while(!MCBSP_xrdy(DAC_McBSP_Handle));
MCBSP_write(DAC_McBSP_Handle, 0x2222);
while(1); 

The McBSP keeps writing the value out repeatedly. Is is supposed to do this? or is it something in the configuration?

 

Any help will be very much appreciated.


  • This is what is classified as a Transmit Underflow condition which is described in Section 5.5.4 of the TMS320C6000 DSP Multichannel Buffered Serial Port (McBSP) Reference Guide  (SPRU580).

    During underflow condition, the transmitter continues to transmit the old data in DXR for every new frame sync signal FSX (generated by an external device, or by the internal sample rate generator) until a new element is loaded into DXR by the CPU or the DMA/EDMA controller.