Commit Graph

2385 Commits

Author SHA1 Message Date
wuzhenghui
dbb4d923ca fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management 2025-02-21 13:59:56 +08:00
wuzhenghui
a8312fbedb fix(esp_driver_gpio): manage lp_io module clock by driver 2025-02-21 13:59:51 +08:00
morris
6a00758e32 Merge branch 'bugfix/fix_i2s_reconfig_slot_issue_v5.1' into 'release/v5.1'
fix(i2s): fixed incorrect logic in slot reconfig (v5.1)

See merge request espressif/esp-idf!36644
2025-02-18 13:47:39 +08:00
morris
80915d4dff Merge branch 'bugfix/uart_single_wire_mode_v5.1' into 'release/v5.1'
fix(uart): allow same pin for tx and rx in uart_set_pin; UART_SELECT_READ_NOTIF race conditon fix (v5.1)

See merge request espressif/esp-idf!36282
2025-02-18 13:47:09 +08:00
laokaiyao
f61160be73 fix(i2s): fixed incorrect logic in slot reconfig
Closes https://github.com/espressif/esp-idf/issues/15256
2025-01-27 14:16:03 +08:00
wanckl
caf0d04a31 feat(driver_spi): support using SPI_DEVICE_STD_TIMING to adjust master rx in standard timing 2025-01-22 11:14:23 +08:00
Song Ruo Jing
eaf4b3f3e6 fix(uart): allow same pin for tx and rx in uart_set_pin
Closes https://github.com/espressif/esp-idf/issues/14787
2025-01-10 15:52:07 +08:00
Song Ruo Jing
cc42463d6b fix(uart): fix race condition with the use of UART_SELECT_READ_NOTIF
UART_SELECT_READ_NOTIF needs to be sent after received data got processed
to avoid the potential race condition
2025-01-09 21:24:19 +08:00
morris
cc72859948 fix(rmt): channel resolution divider rounding issue
Closes https://github.com/espressif/esp-idf/issues/15092
2025-01-09 11:30:36 +08:00
morris
16b622b4f3 Merge branch 'bugfix/esp_rom_gpio_connect_out_signal_patch_v5.1' into 'release/v5.1'
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2 (v5.1)

See merge request espressif/esp-idf!35942
2025-01-03 10:36:51 +08:00
morris
f54616a4e4 Merge branch 'bugfix/ledc_get_freq_calc_v5.1' into 'release/v5.1'
fix(ledc): fix ledc_get_freq calculation err due to overflow (v5.1)

See merge request espressif/esp-idf!36022
2025-01-03 10:36:24 +08:00
morris
e7fb729b28 Merge branch 'fix/twai_io_init_glitch_v5.1' into 'release/v5.1'
fix(driver_twai): fixed bus-off when twai_init due to wrong gpio config (v5.1)

See merge request espressif/esp-idf!34823
2024-12-27 13:47:52 +08:00
Song Ruo Jing
c262ef4067 fix(ledc): fix ledc_get_freq calculation err due to overflow
Closes https://github.com/espressif/esp-idf/pull/14882
2024-12-26 18:51:22 +08:00
Song Ruo Jing
ea2463cd8c fix(uart): eliminated potential glitch on TX at setup if TX signal is inversed
Closes https://github.com/espressif/esp-idf/issues/14285
2024-12-25 14:19:37 +08:00
morris
cb1f878478 Merge branch 'feat/rmt_return_real_channel_resolution_v5.1' into 'release/v5.1'
feat(rmt): add API to return the real clock resolution of a channel (v5.1)

See merge request espressif/esp-idf!35904
2024-12-25 14:10:40 +08:00
wanckl
c032520054 fix(driver_twai): fixed bus-off when twai_init due to wrong gpio config
Closes https://github.com/espressif/esp-idf/issues/14548
2024-12-24 18:15:39 +08:00
laokaiyao
26f97d8d4d fix(i2s): add check for the tdm frame bits num 2024-12-24 14:50:41 +08:00
laokaiyao
1afe2af442 fix(i2s): fixed the issue in PR 14879
Closes https://github.com/espressif/esp-idf/pull/14879

