Other Parts Discussed in Thread: TMS320F28035
This is my first time using SPI with TMS320F28035. I am trying to read/write an array over SPI. Does SPI allows us to send only single byte or there could be an N-Byte operation? I am interfacing a Microchip's ENCX24J600 ethernet controller
What I am trying to do is in Mode 0,0 send and receive N bytes of data . For example lets send 4 bytes of data and receive 4 bytes of data in full duplex operation :
1-SPISTE goes low
2-SPICLK runs with the required baud rate 8*16 times while SPISTE is low
3- SPISIMO starts to put 4*16 bits of data
4. When SPISIMO is done then SPISIMO starts to put 4*16 bits of data
5. SPISTE goes high
It would be very great if someone could explain with a sample code to read an array or to write an array. Of course if this is possible with TI dsp. I believe anything is possible with TI products..