DSPRelated.com
Forums

Mcbsp as uart

Started by krrs...@yahoo.co.in June 26, 2007
Hello all,
I am trying to run the code from spra633 to implement a uart using the
first method (mcbsp in serial port configuration) on a dsk6713. The
function ProcessTransmitData() seems to work fine and to fill "xmitbuf"
correctly, the transmit and receive edma events do occur but the data I
get in "recvbuf" is all wrong,the values in "recvbuf" are also random (not 0x0000 or
0xFFFF). I also tried by shorting the pins DX, DR, and FSR like specified in the
document.But the same problem persists.

How can I troubleshoot this problem?

Thanks in advance,
N.sriram.
Please reset your recvbuf by memset, to be sure you receive something

________________________________

From: c... [mailto:c...] On Behalf Of k...@yahoo.co.in
Sent: 26 2007 8:11
To: c...
Subject: [c6x] Mcbsp as uart

Hello all,
I am trying to run the code from spra633 to implement a uart using the
first method (mcbsp in serial port configuration) on a dsk6713. The
function ProcessTransmitData() seems to work fine and to fill "xmitbuf"
correctly, the transmit and receive edma events do occur but the data I
get in "recvbuf" is all wrong,the values in "recvbuf" are also random (not 0x0000 or
0xFFFF). I also tried by shorting the pins DX, DR, and FSR like specified in the
document.But the same problem persists.

How can I troubleshoot this problem?

Thanks in advance,
N.sriram.