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.

SPI Slave mode Error

Hi,

I am trying to get SPI work in Slave mode using PSP driver.

On our target board C6748, there are two SPI (let's say Spi0 and Spi1).  The strange thing is that with the exactly same configuration Spi0 works fine while Spi1 keep reporting error. During debugging, I could see there is Data Length error (bit 0 DLENERRFLG in SPIFLG) occurred in Spi1 register.

Any idea what could cause this? Any help will be appreciated.

The tools that I am using:

CCS V4.2.1.00004

BIOS 5_41_10_36

EDMA edma3_lld_01_10_00_01 (Also tried edma3_lld_01_11_02_05)

pspdrivers_01_30_01

 

 

Regards,

Sarah

  • Sarah,

    Are you using the example provided by me? It uses the spi instance 1. (But this app is for board to board communication!! )

    You can try comparing the sample application provided by me and your application. Please double check the PINMUX settings etc 

    Could you please explain your setup?

    Thanks and Regards,

    Sandeep K