Search found 948 matches

by ESP_igrr
Tue Apr 17, 2018 12:54 am
Forum: ESP32 HDK
Topic: Time keeping in light sleep
Replies: 1
Views: 68

Re: Time keeping in light sleep

In light sleep, timekeeping is done by RTC timer. On exiting sleep, system time (as reported by 'gettimeofday') will be updated based to the RTC timer. There's another change which will be merged soon, which also adjusts time reported by esp_timer_get_time. If you want to implement your own timekeep...
by ESP_igrr
Sun Apr 15, 2018 1:11 pm
Forum: ESP32 HDK
Topic: RTC clock too fast by 2 Min in 10 hours?
Replies: 3
Views: 111

Re: RTC clock too fast by 2 Min in 10 hours?

If I connect a 32kHz XTAL to IO32 and IO33, will it be automagically recognized or will it need some specific code? I am programming on the Arduino IDE. No specific code is needed, however you need to change CONFIG_ESP32_RTC_CLOCK_SOURCE option in sdkconfig. This is not something you can do from Ar...
by ESP_igrr
Sun Apr 15, 2018 9:57 am
Forum: ESP32 HDK
Topic: RTC clock too fast by 2 Min in 10 hours?
Replies: 3
Views: 111

Re: RTC clock too fast by 2 Min in 10 hours?

In light sleep and deep sleep, RTC clock is used for timekeeping. This is either the internal 150kHz oscillator, or external 32kHz XTAL. The internal 150kHz oscillator is +/-5%.
by ESP_igrr
Fri Apr 13, 2018 10:56 am
Forum: General Discussion
Topic: ULP, use Byte instead of Long
Replies: 4
Views: 153

Re: ULP, use Byte instead of Long

Internally the load instruction accepts offset in units of 32-bit word. There is no documented way of loading the higher 16 bits of a word from memory.
by ESP_igrr
Sun Apr 08, 2018 2:07 pm
Forum: ESP32 SDK
Topic: Mutex without FreeRTOS
Replies: 3
Views: 202

Re: Mutex without FreeRTOS

You can build some form of mutual exclusion on top of the atomic compare-and-set instruction. Here's the basic C wrapper for it: https://github.com/espressif/esp-idf/blob/f586f5e690e687f8db219a8b509bbf483fc416d6/components/freertos/include/freertos/portmacro.h#L273-L290 Xtensa port of FreeRTOS has i...
by ESP_igrr
Wed Apr 04, 2018 1:28 am
Forum: ESP32 SDK
Topic: Error "assertion "entry < ENTRY_COUNT" failed" on startup
Replies: 3
Views: 151

Re: Error "assertion "entry < ENTRY_COUNT" failed" on startup

Could you please do the following:

1) Read the contents of NVS partition using esptool.py
2) send the binary file by email to ivan at espressif.
3) use esptool to erase flash memory contents (or just the NVS partition)
4) upload the application again (if you have erased all flash memory contents)
by ESP_igrr
Tue Apr 03, 2018 7:03 am
Forum: ESP32 SDK
Topic: Need help for Ethernet into ESP32 IDF 2.1 with boot flash memory as external flash memory
Replies: 18
Views: 576

Re: Need help for Ethernet into ESP32 IDF 2.1 with boot flash memory as external flash memory

What is the pin used for flash WP signal?

Could you please try flashing the bootloader from IDF 3.0, and then flashing only application from IDF 2.1 (without overwriting the bootloader)?
by ESP_igrr
Mon Apr 02, 2018 1:23 pm
Forum: General Discussion
Topic: Problems setting up Windows Linux Subsystem with esp-idf
Replies: 19
Views: 567

Re: Problems setting up Windows Linux Subsystem with esp-idf

gnorkus wrote:$(HOME)


I think this is Make syntax. In shell, it's either $HOME or ${HOME}.
by ESP_igrr
Mon Apr 02, 2018 1:16 pm
Forum: ESP32 SDK
Topic: Need help for Ethernet into ESP32 IDF 2.1 with boot flash memory as external flash memory
Replies: 18
Views: 576

Re: Need help for Ethernet into ESP32 IDF 2.1 with boot flash memory as external flash memory

So, I don't think any error into Hardware Side as it was working fine with Internal Flash Memory with same Hardware. At the moment I'm not suggesting there is issue on hardware side. I am just suggesting check of following things to help analysis this problem: 1) did power enable input of the PHY g...
by ESP_igrr
Mon Apr 02, 2018 10:55 am
Forum: ESP32 SDK
Topic: Need help for Ethernet into ESP32 IDF 2.1 with boot flash memory as external flash memory
Replies: 18
Views: 576

Re: Need help for Ethernet into ESP32 IDF 2.1 with boot flash memory as external flash memory

Okay, so you seem to be using LAN8720 PHY, and there its ID registers always read as 0xffff. This likely means that the PHY has not powered up. Please check if the PHY power pin from the IO expander to the PHY actually goes into the correct state. Another thing: do you have a logic analyzer (a low f...

Go to advanced search