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.

Synchronize Rx and Tx Streams on McBSP

Other Parts Discussed in Thread: OMAPL138

I'm trying to configure the McBSP on the OMAPL138 and I would like to synchronize the Rx and Tx streams.

Is there a way I can use the DIO driver that allows me to Sync the streams?

Note: the hardware configuration prevents me from using an external loopback on the clock pins.

 

The library function is:

SIO_Handle SIO_create(String name, Int mode, size_t size, SIO_Attrs *attrs);

where mode is either SIO_INPUT or SIO_OUTPUT and when this function executes that channel is started.

So how do I start both streams at the same time?

 

Thanks

 

 

  • When you my synchronize the streams, do you mean that you need the McBSP to be Transmitting/Receiving with the clocks aligned using some sort of software alignment? Can you explain in detail what you are trying to do at hardware level?

  • Hi

    Yes this is correct.

    On the Omap L138 Eval card I synchronize the streams by having an external loopback on the clock and frame signals.

    By starting the clocks at the same time (after calling the functions as shown above) I am sure the streams are synchronized.

    Without the option of an external loopback I don't see a way to make sure the streams start at the same time.