Hello everybody,
I am currently programming a Tiva C series, TM4C123GH6PM Evaluation Board.
I need to send a relatively large amount of data to the PC. As you know, 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 figured so far my best (and only perhaps) option is to send the data to this virtual COM port via the UART.
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've found nothing like what I need so far. In every example I saw, they just use the UART to echo what is 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