I am attempting to communicate between 2 C6457 DSPs using McBSP1.
I have a code that runs on the EVM kit, but when running the same code on my setup, I get no data transfers.
* Transmitter
The physical connection is verified using logic analyzer and configuring DX and FSX as GPIOs and CLKX is running.
When I try to make a transfer using CSL functions (after polling on XRDY), there is no frame sync or movement on the data lines.
Connecting with JTAG I see that DXR is still 0x00000000, while I would expect to see the last value written.
* Receiver
Physical connection is verified as above. Enabling the transmitter without sending anything causes the receiver to have RRDY set. It does not matter how many times I read DRR, RRDY is set.
RFULL is sometimes on, and at some point I get XSYNCERR and/or RSYNCERR. The receiver gets all 0's or random numbers (Nothing like the data I am sending).
***************************************************************************
I have verified that I get the same setup for the EVM as I do with my setup. The register dump is below.
DRR 00000000
DXR 00000000
SPCR 02C30001
RCR 000100A0
XCR 000100A0
SRGR 25DC010A
MCR 00000000
RCERE0 00000000
XCERE0 00000000
PCR 00000A00
RCERE1 00000000
XCERE1 00000000
RCERE2 00000000
XCERE2 00000000
RCERE3 00000000
XCERE3 00000000
PID 00020103
***********************************************
Other information:
McBSP0 is used in SPI mode without any problems.
Any help on this issue would be greatly appreciated.
Regards,
Jorgen