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.

MCU-PLUS-SDK-AM263X: Unable to read the data from a SPI slave device using MCSPI on am263x

Part Number: MCU-PLUS-SDK-AM263X
Other Parts Discussed in Thread: SYSCONFIG

Hi Team,

I am using 'mcspi_loopback_am263x-cc_r5fss0-0_nortos_ti-arm-clang' example code.  I see whatever data is transferred on 'gMcspiTxBuffer' is appearing on 'gMcspiRxBuffer'.

For my project I need to read the data back from BQ79600 SPI slave. I sent the read request command and then I tried to transfer 0xFF on MOSI to read back the response. I see the response from BQ79600 on the SPI bus, but the 'gMcspiRxBuffer' doesn't reflect that data instead I see the data i.e transferred on MOSI (same as gMcspiTxBuffer ). 

I need your help to guide on what changes I need to do, to avoid loopback and get the valid response data ( from BQ79600 ) in 'gMcspiTxBuffer'