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.

TMS320C6748: SPI Slave Callback Mode, can only run for the first time.

Part Number: TMS320C6748
Other Parts Discussed in Thread: OMAPL138, OMAP-L138,

Dear TI experts,

     The pdk version is pdk_omapl138_1_0_11.

     Based on the SPI_LoopbackExample_lcdkOMAPL138_c674xDMAExampleProject, I use SPI PORT1 in my own project.

     And I use the SPI as a Slave in callback mode with EDMA.

     The fist transfer, when the Master start transfer, the DSP SPI Slave can enter the callback function and get the right data.

     But if the Master start a second transfer, the DSP SPI Slave will never enter into the callback function.

     Attached is the code associated with the SPI in my project. I have no idea where is the problem.

     Would you please help? Thank you.

Frank

     D9K_SPI1.cppD9K_SPI1.h