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.

AM2434: SPI Slave can't receive the data from master

Part Number: AM2434


Hi Expert,

My customer is using example mcspi_loopback_dma_am243x-lp_r5fss0-0_nortos_ti-arm-clang from AM24 SDK, it is SPI master, and he wants to to modify it to SPI slave. 

In syscfg file,D0 pinA8) for MOSID1 pinC9)for MISOB8 for CLKB7 for CS.

Here is the key code modification, The DMA + Blocking is used . Before the SPI master sends data, the MCSPI_transfer function is called, and waits for the SPI master to start sending data. If  SPI slave DMA receives data, the Blocking will be released. But now the SPI slave (AM24) didn't  received any data. Checked,  SPI master has already sent data with the logic analyzer, Could you please help to check below code and give some suggestions, Thanks!