Part Number: MSP430F5529
Good day to all of you!
I'm trying to make a tool for log redirection through msp430f5529 on a custom board.
Log comes to UART0 at 115200 baudrate. It is quite a chunk of text, 135kbytes to be precise.
The idea is to send it through to PC via USB CDC.
The clock runs at 24MHz, driven by DCO. There's an 8MHz XT2 installed for USB.
Now, the problem is, msp's drowning in incoming data and fails to process all of it. My guess is that UCA0RX interrupt blocks usb api from working correctly, so i thought of possible ways of speeding things up.
DMA seems an obvious solution, but i'm completely new to it, especially when it comes to USB, so i don't see a proper way to actually apply it.
I currently have a non-DMA circle buffer, but it can't keep up with incoming data.
Can someone please provide help/example on how to deal with such a problem or how I can properly use dma on USB API so it actually saves time?
