hello, I do have C# application that has live graph. I am trying to have the micro controller send data to application and show it on graph. any suggestion or example that might help ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hello, I do have C# application that has live graph. I am trying to have the micro controller send data to application and show it on graph. any suggestion or example that might help ?
Hi,
I'm not very clear with your question. I suppose you want the MCU to send data to your host machine like a PC running your C# application. You can use UART to send data to PC. When you plug the EK-TM4C123GXL launchPad to a PC, the ICDI chip on the board will enumerate as a debugger and a virtual COM port connecting to UART0 on the target MCU. Try the uart_echo example from TivaWare to send and receive data from PC and you can extend that to your program.
C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\uart_echo
Hello, so I am trying use USB host port on micro controller when I am connecting to PC not the comport. i already tried the USB_bulk_example and after I run that the device shows as a generic bulk device in windows device manager. so I am trying to find a library or something for c# to recognize the launch board when it's on device mode
so I am trying to find a library or something for c# to recognize the launch board when it's on device mode
I'm not clear what you are looking for then. Are you trying the usb_dev_bulk example at C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\usb_dev_bulk? This is already a device mode mode example. When running, it will enumerate as a TivaWare bulk device. Do you see this in device manager?
There is an example host application from TivaWare download site at https://dr-download.ti.com/secure/software-development/software-development-kit-sdk/MD-oCcDwnGrsI/2.2.0.295/SW-USB-win-2.2.0.295.msi. Running this host application I see USB host (the PC) communicate with the USB device (the MCU). The source code for this host application can be found at C:\ti\TivaWare_C_Series-2.2.0.295\tools\usb_bulk_example. You can reference this host application to build your C# application.