No response is observed when spi-slave mode is set on imx6

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

No response is observed when spi-slave mode is set on imx6

523 Views
amit_priye
Contributor I

Hi,

We have applied the patch provided on below link to enable spi slave mode .

How to support spi slave in kernel4.1.15 & imx6? 

Spi driver is probed successfully , When we connect is to spi master device and spi master device send data nothing is observed  in dmesg .

From hardware prospective we have verified that spi-master data  and clock properly send the spi slave line .

Our actual requirement is to make imx6 as slave and microcontroller as master which sent data on spi line .We need read and write through the
spi-slave (ie imx6 ).Any suggestion related to this please provide the same .

Thanks

0 Kudos
1 Reply

433 Views
jimmychan
NXP TechSupport
NXP TechSupport

our BSP is not support SPI slave mode.
Only kernel 4.15 and 4.16 from mainline supports it.

In order to use SPI slave in these kernels the "spi-slave" property needs to be passed in the devicetree as explained at:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/Documentation/devicetre...


For your reference: 

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/patch/?id=71abd29057cb17b6b95324218...

0 Kudos