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.

RTOS/AM5728: Data Corruption over SPI read

Part Number: AM5728
Other Parts Discussed in Thread: OMAPL138

Tool/software: TI-RTOS

Hi,

I am using  PROCESSOR-SDK-RTOS-AM57X - pdk_am57xx_1_0_7.

Here, I have slave device over SPI3_CS0. Data rate configured as 32 bits, Phase and Polarity are 0 and bit rate is 1Mhz.

Now, when I try to continuously read particular address on slave device, most of the time I am reading it correctly. But sometimes I am reading wrong value. On probing MISO, I am seeing correct data on oscilloscope but over SPI_Rx buffer I am receiving different value.

Also, I am reading 'read only' CHIP_ID, so it will never change.

Can you tell us what can be reason for this data corruption?