DSPRelated.com
Forums

C6713 McASP to program precision ADC

Started by Aditi Akula June 2, 2011
Hi,

I am using a TI DSP C6713.

In the design, the McASP1 is connected to the control interface of ADC
ADS8556

as well as the serial data interface.

I am trying to program the ADC ADS8556 using McASP and have a couple of
questions.

1) Can we program the ADS8556 (precision A to D Converter) using McASP?

2) After initialization of McASP, I can see clock and framesync (probed on
the respective pins

of ADS8556), but cannot see the data coming from the McASP Xmt pin of the
DSP.

3) I think the reason could be that the McASP cannot function in clock-stop
mode and so

it generates an error since the framesync and clock are continuous and since
there is only one

control register in ADS8556, I transmit only one word on the McASP data
lines.

Is this reasoning correct?

4) What is a possible way to program a codec using McASP pins of C6713?

If possible can you guys give me some source code for McASP initialization
for this case.

Thanks,

Aditi.
Aditi-

Suggest to search TI's site for "McASP limitations". A quick search shows:

-data transfers must be 32-bit
-no support for -Law / A-Law
-no support fo AC-97 codec framing
-multichannel TDM must be less than 32 channels
-SPI not supported

there may be others. But overall, McBSP and McASP should be similar. Maybe the 32-bit thing is biting you.

-Jeff

> I am using a TI DSP C6713.
>
> In the design, the McASP1 is connected to the control interface of ADC
> ADS8556
>
> as well as the serial data interface.
>
> I am trying to program the ADC ADS8556 using McASP and have a couple of
> questions.
>
> 1) Can we program the ADS8556 (precision A to D Converter) using McASP?
>
> 2) After initialization of McASP, I can see clock and framesync (probed on
> the respective pins
>
> of ADS8556), but cannot see the data coming from the McASP Xmt pin of the
> DSP.
>
> 3) I think the reason could be that the McASP cannot function in clock-stop
> mode and so
>
> it generates an error since the framesync and clock are continuous and since
> there is only one
>
> control register in ADS8556, I transmit only one word on the McASP data
> lines.
>
> Is this reasoning correct?
>
> 4) What is a possible way to program a codec using McASP pins of C6713?
>
> If possible can you guys give me some source code for McASP initialization
> for this case.
>
> Thanks,
>
> Aditi.
>

_____________________________________