Hi.
I'm using the C5515 ezdsp stick and want to setup SPI communication. So far so good, everything compiles and runs and I can monitor SPI_CLK, SPI_TX, SPI_RX and SPI_CS0 on the scope. For TX I transmit a single 16-bit word at once. Seems to work when I look at the scope for SPI_TX but I also see some bits on SPI_RX when I execute SPI_write. The same holds if I execute SPI_read I see something on SPI_TX. How to turn off this behavior? I.e. what I want is SPI_TX=0 while SPI_read is going on and SPI_RX=0 while SPI_write runs. I've looked at the SPI registers and the Loopback bit is disabled all the time while I execute SPI_write and SPI_read. So what's the problem?
The 2nd problem I have is a huge delay between to successive frames for SPI_read. I need to transfer 416 frames of 16-bit "characters" at once. But what I see is not a continuous transfer of 416x16 bits but: after every 16-bits there is no action for about 10us then comes the next 16-bit. How to solve this problem?
My SPI clock frequency is SYS_CLK/8, i.e. 12.5 MHz.
Thanks for all your help
Andreas