Search found 479 matches

by username
Tue May 31, 2022 12:08 am
Forum: General Discussion
Topic: ESP32-S3 GPIO.out_w1ts error Master Branch
Replies: 2
Views: 1482

Re: ESP32-S3 GPIO.out_w1ts error Master Branch

ESP_igrr wrote:
Tue May 31, 2022 12:03 am
It is likely that previously the header file where GPIO structure is defined was included through some other header file. Please try adding #include "soc/gpio_struct.h" to your source file.
That fixed it!! Thank you so much!
by username
Mon May 30, 2022 7:54 am
Forum: General Discussion
Topic: ESP32-S3 GPIO.out_w1ts error Master Branch
Replies: 2
Views: 1482

ESP32-S3 GPIO.out_w1ts error Master Branch

I have been using the following with no problems on ESP-IDF 4.4.1. GPIO.out_w1tc = ((uint32_t)1 << pin); GPIO.out1_w1tc.val = ((uint32_t)1 << (pin - 32)); I recently installed the master branch, and I now get an error stating: error: 'GPIO' undeclared (first use in this function) Any ideas why this ...
by username
Mon May 30, 2022 2:19 am
Forum: General Discussion
Topic: ESP32-S3 hardware timer interrupt doesn't work stable
Replies: 6
Views: 3083

Re: ESP32-S3 hardware timer interrupt doesn't work stable

To reply my issue you need to add some task, not only timer, in my case it tcp_server.
Yes, I did that. you did not mention you were doing other things. So sounds like the problem lies there.
by username
Sun May 29, 2022 4:58 am
Forum: General Discussion
Topic: ESP32-S3 hardware timer interrupt doesn't work stable
Replies: 6
Views: 3083

Re: ESP32-S3 hardware timer interrupt doesn't work stable

I tired your code on my ESP32-S3, it was missing some parts like: #define TIMER_DIVIDER (16) // Hardware timer clock divider typedef struct { int timer_group; int timer_idx; int alarm_interval; bool auto_reload; } example_timer_info_t; But it worked fine for me. Attach0.jpg
by username
Fri May 27, 2022 3:01 pm
Forum: Hardware
Topic: ESP32-S3 gpio_set_level() problem
Replies: 4
Views: 4929

Re: ESP32-S3 gpio_set_level() problem

CODE: SELECT ALL gpio_reset_pin(40) before gpio_set_direction, does that fix the problem? Honestly, when I read your response I though to myself I have been using ESP-IDF for years now and have never needed to use gpio_reset_pin(), to make a GPIO pin work properly. There's no way that is the issue....
by username
Thu May 26, 2022 8:55 pm
Forum: Hardware
Topic: ESP32-S3 gpio_set_level() problem
Replies: 4
Views: 4929

ESP32-S3 gpio_set_level() problem

I started a project for the ESP32-S3 using PlatformIO for Arduino (as they do not support IDF yet). I am using the ESP32-S3-DevKitC-1 v1.0. In that project I am using pin 41 tied to my scope to check performance on some functions which worked just fine. pinMode (40, OUTPUT); // Set Up pin for Timing...
by username
Tue May 24, 2022 1:42 am
Forum: General Discussion
Topic: ESP32-S3 Fast GPIO using GPIO.out_w1ts
Replies: 4
Views: 5684

Re: ESP32-S3 Fast GPIO using GPIO.out_w1ts

Close, its actually GPIO.out1_w1ts.val , there is no GPIO.out1_w1ts Just wanted to add clarity for others that may need to twiddle pins faster. The code below credit comes from this page here. https://gitlab.cba.mit.edu/erik/strandstring/-/blob/c209db8d570ef600fd3b6139e9df908c2e45bf76/strandstring/O...
by username
Mon May 23, 2022 2:42 pm
Forum: General Discussion
Topic: ESP32-S3 Fast GPIO using GPIO.out_w1ts
Replies: 4
Views: 5684

ESP32-S3 Fast GPIO using GPIO.out_w1ts

I need to toggle a GPIO pin as fast as I can. Using gpio_set_level() is just to slow. I ran across the following, and wanted to try it but the GPIO pin I want to use is 46. How do yo do the following on the S3 higher than 31 ? //This can only be used when the IO_PIN_Number is 0-31 //Use GPIO.out_w1t...
by username
Thu May 19, 2022 4:06 pm
Forum: ESP32 Arduino
Topic: Arduino-ESP32 - Installing using PlatformIO
Replies: 1
Views: 1752

Arduino-ESP32 - Installing using PlatformIO

Needing to use the ESP32-S3, there is a nice document on how to install this for PlatformIO here. https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-platformio It leaves out any info on the S3 though. What settings should be used for platformio.ini file when...
by username
Wed May 11, 2022 5:39 pm
Forum: General Discussion
Topic: Converting Arduino Project to ESP-IDF Project
Replies: 3
Views: 5230

Re: Converting Arduino Project to ESP-IDF Project

I too think some document on this topic would be greatly helpful.