Adding spi slave support for imx8qm evaluation board with Yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Adding spi slave support for imx8qm evaluation board with Yocto

1,060 次查看
s233199
Contributor II

Hello, I need to write an spi slave driver for an IMX8QuadMax evaluation board, using Yocto. I read that starting from kernel 4.13 Linux has also slave support in spi.c, but my board has an older version of the kernel. I wanted to know if I can update it to the needed version, and how. I am new to yocto and to driver development. Thank you in advance for your support!

0 项奖励
回复
1 回复

763 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Erica

i.MX8QuadMax processor is not officially launched and there is no full support for it yet.

One can try to add slave support using its driver sources on

spi-fsl-lpspi.c\spi\drivers - linux-imx - i.MX Linux kernel 

and slave software for this module from other processors software packages, like

EVKB-IMXRT1050 SDK..devices/MIMXRT1052/drivers/fsl_lpspi.c

Welcome | MCUXpresso SDK Builder 

or sect.4.LPSPI Slave Operation AN5320
https://www.nxp.com/docs/en/application-note/AN5320.pdf

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

0 项奖励
回复