Search found 31 matches

by HEckardt
Fri May 22, 2026 2:53 pm
Forum: ESP-IDF
Topic: How to reset the TWDT if the SPI slave is waiting with "portMAX_DELAY" in a separat task
Replies: 5
Views: 132

Re: How to reset the TWDT if the SPI slave is waiting with "portMAX_DELAY" in a separat task

Hello MC,

OK, I will skip this topic. Basecally I have a solution (more or less a workaround).

Thank you for your support.
Henry
by HEckardt
Thu May 21, 2026 10:53 am
Forum: ESP-IDF
Topic: How to reset the TWDT if the SPI slave is waiting with "portMAX_DELAY" in a separat task
Replies: 5
Views: 132

Re: How to reset the TWDT if the SPI slave is waiting with "portMAX_DELAY" in a separat task

Dear MicroController,

thanks for your responds. I adapted your suggestion into my code and it is working. I don't know wether we shuold discuss the still open question: why is the TWDT in the main.c-loop not triggered if "spi_slave_transmit()" with "portMAX_DELAY" is started? Because the code in ...
by HEckardt
Wed May 20, 2026 9:01 am
Forum: ESP-IDF
Topic: How to reset the TWDT if the SPI slave is waiting with "portMAX_DELAY" in a separat task
Replies: 5
Views: 132

How to reset the TWDT if the SPI slave is waiting with "portMAX_DELAY" in a separat task

Dear Community,

I want to have a SPI traffic between an ESP32 slave and a PIC-MCU master. The SPI interface is working as well in case I start the transfer in the main.c. But the traffic procedure is asynchron, so the ESP-SPI must wait until the transfer ist finalized by the master. For this I have ...
by HEckardt
Sat Feb 07, 2026 11:58 am
Forum: ESP-IDF
Topic: linker cannot find a reference, but the compiler is happy
Replies: 2
Views: 305

Re: linker cannot find a reference, but the compiler is happy

Hello MicroController,

thank you for your hints. The additional line in the "CMakeLists.txt" was not neccessary.
I could not find the entry "CONFIG_ESP_WIFI_NAN_SYNC_ENABLE" in "sdkconfig". It's possible that it existed in an earlier version.

But I changed in "menuconfig"
(Top) → Component config ...
by HEckardt
Fri Feb 06, 2026 10:58 am
Forum: ESP-IDF
Topic: linker cannot find a reference, but the compiler is happy
Replies: 2
Views: 305

linker cannot find a reference, but the compiler is happy

Dear Community,

I'm using the IDF ver. 5.5.2. with an ESP32.

I want to create a NAN publisher. I adapted the example (see "C:\Espressif\frameworks\esp-idf-v5.5.2\examples\wifi\wifi_aware\nan_publisher\main") to my project, include all the libs and add the


//Initialize NVS
esp_err_t ret = nvs ...
by HEckardt
Thu Oct 16, 2025 7:48 am
Forum: ESP-IDF
Topic: _invalid_pc_placeholder
Replies: 2
Views: 1066

Re: _invalid_pc_placeholder

Hello MicroController,

thank you for clarification. So, this message is not pointing to a degerous situation. The Monitor is just funny enough to confusing the people, who are working with it;)

That means for my cyclic reboot, I have to look for another reason.

Thanks again
Henry
by HEckardt
Wed Oct 15, 2025 11:08 am
Forum: ESP-IDF
Topic: _invalid_pc_placeholder
Replies: 2
Views: 1066

_invalid_pc_placeholder

Dear Community,

I'm using a

ESP32 WROOM 32D with ESP_IDF 5.5.1.

At this time I ceated a project with WiFi connection, SNTP and SPI. All this components was working in the past. But I don't know when I got this strange behavior, now I cannot run my progamm without repeatly rebooting. From my ...
by HEckardt
Sun Sep 21, 2025 9:46 am
Forum: Hardware
Topic: SPI slave is not releasing the MISO line
Replies: 5
Views: 3310

Re: SPI slave is not releasing the MISO line

Hmmm.....

unfortunately the images are not inserted in the post above. So, I add a .zip file with the pictures.

where the ....Not is in the Name is when the S1 is not connected,

where the ....Con is in the Name is when the S1 is connected,

where the ....ConWeak is in the Name is when the S1 is ...
by HEckardt
Sun Sep 21, 2025 9:36 am
Forum: Hardware
Topic: SPI slave is not releasing the MISO line
Replies: 5
Views: 3310

Re: SPI slave is not releasing the MISO line

Hi wanckl,

I made some tests. Here my test environment:



When the S1 is open and the strength of the ESP32 MISO pin is in default: the MISO of the EEPROM, TP_Ctrl is floating (about 2V). The ESP32 MISO is nailed to the ground.

During communication:
MISO signal of the ESP32



MISO signal of ...
by HEckardt
Thu Sep 18, 2025 6:08 pm
Forum: Hardware
Topic: SPI slave is not releasing the MISO line
Replies: 5
Views: 3310

Re: SPI slave is not releasing the MISO line

Hi wanckl,

ok, I'll check it out. But I want to avoid the DMA (no 4 Byte alignment wanted). Hope the pin strength reduction works. Otherwise I take a hardware solution with a SN74LC1G125 to separate the ESP32 MISO from the bus when the ESP32 CS is not active.

Go to advanced search