Search found 2 matches
- Thu May 25, 2023 10:05 am
- Forum: General Discussion
- Topic: Pulse Counter and GPIO routing
- Replies: 2
- Views: 2192
Re: Pulse Counter and GPIO routing
I found out that this might be due to REG_WRITE() not writing to the register somehow.. When I print the contents of let's say pcnt_config0_reg I write to PCNT_U0_CONF0_REG (line 99 in the code, contains 0000 0000 0000 0101 0001 0011 1111 1111) and read from this register again using REG_READ() and ...
- Mon May 15, 2023 10:41 am
- Forum: General Discussion
- Topic: Pulse Counter and GPIO routing
- Replies: 2
- Views: 2192
Pulse Counter and GPIO routing
Hi everyone, Intro: I want to use the pulse counter (pcnt) functionality of the ESP32 to count single bits of a frequency modulated bit signal coming from an ATMega328. To do this I need to route the GPIO input to one of the pcnt units/channels. Environment: ESP-Wroom-32 DevKit, VSCode with Platform...