This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sending data with SPI pins

Other Parts Discussed in Thread: TMS320C6678

Hi

I have a custom board with TMS320C6678 and FPGA Virtex6. I want to send a random data from this DSP to the FPGA with SPI pins. I set the registers according to SPI datasheet page29. I list the registers that i set at below:

set_reg(SPI_GCR0,0x00000000); 
set_reg(SPI_GCR0,0x00000001);

set_reg(SPI_GCR1 ,0x00000003);
set_reg(SPI_PC0 ,0x00000602); 
set_reg(SPI_DAT1 ,0x10015555); 
set_reg(SPI_FMT0 ,0x3F00FF10); 
set_reg(SPI_DELAY,0xFFFF0000); 
set_reg(SPI_GCR1 ,0x01000003); 

set_reg(SPI_DAT0 ,0x55555555);

I want to send 0x55555555 data to FPGA and see that on chipscope but i can't see any clock or data on SPCK or MOSI pin. How can i fix this problem?