imx6q spi slave program change

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

imx6q spi slave program change

1,372件の閲覧回数
413734891
Contributor I

        Hi, my linux kernel is 4.1.15, my pad is connected to DSP through SPI。Now I want my pad wors as SPI slave, but I don't know how to do. So I want to know:  Do I need to rewrite a spi slave program and put it into the Linux kernel, or just modify the spi configuration register ?  And how  can I know the pad works which slave mode?

ラベル(5)
0 件の賞賛
返信
2 返答(返信)

1,194件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi 留杰 付

first one can check ecspi errata and check patches with description

Chip Errata for the i.MX 6Dual/6Quad and i.MX 6DualPlus/6QuadPlus - IMX6DQCE

[PATCH RFC 0/5] *** SPI Slave mode support *** 

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

0 件の賞賛
返信

1,194件の閲覧回数
zhipeng_wu
Contributor I

hi igorpadykov,

I am alse using linux4.1.15 and imx6, I want to run spi slave , and I patch "imx_add_spi_slave_mode.path"(add in the attachment), do I choose the correct patch?

In your last reply, you mentioned "[PATCH RFC 0/5] *** SPI Slave mode support *** ", How can I download this patch? Do you give a link, please?

thanks, 

0 件の賞賛
返信