• AVR Freaks

Interaction between DMA channels and dedicated USB DMA Channel

Author
avais20
Starting Member
  • Total Posts : 49
  • Reward points : 0
  • Joined: 2012/04/26 11:39:42
  • Location: 0
  • Status: offline
2012/12/22 12:22:34 (permalink)
0

Interaction between DMA channels and dedicated USB DMA Channel

I am trying to improve the performance of a serial to USB data logger using PIC32MX440F512H.
Originally data received on UART2 is processed to a buffer in its ISR and buffer is written to USB using
FSfwrite () function of microchip library.
Now i modified to use DMA2 channel to receive data as below. but instead of improving the speed
has dropped at least 4 times.
DmaChnSetTxfer(chn, (void*)&U2RXREG, pBFA, 1,256 , 1);
 
Any ideas , pointers?
Thanks
 
#1

0 Replies Related Threads

    Jump to:
    © 2019 APG vNext Commercial Version 4.5