Page 1 of 1

Esp32-s2 and bg95 PPPoS over USB?

Posted: Tue Apr 28, 2020 10:54 pm
by gunar.kroeger
can the USB 1.1 OTG on the esp32-s2 be used to communicate with a modem like bg95 instead of using UART to achieve higher speeds?
has anyone done something with the USB port yet?

we are considering changing one esp32 with the esp32-s2 for handling wifi and 4G communication.

thanks

Re: Esp32-s2 and bg95 PPPoS over USB?

Posted: Wed Apr 29, 2020 9:54 am
by ESP_Sprite
Technically, sure, it is possible. At the moment there is no host code for the ESP32S2 yet (it's in development) and the class drivers for modems also are missing, so actually implementing it right now would probably be a fair amount of work.

Re: Esp32-s2 and bg95 PPPoS over USB?

Posted: Wed Apr 29, 2020 1:08 pm
by gunar.kroeger
What do you mean by the class drivers for modems?
Is PPPoS not available yet over UART like for esp32?

we would like to conmect both uart and usb so that we can work on the usb when it becomes supported in the idf, but use the code we already had working with esp32 by using PPPoS over UART.

thanks

Re: Esp32-s2 and bg95 PPPoS over USB?

Posted: Thu Apr 30, 2020 9:38 am
by ESP_Sprite
You specifically asked about USB, and USB needs a class driver to support a thing like a modem. I imagine PPPoS works on the ESP32S2 in the same way as it works on the ESP32 as the peripheral and code is more-or-less the same.

Re: Esp32-s2 and bg95 PPPoS over USB?

Posted: Thu Apr 30, 2020 1:15 pm
by gunar.kroeger
ok thanks