edma on dspi is so ineffective

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

edma on dspi is so ineffective

800 Views
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?

Labels (1)
0 Kudos
Reply
3 Replies

500 Views
JimDon
Senior Contributor III

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

 

0 Kudos
Reply

500 Views
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 Kudos
Reply

500 Views
yan211
Contributor I

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

0 Kudos
Reply