C.S.M
fdc5fa2931
fix(i2c): Fix possible error state in clear the bus,
...
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-12 11:56:51 +08:00
C.S.M
6adee5052f
fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout set seems doesn't work
...
Closes https://github.com/espressif/esp-idf/issues/14129
Closes https://github.com/espressif/esp-idf/issues/14401
2024-09-12 11:56:51 +08:00
Jiang Jiang Jian
4a6154f6a3
Merge branch 'fix/spi_hd_seg_fix_iwdt_timeout_v5.2' into 'release/v5.2'
...
fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call (v5.2)
See merge request espressif/esp-idf!31843
2024-08-28 13:41:55 +08:00
wuzhenghui
69baf86cf4
change(esp_hw_support): collect retention link priority definition
2024-08-26 11:40:07 +08:00
wanlei
7f6ff6ebd9
fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call
2024-08-23 10:34:36 +08:00
Alexey Lapshin
ceb5456108
fix(esp_driver_usb_serial_jtag): fix warnings found by GNU static analyzer
2024-08-21 14:02:55 +07:00
Song Ruo Jing
457e0818e9
fix(uart): fix uart_config_t structure size difference in C and C++
2024-07-31 16:52:05 +08:00
morris
d9e113f877
fix(rmt): power up memory block
2024-07-18 14:41:13 +08:00
Jeroen Domburg
4af418c534
refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence
2024-07-08 14:47:25 +08:00
C.S.M
4ce9b783f3
fix(i2c): Fix i2c not release semaphore in command send loop
2024-07-04 12:29:05 +08:00
Cao Sen Miao
a44f8179de
refactor(i2c): Add reset and clock control to i2c ll layer
2024-07-04 12:29:05 +08:00
Cao Sen Miao
5847ba0b9a
fix(i2c_master): Fix the issue that probe cannot work properly after a general call,
...
Closes https://github.com/espressif/esp-idf/issues/13547
2024-07-04 12:29:05 +08:00
Cao Sen Miao
34abdaea46
fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut,
...
Closes https://github.com/espressif/esp-idf/issues/13587
2024-07-04 12:29:05 +08:00
Guillaume Souchere
c2683af2a6
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:36:18 +02:00
Song Ruo Jing
707aebc607
feat(uart): support uart module sleep retention on c6/h2
2024-06-18 15:04:20 +08:00
morris
771ae77c9b
Merge branch 'bugfix/forbid_uart_suspend_auto_lightsleep_v5.2' into 'release/v5.2'
...
uart: Fixed issue that TX be blocked by auto-lightsleep (v5.2)
See merge request espressif/esp-idf!31108
2024-06-14 11:51:29 +08:00
Michael (XIAO Xufeng)
e95cea579d
Merge branch 'backport/shortened_uart_read_bytes_blocking_52' into 'release/v5.2'
...
fix(uart): remove unnecessary wait when sending message to ring buffer(backport5.2)
See merge request espressif/esp-idf!31381
2024-06-13 19:50:47 +08:00
morris
d76b2028e9
Merge branch 'feature/usb_new_phy_driver_collective_backport_v5.2' into 'release/v5.2'
...
refactor(usb/host): PHY driver preqrequisite refacotring collective backport (v5.2)
See merge request espressif/esp-idf!29792
2024-06-07 13:11:37 +08:00
zwx
e69714c34f
fix(uart): remove unnecessary wait when sending message to ring buffer
2024-06-07 11:42:35 +08:00
Jiang Jiang Jian
95dd9f119d
Merge branch 'doc/add_description_for_pd_top_gpio_configuration_v5.2' into 'release/v5.2'
...
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep (v5.2)
See merge request espressif/esp-idf!30799
2024-06-05 18:47:54 +08:00
Darian Leung
d944e85a57
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.
- Tidied up some RCC LL functions and their callers.
- 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-06-04 20:35:49 +08:00
Darian Leung
81f6d7abbe
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-06-04 20:35:47 +08:00
Marius Vikhammer
bbe00b9ee3
docs(doxygen): fix misc issues with new version of doxygen
2024-05-30 13:42:18 +08:00
Michael (XIAO Xufeng)
c6d4c1a7bf
feat(uart_test): add test case for uart tx blocked by auto-suspend
2024-05-28 10:57:59 +08:00
LiPeng
9b0d803237
fix(uart): Fixed issue that TX be blocked by auto-lightsleep
2024-05-28 10:57:59 +08:00
wuzhenghui
b2187bc619
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:27:49 +08:00
wuzhenghui
757573b551
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 16:27:49 +08:00
morris
9b3ae86417
Merge branch 'bugfix/fix_gpio_etm_multi_task_v5.2' into 'release/v5.2'
...
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks (v5.2)
See merge request espressif/esp-idf!30456
2024-04-25 16:31:22 +08:00
morris
4cf7387e14
Merge branch 'fix/uart_wakeup_threshold_v5.2' into 'release/v5.2'
...
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured (v5.2)
See merge request espressif/esp-idf!30462
2024-04-25 10:36:42 +08:00
Michael (XIAO Xufeng)
78b6d515bb
Merge branch 'bugfix/i2c_timeout_issue_v5.2' into 'release/v5.2'
...
fix(i2c): fix issues related to timeout and alive interval tick (backport v5.2)
See merge request espressif/esp-idf!29979
2024-04-24 23:48:32 +08:00
Song Ruo Jing
15962a953a
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
...
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 16:25:54 +08:00
Song Ruo Jing
373e585bb7
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks
2024-04-24 16:01:34 +08:00
Omar Chebib
dcc7a41ad8
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-17 15:52:56 +08:00
Song Ruo Jing
c55a07bf57
refactor(uart): add support to be able to test LP_UART port
...
Increase LP_UART_EMPTY_THRESH_DEFAULT value to 4. The original value
could cause the FIFO become empty before filling next data into the FIFO
when the buadrate is high. TX_DONE interrupt would raise before actual
transmission complete in such case.
2024-04-15 19:39:30 +08:00
morris
724165bd35
feat(gptimer): check the alarm config is not in flash
...
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-09 17:29:47 +08:00
morris
69359f4dfb
Merge branch 'bugfix/unsupport_partial_receive_on_esp32_v5.2' into 'release/v5.2'
...
fix(rmt): Fix the RMT RX filter not working correctly on esp32/s2 (v5.2)
See merge request espressif/esp-idf!30077
2024-04-09 14:28:38 +08:00
morris
4b612be8d9
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:16:18 +08:00
morris
f2fd239471
Merge branch 'bugfix/i2c_slave_bugs_v5.2' into 'release/v5.2'
...
fix(i2c_slave): Fix multiple issues on i2c slave (backport v5.2)
See merge request espressif/esp-idf!30073
2024-04-07 18:38:06 +08:00
morris
d56ae4caab
Merge branch 'feature/support_i2c_timeout_v5.2' into 'release/v5.2'
...
feat(i2c_master): Add parameter to config I2C scl await time (backport v5.2)
See merge request espressif/esp-idf!30069
2024-04-07 18:36:55 +08:00
morris
9582b3cead
Merge branch 'feat/add_example_usj_v5.2' into 'release/v5.2'
...
change(usb_serial_jtag): Add example for usb serial jtag echo (backport v5.2)
See merge request espressif/esp-idf!30019
2024-04-07 16:07:36 +08:00
Cao Sen Miao
b8855fbd03
fix(i2c_slave): Fixed the isr_flags not really parse to the intr_allocate,
...
Closes https://github.com/espressif/esp-idf/issues/13374
2024-04-07 15:18:06 +08:00
Cao Sen Miao
3ac6c10d11
fix(i2c_slave): Fix bugs on i2c slave,
...
1. Fixed read data number smaller than master has sent it will fail
2. Disable interrupt when destroy bus
Closes https://github.com/espressif/esp-idf/issues/13354
2024-04-07 15:17:48 +08:00
Cao Sen Miao
7c233ebc80
feat(i2c_master): Add parameter to config I2C scl await time
2024-04-07 15:06:31 +08:00
Cao Sen Miao
8b2b9140ac
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-03 17:06:53 +08:00
Jeroen Domburg
bf15a29e18
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-03 17:04:59 +08:00
Cao Sen Miao
ae94c0134b
fix(i2c_master): Fix issue that i2c clock got wrong after reset,
...
Closes https://github.com/espressif/esp-idf/issues/13397
2024-04-01 10:55:39 +08:00
Cao Sen Miao
2291ded9a1
fix(i2c): Use hardware fsm reset on esp32c6/h2/p4
2024-04-01 10:15:50 +08:00
Cao Sen Miao
90afc33cd8
fix(i2c_master): Fix issue that initialize esp32 and using i2c_master_probe issue,
...
and probe might failed.
Fixed I2C cannot return err code when nack detected
Closes https://github.com/espressif/esp-idf/issues/13213 ,
Closes https://github.com/espressif/esp-idf/issues/12929 ,
Closes https://github.com/espressif/esp-idf/issues/13398 ,
2024-04-01 10:15:47 +08:00
Cao Sen Miao
8567102be4
fix(i2c_master): Fix issue that use callback may cause memory leak,
...
Closes https://github.com/espressif/esp-idf/issues/12878
2024-04-01 10:15:45 +08:00
Cao Sen Miao
f93ebedcb6
fix(i2c): Fix I2C synchronous transaction cost so much CPU source,
...
Closes https://github.com/espressif/esp-idf/issues/13137 ,
Closes https://github.com/espressif/esp-idf/pull/13322
2024-04-01 10:15:42 +08:00