How to use ecspi slave in DMA mode on i.MX6ULL

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

How to use ecspi slave in DMA mode on i.MX6ULL

ソリューションへジャンプ
2,023件の閲覧回数
chenxibing1
Contributor III

hi!

    I need to use ecspi slave in DMA mode on i.MX6ULL.Kernel version is 4.14.98 and it doesn`t use DMA in slave mode.Pls if there is anything that can help me with documentation or patches.

    THANKS!

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
2,011件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Unfortuately the ECSPI slave driver is not using DMA, but PIO. Although DMA is defined in dts file, it is for master mode.

We do have an App note that may help to enable this, it is for the i.MX8MM but it is the same ECSPI module present in the i.MX6ULL
https://www.nxp.com/docs/en/application-note/AN13633.pdf

Best regards,
Aldo.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,012件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Unfortuately the ECSPI slave driver is not using DMA, but PIO. Although DMA is defined in dts file, it is for master mode.

We do have an App note that may help to enable this, it is for the i.MX8MM but it is the same ECSPI module present in the i.MX6ULL
https://www.nxp.com/docs/en/application-note/AN13633.pdf

Best regards,
Aldo.

0 件の賞賛
返信
2,000件の閲覧回数
chenxibing1
Contributor III

Hi,

   Thank you so much,Aldo.

    I see point 5.2.2  that there is a patch to support 4-byte aligned DMA in slave mode.Could you give me this patch?

   THANKS!

    Best wishes,

    Chen.

0 件の賞賛
返信
1,983件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

yes, please download from here:
https://www.nxp.com/docs/en/application-note-software/AN13633SW.zip

Best regards,
Aldo

0 件の賞賛
返信