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.

TMS320C5515 - spi interface problem

Other Parts Discussed in Thread: TMS320C5515

Hello,

I am using tms320c5515 fingerprint module.I have to interface and program  SPI flash(W25X40AVNING) which is on the core board.

I want a program for SPI flash read write. I have downloaded CSL SPI  test program but when I try to debug my project it gives following output.

CSL SPI Test

SPI Instance Initialize successfully

SPI Instance Opened successfully

SPI Instance Configured successfully

SPI Instance Write successfully

SPI Instance Read successfully

SPI Instance deIntialize successfully

SPI Instance Close successfully

 CSL SPI Test Failed!!

CSL test program is using PPMODE-mode 5 but I have checked the pins used for SPI interface and from schematic and I have concluded it is PPMODE-MODE 1. I made these corrections in my program but still it gives me same output.

can you suggest me what is wrong?
If anyone have the code for SPI flash for FDK demo board please forward it to me.