Esp32-s2 and bg95 PPPoS over USB?

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Esp32-s2 and bg95 PPPoS over USB?

Postby gunar.kroeger » Tue Apr 28, 2020 10:54 pm

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
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

ESP_Sprite
Posts: 4404
Joined: Thu Nov 26, 2015 4:08 am

Re: Esp32-s2 and bg95 PPPoS over USB?

Postby ESP_Sprite » Wed Apr 29, 2020 9:54 am

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.

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Re: Esp32-s2 and bg95 PPPoS over USB?

Postby gunar.kroeger » Wed Apr 29, 2020 1:08 pm

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
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

ESP_Sprite
Posts: 4404
Joined: Thu Nov 26, 2015 4:08 am

Re: Esp32-s2 and bg95 PPPoS over USB?

Postby ESP_Sprite » Thu Apr 30, 2020 9:38 am

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.

User avatar
gunar.kroeger
Posts: 143
Joined: Fri Jul 27, 2018 6:48 pm

Re: Esp32-s2 and bg95 PPPoS over USB?

Postby gunar.kroeger » Thu Apr 30, 2020 1:15 pm

ok thanks
"Running was invented in 1612 by Thomas Running when he tried to walk twice at the same time."

Who is online

Users browsing this forum: felmue, Google [Bot] and 59 guests