Search found 566 matches
- Fri Aug 27, 2021 6:07 pm
- Forum: Hardware
- Topic: IO0 / EN minimum/maximulm timing
- Replies: 4
- Views: 4283
Re: IO0 / EN minimum/maximulm timing
It might help to remove C5 (for faster IO0 rise time).
- Fri Aug 27, 2021 6:04 pm
- Forum: General Discussion
- Topic: External 32kHz Crystal Calibration During Deep Sleep Wake Up?
- Replies: 2
- Views: 2824
Re: External 32kHz Crystal Calibration During Deep Sleep Wake Up?
The assumption is probably that most users prefer a more accurate clock over a faster wakeup, especially when using the internal oscillator.
You're better off skipping calibration in your case.
You're better off skipping calibration in your case.
- Thu Aug 12, 2021 1:26 am
- Forum: General Discussion
- Topic: Touch sensor read with ULP?
- Replies: 3
- Views: 4862
Re: Touch sensor read with ULP?
You could convert the instructions (after untangling the macros) to normal ULP assembly. There's not much to the touch stuff.
hulp_dump_program might be useful as an intermediate.
hulp_dump_program might be useful as an intermediate.
- Fri Aug 06, 2021 12:19 pm
- Forum: ESP-IDF
- Topic: periodically wake up in light sleep mode
- Replies: 4
- Views: 4451
Re: periodically wake up in light sleep mode
I had the same problem and used this: https://github.com/espressif/esp-idf/pull/4352
Although if I was doing it today I'd simply put a callback in esp_light_sleep_start (just before it returns). Hopefully IDF will have something like that in future.
Although if I was doing it today I'd simply put a callback in esp_light_sleep_start (just before it returns). Hopefully IDF will have something like that in future.
- Fri Aug 06, 2021 12:00 pm
- Forum: Hardware
- Topic: I2C doesn't work properly if reconfigure the gpios used
- Replies: 5
- Views: 4986
Re: I2C doesn't work properly if reconfigure the gpios used
According to https://github.com/espressif/esp-idf/blob/8131d6f46d690e9cb60cc5cd457863cc5479351f/components/esp_rom/include/esp32/rom/gpio.h#L228-L242, 0x100 is the magic number to disconnect the I2C signal from the previous pins. eg. // Disconnect previous gpio_matrix_in(GPIO_NUM_18, 0x100, 0, 0); g...
- Thu Jul 29, 2021 7:00 am
- Forum: ESP-IDF
- Topic: i2c_config_t union issue on definition of variables
- Replies: 3
- Views: 2932
Re: i2c_config_t union issue on definition of variables
Code: Select all
.master = {
.clk_speed = 100000,
}
- Sat Jul 17, 2021 4:45 am
- Forum: ESP-IDF
- Topic: esp-32s1 reading RTC timer through ULP, getting garbage.
- Replies: 2
- Views: 2041
Re: esp-32s1 reading RTC timer through ULP, getting garbage.
This doesn't look right. Are you trying to read the upper 16 bits?: READ_RTC_REG(RTC_CNTL_TIME0_REG, 16, 16)READ_RTC_REG(RTC_CNTL_TIME0_REG+2, 0, 16)
- Fri May 21, 2021 12:31 pm
- Forum: ESP-IDF
- Topic: Call WRITE_RTC_REG in ULP using value from a register
- Replies: 4
- Views: 3774
Re: Call WRITE_RTC_REG in ULP using value from a register
There's no (reasonable) way to actually modify register write instructions at runtime, but if this is representative of what you need to do then it might be feasible to include *all* possible instructions and jump to the one you need. eg: // RTCIO 14 move r0 14 // Each RTCIO requires 2 instructions ...
- Thu May 20, 2021 10:53 am
- Forum: General Discussion
- Topic: I2C problem with Esp-Idf V4.4-dev-1404
- Replies: 4
- Views: 11657
Re: I2C problem with Esp-Idf V4.4-dev-1404
A new member was recently added to i2c_config_t: https://github.com/espressif/esp-idf/blob/c13afea635adec735435961270d0894ff46eef85/components/driver/include/driver/i2c.h#L66 You can initialise to 0 for default behaviour (or, even better, initialise the entire struct; any new additions like this wil...
- Mon May 17, 2021 9:58 am
- Forum: Hardware
- Topic: SPI flash pins cause additional current draw
- Replies: 2
- Views: 2686
Re: SPI flash pins cause additional current draw
Possibly addressed by this recent fix? https://github.com/espressif/esp-idf/commit/27aa6c289f90898cb227c3f93c9ba2f068466ab7 That was targeting light sleep, but I suppose if the ULP is waking frequently enough then it could result in a measurable increase in power consumption in deep sleep too (is VS...