Search found 5 matches

by P32Studio
Fri Jul 07, 2023 10:51 am
Forum: ESP-IDF
Topic: AP Mode - esp_wifi_set_config throwing error
Replies: 1
Views: 1697

Re: AP Mode - esp_wifi_set_config throwing error

Hi, you should run 'esp_netif_init()' prior to calling 'ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL));' the should fix the problem.
by P32Studio
Thu Feb 03, 2022 12:43 am
Forum: General Discussion
Topic: Any good books using Espressif tools?
Replies: 8
Views: 8571

Re: Any good books using Espressif tools?

Hi. If you know what you are doing, these are official Espressif documents useful for low-level programming & design: Xtensa instruction set.pdf - https://0x04.net/~mwk/doc/xtensa.pdf Technical Reference Manual.pdf - https://www.espressif.com/sites/default/files/documentation/esp32_technical_referen...
by P32Studio
Thu Feb 03, 2022 12:27 am
Forum: Hardware
Topic: [SOLVED] MCPWM does not want to start
Replies: 1
Views: 2761

Re: MCPWM does not want to start

You are right. The dump shows that the mcpwm timer0's configuration registers hold their values, so that particular part of the chip is turned on correctly. But timer0 status register shows a value that would not be there, if the circuitry was running. What you need to do is to set up RTC_CNTL_CLK_C...
by P32Studio
Wed Jul 21, 2021 5:40 pm
Forum: Hardware
Topic: What ESP32 has the most amount of free GPIO ?
Replies: 2
Views: 3730

Re: What ESP32 has the most amount of free GPIO ?

This is for example pinout diagram for ESP-WROOM32 (my little creation :) ). Keep in mind that GPIO 6, 7, 8, 9, 10 and 11 are used for UART communication via USB and GPIO0 has special purpose during bootup - when held low as the chip is reset or it gets powered up, special program starts up in the p...
by P32Studio
Wed Jul 21, 2021 5:12 pm
Forum: Hardware
Topic: [SOLVED] MCPWM does not want to start
Replies: 1
Views: 2761

[SOLVED] MCPWM does not want to start

Hello, here is the deal: I have made a simple C environment where I can run bare-metal code. I wanted to configure mcpwm peripheral to control an H-Bridge for 2 coils stepper motor. Used Chip is ESP32-D0WDQ6 (revision 1). The problem is that when I call two_phase_init(); , the registers hold their v...