Search found 1440 matches

by ESP_igrr
Tue Apr 23, 2019 1:13 am
Forum: ESP32 IDF
Topic: Read registers using C code?
Replies: 5
Views: 104

Re: Read registers using C code?

For these registers you should use DPORT_REG_READ macro. If you still have a compilation error when using DPORT_REG_READ, please post the error here. If all the registers of a peripheral read back as 0, then it might mean that you haven't enabled clock for the peripheral and taken it out of reset. S...
by ESP_igrr
Wed Apr 17, 2019 4:59 am
Forum: ESP32 IDF
Topic: ULP wake using ext1
Replies: 4
Views: 194

Re: ULP wake using ext1

No, waking up the ULP using an IO isn't possible.

ULP can periodically poll the state of the IO, so depending on the expected pulse width you can find suitable polling frequency.
by ESP_igrr
Tue Apr 16, 2019 12:05 am
Forum: ESP32 IDF
Topic: ESP32 - combining timer AND GPIO wake up
Replies: 2
Views: 122

Re: ESP32 - combining timer AND GPIO wake up

If I understand your problem correctly, you wish to wake up only after certain number of pulses from the sensor, and not on each pulse?
If so, please check the "system/ulp" example in IDF. It demostrates how to do pulse counting using ULP coprocessor, and wake up after given number of pulses.
by ESP_igrr
Tue Apr 16, 2019 12:02 am
Forum: General Discussion
Topic: v3.2 make menuconfig for component NVS is empty.
Replies: 2
Views: 154

Re: v3.2 make menuconfig for component NVS is empty.

Some options related to NVS encryption will show up there if Flash Encryption feature is enabled under "Security settings". Please read the Flash Encryption documentation before doing it though!
by ESP_igrr
Sat Apr 13, 2019 3:59 am
Forum: General Discussion
Topic: First Firmware Writing of ESP32-D0WDQ6
Replies: 1
Views: 92

Re: First Firmware Writing of ESP32-D0WDQ6

Yes, first time firmware upload is no different from the rest, and can be done over serial port ("make flash" or "idf.py flash", if using CMake build system, or using esptool.py). ROM bootloader responsible for serial uploads is always present on the chip and cannot be erased.
by ESP_igrr
Fri Apr 12, 2019 1:40 am
Forum: News
Topic: New toolchain version preview (GCC 8.2)
Replies: 1
Views: 8181

Re: New toolchain version preview (GCC 8.2)

We have updated the preview version of GCC 8.2 based toolchain to "esp32-2019r1-rc2" version. We plan to fix the remaining known issue and switch the ESP-IDF to 2019r1 release of the toolchain in the next couple of weeks. Please report any issues you observe on Github , mentioning that you are using...
by ESP_igrr
Thu Apr 11, 2019 3:55 pm
Forum: General Discussion
Topic: Encrypted flash and SPIFFS storage together?
Replies: 7
Views: 305

Re: Encrypted flash and SPIFFS storage together?

No, they aren't mutually exclusive. FATFS is compatible with flash encryption, both with wear_levelling and without. When FATFS is read-only, it can be used without wear_levelling. When it is used for reading and writing, it should be used together with wear_levelling.
by ESP_igrr
Thu Apr 11, 2019 2:03 am
Forum: General Discussion
Topic: Encrypted flash and SPIFFS storage together?
Replies: 7
Views: 305

Re: Encrypted flash and SPIFFS storage together?

You can write to encrypted FATFS, but for read/write scenario it is recommended to use FATFS on top of wear_levelling library.
by ESP_igrr
Mon Apr 08, 2019 2:02 pm
Forum: ESP32 IDF
Topic: ULP never becomes ready to wake the CPU
Replies: 6
Views: 196

Re: ULP never becomes ready to wake the CPU

If the main CPU is not in sleep mode, it is okay to execute 'wake' instruction to generate an RTC interrupt, yes. Will update the documentation to mention this.
by ESP_igrr
Mon Apr 08, 2019 9:55 am
Forum: ESP32 IDF
Topic: ULP never becomes ready to wake the CPU
Replies: 6
Views: 196

Re: ULP never becomes ready to wake the CPU

But the problem is, if the power is on, then the system never enters sleep state, where it can be woken up. So RTC_CNTL_RDY_FOR_WAKEUP never gets set. For debugging, i would suggest entering deep sleep and enabling timer wakeup. After wakeup, you can check the wakeup cause. If the wakeup was caused ...

Go to advanced search