Forums

ADSP-21065L TDM

Started by Steve Holle October 1, 2003
I've seen posts concerning using the TDM multichannel mode on the
20165L as interprocessor communications and I am attempting to do
that.  However, I only have one board, so I'm attempting to simulate
two boards by tying the Tx back to the Rx and the TxClk to the RxClk. 
I think I should be able to start a transmit DMA with specific slots
enabled and receiver back what I transmit, as long as the same slot is
enabled on both Tx and Rx.

I've selected the rising edge for the Tx data and the falling edge for
the Rx data.  Is this correct?  Is there any reason this shouldn't
work?  Does someone who's done something similar mind sharing their
initialization code?

Thanks
"Steve Holle" <sholle@link-comm.com> wrote in message
news:ba83847d.0310010944.36f8498d@posting.google.com...
> I've seen posts concerning using the TDM multichannel mode on the > 20165L as interprocessor communications and I am attempting to do > that. However, I only have one board, so I'm attempting to simulate > two boards by tying the Tx back to the Rx and the TxClk to the RxClk. > I think I should be able to start a transmit DMA with specific slots > enabled and receiver back what I transmit, as long as the same slot is > enabled on both Tx and Rx. > > I've selected the rising edge for the Tx data and the falling edge for > the Rx data. Is this correct? Is there any reason this shouldn't > work? Does someone who's done something similar mind sharing their > initialization code? > > Thanks
I haven't done any TDM specific stuff - so I can't help you with that. BUt you may want to consider using the loop back method instead of physically tying the pins together. It's just a cleaner way to test what you want to do. Cheers Bhaskar
I have figured out how to get the TDM to work with looped back data
and it seems to be giving me the data I expect.  I would be glad to
send anyone a copy of the test program I've created.  If there is a
better way to post examples please let me know.

sholle@link-comm.com (Steve Holle) wrote in message news:<ba83847d.0310010944.36f8498d@posting.google.com>...
> I've seen posts concerning using the TDM multichannel mode on the > 20165L as interprocessor communications and I am attempting to do > that. However, I only have one board, so I'm attempting to simulate > two boards by tying the Tx back to the Rx and the TxClk to the RxClk. > I think I should be able to start a transmit DMA with specific slots > enabled and receiver back what I transmit, as long as the same slot is > enabled on both Tx and Rx. > > I've selected the rising edge for the Tx data and the falling edge for > the Rx data. Is this correct? Is there any reason this shouldn't > work? Does someone who's done something similar mind sharing their > initialization code? > > Thanks
Could u please send me your example codes.

Thanks
Saurabh

sholle@link-comm.com (Steve Holle) wrote in message news:<ba83847d.0310020710.7b64500d@posting.google.com>...
> I have figured out how to get the TDM to work with looped back data > and it seems to be giving me the data I expect. I would be glad to > send anyone a copy of the test program I've created. If there is a > better way to post examples please let me know. > > sholle@link-comm.com (Steve Holle) wrote in message news:<ba83847d.0310010944.36f8498d@posting.google.com>... > > I've seen posts concerning using the TDM multichannel mode on the > > 20165L as interprocessor communications and I am attempting to do > > that. However, I only have one board, so I'm attempting to simulate > > two boards by tying the Tx back to the Rx and the TxClk to the RxClk. > > I think I should be able to start a transmit DMA with specific slots > > enabled and receiver back what I transmit, as long as the same slot is > > enabled on both Tx and Rx. > > > > I've selected the rising edge for the Tx data and the falling edge for > > the Rx data. Is this correct? Is there any reason this shouldn't > > work? Does someone who's done something similar mind sharing their > > initialization code? > > > > Thanks
>Could u please send me your example codes. > >Thanks >Saurabh > >sholle@link-comm.com (Steve Holle) wrote in message
news:<ba83847d.0310020710.7b64500d@posting.google.com>...
>> I have figured out how to get the TDM to work with looped back data >> and it seems to be giving me the data I expect. I would be glad to >> send anyone a copy of the test program I've created. If there is a >> better way to post examples please let me know. >> >> sholle@link-comm.com (Steve Holle) wrote in message
news:<ba83847d.0310010944.36f8498d@posting.google.com>...
>> > I've seen posts concerning using the TDM multichannel mode on the >> > 20165L as interprocessor communications and I am attempting to do >> > that. However, I only have one board, so I'm attempting to simulate >> > two boards by tying the Tx back to the Rx and the TxClk to the RxClk.
>> > I think I should be able to start a transmit DMA with specific slots >> > enabled and receiver back what I transmit, as long as the same slot
is
>> > enabled on both Tx and Rx. >> > >> > I've selected the rising edge for the Tx data and the falling edge
for
>> > the Rx data. Is this correct? Is there any reason this shouldn't >> > work? Does someone who's done something similar mind sharing their >> > initialization code? >> > >> > Thanks >
Could you please send me the code. My email id is arm(dot)techie(at)gmail(dot)com