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.

TMS320C6746: Unable to output from SPI0 on C6746

Part Number: TMS320C6746

Hi,

I am working with the TMS320C6746 DSP which is integrated into one of our products. The DSP is running StarterWare(OS-less). The system already makes use of SPI1 for flash. 

I am trying to use SPI0  to communicate with another peripheral but I seem to be unable to achieve any output on either Clock or MOSI. 

All the examples for the evaluation kits (LCDK and evm) use SPI 1 so I made the following modifications to the sample code:

  1. Swap SYS_INT_SPI1_INT for SYS_INT_SPI0_INT
  2. Swap  SOC_SPI_1_REGS for  SOC_SPI_0_REGS
  3. Swap function calls  SPI1CSPinMuxSetup for SPI0CSPinMuxSetup
  4. Swap HW_PSC_SPI1 for HW_PSC_SPI0

Am I missing something here? I still can't get SPI going

Thanks