Commit Graph
114 Commits
Author SHA1 Message Date
Hu Rui 1bb727c66e fix(uhci): rx fsm race condition and buffer size check
Closes https://github.com/espressif/esp-idf/issues/18819
Closes https://github.com/espressif/esp-idf/issues/18820
2026-07-28 11:29:05 +08:00
morris 26654f5a76 Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v5.5' into 'release/v5.5'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v5.5)

See merge request espressif/esp-idf!50525
2026-07-18 15:54:51 +08:00
Abanoub Salah bd854b7b15 uart: fix threshold configuration loss when interrupts are disabled 2026-07-09 20:32:24 +08:00
Song Ruo Jing d431d87261 fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6
Add software flow control test case

Introduced in e6ef4d1791

Closes https://github.com/espressif/esp-idf/issues/18779
2026-07-09 20:32:15 +08:00
Hu Rui ead3341ded fix(uhci): rx fsm race condition
Closes https://github.com/espressif/esp-idf/issues/18746
2026-07-09 18:55:24 +08:00
morris 9462240ecd Merge branch 'test/uart_dma_ota_fix_v5.5' into 'release/v5.5'
refactor(uhci): refactor uart_dma_ota example (v5.5)

See merge request espressif/esp-idf!48756
2026-05-28 11:21:33 +08:00
Hu Rui 6b81966b9f refactor(uhci): improve uart_dma_ota example & uhci docs
add const to UHCI rx callback edata->data
2026-05-25 10:47:40 +08:00
Song Ruo Jing 58d883a99d fix(uart): lp uart rx iomux pin was not working as expected
Introduced in 8818157e42
The workaround in the commit routes the signal to LP GPIO matrix first.
When uses LP IOMUX pin as UART RX, the signal did not bypass the matrix,
which caused the issue.

This commit adds rtc_gpio_iomux_input and rtc_gpio_iomux_output APIs
to align with existing GPIO driver APIs.
2026-05-22 15:36:00 +08:00
Chen ChenandCursor 141de056be fix(uhci): correct rx_fsm initialization enum type
Closes https://github.com/espressif/esp-idf/issues/18541

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 16:12:29 +08:00
Hu Rui fc268ec2b3 fix(uhci): fix uhci cache issue on ESP32-P4 2026-04-24 15:29:37 +08:00
Hu Rui 01904c19d0 test(uhci): fix false-pass bug in UHCI receive test
reset RX buffer state between UHCI test transactions
2026-04-16 15:36:11 +08:00
hebinglin 377f6fed17 change(example): change uart wakeup mode 0 edge threshold 2026-04-03 15:55:22 +08:00
C.S.M 5cc0bbb265 fix(uhci): Fix uhci second receive error when first receive is long
Closes https://github.com/espressif/esp-idf/issues/18200
2026-03-11 15:15:09 +08:00
Song Ruo Jing 9a9b104f8c fix(uart): fix autobaud detection unable to trigger LOGE when counts unreliable 2026-02-14 11:38:32 +08:00
Song Ruo Jing de878df848 fix(uart): Avoid division by zero error when calling uart_get_baudrate
If uart_driver_install is not called before uart_get_baudrate,
the UART port may not be ready. In such cases, the register values
cannot be read out, leading to a division by zero error in uart_ll_get_baudrate.
This commit adds a check to ensure the UART port is enabled before
attempting to read its registers.

Closes https://github.com/espressif/esp-idf/issues/17513
2026-02-14 11:38:17 +08:00
Song Ruo Jing 8974851c8a fix(uart): tx write bytes fails to use non-default tx fifo empty threshold
Users may see tx write bytes fails to feed data into tx fifo in time
even if the tx fifo empty threshold has been set to a large value.
2026-02-14 11:18:40 +08:00
wuzhenghui cb617da906 fix(esp_driver_uart): enable pad sleep clock in uart_wakeup_setup function 2026-02-11 15:30:29 +08:00
armando f19e08046b fix(uhci): fixed rx buffer potential corruption issue due to cache coherence issue caused by autowriteback 2026-01-15 14:11:05 +08:00
morris 2fad74c350 Merge branch 'fix/handle_shared_intr_v5.5' into 'release/v5.5'
Fix/handle shared intr (v5.5)

See merge request espressif/esp-idf!44071
2025-12-26 19:21:39 +08:00
Chen Chen 2ce6e22986 fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-12-16 08:32:59 +08:00
laokaiyao ce84d734ef feat(gdma_link): support to select final node link type 2025-11-27 11:36:58 +08:00
Song Ruo Jing 3228998165 fix(uart): fix some wdt get triggered due to uart sclk not exist on C5
Interrupt wdt would get triggered on uart_driver_install if uart driver was deleted before
Closes https://github.com/espressif/esp-idf/issues/17779

