Commit Graph

1923 Commits

Author SHA1 Message Date
morris
889787c7ca Merge branch 'refactor/improve_adc_power_maintanance_v5.0' into 'release/v5.0'
adc: improve adc power maintanance (v5.0)

See merge request espressif/esp-idf!23273
2023-05-11 11:09:31 +08:00
morris
4a6c52708d Merge branch 'bugfix/fixed_sdmmc_high_speed_ddr_timing_issue_on_esp32s3_v5.0' into 'release/v5.0'
sdmmc: fixed incorrect clock phase settings on esp32s3 (v5.0)

See merge request espressif/esp-idf!23259
2023-05-11 10:31:16 +08:00
Armando
85980884d7 adc: improve adc power logic 2023-04-20 10:34:37 +08:00
Armando
1ebeea7763 sdmmc: I/O phase adjustments
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
   with the TRM.
2. Choose input and output phases to satisfy typical timing
   requirements.
3. Move use_hold_reg setting into the host driver, since it is related
   to timing.

Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-19 15:38:57 +08:00
morris
5d11967f2e rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode 2023-03-31 09:59:32 +08:00
morris
e06bea0445 rmt: use gpio_num_t to define gpio number 2023-03-30 15:52:08 +08:00
dizcza
7bfc40b5fb i2s interrupt fix
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 18:37:48 +08:00
Michael (XIAO Xufeng)
76c8f09856 Merge branch 'bugfix/usb_serial_driver_block_v5.0' into 'release/v5.0'
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v5.0)

See merge request espressif/esp-idf!22830
2023-03-23 16:58:36 +08:00
Michael (XIAO Xufeng)
8f202f0ea5 Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'
uart: Fix TX side concurrency issues (v5.0)

See merge request espressif/esp-idf!22595
2023-03-23 15:29:33 +08:00
laokaiyao
ec55f7fe6e i2s_pdm: fix tx frequency limitation
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +08:00
laokaiyao
b02d50e33b i2s: fix some typos 2023-03-20 14:51:07 +08:00
Cao Sen Miao
8e3b4f68dc usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
Merges https://github.com/espressif/esp-idf/pull/10208
2023-03-20 14:07:55 +08:00
Chip Weinberger
6f0746734f [USB Serial/JTAG Driver] use time-limited blocking for TX 2023-03-20 14:07:41 +08:00
Michael (XIAO Xufeng)
55e040b54b Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v5.0' into 'release/v5.0'
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v5.0)

See merge request espressif/esp-idf!22665
2023-03-20 12:49:56 +08:00
Michael (XIAO Xufeng)
385ca5a041 Merge branch 'test/add_spi_slave_freq_test_v5.0' into 'release/v5.0'
spi_slave: fix io re-config issue (v5.0)

See merge request espressif/esp-idf!22592
2023-03-17 19:17:23 +08:00
Michael (XIAO Xufeng)
3da8120029 Merge branch 'bugfix/gpio_ut_usj_v5.0' into 'release/v5.0'
gpio: add a test case to test the ability of disabling USB D+ pin pull-up (v5.0)

See merge request espressif/esp-idf!22605
2023-03-17 16:34:17 +08:00
Song Ruo Jing
27f9ee66d5 gpio: Fix IO hold function related problems
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API

docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
Song Ruo Jing
a7222acf47 rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup 2023-03-17 14:44:23 +08:00
morris
c24222dcde gptimer: fix race condition between start and stop
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-11 11:42:09 +08:00
laokaiyao
a6b190c083 sdm: fixed potential memory leak 2023-03-10 03:48:27 +00:00
Zim Kalinowski
2a804de4b7 Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)

