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.
USB CDC to Modem AT Interface
Moderator: RoccoMarco
- 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
Yes, you would need an host driver, ST has one and I think somebody used it with some success.
Giovanni
Giovanni
Re: USB CDC to Modem AT Interface
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?
Re: USB CDC to Modem AT Interface
Just to add a note, when I plug the modem into Ubuntu it shows up as as a ttyACM device.