Search found 15 matches

by cyberman54
Mon Sep 02, 2019 9:20 am
Forum: ESP32 IDF
Topic: Hardware timestamping GPIO events
Replies: 0
Views: 315

Hardware timestamping GPIO events

I need to capture a rising edge signal on a GPIO, with a high resolution timestamp.
Is there a way to do this by hardware of ESP32?
If so, how can i read the generated timestamps with ESP-IDF?

Thanks for any hint.
by cyberman54
Sun Apr 14, 2019 1:56 pm
Forum: ESP32 IDF
Topic: GPIO gives Multiple Interrupt events for single interrupt generation
Replies: 17
Views: 11809

Re: GPIO gives Multiple Interrupt events for single interrupt generation

We can close this. I checked with digital oscilloscope and found a 100nf capacitor on the GPIO is too much. I removed the capacitor and the problem was solved.
by cyberman54
Sat Mar 23, 2019 12:30 pm
Forum: ESP32 IDF
Topic: GPIO gives Multiple Interrupt events for single interrupt generation
Replies: 17
Views: 11809

Re: GPIO gives Multiple Interrupt events for single interrupt generation

Same problem here. I feed GPIO0 with a Squarewave signal from RTC DS3231, generating iinterrupt on falling edge. Has hardware pullup 10k to VDD. I see 2-3 interrupts on each falling edge. Checked signal with oscillopscope, it is 100% clean, but has 50 microseconds slope, maybe this is too slow?
by cyberman54
Wed Mar 20, 2019 8:30 am
Forum: ESP32 Arduino
Topic: ESP32 hardware timer with input pin for interrupt?
Replies: 2
Views: 1465

ESP32 hardware timer with input pin for interrupt?

I need a free running hardware timer, which counts until an edge signal on a GPIO occurs. I want to capture the counter in this moment, to take a timestamp. After studying the ESP32 hardware manual i am not sure what would be the most straight forward hardware based way to realize this: using pulse ...
by cyberman54
Fri Mar 01, 2019 3:55 pm
Forum: ESP32 Arduino
Topic: Interrupt phase shift - how to?
Replies: 5
Views: 2004

Re: Interrupt phase shift - how to?

Thanks again for the hints. The concept of using a hardware watchdog timer in conjunction with the pps pulse sounds reasonable. I thought on it, but it is not yet fully clear to me what the role of the watchdog should be: should it be fed by the pps pulse? How can i synchronize the time of RTC this ...
by cyberman54
Thu Feb 28, 2019 8:58 pm
Forum: ESP32 Arduino
Topic: Interrupt phase shift - how to?
Replies: 5
Views: 2004

Re: Interrupt phase shift - how to?

You can get uSec resolution from the hardware timer and using a semaphore to sync the 1pps from the GPS with the hardware timer set up as a watchdog. Thanks for the hints. My current code https://github.com/cyberman54/ESP32-Paxcounter/blob/development/src/timekeeper.cpp feeds the GPS PPS in an inte...
by cyberman54
Sat Feb 23, 2019 9:23 am
Forum: ESP32 Arduino
Topic: Interrupt phase shift - how to?
Replies: 5
Views: 2004

Interrupt phase shift - how to?

For controlling a wall clock i need a precise pulse-per-second signal. While this is usually done with a pps fed by GPS, i want to implement a fallback pps by using the precise 1Hz squarewave signal of an RTC chip (DS3231). So there is the need to synchronize the RTC pps with the last pps received b...
by cyberman54
Mon Jun 11, 2018 5:56 am
Forum: General Discussion
Topic: What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?
Replies: 5
Views: 1795

What's the meaning of the boot header lines, i.e. CONFIGSIP and SPIWP ?

On different ESP32 boards with same application code i see different boot messages when powering up the device: rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 188777542, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 rst:0x1 (POWERON_RESET),boo...
by cyberman54
Wed Apr 18, 2018 8:59 pm
Forum: ESP32 IDF
Topic: BT memory consumption
Replies: 3
Views: 1976

Re: BT memory consumption

I ran into the same problem.
Did you find a solution for it?
by cyberman54
Tue Mar 20, 2018 10:31 pm
Forum: Showcase
Topic: ESP32 Wifi/BLE/LoRa based passenger flow metering: Paxcounter
Replies: 0
Views: 1616

ESP32 Wifi/BLE/LoRa based passenger flow metering: Paxcounter

Need to count crowds and queues? Or interested in passenger flow metering?
Then you may be interested in this ESP32 Paxcounter project:

https://github.com/cyberman54/ESP32-Paxcounter

Contributors and testers welcome!

Go to advanced search