MPC8313e DMA problem with more than 40 bytes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC8313e DMA problem with more than 40 bytes

1,782 次查看
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 项奖励
回复
1 回复

1,264 次查看
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 项奖励
回复