Search found 2067 matches

by ESP_igrr
Wed Jul 19, 2017 8:41 am
Forum: ESP-IDF
Topic: Is brownout detection usable now?
Replies: 17
Views: 35805

Re: Is brownout detection usable now?

Update: indeed the values listed in menuconfig are not correct. Here are the levels measured on one of the chips:

Code: Select all

0	2,40
1	2,46
2	2,56
3	2,59
4	2,60
5	2,65
6	2,70
7	2,74
We'll do some more measurements to check variation between chips.
by ESP_igrr
Wed Jul 19, 2017 7:12 am
Forum: ESP-IDF
Topic: Is brownout detection usable now?
Replies: 17
Views: 35805

Re: Is brownout detection usable now?

Just to clarify, are you using an ESP-WROOM32 module, or some other one?
by ESP_igrr
Wed Jul 19, 2017 4:02 am
Forum: ESP-IDF
Topic: Time Stamps On Log Messages Are Wrong
Replies: 2
Views: 5093

Re: Time Stamps On Log Messages Are Wrong

use the REF_TICK clock that maintains a constant frequency regardless of CPU frequency as the clock source for log message time stamps Unfortunately, REF_TICK can be used as clock source only by 3 peripherals: UART, RMT, and LED PWM. We would need to connect it to a timer in order to produce timest...
by ESP_igrr
Tue Jul 18, 2017 12:20 pm
Forum: ESP-IDF
Topic: Is brownout detection usable now?
Replies: 17
Views: 35805

Re: Is brownout detection usable now?

With the recent change, BOD should be usable both on rev0 and rev1 chips. There are still situations where it will "fail" — for example if GPIO0 strapping pin is sampled as "low" after reset, in which case the system will go into flash download mode. There is an issue report related to this on Githu...
by ESP_igrr
Tue Jul 18, 2017 11:59 am
Forum: ESP-IDF
Topic: How to mask the interrupts?
Replies: 4
Views: 9615

Re: How to mask the interrupts?

1, what is the differences between esp_intr_disable/esp_intr_enable and xt_ints_off/xt_ints_on? esp_intr_disable/enable functions' argument is an opaque handle returned by esp_intr_alloc. For xt_ints_off/on, the argument is a 32-bit interrupt mask. You should not use xt_ints_off/on for interrupts a...
by ESP_igrr
Tue Jul 18, 2017 9:17 am
Forum: ESP-IDF
Topic: How to mask the interrupts?
Replies: 4
Views: 9615

Re: How to mask the interrupts?

In ESP32, hardware interrupt sources are connected to CPU interrupt inputs using an interrupt matrix. ESP-IDF provides APIs to simplify setup of interrupts and interrupt matrix: http://esp-idf.readthedocs.io/en/latest/api-reference/system/intr_alloc.html You can use esp_intr_disable function to mask...
by ESP_igrr
Thu Jul 13, 2017 11:56 am
Forum: General Discussion
Topic: Help getting to the root of a load prohibited error ...
Replies: 4
Views: 14842

Re: Help getting to the root of a load prohibited error ...

Looks like a memory corruption bug, where some pointer gets overwritten due to an out-of-bounds access. If the corruption happens in the same place every time, you could enable a debug watchpoint at the location where the corruption happens. Your first step would be to figure out the address of the ...
by ESP_igrr
Thu Jul 13, 2017 8:50 am
Forum: General Discussion
Topic: is there any guide to use peripheral SDIO Slave
Replies: 2
Views: 3824

Re: is there any guide to use peripheral SDIO Slave

Please load the PDF from Espressif website again. The latest version contains a chapter about SDIO slave.
by ESP_igrr
Wed Jul 12, 2017 4:59 pm
Forum: ESP-IDF
Topic: SD card interface high speed mode
Replies: 12
Views: 37775

Re: SD card interface high speed mode

Here are the numbers for 1 bit mode: Default speed mode: sector | count | size(kB) | wr_time(ms) | wr_speed(MB/s) | rd_time(ms) | rd_speed(MB/s) 0 | 1 | 0.5 | 7.79 | 0.06 | 0.61 | 0.80 0 | 4 | 2.0 | 1.66 | 1.18 | 1.11 | 1.76 1 | 16 | 8.0 | 4.65 | 1.68 | 3.59 | 2.18 16 | 32 | 16.0 | 7.70 | 2.03 | 6.8...
by ESP_igrr
Wed Jul 12, 2017 1:50 pm
Forum: ESP-IDF
Topic: SD card interface high speed mode
Replies: 12
Views: 37775

Re: SD card interface high speed mode

We have added HS mode to the SDMMC driver. The feature needs more extensive testing, i expect that it will be part of the next major version. If you want to try it out, let me know and i will push the branch to Github. Here are some performance numbers for comparison, obtained with a 32GB Sandisk Ex...