USB CDC to Modem AT Interface

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
chiVelle
Posts: 21
Joined: Sun Aug 25, 2013 4:16 pm

USB CDC to Modem AT Interface

Post by chiVelle »

Does anyone know if it is possible to communicate with a modem via AT commands from the USB CDC interface? The modem operates only in USB device mode with the USB pins available being D+, D- and USB Voltage. Using the USB CDC driver in Full Speed mode would be my ideal solution, but is it required to have USB Host Driver on the STM32 to make the USB connection?

Thanks.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: USB CDC to Modem AT Interface

Post by Giovanni »

Yes, you would need an host driver, ST has one and I think somebody used it with some success.

Giovanni
chiVelle
Posts: 21
Joined: Sun Aug 25, 2013 4:16 pm

Re: USB CDC to Modem AT Interface

Post by chiVelle »

Any idea on what host class the driver would have to support? I see within the STM FW lib for USB Host they have MSC, DualCore, and HID. I wouldn't think that the modem would want to connect to any of those device classes?
chiVelle
Posts: 21
Joined: Sun Aug 25, 2013 4:16 pm

Re: USB CDC to Modem AT Interface

Post by chiVelle »

Just to add a note, when I plug the modem into Ubuntu it shows up as as a ttyACM device.
Post Reply