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.

McASP with multiple ADC's in C6713

Other Parts Discussed in Thread: ADS8556

Hi,

I have 2 ADC (ADS8556) outputs connected to 2 serializers of the McASP in C6713.

The ADC is a 6-channel device. Once the conversion starts, it sends the 6 channel data-words

on its output (SDO_A). I want to receive 12-channel data from both the ADC's.

Want to use the DAT port for receiving. If I enable only one ADC or one serializer, I am able to get

all the 6-channels.

I have a question : if I enable the other serializer for the other ADC, can I read 12 words from the DAT port cconsecutively?

Because, the FS to both the ADC's is same and the CONVST_x signals to both the ADCs are also same.

Aditi.

 

  • Yes it should be possible

    Cheers,
    Gagan 

  • Hi,

    I am not able to. My code was working with one ADC - 6 channels.

    But as I setup another serializer for receive from second ADC and want to read 12 channels consecutively,

    I get only one interrupt in the ISR. After that if I let it run, the code hangs.

    It goes into some function called _HWI_lat1end; _HWI_lat2start.

    I dont know what these functions are.

    Also, could there be some issue with the clocks or something or could it be just a software issue.

    Can somebody please guide me?

    Thanks

    Aditi.

  • Aditi,

       Your question is to vague to help guide you. We don't know where _HWI_lat1end and _HWI_lat2start come from. Please be more specific in regards to what software you are using.

     

    From a hardware point of view, 12 channels is no problem for the McASP. You can refer to this article for throughput measurements if you have questions about the hardware ability.

  • Hi Drew,

    I am using CCSv4 along with a XDS510 USB PLus emulator.

    The McASP initialization code is taken from a TI example for C6713 DSK.

    The problem is :

    If I enable only 1 serializer say SRCTL0 for receive and all others to be inactive, the code works, ISR, interrupts

    everything work.

    The code hangs if I enable 2 serializers for receiving.

    I only get one interrupt in the ISR (I checked it by having a break-point int the ISR function).

    Any idea where to look at.

    Thanks,

    Aditi.