edma on dspi is so ineffective

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

edma on dspi is so ineffective

699 次查看
yan211
Contributor I

 I am working on the powerfull mcf54415,In my eyes ,the edma can get all out of the chip,but when i dive into the spi code, i was comfused. the edma did nothing ,but make thing conplicate.it just transfer 16 byte a time, then in the enoq interrupt ,it trigger rx edma channel to get the rx byte to dma buffer, then copy to user buffer,SO what the use of edma.

  Can any one give a explain? Can i make the dma to transfer 1MB a time with just a interrupt?

标签 (1)
0 项奖励
回复
3 回复数

399 次查看
JimDon
Senior Contributor III

That was what I thought as well. If you have to copy it to the registers, whats the point?

 

0 项奖励
回复

399 次查看
yan211
Contributor I

thank the reply, when I try the spi, set the pcs to sck delay to 5us,then i got byte to byte delay 5us,how could get fast byte transfer and remain pcs to sck delay. can someone help me out?

0 项奖励
回复

399 次查看
yan211
Contributor I

too fast to ask! now i try to use different CTAR, got the expect!!so versatile the dspi

0 项奖励
回复