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.

USB communication with GPS

Hello,

I am planning to communicate my ublox GPS to my TM4c123 microcontroller via USB. When i plug the GPS into my computer, it's recognized as a virtual com port. Could any one help with some helpful examples as i'm totally new to USB communication?

Thanks in advance

  • Hello Mohammed,

    if it is a USB CDC class device, then the library needs to be written on TM4C for usb host for CDC class.

    Regards
    Amit
  • Could any one help with some helpful examples as i'm totally new to USB communication?

    Then I would suggest to switch over to a serial (UART) connection, to avoid frustration. USB is far from being trivial, neither host nor device implementations. And for a GPS receiver, there is no throughput requirement that would really justify USB. Rather, it is the disappearance of RS232 interfaces from common PCs. Many embedded applications successfully use serial  GPS with just 9600bps.

  • f. m. said:
    Then I would suggest to switch over to a serial (UART) connection

    Seconded - per his "norm" - poster f.m. has identified a superior means to achieve the objective.

    Poster may "re-cast" his request - (not) as, "USB commo w/GPS" but as, "Most efficient, time/labor saving means, to communicate w/a GPS."

    Limiting one's choice - caused by a "faulty" (overly-complex) specification - returns "little" and as f.m. advises - likely adds great pain/suffering.

    Choosing a GPS w/UART, TTL/CMOS signal levels - rather than USB - surely will, "speed, ease & enhance" such project's completion...