Search found 94 matches

by Craige Hales
Thu Mar 30, 2023 11:47 am
Forum: Hardware
Topic: ESP32-S3 possible devkits-like options for dev boards
Replies: 6
Views: 3265

Re: ESP32-S3 possible devkits-like options for dev boards

Thanks for the FlexyPin hint. https://lectronz.com/products/esp32-s2-solo-esp32-s3-wroom-flexypin-adapter looks like it might be what I can't find on amazon. edit: it has no usb builtin. They do have a footprint https://github.com/solderparty/flexypin_adapters_hw/tree/main/ESP32-S2_S3-WROOM_flexypin
by Craige Hales
Tue Mar 14, 2023 5:59 pm
Forum: General Discussion
Topic: How do I use a timer in FreeRTOS for traffic?
Replies: 2
Views: 1150

Re: How do I use a timer in FreeRTOS for traffic?

I'm not sure what those pictures mean. What are you trying to create? I think you want to look at tasks, semaphores, and interrupt handlers. Start simple: make a timer-driver interrupt handler that uses a semaphore to release a task that waits for the semaphore. Print a short message from the task e...
by Craige Hales
Fri Mar 10, 2023 5:11 pm
Forum: ESP-IDF
Topic: C for ESP-IDF? Dev Environment?
Replies: 7
Views: 4100

Re: C for ESP-IDF? Dev Environment?

Especially the link at the bottom of the page
vcode.png
vcode.png (29.5 KiB) Viewed 3857 times
which will take you to https://github.com/espressif/vscode-esp ... install.md
by Craige Hales
Wed Mar 08, 2023 6:40 pm
Forum: ESP-IDF
Topic: C for ESP-IDF? Dev Environment?
Replies: 7
Views: 4100

Re: C for ESP-IDF? Dev Environment?

agree, vs code is a good choice. Especially if you have used MS Visual Studio for development in the past: many of the keyboard short cuts will seem familiar. It's still a long learning curve. I initially found the "flame" tool quite useful, then figured out control-e,d did the same thing...compile,...
by Craige Hales
Wed Mar 08, 2023 5:52 pm
Forum: General Discussion
Topic: ADC Sampling rate
Replies: 2
Views: 2923

Re: ADC Sampling rate

see comments viewtopic.php?f=12&t=31822#p110339 about sampling rate. Above ~280K combined sample rate may not do what you expect.
by Craige Hales
Sun Feb 26, 2023 5:35 pm
Forum: Hardware
Topic: ADC1 noise at low voltages
Replies: 4
Views: 2894

Re: ADC1 noise at low voltages

Interesting. I'm doing something very similar and continuous reading 4 channels interleaved on esp32. The interleave pattern was predictable up to about 270K total samples/sec. Above that the pattern gets scrambled, repeating, skipping. I take the raw 16 bit samples and split each sample into a 4-bi...
by Craige Hales
Wed Jan 04, 2023 7:45 pm
Forum: Hardware
Topic: ESP32-S3 is not booting, or is not even trying to
Replies: 12
Views: 5448

Re: ESP32-S3 is not booting, or is not even trying to

yes. connect the GNDs on both boards. Probably there is a terrible ground path via the usb to a computer to the building ground, and somehow back to the board. It is a little surprise you get any characters coming through. the TX-out and RX-in signal is with respect to ground.
by Craige Hales
Wed Jan 04, 2023 4:20 pm
Forum: Hardware
Topic: ESP32-S3 is not booting, or is not even trying to
Replies: 12
Views: 5448

Re: ESP32-S3 is not booting, or is not even trying to

How long are the TX and RX wires? Good common ground between the test circuits? Good power supplies? You are really brave to try this without a scope. Even an old analog scope (in my case) will give insights about voltage levels, active signals, and noise. I'm in the middle of a similar project, tho...
by Craige Hales
Thu Dec 22, 2022 12:58 pm
Forum: ESP-IDF
Topic: ESP-IDF v5.0 introducing " httpd_accept_conn: error in accept (23)"?
Replies: 6
Views: 4484

Re: ESP-IDF v5.0 introducing "too many files/connections open"?

I'd look for either a leak or memory fragmentation that prevents a large-enough block from being allocated. I used heap_caps_get_info to make a detailed report about memory issues. If the minimum heap is dropping below 50K or so, that might be an issue for the next allocation. Screenshot_2022-12-22_...
by Craige Hales
Thu Dec 22, 2022 12:38 pm
Forum: Hardware
Topic: DevKit Auto USB Programming: A New Fix
Replies: 7
Views: 4666

Re: DevKit Auto USB Programming: A New Fix

@MrKenSan3 thanks! Best research and explanation ever. I was stumbling over how that two transistor circuit worked and got lucky and found this post. I definitely had issues with the boot reliability (~25% chance never gets started) when I used 10uF on the En pin. And maybe 1uF, but way less often.