EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Problems with McBSP Interprocessor communication

Started by arm_techie arm_user November 21, 2007
Hi all,
I am using TI's TMS320F2812 for my project. My architecture goes
like this. I have one master DSP which has to talk to 3 Slave DSPs.
For this I am using McBSP port.
I have many doubts in this.
1. How are the synchronization issues handled if you are using McBSP?
2. How can I use the TDM feature of the McBSP?
3.
Companding, which happens to be the major advantage of McBSP also is
not working fine in my case.
If I disable companding, it works fine in loopback mode.
If I enable companding in loopback mode, my communication goes like this.

If I transmit '0', I am getting '0'
If I transmit '1', I am getting '2'
If I transmit '2', I am getting '2'
If I transmit '3', I am getting '4'
If I transmit '4', I am getting '4'
and goes on like this.

I dont know what the problem is. Are there any clock issues?

If anybody has a working code, kindly share that with me.

Help of any sort is greatly appreciated.
--
With Regards,
OST

Memfault Beyond the Launch