edma on dspi is so ineffective

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

edma on dspi is so ineffective

801件の閲覧回数
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 返答(返信)

501件の閲覧回数
JimDon
Senior Contributor III

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

 

0 件の賞賛
返信

501件の閲覧回数
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 件の賞賛
返信

501件の閲覧回数
yan211
Contributor I

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

0 件の賞賛
返信