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.

TM4C1294NCPDT: EK-TM4C1294XL

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Tool/software:

Hi, 

We are using TM4C1294NCPDT controller in our project, I am trying to send data using GPIO 94 - PL6 (USB0DP), GPIO 93 - PL7 (USB0DN), I need to send Simple AT command in that USB D+ and D- mins, I have refred below programs from RTOS examples but this is not similar to me, it is littel bit confusing. Please help on this to send the AT command via USB pins. 

 

  • Hi,

      It seems you want to use USB to emulate a serial COM port for sending AT commands. Is that correct? The existing USB library support USB CDC class.  I will suggest you take a look at the example at C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\usb_dev_cdcserial. This example turns the EK-TM4C1294XL LaunchPad into a single port USB CDC device when connected to a USB host system. The example supports the USB Communication Device Class, Abstract Control Model by interacting with the USB host via a virtual COM port. I strongly suggest you run the example as-is to get a feel for it before you modify it to add your AT command specific code. 

  • Hi Charles, 

    I can able to see this example, SW-TM4C-2.1.4.178/examples/boards/ek-tm4c1294xl/usb_dev_cserial - I dont have usb_dev_cdcserial. Is this is fine for sending AT via GPIO 94 - PL6 (USB0DP), GPIO 93 - PL7 (USB0DN)?

  • Hi,

      You can download the latest TivaWare from https://www.ti.com/tool/SW-TM4C which is 2.2.0.295 and has in addition the usb_dev_cdcserial example. However, usb_dev_cserial is good enough for you to start as it is simpler with the USB enumerating as one serial device. The usb_dev_cdcserial will have the USB enumerate as a composite device supporting two serial ports, You can play with it too but I will suggest you start with the simpler one first.