We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello everybody, I am currently programming a Tiva C series, TM4C123GH6PM Evaluation Board from TI.
I need to send a relatively large amount of data to the virtual com of the PC. This board has an integrated virtual com feature (as soon as you plug the usb, and install the drivers, a virtual COM is generated).
I've configured the UART0 peripheral, and used the UARTprintf command, and it works properly.
But, as far as I know, this is only for strings/chars types. I need to send an array of 300 elements, made by 16-bit registers.
I've read about the UART, and the uDMA feature. I don't know if activating the DMA is necessary in this type of transfers, or if it's enough with a while loop. I've seen a lot of code-examples, and read the TI forum, but I'vve found nothing like what I need. In every example I saw, they just use the UART to echo what you sent from the PC.
Can anybody give me a hint on where to start? I'm not asking for anybody to solve this for me, only perhaps to point me in the right direction. Thanks a lot for taking the time to read this. Kind regards
Martín
And, of course, 'C' string functions expect NUL to indicate the end of the string - so you can't use them for any binary data handling!