Search found 13 matches

by s-light
Tue Jan 31, 2023 4:31 pm
Forum: ESP32 Arduino
Topic: esp32s2, SPI interfaces (VSPI, HSPI, FSPI...)?
Replies: 4
Views: 12309

Re: esp32s2, SPI interfaces (VSPI, HSPI, FSPI...)?

for the ESP32S2 and newer there was a rename: https://github.com/espressif/arduino-esp32/blob/bcc1d758fc343887de03affeedfbb33522ff2523/tools/sdk/esp32s2/include/hal/include/hal/spi_types.h#L77 //alias for different chips, deprecated for the chips after esp32s2 #ifdef CONFIG_IDF_TARGET_ESP32 #define ...
by s-light
Tue Jan 31, 2023 4:24 pm
Forum: General Discussion
Topic: HSPI and VSPI, meaning thereof?
Replies: 21
Views: 105617

Re: HSPI and VSPI, meaning thereof?

just some -non-guessing- hart facts: with ESP32-S2 and newer things got a bit more complicated - there was a rename: https://github.com/espressif/esp-idf/blob/91c25b519ce83a6a2e32a2cf8140cb1249d658dc/components/hal/include/hal/spi_types.h#L78 //alias for different chips, deprecated for the chips aft...
by s-light
Mon Jan 16, 2023 10:29 am
Forum: ESP32 Arduino
Topic: Program ESP32 WROOM using another ESP32 WROOM
Replies: 1
Views: 1649

Re: Program ESP32 WROOM using another ESP32 WROOM

iam also interested in this - the ESP32 is not a full computer - so your idea of USB-to-USB cable does not work. (at least not easy) but the ESP32 can be programmed also over the serial pins - and that is a way you could do it. i don't know of a lib that exactly does this - on a fast search i found:...
by s-light
Tue Jun 21, 2022 3:30 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 CDC USB usage
Replies: 9
Views: 31221

Re: ESP32-C3 CDC USB usage

seems for me the last board-package update fixed things :-)
now with 2.0.3 it is working as expected.
if i set Tools → `USB CDC on Boot:"Enabled"` and use `Serial.println("Hello World")` i get `Hello World` on the CDC device :-)
by s-light
Mon Jan 10, 2022 4:20 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 CDC USB usage
Replies: 9
Views: 31221

Re: ESP32-C3 CDC USB usage

there are some more issues: often the USB_CDC port seems to be connected but i get no data - this happens after an upload or after i push the reset button. (the code runs and on the UART i get output..) so seems that the USB_CDC is not resetet correclty. if this happens the code runs but the write t...
by s-light
Mon Jan 10, 2022 12:45 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 CDC USB usage
Replies: 9
Views: 31221

Re: ESP32-C3 CDC USB usage [SOLVED]

Test Setup both ports connected. one is showing up as ttyACM0 - that is the HW USB_CDC the other as ttyUSB0 - that is the USB to UART chip CP2102N on pin 1 is a led connected. i use the following code for all the tests: // ESP32-C3 Serial & CDC test #define SerialUART Serial #define SerialCDC USBSe...
by s-light
Mon Jan 10, 2022 11:57 am
Forum: ESP32 Arduino
Topic: ESP32-C3 CDC USB usage
Replies: 9
Views: 31221

Re: ESP32-C3 CDC USB usage

hello ESP_Sprite, thanks for your answer. and thanks for looking into the code! i also tried to trace down where this is handled - last time i did not succed. so i just try it again for my own understanding :-) the `ARDUINO_HW_CDC_ON_BOOT` can be activated via a gui menu option. Arduino 1.8.19 ESP32...
by s-light
Sun Jan 09, 2022 3:03 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 CDC USB usage
Replies: 9
Views: 31221

Re: ESP32-C3 CDC USB usage

just got some pcbs and asselmbled them with some modules... these boards have the USB-Port connected directly to the ESP32 C3 USB_CDC port. i also updated the esp board package to 2.0.2. the hardware reported during upload: esptool.py v3.1 Serial port /dev/ttyACM0 Connecting... Chip is unknown ESP32...
by s-light
Fri Nov 12, 2021 4:38 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 CDC USB usage
Replies: 9
Views: 31221

Re: ESP32-C3 CDC USB usage

arduino ide during upload:

Code: Select all

esptool.py v3.1
Serial port /dev/ttyUSB0
Connecting....
Chip is unknown ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
says ESP32-C3 (revision 3)

it is on a ESP32-C3-DevKitM-1
by s-light
Wed Nov 10, 2021 9:30 am
Forum: ESP32 Arduino
Topic: ESP32-C3 CDC USB usage
Replies: 9
Views: 31221

Re: ESP32-C3 CDC USB usage

Today i downgraded `Arduino ESP32 version 2.0.0` and did all the tests again: | Test | `USB CDC on boot` | upload mode | serial timeout | output | output | | :---- | ----------------: | :----------- | -------------: | ------: | ------: | | 1 | Disabled | internal USB | - | ttyACM0 | empty | | 1 | Di...