Search found 26 matches

by kluverp
Tue Jan 22, 2019 6:59 am
Forum: Hardware
Topic: LAN8720 manual reset
Replies: 4
Views: 8234

Re: LAN8720 manual reset

I have noticed something else. When I reset the LAN8720 by pulling the nRST line low, the 100mbit led goes off. Then it does not seem to respond anymore. After that the SMI registers read 0xffff. When in a running situation I reset the LAN8720 with the control register 0, bit 15, it works. So what i...
by kluverp
Tue Jan 22, 2019 6:31 am
Forum: Hardware
Topic: LAN8720 manual reset
Replies: 4
Views: 8234

Re: LAN8720 manual reset

https://github.com/espressif/esp-idf/issues/2564 ? I'm sorry, but this seems no effect. I have compiled my project with both 3.1 and 3.3 IDF framework version, but the issue remains. Only difference is that in 3.1 it's get stuck in the "Timed out waiting for PHY..." loop. In 3.2 and 3.3 this is not...
by kluverp
Mon Jan 21, 2019 1:37 pm
Forum: Hardware
Topic: LAN8720 manual reset
Replies: 4
Views: 8234

LAN8720 manual reset

Hi all, I have a ESP32 connected to a LAN8720 chip on a custom PCB. This all works fine. And we use it to send in sensor data to the Internet. However we noticed that sometimes in the field the LAN8720 stops responding. This could be after a week, sometimes after 20 min. So it's random. What happens...
by kluverp
Mon Dec 10, 2018 6:53 am
Forum: ESP IoT Solution
Topic: Ethernet to WiFi example question
Replies: 2
Views: 5598

Ethernet to WiFi example question

Hi All, Hope someone can provide me an answer to this. I have successfully applied the Ethernet-to-WiFi example. (Great example BTW). But now I have the following question: Is it possible to have the Ethernet work stand-alone next to the WiFi forwarding? To explain more: the example pipes the WiFi c...
by kluverp
Tue Nov 20, 2018 6:51 am
Forum: ESP-IDF
Topic: Coredump question
Replies: 3
Views: 4053

Re: Coredump question

I assume top to bottom right? With top being the latest function?

The top row says:

Code: Select all

0x4008fecf in esp_core_dump_write_flash_padded (data_size=12, data=0x3ffcab00 \"\", off=0) at /home/peter/esp/esp-idf-v3.1/components/esp32/core_dump.c:291
What does this tell me?
by kluverp
Mon Nov 19, 2018 2:43 pm
Forum: ESP-IDF
Topic: Coredump question
Replies: 3
Views: 4053

Coredump question

Hi follow ESP32 users, I have the following coredump: ==================== CURRENT THREAD STACK ===================== #0 0x4008fecf in esp_core_dump_write_flash_padded (data_size=12, data=0x3ffcab00 \"\", off=0) at /home/peter/esp/esp-idf-v3.1/components/esp32/core_dump.c:291 #1 esp_core_dump_flash_...
by kluverp
Wed Sep 26, 2018 4:46 am
Forum: ESP-IDF
Topic: Guru medidation error on spi_device_transmit()
Replies: 2
Views: 3814

Re: Guru medidation error on spi_device_transmit()

That sounds like reasonable at this point. So I have the pins checked, and they seem OK. Also, I have done another test. Just let the SPI code run in the app_main as a loop like so: void app_main(void) { // Analog spi_device_handle_t spi_handle = SPI_init(); delay(200); while(1) { SPI_read_temp(spi_...
by kluverp
Wed Sep 26, 2018 4:40 am
Forum: ESP-IDF
Topic: Getting random Interrupt Watchdog errors
Replies: 2
Views: 4410

Re: Getting random Interrupt Watchdog errors

These outputs are from "make monitor". I also dump the core to flash. So I can read it out later. It says different things, on different occasions, but this is the latest: ================== CURRENT THREAD REGISTERS =================== pc 0x400d41cf 0x400d41cf <heap_caps_init+23> lbeg 0x0 0 lend 0x0...
by kluverp
Tue Sep 25, 2018 1:04 pm
Forum: ESP-IDF
Topic: Guru medidation error on spi_device_transmit()
Replies: 2
Views: 3814

Guru medidation error on spi_device_transmit()

Hi all, I have a weird issue. I am using SPI to read out some temperature sensors. The code I have to do this runs fine on one ESP32, but crashes on another ESP32. Both hardware are the same. To give some idea, here is my code to init SPI: spi_device_handle_t SPI_init(void) { ESP_LOGD(tag, ">> test_...
by kluverp
Tue Sep 25, 2018 8:24 am
Forum: ESP-IDF
Topic: Getting random Interrupt Watchdog errors
Replies: 2
Views: 4410

Getting random Interrupt Watchdog errors

Hi all, I have an ESP32 running on a custom build PCB. However sometimes the program crashes with the following error message: Interrupt wd$ timeout on CPU0 PC 0021 : 0x0003A0 088e : 0x3fa3 : 0x3fa6A3 f0de : 0x0001A5 0001 A6 0000 : 0x0000A8 0001 : 0x3434 : 0x000aA11 0001 : 0x3f0dA13 0001 A14 fc24 : ...