i.MX93 LPSPI transfer gives zeroed bytes. Removing DMA helps

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

i.MX93 LPSPI transfer gives zeroed bytes. Removing DMA helps

ソリューションへジャンプ
778件の閲覧回数
pzab
Contributor II

I have a driver that is using LPSPI3 to communicate with other IC. When I have a frquency set up to 1MHz all transfers are correct. When I go higher - let's say 8MHz, I see data transfered between i.MX93 and IC, but received buffer contains zeros.

I tried to to remove DMA with removing those too from device tree:

/delete-property/ dmas;
/delete-property/ dma-names;

and this helps and solve the issue. My question is, what is wrong with DMA? Is it a known bug? 

タグ(3)
0 件の賞賛
返信
1 解決策
692件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

A0 has issue about work abnormally in high baudrate mode. Due to the broken eDMA on i.MX93 A0, lpuart/lpspi can only use cpu mode to do data transfer.this issue hasn't been fixed on A0 and wait for A1 silicon test

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
732件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

do you use A0 or A1 chip?

0 件の賞賛
返信
707件の閲覧回数
pzab
Contributor II

It's A0

0 件の賞賛
返信
693件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

A0 has issue about work abnormally in high baudrate mode. Due to the broken eDMA on i.MX93 A0, lpuart/lpspi can only use cpu mode to do data transfer.this issue hasn't been fixed on A0 and wait for A1 silicon test

0 件の賞賛
返信