DSPRelated.com
Forums

SPORT as SPI slave

Started by djthurin August 11, 2004
Hi,

I've been trying to use a SHARC (21065 and 21262) SPORT as a SPI
slave. I have observed that when I receive data, it is right
shifted by a couple of bits (usually 3, but not always). If I send a
"dummy byte", ie a byte in which the Sharc is not selected (selection
determined by a externally generated frame sync), then the data will
be received correctly.
However, my new hardware platform is incapable of sending the "dummy
byte".
The SPORT is configured to use an external clock and external frame
sync. SPI devices only send out clocks when necessary, so there is
not a continuous clock, like the SPORT would prefer.
I've tried changing the Late Frame Sync, data independent frame sync,
frame sync required, etc.

Does anyone have any ideas how to get the SPORT to perform like a SPI
port?

Dan