Search found 7 matches

by Fundeckhermit
Thu Oct 03, 2024 7:49 am
Forum: General Discussion
Topic: Event Loop Base issues
Replies: 2
Views: 1766

Re: Event Loop Base issues

Thank you for the reply,

Now it makes sense to me on what is happening under the hood.
So the only method of converting char* to a base address is by mapping?

I'll study the macro's a bit more, the documentation about them was quite sparse.
by Fundeckhermit
Wed Oct 02, 2024 4:20 pm
Forum: General Discussion
Topic: Event Loop Base issues
Replies: 2
Views: 1766

Event Loop Base issues

Hi,

I've been trying to implement the Event Loop Library. Posting and registering events using a hardcoded static string works fine.
When the string is dynamic and identical to the base it fails to trigger.

I'm registering an event using:
esp_event_handler_instance_register("COMMANDBASE1", 0 ...
by Fundeckhermit
Sun Jul 21, 2024 7:54 pm
Forum: ESP32 Arduino
Topic: How to invoke RUN_USER_CODE from stub loader? (esptool)
Replies: 0
Views: 1386

How to invoke RUN_USER_CODE from stub loader? (esptool)

My board has a ESP32-S3 that I want to reset after uploading. Based on the the documentation a stub loaders is send to supplement the bootloader found in ROM. This stub has the option to run user code (effectively a soft-reset).

My platformio .ini files looks like this:
[env]
platform ...
by Fundeckhermit
Wed Apr 06, 2022 1:47 pm
Forum: Hardware
Topic: ESP32-S2 outputs in parallel to increase max current.
Replies: 3
Views: 3143

Re: ESP32-S2 outputs in parallel to increase max current.

And If the load was purely resistive load instead? Would sharing the current break a single pin?
by Fundeckhermit
Wed Apr 06, 2022 7:47 am
Forum: Hardware
Topic: ESP32-S2 outputs in parallel to increase max current.
Replies: 3
Views: 3143

ESP32-S2 outputs in parallel to increase max current.

40mA is the maximum current sourced by a single pin as specified in the datasheet. I have a relay (FH42L-LCSC) that requires 83.3mA (±10%) for about 15ms.

Can I put 5 output pins in parallel to share the load or would one pin fail/break?
by Fundeckhermit
Fri Apr 01, 2022 3:18 pm
Forum: General Discussion
Topic: Initial flash needed for download boot over internal USB?
Replies: 5
Views: 5844

Re: Initial flash needed for download boot over internal USB?

So this would work?

Flashing a binary file with IDF on a new/fresh/empty ESP32-S2 over the internal USB (USB-OTG) peripheral.
by Fundeckhermit
Fri Apr 01, 2022 2:56 pm
Forum: General Discussion
Topic: Initial flash needed for download boot over internal USB?
Replies: 5
Views: 5844

Initial flash needed for download boot over internal USB?

I want to design a minimal PCB around the ESP32-S2-MINI with just:

Crystal circuit
Boot/Reset button
USB connector directly on D+ and D-
Voltage regulator


Can I use IDF to download a fresh/new/empty ESP32-S2-MINI with just the internal USB?

OR do I need JTAG/UART for the initial flashing?

Go to advanced search