Hi pipi, how does this explain that behaviour ?pipi61 wrote: ↑Mon Feb 12, 2024 5:56 pmhttps://randomnerdtutorials.com/esp32-p ... nce-gpios/
14 outputs PWM signal at boot
Search found 63 matches
- Mon Feb 12, 2024 9:47 pm
- Forum: Hardware
- Topic: GPIO14 prevents ESP32-WROOM to boot
- Replies: 4
- Views: 1355
Re: GPIO14 prevents ESP32-WROOM to boot
- Mon Feb 12, 2024 5:02 pm
- Forum: Hardware
- Topic: GPIO14 prevents ESP32-WROOM to boot
- Replies: 4
- Views: 1355
Re: GPIO14 prevents ESP32-WROOM to boot
Possible, I am still checking for electr. issues/shorts.
But lets assume there is some kind of electr. short or what ever...
Why is a voltage level @ GPIO14 is influencing the boot ?
But lets assume there is some kind of electr. short or what ever...
Why is a voltage level @ GPIO14 is influencing the boot ?
- Sun Feb 11, 2024 9:48 pm
- Forum: Hardware
- Topic: GPIO14 prevents ESP32-WROOM to boot
- Replies: 4
- Views: 1355
GPIO14 prevents ESP32-WROOM to boot
Hi, I have a weird behaviour on my custom PCB, which I do not understand. GPIO14 is connected directly to the input of a darlington transistor. When you check the schematic of the darlington (attachment), then you will see, that there are some pulldowns (total 13K). :arrow: General: Putting ESP to d...
- Thu Sep 14, 2023 8:14 pm
- Forum: Hardware
- Topic: Capacitor for custom PCB
- Replies: 3
- Views: 2786
Re: Capacitor for custom PCB
@ ESP_Sprite
Many thanks for that awesome post and support!
@ MicroController
I am already reading the source voltage, so that I can react to a shutoff.
Thanks for the hint with shutting down not needed stuff like wifi etc! Didn't consider that.
Many thanks for that awesome post and support!
@ MicroController
I am already reading the source voltage, so that I can react to a shutoff.
Thanks for the hint with shutting down not needed stuff like wifi etc! Didn't consider that.
- Wed Sep 13, 2023 8:08 am
- Forum: Hardware
- Topic: Capacitor for custom PCB
- Replies: 3
- Views: 2786
Capacitor for custom PCB
Hi, my custom PCB is sourced with 12V and I have 3.3V voltage regulator on it. I have a requirement, that the ESP32 needs to stay energized for 1sec after the source voltage was cut off, so that there is some time, to write data to flash. Current consumption is about 0.25A Could someone please help ...
- Fri Sep 08, 2023 7:46 am
- Forum: ESP-IDF
- Topic: Class methods as ISR (IRAM allocation)
- Replies: 7
- Views: 3112
Re: Class methods as ISR (IRAM allocation)
You can also try __attribute__((noinline)) to prevent inlining of the function at the call site. That worked, many thanks :) .iram1.1605 0x00000000400836dc 0xe /home/user/eclipse-workspace/class_test/build/main/libmain.a(main.o) 0x11 (size before relaxing) 0x00000000400836dc _ZN5PIN_t8set_modeEhh I...
- Thu Sep 07, 2023 2:26 pm
- Forum: ESP-IDF
- Topic: Class methods as ISR (IRAM allocation)
- Replies: 7
- Views: 3112
Re: Class methods as ISR (IRAM allocation)
Yes, I am calling pin_instance.set_mode() it in a freertos task.
I didn't checked your "trampoline" workaround yet.
First I want to see, whether it is allocated in IRAM.
- Thu Sep 07, 2023 7:36 am
- Forum: ESP-IDF
- Topic: Class methods as ISR (IRAM allocation)
- Replies: 7
- Views: 3112
Re: Class methods as ISR (IRAM allocation)
Hi, thanks for your feedback. I tried it with this code: class PIN_t { public: void IRAM_ATTR set_mode(void); } void IRAM_ATTR PIN_t::set_mode(void) { // do stuff } PIN_t pin_instance; Then I checked the map file in build directory: - method set_mode is not appearing in map file at all. - when searc...
- Thu Aug 31, 2023 7:51 am
- Forum: ESP-IDF
- Topic: Class methods as ISR (IRAM allocation)
- Replies: 7
- Views: 3112
Class methods as ISR (IRAM allocation)
Hi,
I want to use a class method as ISR and want to allocate it in IRAM.
How to do it correctly?
Will this example code work ?
Thanks in advance.
I want to use a class method as ISR and want to allocate it in IRAM.
How to do it correctly?
Will this example code work ?
Thanks in advance.
Code: Select all
class PIN_t
{
void isr_func (void);
} pin;
void IRAM_ATTR PIN_t::isr_func (void)
{
// do stuff
}
- Wed Jul 26, 2023 11:30 am
- Forum: ESP-IDF
- Topic: Deactivate bootloader download-mode (GPIO2=Low)
- Replies: 0
- Views: 2769
Deactivate bootloader download-mode (GPIO2=Low)
Hi, is there a way to entirely deactivate the bootloader download-mode on ESP32 WROOM ? I am pulling GPIO2 LOW on the very first flash via bootloader and all further flashes will be done OTA. It is neccessary for my PCB, that the state of GPIO2 will be completely ignored during boot, that means, whe...