App Developer connect to ESP32 S3 with USB

Discuss PC Developer and Web Developer projects and features here.
Post Reply
stefan.erni
Valued Contributor
Posts: 758
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

App Developer connect to ESP32 S3 with USB

Post by stefan.erni »

Hi to All

One more question. With purchased hardware with an ESP32-S3, I have to press the reset button for 5 seconds to flash the firmware.
Then press the reset button again.
The programme runs.
Now I want a connection with the USB C connector to the computer.
A serial device com15 and also an USB jtag/serial debug unit appear in the device manager of the computer.

but I can't make a connection with the App Developper with Com 15
and I don't have a pin for the interface in the firmware either.

Is this connection possible with USB component ?
Snag_1460d0e.png
Snag_1460d0e.png (135.19 KiB) Viewed 246 times

Steve-Matrix
Matrix Staff
Posts: 1257
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 279 times

Re: App Developer connect to ESP32 S3 with USB

Post by Steve-Matrix »

I think you will need to use the Serial Port component and not the USB component.

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer connect to ESP32 S3 with USB

Post by stefan.erni »

Hi Steve

I suspect it's not that simple.
The USB pins go directly to the ESP32 C3. So I can't use an Rx/TX pin. Many ESP32 boards have a USB driver that goes from the USB connector to the UART pin.

What about BLE Uart? Is BLE already possible to test?

Steve-Matrix
Matrix Staff
Posts: 1257
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 279 times

Re: App Developer connect to ESP32 S3 with USB

Post by Steve-Matrix »

Sorry, I'm not familiar with that device. You should be able to communicate to COM15 from a PC Developer app using a Serial Port component. But I don't know how you would access the same serial connection from within Embedded code in the device itself.

BenR
Matrix Staff
Posts: 1742
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 443 times
Been thanked: 604 times

Re: App Developer connect to ESP32 S3 with USB

Post by BenR »

Please can you send us a link to the specific board you're using.

Looks for devices like this to do comms back to the PC would require a USB component. Might not be too hard thanks to the IDF so I'll get it on the list.

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer connect to ESP32 S3 with USB

Post by stefan.erni »

Hi ben

Link to the specific board:

https://docs.m5stack.com/en/core/AtomS3

Link to a shop:
https://www.digikey.ch/de/products/deta ... 3/17751546

Demo with display (working in SPI softwaremode) :)
S3_24_1_demo.fcfx
(17.54 KiB) Downloaded 10 times
Snag_34e8e.png
Snag_34e8e.png (469.82 KiB) Viewed 217 times

BenR
Matrix Staff
Posts: 1742
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 443 times
Been thanked: 604 times

Re: App Developer connect to ESP32 S3 with USB

Post by BenR »

That looks great, are you able to program the screen? Do we need a new component for it?

I've just bought myself one and also got a couple more M5 boards. Unfortunatley they look like they might take a while to get here.

Order.jpg
Order.jpg (56.45 KiB) Viewed 194 times

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer connect to ESP32 S3 with USB

Post by stefan.erni »

Hi Ben

For the Atom S3 the component gLCD_ST7789V1 is working to display text.

The Atom matrix has a 5x5 LED Matrix and it's working with FC WS2812C

For the M5 Dial knob I think an additional component for GC9A01A Display driver is necessary.
The display is also used by other manufacturers

A very good feature of these M5 stack modules is that the IMU MPU6886 is supported von FC

Post Reply