Search found 11 matches
- Wed May 12, 2021 5:05 pm
- Forum: General Discussion
- Topic: High Speed Logging of GPIO states
- Replies: 7
- Views: 5249
Re: High Speed Logging of GPIO states
Just letting you all know I omitted printfs and stored all the states in a bit array . I reduced delay from 780microsecs to 200nanoseconds thats a super success
- Wed May 12, 2021 10:57 am
- Forum: General Discussion
- Topic: High Speed Logging of GPIO states
- Replies: 7
- Views: 5249
Re: Clarity on processing speed
Thanks a lot I will definitely try that method
- Wed May 12, 2021 10:04 am
- Forum: General Discussion
- Topic: High Speed Logging of GPIO states
- Replies: 7
- Views: 5249
Re: Clarity on processing speed
I need to log the behavior of a GPIO ... I am not doing any type of speed test , I need this for system Identification , Basically I want to do GPIO get Input of that particular pin and store a timestamp ....for this what I did was printf("%d\t%lld\n",gpio_get_level(INPUT_SIG_IO),esp_timer_get_time(...
- Wed May 12, 2021 9:07 am
- Forum: General Discussion
- Topic: High Speed Logging of GPIO states
- Replies: 7
- Views: 5249
Re: Clarity on processing speed
OK That's perfect
I really need time value on terminal so can i reduce the gap of 780 microsec ?
I need to log a GPIO behavior with time, Can You suggest any better way where the gap can be minimized
I really need time value on terminal so can i reduce the gap of 780 microsec ?
I need to log a GPIO behavior with time, Can You suggest any better way where the gap can be minimized
- Wed May 12, 2021 7:30 am
- Forum: General Discussion
- Topic: High Speed Logging of GPIO states
- Replies: 7
- Views: 5249
High Speed Logging of GPIO states
So in my program I have for(;;) printf("%lld\n",esp_timer_get_time()); only this much code I am pretty much amazed by the results 2817315 2818096 2818878 these are almost 780 microsec apart...How is this possible considering esp32 runs at 240Mhz Forgive me If I asked a NOOB level question...I get it...
- Sat Mar 27, 2021 9:59 am
- Forum: ESP32 Arduino
- Topic: SW_RESET... Reason I am not able to figure out Please help
- Replies: 3
- Views: 4669
Re: SW_RESET... Reason I am not able to figure out Please help
You were 100% correct i moved the ledcSetup block inside the task and it solved the issue , but I had declared ledcSetup in setup() [PS. I am writing code in Arduino IDE] how this didn't execute then , is the priority of setup() low ? How did you analyze the error ? Is there any kind of resources or...
- Thu Mar 25, 2021 2:37 pm
- Forum: ESP32 Arduino
- Topic: SW_RESET... Reason I am not able to figure out Please help
- Replies: 3
- Views: 4669
SW_RESET... Reason I am not able to figure out Please help
This is my backtrace decoded ... What is happening and How to analyze if something like this happens in future Decoding stack results 0x4008c434: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 155 0x4008c665: abort at /home...
- Thu Nov 19, 2020 10:45 am
- Forum: General Discussion
- Topic: Interrupt
- Replies: 4
- Views: 4254
Re: Interrupt
Yeah I found that . All the possibilities were mentioned in a enum structure
- Wed Nov 18, 2020 5:08 am
- Forum: General Discussion
- Topic: Interrupt
- Replies: 4
- Views: 4254
Re: Interrupt_ESP-IDF
Thanks Buddy..But I need the solution for Esp-IDF
- Tue Nov 17, 2020 11:52 am
- Forum: General Discussion
- Topic: what is use of SD0-3 io pins on esp32 ?
- Replies: 4
- Views: 9446
Re: what is use of SD0-3 io pins on esp32 ?
SD for connecting SD cards and CLK is clock signal