[Kevin: Update to only remove the limitation for PCM short format]
2024-12-24 14:50:41 +08:00
laokaiyao
51adfa1fd9 fix(i2s): return error when mclk_div is smaller than 2 2024-12-24 14:50:30 +08:00
laokaiyao
4bcc2b151f fix(i2s): fixed incorrect buf size calculation 2024-12-24 12:35:26 +08:00
morris
9120e4dc81 feat(rmt): add API to return the real clock resolution of a channel
Closes https://github.com/espressif/esp-idf/pull/15074
2024-12-24 11:17:32 +08:00
morris
5cbd829624 Merge branch 'fix/spi_slave_no_dma_rx_overwrite_v5.1' into 'release/v5.1'
fix(driver_spi): fixed slave no dma rx overwrite when trans_len below or over (v5.1)

See merge request espressif/esp-idf!34173
2024-12-02 10:45:41 +08:00
wanckl
34a7551c3d fix(driver_spi): fixed slave no dma rx overwrite when trans_len below or over
Closes https://github.com/espressif/esp-idf/issues/14462
2024-11-27 11:07:22 +08:00
lsita
d503c5733c fix(gptimer): race condition between start and stop
Merges https://github.com/espressif/esp-idf/pull/14767
2024-11-22 18:27:38 +08:00
Chen Jichang
a477b04eda fix(mcpwm): add warning about generator deadtime
Closes https://github.com/espressif/esp-idf/issues/14773
2024-11-07 10:59:23 +08:00
Chen Jichang
a3297f8eee fix(mcpwm): fix pm_lock memory issues 2024-10-25 10:57:48 +08:00
Jeroen Domburg
f8f3427aee refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence 2024-10-18 16:07:00 +08:00
wanlei
7a8655d763 fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call 2024-09-18 18:01:12 +08:00
Michael (XIAO Xufeng)
990fb3c2e8 feat(uart_test): add test case for uart tx blocked by auto-suspend 2024-09-12 21:26:13 +08:00
LiPeng
4a8f1d30ce fix(uart): Fixed issue that TX be blocked by auto-lightsleep 2024-09-12 21:26:13 +08:00
Chen Jichang
4a10d24b48 fix(parlio_tx): fix error in first transfer and 1 byte transfer
On p4, the clock was configured in the wrong order causing a dropped
count on the first transmission. And gdma eof event fails to trigger
parlio_tx eof event when transmitting single byte.
2024-09-11 09:52:07 +08:00
morris
fde22b2a2a fix(rmt): power up memory block 2024-07-17 13:53:35 +08:00
Guillaume Souchere
8aa0b7fb1a fix(console): USB Serial JTAG freezes when input received before init
When data was sent through USB Serial JTAG before the
driver was installed, the bus was malfunctioning. This
was because the interrupt bit for data reception was cleared
regardless of whether data was received or not. Consequently,
usb_serial_jtag_isr_handler_default was not triggered and the
data was never read causing the bus to malfunction.

This commit is modifying usb_serial_jtag_driver_install to
prevent clearing USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT and
USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY thus allowing the callback
usb_serial_jtag_isr_handler_default to trigger for possible data
exchanged prior to the call to usb_serial_jtag_driver_install.

This commit also modified the while logic in linenoiseProbe to
discard any data that doesn't match the expected chaaracter sequences
to prevent random input from interfering with evaluating whether the
terminal supports escape sequences or not.

See https://github.com/espressif/esp-idf/issues/13940
2024-07-01 09:37:00 +02:00
zwx
38bbc918c4 fix(uart): remove unnecessary wait when sending message to ring buffer 2024-06-07 11:45:40 +08:00
morris
8318a2ad44 Merge branch 'feature/usb_new_phy_driver_collective_backport_v5.1' into 'release/v5.1'
refactor(usb/host): PHY driver preqrequisite refacotring collective backport (v5.1)