See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
Omar Chebib
83907aaa20 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
Gustavo Henrique Nihei
24484887a9 esp_system: Ensure TIMG0 clock is always enabled during normal operation
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Song Ruo Jing
639e49d157 gpio: add a test case to test the ability of disabling USB D+ pin pull-up 2023-03-06 11:14:05 +08:00
morris
2b14b7d061 Merge branch 'contrib/github_pr_10402_v5.0' into 'release/v5.0'
ledc: move callback to IRAM as it's called from an ISR (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22590
2023-03-06 10:14:58 +08:00
Song Ruo Jing
f177b2c6c6 uart: Fix two TX concurrency issues
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 19:18:08 +08:00
wanlei
62e1e2500c spi_slave: fix io re-config issue 2023-03-03 17:56:23 +08:00
Song Ruo Jing
bdffb4403d ledc: Add check for whether the registered callback is in iram in ledc_cb_register 2023-03-03 17:21:56 +08:00
Bradley McFadden
701780891c uart: Correct typo in referenced function name
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.

Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-03 16:45:17 +08:00
Chen Yudong
c8e7ab7f17 CI: add generic to xtal_40mhz jobs 2023-03-01 22:40:32 +08:00
Jiang Jiang Jian
d759ee5aea Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
touch: update examples and tests (v5.0)

See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Zim Kalinowski
fd707e1d03 Merge branch 'bugfix/twai_listen_only_errata_v5.0' into 'release/v5.0'
twai: Add errata workaround for listen only mode (v5.0)

See merge request espressif/esp-idf!22514
2023-02-27 18:13:11 +08:00
Jiang Jiang Jian
4abb6efb36 Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v5.0' into 'release/v5.0'
sleep: fix gpio wakeup related issues(backport v5.0)

See merge request espressif/esp-idf!22332
2023-02-27 15:12:13 +08:00
Darian Leung
3318fac02f twai: Add errata workaround for listen only mode
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.

Errata Description:

When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.

Workaround:

We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.

Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 19:26:22 +08:00
morris
b731bd6a60 rmt: fix rmt buffer allocation issue 2023-02-20 15:12:30 +08:00
Armando
d101d9c100 esp_adc: update license 2023-02-20 10:34:34 +08:00
Armando
45776dc0cc esp_adc: add esp32c2 adc high/low test threshold and expected val 2023-02-20 10:34:34 +08:00
morris
3f68b61f3e Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
mcpwm: support non-vararg version of generator functions (v5.0)

See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
morris
15471b450d Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit_v5.0' into 'release/v5.0'
mcpwm: support not reset GPIO config at exit (v5.0)

See merge request espressif/esp-idf!22023
2023-02-18 15:03:13 +08:00
morris
27ca6549d5 Merge branch 'bugfix/gdma_uhci_id_5.0' into 'release/v5.0'
gdma: correct the dma trigger of UHCI && fix async memcpy conflict with peripheral DMA (v5.0)

See merge request espressif/esp-idf!22006
2023-02-18 15:02:32 +08:00
morris
10dd0cc4a1 Merge branch 'feature/rmt_no_light_sleep_lock_v5.0' into 'release/v5.0'
rmt: avoid auto light sleep when use xtal as the clock source (v5.0)

See merge request espressif/esp-idf!22053
2023-02-18 15:00:56 +08:00
morris
92b1f4fa27 Merge branch 'bugfix/gptimer_pm_lock_xtal_5.0' into 'release/v5.0'
gptimer: acquire pm lock for xtal clock source (v5.0)

See merge request espressif/esp-idf!22281
2023-02-18 15:00:24 +08:00
Cao Sen Miao
256dd53120 mcpwm: modify wrong config name 2023-02-15 17:55:55 +08:00
jingli
7f15980de9 sleep: fix gpio wakeup not working properly in some cases
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-09 17:32:13 +08:00
jingli
50feb8f75b soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
all esp chips support this feature
2023-02-09 17:29:40 +08:00
morris
de8409fa88 gptimer: acquire pm lock for xtal clock source 2023-02-09 14:10:15 +08:00
wangyuanze
5de3f74f5e touch_sensor: fix touch_sensor_v1 filter issue 2023-02-08 14:32:36 +08:00
wangyuanze
9892fb760b touch: move unit tests to test_app 2023-02-08 12:26:27 +08:00
wangyuanze
e51845d04c touch: update touch-related code to compile without -Wno-format flag 2023-02-08 12:23:40 +08:00
morris
6b8d4dfe14 gdma: prevent mutli-channels connect to the same peripheral
1. add check in the gdma driver, to prevent multiple channels connecting
   to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
   targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.

Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:06:48 +08:00