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.

TMS320C6748: Using McASP to drive a parallel ADC

Part Number: TMS320C6748

Hi,

I plan to use McASP to drive 2 8-bit parallel ADCs.The sample rate is 1MHz. And I also the fifo inside McASP for data buffer.

Can McASP support this application,and is there any reference design I can get?

Thank you.

  • It could be possible to use this serial interface as a parallel interface, but it depends on the signaling format of the ADCs. How do you propose to hook up the bit clock and word strobe/clock? Can you share the ADC part numbers?

    There are 16 data lines on the McASP peripheral - typically they represent 16 audio channels. Each channel would be processed in software separately. But I can imagine clever software could fill each channel with a bit stream that contains parallel data. I don't think we have an example of this. Both 8-bit interfaces would need to use the same clock during transmit, but the lower 8-bits or upper 8-bits can be disabled while the other is in use.

    See TRM Section 23.0.21.1 Serializers (SPRUH79)
    The serializers take care of shifting serial data in and out of the McASP. Each serializer consists of a shift
    register (XRSR), a data buffer (XRBUF), a control register (SRCTL), and logic to support the data
    alignment options of the McASP. For each serializer, there is a dedicated serial data pin (AXR[n]) and a
    dedicated control register (SRCTL[n]). The control register allows the serializer to be configured as a
    transmitter, receiver, or as inactive. When configured as a transmitter the serializer shifts out data to the
    serial data pin AXR[n]. When configured as a receiver, the serializer shifts in data from the AXR[n] pin.
    The serializer is clocked from the transmit/receive section clock (ACLKX/ACLKR) if configured to
    transmit/receive respectively.
    All serializers that are configured to transmit operate in lock-step.

    Refer to this thread:
    e2e.ti.com/.../371911

    You might require a multi-channel SPI port instead of McASP.

    Regards,
    Mark