DSPRelated.com
Forums

Query on MCBSP

Started by Harish Thampi S January 29, 2002
Hi group.,

I have a question on MCBSP. in the attached project, I have
declared a transmit and receive array. After inintialising the
transmit array, I have the following code.

for(i=0;i<50;i++)
{

*McBSP1_DXRptr=Transmission[i];
for(j=0;j<100;j++) ;
Receiving[i]=*McBSP1_DRRptr;

}

The problem is that I am not doing any configuration of MCBSP and the
SPCR register is set to zero. Even in this condition the data written
to the DXR appears immedietly in the DRR register. Please let me know
how this could happen. I am using DSK6711.

Note that after the execution of the program, the receive buffer gets the
same data as in the transmit buffer. The contents of SPCR = 0x0000.
So digital loop back is also disabled. Regards
Harish


Attachment (not stored)
mcbsptest.zip
Type: application/x-zip-compressed

--------\
--
Information transmitted by this E-MAIL is proprietary to Wipro and/or its
Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto: and delete this mail
from your records.
--------\
--