Commit Graph

2376 Commits

Author SHA1 Message Date
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
Cao Sen Miao
93b2297dc1 fix(usb_serial_jtag): Fix issue that buffer seems not flush when TX buffer is full and flush slow,
Closes https://github.com/espressif/esp-idf/issues/12628
2024-04-07 10:46:37 +08:00
Jeroen Domburg
28e2ab09ea fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data 2024-04-07 10:46:34 +08:00
Omar Chebib
4c896cbb3a fix(i2c): fix issues related to timeout and alive interval tick
Fixes https://github.com/espressif/esp-idf/issues/4999

Former usage of I2C_CMD_ALIVE_INTERVAL_TICK macro overrode the ticks_to_wait
parameter when the latter was too big
2024-04-02 10:43:00 +08:00
morris
8bacd5aab3 feat(parlio_tx): support non-blocking transaction queue 2024-03-19 13:15:15 +08:00
Marius Vikhammer
929a8449bd Merge branch 'feature/usb_host_collective_backport_v5.1' into 'release/v5.1'
USB Host: Collective backport to v5.1

See merge request espressif/esp-idf!28096
2024-03-01 09:28:23 +08:00
morris
ba14fc20d3 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.1' into 'release/v5.1'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.1)

See merge request espressif/esp-idf!28333
2024-02-29 10:25:28 +08:00
Darian Leung
d837836f84 refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-28 16:09:52 +08:00
Darian Leung
148cc6e75d refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-28 16:09:52 +08:00
Cao Sen Miao
30095494be fix(tsens): 300us delay in phy cause extra power consumption 2024-02-28 12:36:04 +08:00