Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/66AK2H14: SPI Driver Support

$
0
0

Part Number:66AK2H14

Tool/software: TI-RTOS

Hi,

We have designed  customized  board  using 66AK2H14. We are using CCSV7.4 , processor_sdk_rtos_k2hk_4_03_00_05 and TI XDS 110 debug probe to connect board to CCS.

We have connected one SPI slave device to SPI1.

I have written the application using spi driver function. [C:\ti\pdk_k2hk_4_0_9\packages\ti\drv\spi ]

when I run the application:

         CCS hangs at      while (((intCode & SPI_INT_MASK) != 0) && (loop == true))  of   SPI_v0_hwiFxn() in SPI_v0 file as loop is always true.

         I checked SPIINT0 register value in memory browser.

         SPIINT0 = 0x00000350.[ TXINTFLG , RXINTFLG , OVRNINTFLG , BITERRFLG has been set ]

        I checked by reducing the bit rate to 200KHz as I was getting bit error but this doesn't help.

Even In loop back mode I am getting the same result.

Please help me to solve this.

Regards,

Mahima Shanbag

  

    

        

 

            

  


Viewing all articles
Browse latest Browse all 262198


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>