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?