RTC wdt would get triggered on esp_restart if uart driver was deleted before
2025-11-24 11:41:26 +08:00
Song Ruo Jing 430e8e8970 fix(ci): increase memory leak threshold for uart rs485 test app 2025-11-24 11:41:26 +08:00
Song Ruo Jing a5904ca810 fix(uart): fix some uart port generate a RX BRK_DET intr on reset issue
Issue saw on S3 UART2 and some LP_UART ports
2025-11-24 11:41:26 +08:00
Song Ruo Jing 9629b2fb6a fix(uart): correct uart_get_tx_buffer_free_size calculation
Modified a bit on the TX ring buffer push size logic

 Closes https://github.com/espressif/esp-idf/issues/15859
2025-11-24 11:41:19 +08:00
Song Ruo Jing 2143f6ea47 fix(uart): fix release pin logic if switching only one pin 2025-11-21 21:57:00 +08:00
hebinglin 987305e870 fix(esp_driver_uart): resolve the issue of other chips receiving break data 2025-11-10 12:05:30 +08:00
Chen Jichang 0c733c2018 refactor(gdma): move buffer aligment to buffer mount config 2025-10-10 17:44:54 +08:00
wanckl 7bc929997e ci(esp32c61): enable multi dut runner for c61 2025-07-30 09:32:09 +08:00
Jiang Jiang Jian 3c39b32195 Chip/support esp32c61 v5.5 2025-07-22 12:21:36 +08:00
morris bb72c42611 Merge branch 'fix/driver_issue_by_coverity_v5.5' into 'release/v5.5'
Fix some false issue report by coverity (v5.5)

See merge request espressif/esp-idf!39303
2025-06-16 10:02:26 +08:00
armando b977a13796 test(psram): re-enable 80M psram tests on C5 ECO2 2025-05-26 11:32:24 +08:00
morris 039cc1ac80 fix(drivers): some false reports from coverity 2025-05-21 10:08:08 +08:00
morris dbfb663b66 Merge branch 'feature/add_uart_io_deinit_process_v5.5' into 'release/v5.5'
fix(uart): eliminate garbled data on TX/RX line in sleep (v5.5)

See merge request espressif/esp-idf!39262
2025-05-20 16:00:38 +08:00
Song Ruo Jing 5bb83afac7 refactor(uart): minor refactor to uart wakeup code 2025-05-19 21:52:55 +08:00
Song Ruo Jing 669e677ba3 fix(uart): eliminate garbled data on UART TX/RX line in sleep 2025-05-19 21:52:15 +08:00
Song Ruo Jing 1909105acf feat(uart): add pin release process to uart driver 2025-05-19 21:51:59 +08:00
C.S.M f6cb4422db docs(uhci): implementation for uart-dma (uhci) docs 2025-05-19 17:49:39 +08:00
Li Shuai 4b9001a84c change(esp_driver_uart): change ci test to improve the pass rate for hp uart wakeup 2025-05-07 19:21:13 +08:00
morris 8af9bb624e test(uhci): enable the psram test in CI 2025-04-30 13:16:57 +08:00
C.S.M bb03892461 feat(uhci): Add length receive threshold support 2025-04-29 11:12:38 +08:00
C.S.M f566b500dd feat(uhci): Add uhci (uart-dma) support on esp32c5, esp32h2 2025-04-28 16:24:42 +08:00
C.S.M 6b988d8a07 test(uhci): Add tests for uhci 2025-04-27 17:41:11 +08:00
C.S.M 1a3db8e025 feat(uhci): Add uhci (uart-dma) support on esp32c3, esp32c6, esp32s3, esp32p4 2025-04-27 15:28:23 +08:00
Li Shuai bcd138f89d feat(esp_driver_uart): add ci test for hp uart wakeup modes 2025-04-21 20:47:18 +08:00
Li Shuai d115a3daac feat(esp_driver_uart): support hp uarts wakeup modes 1 2 3 during light sleep 2025-04-21 14:03:34 +08:00
Chen Ji Chang c3a3cc8657 Merge branch 'feat/h4_enable_ci_build' into 'master'
feat(esp32h4): enable ESP32H4 ci build

Closes IDF-12332

See merge request espressif/esp-idf!37921
2025-03-31 23:49:48 +08:00
Song Ruo Jing b38ac5ad82 feat(uart): add uart_detect_bitrate_bps API for data line bitrate measurement
Closes https://github.com/espressif/esp-idf/issues/14721
2025-03-28 15:03:19 +08:00
Song Ruo Jing b9b95cef37 docs(uart): improve set/get baud rate API docs
Closes https://github.com/espressif/esp-idf/issues/15449
2025-03-28 15:03:19 +08:00
Song Ruo Jing a67554d032 fix(uart): fixed coverity ininitialized scalar variable in uart_tcgetattr 2025-03-28 15:03:19 +08:00