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.

EVMK2G: Different behavior SPI Read flash ID using MPMCL and CCS debugger

Part Number: EVMK2G

Hello,

I have written a program reading the SPI NORFLASH id every second. It is using the TI RTOS SPI library to perform the transaction inside SWI.

When loading the code from the linux (coming from TI SDK 06_03_00_106) using MPMCL I get errors on read ID. Goes from 1% of the time when the SPI speed is set to 80Khz to 25% of the time at 1Mhz (default speed). The error is a byte missing but the number byte matches the transaction number. So transactions are for example from 0xA 0xB 0xC 0xD to failing scenario as 0xA 0xB 0xD 0x0. 

This behavior is not seen when loading the code using the on board debugger with CCS. When running from there the failure is never seen, and get 100% results.

I cannot find what to change in the configuration. Any idea?

thank you,

Vincent