Search found 17 matches
- Sat Jun 20, 2020 3:51 pm
- Forum: General Discussion
- Topic: Unreliable GPIO
- Replies: 25
- Views: 25964
Re: Unreliable GPIO
That topic doesn't seem relevant? It's about really fast signal generation, 10 MHz, while mine is about messaging at <2 MHz, currently in the ~700 kHz range.
- Sat Jun 20, 2020 6:21 am
- Forum: General Discussion
- Topic: MicroPython or LUA running in paralel with C?
- Replies: 1
- Views: 3699
Re: MicroPython or LUA running in paralel with C?
Both lua and micropython are very big, for something like you describe I would use a smaller language like TCL or AWK. I have embedded Jim TCL before, and google shows a few embeddable AWK libraries, but can't say how they would work on the ESP.
- Sat Jun 20, 2020 6:06 am
- Forum: General Discussion
- Topic: Unreliable GPIO
- Replies: 25
- Views: 25964
Re: Unreliable GPIO
Yes, the model I ordered was a Saleae16 clone. I'm a sw guy, little electronics experience - I thought that's just a digital oscilloscope, displaying things via usb instead of its own screen. What do you mean with FTM? Google results aren't helpful for that. What make you think that the signal is wr...
- Fri Jun 19, 2020 1:30 pm
- Forum: General Discussion
- Topic: memw details?
- Replies: 6
- Views: 7463
Re: memw details?
For my GPIO polling code, see the Unreliable GPIO topic. memw seems to have the potential to cause long delays, so I'd like to know the details of how long and when - even if there's enough headroom, minimizing variance is nice.
- Fri Jun 19, 2020 6:43 am
- Forum: General Discussion
- Topic: memw details?
- Replies: 6
- Views: 7463
Re: memw details?
Is there info on all kinds of flushes and their delays? And what types of RAM are used by which components. E.g. if I don't use RTC anywhere, is there a possibility the wifi uses it "secretly", or some other component.
- Thu Jun 18, 2020 6:40 am
- Forum: General Discussion
- Topic: memw details?
- Replies: 6
- Views: 7463
memw details?
I couldn't find this info in any docs. How many cycles does memw take, on avg and in worst case? I found online that on esp8266 (where it's supposedly a nop) it takes two cycles. Then, are the reads on the APB/AHB bus (0x6000....) speculative like DPORT? IOW, could the memw be dropped for accesses v...
- Wed Jun 17, 2020 2:55 pm
- Forum: General Discussion
- Topic: Unreliable GPIO
- Replies: 25
- Views: 25964
Unreliable GPIO
I'm seeing unreliable GPIO results on my esp32; apparently both reading and writing. About 1 in 30-100k reads/writes has the wrong result (a high bit read as 0, low bit read as 1, set bit or cleared bit not taking effect, etc). The board is rev1. Esp-idf is the 4.0 git branch. I've configured idf as...