Search found 3 matches
- Mon Apr 15, 2024 1:04 pm
- Forum: ESP-IDF
- Topic: Nanosecond delay
- Replies: 6
- Views: 4850
Re: Nanosecond delay
Can I ask what you're trying to achieve here? I need to turn on the LED and then read the strength of the reflection. The LED turns on fully within 8 microseconds, so in order to save energy, I turn it off once I get my data. To do all of this, I need precise control of when the LED is turned on an...
- Sat Apr 13, 2024 3:00 pm
- Forum: ESP-IDF
- Topic: Nanosecond delay
- Replies: 6
- Views: 4850
Re: Nanosecond delay
Not saying you should do it, or that it will perform the way you need, but esp_cpu_get_cycle_count() ticks away at one count per CPU clock cycle, i.e. up to 240MHz. This looks promising! If you intend to generate IO signals based on this timing, you'll likely have to use the Dedicated GPIO. To gene...
- Fri Apr 12, 2024 12:58 pm
- Forum: ESP-IDF
- Topic: Nanosecond delay
- Replies: 6
- Views: 4850
Nanosecond delay
Hi there. I'm new to working with ESP controllers. I'm converting a project from Raspberry Pi Pico to ESP32-S3. And from what I can tell this microcontroller should be more than capable. There were a couple of time-critical functions and I'm trying to figure out how to implement them on ESP. The mos...