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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
779 Views
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? 

Tags (3)
0 Kudos
Reply
1 Solution
693 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
733 Views
joanxie
NXP TechSupport
NXP TechSupport

do you use A0 or A1 chip?

0 Kudos
Reply
708 Views
pzab
Contributor II

It's A0

0 Kudos
Reply
694 Views
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 Kudos
Reply