Configuring SPI as Slave on IMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configuring SPI as Slave on IMX6

1,693 Views
mahmood_md
Contributor I

Dear Members,

We are configuring SPI as slave mode on IMX6.

We have applied below patch to support SPI as slave mode How to support spi slave in kernel4.1.15 & imx6? 

patch file name imx_add_spi_slave_mode.path.zip

SPI master is a controller board, whenever the master sends data to the SPI slave, we do not see any event/data at slave side.

Can you please help us to tell how to proceed at the SPI slave side, that we can come to know data has arrived. 

Thanks,

Mahmood

Labels (3)
0 Kudos
Reply
1 Reply

1,556 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mahmood

one can try with baremetal ecspi test, and then compare settings with linux

rt-thread/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/spi at master · RT-Thread/rt-thread · GitHub 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply