Search found 8 matches

by Electronics-noob
Wed Jul 29, 2020 6:21 am
Forum: General Discussion
Topic: How do you setup a UART Rx interrupt on a ESP32-S2?
Replies: 4
Views: 655

Re: How do you setup a UART Rx interrupt on a ESP32-S2?

You can ignore my code completely if you want, it's basically copied from an example I found online. I just want to know how it can be done! Espressif does not explain how to set up the uart interrupt properly: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/u...
by Electronics-noob
Tue Jul 28, 2020 8:42 am
Forum: General Discussion
Topic: How do you setup a UART Rx interrupt on a ESP32-S2?
Replies: 4
Views: 655

How do you setup a UART Rx interrupt on a ESP32-S2?

I have tried moving some code over directly from an ESP32 to a new ESP32-S2 and I ran into an issue with my UART interrupt. The code used is as follows: Setup code: const uart_port_t uart_num = UART_NUM_0; void setup { // Setup UART uart_config_t uart_config = { .baud_rate = 115200, .data_bits = UAR...
by Electronics-noob
Thu Jul 23, 2020 6:52 am
Forum: Hardware
Topic: Cant program ESP32-S2
Replies: 10
Views: 2126

Re: Cant program ESP32-S2

Solved the issue.

Cloned the latest Master branch and compiled the Blink example using IDF version 4.3.
Used this guide to fix the PATH issue on windows https://github.com/espressif/esp-idf/issues/5512

Had to set "use legacy SPI driver" in the menu config.

It is now working!
by Electronics-noob
Wed Jul 22, 2020 10:41 am
Forum: Hardware
Topic: Cant program ESP32-S2
Replies: 10
Views: 2126

Re: Cant program ESP32-S2

Thanks! I got some things working, I cloned branch v4.2 and was able to compile the code and flash the ESP32-S2. The ESP32-S2 throws an error and crashes at boot, "failed to detect flash size" when using the serial monitor. I am unable to compile the code if i change the flash size and turn of the a...
by Electronics-noob
Mon Jul 20, 2020 11:46 am
Forum: Hardware
Topic: Cant program ESP32-S2
Replies: 10
Views: 2126

Re: Cant program ESP32-S2

I just tried updating to the master branch and setting the target microcontroller. The update to Master was successful, was able to run install.bat and export.bat but now I get a CMake Error when running idf.py set-target. I removed parts of the IDF path since my name is in the search path... -- Det...
by Electronics-noob
Mon Jul 20, 2020 10:00 am
Forum: Hardware
Topic: Cant program ESP32-S2
Replies: 10
Views: 2126

Re: Cant program ESP32-S2

Hi, I followed the getting started guide from Espressif https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/get-started/index.html#get-started-start-project But I get "Error: No such command 'set-target'." whenever I try to "set target to ESP32-S2" No idea why, I’ve tried it on two compute...
by Electronics-noob
Mon Jul 20, 2020 8:32 am
Forum: Hardware
Topic: Cant program ESP32-S2
Replies: 10
Views: 2126

Cant program ESP32-S2

Hello everyone! I recently switched processor from ESP32 to ESP32-S2 in some hardware that I’m designing. I changed processor because the ESP32 lacked some functionality that I needed and it happened to exist in the ESP32-S2. I can’t figure out why I’m not able to program the ESP32-S2, i followed th...
by Electronics-noob
Wed Jul 31, 2019 3:29 pm
Forum: Hardware
Topic: ESP32 programmer (USB->Serial) releasing it magic smoke.
Replies: 4
Views: 1523

ESP32 programmer (USB->Serial) releasing it magic smoke.

Hello everyone. I’m working on a project were the ESP32 is the brains, I would like to program automatically using the CH340E USB to serial adapter. I followed the guide over at GitHub (https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection) but it releases its magic smoke every time I ...

Go to advanced search