MPC8313e DMA problem with more than 40 bytes

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

MPC8313e DMA problem with more than 40 bytes

959 Views
medina
Contributor III

I use DMA to read from PCI.

 

- The buffer is reserved by kmalloc and aligned to the size of the page

- I limit the transmission to multiples of 8*4 bytes. I use a complete cache line.

- I used direct mode. Now I use chain mode to improve the transfer speed but It's not enough yet.

- I tried with 32, 40 and 48 bytes. When I use 48 bytes the system hangs. I don't see this limitation  anywhere.

 

any suggestions? Has anyone experienced similar problems with DMA? 

 

Thanks a lot in advance.

 

Regards,

Medina

0 Kudos
1 Reply

441 Views
medina
Contributor III

Sorry, but in my previous message there was an error. When I wrote "32, 40 and 48 byte" I meant "32*4, 40*4 and 48*4 bytes".

 

Regards,

Medina
0 Kudos