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 Sample application in the pspdrivers_01_30_00_05 package

Other Parts Discussed in Thread: OMAP-L137

Hi,

My setup is as follows:

  • Code composer studio 5.3.0.0009
  • DSP/BIOS Version 5.33.06
  • CG tools 6.1.17
  • EDMA3 LLD version 01.11.03.01
  • OMAP-L137 EVM

I try to successfully run the Spi Sample application (in DMA mode) that comes with the pspdrivers_01_30_00_05 package. After modifying some parameters in the code I have successfully run a few SPI instructions, but the subsequent SPI instructions don't work. If the application is modified to first read the flash status register, the first instruction works fine if I use parameters as follows:

spiParams.spiHWCfgData.delay.c2TDelay   = 65000u;

spiParams.spiHWCfgData.delay.t2CDelay   = 65000u;

dataparam->flags = 0;

 

My Printf Logs:

EDMA3 : edma3init() passed

write is Enabled

 

Do you have any tips? Should I adjust any parameters in the code to run the Spi Sample application successfully?

Please help.

 

Regards,

Stig-Helge Larsen