Skip to content

Commit

Permalink
Merge pull request #268 from Fabian-Schmidt/gpio12_usable
Browse files Browse the repository at this point in the history
Make GPIO12 usable
  • Loading branch information
martinberlin authored Dec 25, 2023
2 parents bd3194a + b128bb5 commit 4261f4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ The following list is compiled from past experiences and GitHub issues:
* **The existing image fades / darkens when updating a partial screen region.** Make sure the VCOM voltage is [calibrated](https://epdiy.readthedocs.io/en/latest/getting_started.html#calibrate-vcom) for your specific display.
* **The second third of the image is replaced with the last third.** This seems to be a timing issue we could not yet quite figure out the reason for. For a workarround or suggestions please [join the discussion](https://github.com/vroland/epdiy/issues/15).
* **The ESP does not boot correctly when external periperals are connected.** Make sure not to pull GPIO12 high during boot, as it is a strapping pin internal voltage selection (https://github.com/vroland/epdiy/issues/17).
* **The ESP power consumption in deep sleep is too high.** Add `rtc_gpio_isolate(GPIO_NUM_12);` to your solution. See also [Configuring IOs (Deep-sleep Only)](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html?highlight=rtc_gpio_isolate#configuring-ios-deep-sleep-only).

LilyGo Boards
---------------
Expand Down
2 changes: 0 additions & 2 deletions src/output_i2s/i2s_data_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ void i2s_gpio_detach(i2s_bus_config *cfg) {
if (cfg->clock != 5) {
rtc_gpio_isolate(cfg->clock);
}
// https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/gpio.html#_CPPv416rtc_gpio_isolate10gpio_num_t
rtc_gpio_isolate(GPIO_NUM_12);
}

void i2s_bus_init(i2s_bus_config *cfg, uint32_t epd_row_width) {
Expand Down

0 comments on commit 4261f4f

Please sign in to comment.