Search found 5 matches

by kalata23
Wed Sep 02, 2020 5:09 am
Forum: ESP-IDF
Topic: ESP32-S2 APB CLOCK is slow?
Replies: 4
Views: 4795

Re: ESP32-S2 APB CLOCK is slow?

I understand now, thank you.
by kalata23
Tue Sep 01, 2020 7:36 am
Forum: ESP-IDF
Topic: ESP32-S2 APB CLOCK is slow?
Replies: 4
Views: 4795

Re: ESP32-S2 APB CLOCK is slow?

Hi ESP_igrr, Thank you for your advice. I will follow the links, that you shared. It's interesting for me, that if I write small program which toggles GPIO18 in endless loop, the ON/OFF time is nearly 50 ns, when ESP32S2 is set to 160MHz clock #include <stdio.h> #include "freertos/FreeRTOS.h" #inclu...
by kalata23
Mon Aug 31, 2020 1:31 pm
Forum: ESP-IDF
Topic: ESP32-S2 APB CLOCK is slow?
Replies: 4
Views: 4795

ESP32-S2 APB CLOCK is slow?

I'm trying to toggle GPIO18 every 50 ns. First I started with Group 0 Timer 1 interrupt routine, which to be triggered every 50 ns, but as I can see with oscilloscope, the ON/OFF period is about 3 us instead of 50 ns. I have tried to manipulate registers, instead of calling gpio_set_direction() or g...
by kalata23
Mon Jun 25, 2018 10:17 am
Forum: General Discussion
Topic: Avoiding ESP32 autoreset on Serial connection.
Replies: 1
Views: 4741

Re: Avoiding ESP32 autoreset on Serial connection.

Unfortunately by now I can initiate serial communication with a python script, where I defined setup function: def setup(): com = serial.Serial() com.port = sys.argv[1] com.baudrate = sys.argv[2] com.timeout = 1 com.setDTR(False) com.setRTS(True) com.open() com.setRTS(False) time.sleep(1) com.write(...
by kalata23
Mon Jun 25, 2018 8:51 am
Forum: General Discussion
Topic: Avoiding ESP32 autoreset on Serial connection.
Replies: 1
Views: 4741

Avoiding ESP32 autoreset on Serial connection.

I'm trying to make a basic program, which establishes UART connection. My main problem is that every time I open Serial connection the board resets itself. I'm using custom board with ESP32-DOWDQ6. RTS AND DTR pins of USB-> Serial converter are connected to Chip_EN and GPIO0 & GPIO2 pins of ESP32. W...