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.

OMAP-L138: OMAP-L138 McBSP and DAC8534

Part Number: OMAP-L138
Other Parts Discussed in Thread: DAC8534

I was reading in the sprugj6c for the McBSP set up and operation. I noticed that in section 2.10 it states "The McBSP on this device does not support the SPI protocol." Does that mean that I can't use the McBSP to control the DAC8534? I ask this because it is a kind of SPI like device.

If I can use it with the McBSP is there better example on how to set up the McBSP with a device. I have been looking over the MCSP_MasterExampleProject and it isn't clear to me on how to set it up to work with external hardware. 

Thanks,

Jorden Luke

  • Hi Jorden,

    You should be able to use this DAC with the McBSP.
    From McBSP side you have:
    CLKX -> Transmit clock
    FSX -> Transmit frame sync with controllable polarity (you can set it to active low, see Section 26.2.5.1 Frame and Clock Operation of the TRM)
    DX -> Transmit data

    On DAC8534 side you have:
    SCLK -> clock
    Din -> data input
    SYNC (active low) -> Level-triggered control input (active LOW). This is the frame synchronization signal for the input data

    For the SYNC signal you could use a GPIO to control it.

    For the software part I'm looping in the design team to elaborate. I am not aware of other McBSP example codes. 

    Hope this helps.

    Best Regards,
    Yordan

  • Is there a better example of how to using the McBSP interface with an actual device. I am having a hard time trying to figuring out how to use it with a a device with just the Loopback and master example.

    Thanks for your help so far.