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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

938件の閲覧回数
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 件の賞賛
返信
1 返信

848件の閲覧回数
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 件の賞賛
返信