Search found 5 matches
- Fri Dec 01, 2017 12:07 am
- Forum: General Discussion
- Topic: ESP32 Automatic flash error
- Replies: 10
- Views: 17403
Re: ESP32 Automatic flash error
I'm not familiar with your board, but if it's like the Espressif ESP32 Core Board, the auto-programming is handled by two transistors hooked to the RTS and DTR lines of the onboard USB to serial bridge IC. Have you verified that the DTR and RTS lines are toggling when you attempt to flash? If not it...
- Tue Jul 25, 2017 3:01 pm
- Forum: General Discussion
- Topic: PCNT hardware counter crashing
- Replies: 4
- Views: 7284
Re: PCNT hardware counter crashing
Ok, I feel stupid now. It occurred to me that the printf and log stuff might be a problem in the ISR, so I commented them out. Turns out I missed one.
I commented this last one out and now it works without crashing. Thanks!
I commented this last one out and now it works without crashing. Thanks!
- Fri Jul 21, 2017 2:08 pm
- Forum: General Discussion
- Topic: PCNT hardware counter crashing
- Replies: 4
- Views: 7284
Re: PCNT hardware counter crashing
Here is the output of make monitor after the crash: 0x4008216f: lock_acquire_generic at C:/esp-idf/components/newlib/locks.c:141 Backtrace: 0x40086184:0x3ffc01c0 0x40086283:0x3ffc01e0 0x4008216f:0x3ffc0200 0x4 008228d:0x3ffc0230 0x400d4ede:0x3ffc0250 0x400d8119:0x3ffc0560 0x40081e35:0x3ffc 0590 0x40...
- Thu Jul 20, 2017 11:16 pm
- Forum: General Discussion
- Topic: PCNT hardware counter crashing
- Replies: 4
- Views: 7284
PCNT hardware counter crashing
I have a project using the ESP32's PCNT peripheral to count pulses from a sensor. I don't have the sensor yet, but I'm trying to simulate sensor values with a function generator set to 50% duty cycle and 3.3V square waves. When I switch from the 2 KHz scale to the 20 KHz scale, or 20 KHz scale to th...
- Wed Jul 19, 2017 7:56 pm
- Forum: General Discussion
- Topic: Minimum requirements to start the Hardware Counter
- Replies: 7
- Views: 13583
Re: Minimum requirements to start the Hardware Counter
THANK YOU SpenZerX for posting that code! I was tearing my hair out trying to get that PCNT peripheral to clear its counter.
Espressif, please get this fix integrated into the ESP-IDF.
Espressif, please get this fix integrated into the ESP-IDF.