DSPRelated.com
Forums

Issues while setting up mcasp in Digital loopback - DM642

Started by modulasplus June 10, 2005
Hi all,

I have some issues when doing the Digital loopback in the
McASP0 in DM642. I am able to transmit the data but not
able to receieve it in the receiver.

What I need to do is use the Mcasp in Digital loop back
using internally generated clock and Frame sync. I am trying
to write some numbers into the XBUF0 and read it from the
RBUF1.

The steps I used to configure McASP is as follows:

1. Enable the Mcasp0 device in PERCFG
2. Followed the steps in section 3.1 of SPRU041c,f
3. Configured the Digital loopback as mentioned in 3.7.1 in
the same document (Used TDM mode, Synchronous clock etc..).
4. CPU polling is used to write and read the data into XBUF0
and RBUF1 respectively.
============================================================
(Can we use CPU polling when using Digital loopback in McASP?)
============================================================

I am only able to either transmit or receive both is not
happening. Also, eventhough I set the XRDY & RRDY bit in the
SRCTL0 and SRCTL1 repectively only one is setting,(ie, either the
XRDY or the RRDY).

Am I doing something wrong? Is there anything else that I should
take care of?
Expecting for response..
-Sree