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.

TM4C1233H6PZ: USB to GPIO

Part Number: TM4C1233H6PZ
Other Parts Discussed in Thread: EK-TM4C123GXL

Team,


My customer has the following question:

Do you know of any good examples for controlling GPIO on a Tiva C series MCU through its USB interface?  We have a TM4C1233H6PZI on our test card and we're looking for a simple example to use as a starting point.

Regards,

Aaron

  • Hi Aaron,

    I would consider starting with an example that uses the USB as a serial device, like in:
    C:\ti\TivaWare_C_Series-2.1.3.156\examples\boards\ek-tm4c123gxl\usb_dev_serial
    They could then test the code by using a PC to send serial uart data to a COM port. In the TM4C123 they could then do the GPIO based on what characters they receive.
  • Bob Crosby said:
    They could then test the code by using a PC to send serial uart data to a COM port.

    Is this still likely - or even possible - w/today's lap/desk-tops - which have long abandoned UART/RS232 type ports?   (and parallel ports - providing instead - often/ONLY USB Ports.)

    Perhaps you intended the PC to send data via USB - and by imposing a "USB<->UART" converter - serial uart data should arrive @ the MCU...

  • Hello cb1_mobile,
    What I meant was that they could connect the PC to the TM4C123 by USB but use the USB-UART driver on the PC (making a virtual COM port on the PC) and send data to the TM4C with a simple terminal emulator. The suggestion was to get the TM4C123 code up quickly using the existing demo and not having to do any coding for the PC side.