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.
Mcbsp as uart
Started by ●June 26, 2007
Reply by ●July 3, 20072007-07-03
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.
________________________________
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.