See merge request espressif/esp-idf!29791
2024-05-31 22:30:32 +08:00
Jiang Jiang Jian
91df5f03e9 Merge branch 'doc/add_description_for_pd_top_gpio_configuration_v5.1' into 'release/v5.1'
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep (v5.1)

See merge request espressif/esp-idf!30797
2024-05-21 12:04:46 +08:00
Darian Leung
4f996fc421 feat(hal/usb): Update USB WRAP and USJ LL
- Added LL cap macros to distinguish feature differences between the LLs of
  different targets:
    - '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      routing to an external FSLS PHY.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
  in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-05-13 17:36:34 +08:00
Darian Leung
c776d40df1 refactor(hal/usb): Remove usb_fsls_phy_ll.h
For targets that only contain a USJ peripheral (and not a DWC OTG), their
'usb_fsls_phy_ll.h' headers only contain a single function
('usb_fsls_phy_ll_int_jtag_enable()') whose feature is already covered by
functions in 'usb_serial_jtag_ll.h'. Thus, this header is redundant.

This commit does the following:

- Remove 'usb_fsls_phy_ll.h' for targets that only contain a USJ peripheral
- Rename 'usb_fsls_phy_[hal|ll].[h|c]' to `usb_wrap_[hal|ll].[h|c]` for targets
that contain a DWC OTG peripheral. This better reflects the underlying peripheral
that the LL header accesses.
2024-05-13 17:36:33 +08:00
wuzhenghui
57ef28a6c6 docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all
Closes https://github.com/espressif/esp-idf/issues/13186
2024-05-13 16:24:56 +08:00
morris
9808619d52 Merge branch 'bugfix/fix_gpio_etm_multi_task_v5.1' into 'release/v5.1'
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks (v5.1)

See merge request espressif/esp-idf!30457
2024-05-13 15:59:44 +08:00
wuzhenghui
2e21a74d85 docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep
Closes https://github.com/espressif/esp-idf/issues/13143
2024-05-13 15:58:15 +08:00
morris
442a798083 Merge branch 'feat/add_example_usj_v5.1' into 'release/v5.1'
change(usb_serial_jtag): Add example for usb serial jtag echo (backport v5.1)

See merge request espressif/esp-idf!30020
2024-05-11 22:37:34 +08:00
morris
01b912a9e5 Merge branch 'fix/uart_wakeup_threshold_v5.1' into 'release/v5.1'
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured (v5.1)

See merge request espressif/esp-idf!30464
2024-05-10 22:59:34 +08:00
morris
33b5b78e36 Merge branch 'feature/parlio_tx_nonblock_queue_v5.1' into 'release/v5.1'
feat(parlio_tx): support non-blocking transaction queue (v5.1)

See merge request espressif/esp-idf!29722
2024-05-10 22:56:32 +08:00
morris
a2b9a076b7 Merge branch 'bugfix/unsupport_partial_receive_on_esp32_v5.1' into 'release/v5.1'
fix(rmt): Fix the RMT RX filter not working correctly on esp32/s2 (v5.1)

See merge request espressif/esp-idf!30078
2024-05-10 22:55:59 +08:00
Song Ruo Jing
a664c71fd7 fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 17:21:37 +08:00
Song Ruo Jing
c57bfa3737 fix(gpio_etm): allow one GPIO binds to multiple ETM tasks 2024-04-24 17:10:03 +08:00
Jiang Jiang Jian
ac3087ea36 Merge branch 'bugfix/gptimer_alarm_config_in_sram_v5.1' into 'release/v5.1'
feat(gptimer): check the alarm config is not in flash (v5.1)

See merge request espressif/esp-idf!30135
2024-04-12 09:08:41 +08:00
morris
4a497e1212 feat(gptimer): check the alarm config is not in flash
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-09 17:33:26 +08:00
morris
491f4af657 fix(rmt): fix the counting clock used by rx filter on esp32/s2
is always APB, independent to the channel clock selection

Closes https://github.com/espressif/esp-idf/issues/13510
2024-04-08 11:50:37 +08:00