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
Eric Wheeler
27690e0990
fix(i2c_master): fix deadlock on s_i2c_transaction_start failure
...
As pointed out in PR #13134 by @MatthiasKunnen, there is a deadlock in
`s_i2c_synchronous_transaction()` if `s_i2c_transaction_start()` should fail
because, on error, s_i2c_synchronous_transaction() returns before releasing the
lock.
This commit fixes the deadlock without any other changes.
Closes : #13387
Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org>
2024-04-01 10:15:39 +08:00
morris
1008091a74
feat(parlio_tx): support non-blocking transaction queue
2024-03-19 12:06:44 +08:00
Jiang Jiang Jian
4bf00b2ce2
Merge branch 'bugfix/one_byte_receive_v5.2' into 'release/v5.2'
...
fix(i2c_master): Fix bug on esp32 that read one byte data fails(backport v5.2)
See merge request espressif/esp-idf!28634
2024-02-22 10:57:52 +08:00
Cao Sen Miao
715ee3576e
fix(i2c_master): Fix bug on esp32 that read one byte data fails
2024-02-21 18:42:21 +08:00
Cao Sen Miao
c5759b6d2b
fix(tsens): 300us delay in phy cause extra power consumption
2024-02-21 11:58:30 +08:00
Cao Sen Miao
b69ac0fb27
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
...
Closes https://github.com/espressif/esp-idf/issues/12921
2024-02-21 11:58:26 +08:00
Cao Sen Miao
84e44e230b
fix(temperature_sensor): Fix the value is incorrect if disable and enable again
...
Closes https://github.com/espressif/esp-idf/issues/12864
2024-02-21 11:58:22 +08:00
morris
7fafe4a9f4
Merge branch 'feature/usb_host_collective_backport_v5.2' into 'release/v5.2'
...
USB Host: Collective backport to v5.2
See merge request espressif/esp-idf!28095
2024-02-20 18:51:26 +08:00
Darian Leung
f0219b73f9
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-19 15:45:02 +08:00
Darian Leung
f2ede42191
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-19 15:45:01 +08:00
gaoxu
7ab43c0fbd
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy)
2024-02-19 15:02:30 +08:00
morris
df558f4f39
Merge branch 'feature/bytes_encoder_config_update_v5.2' into 'release/v5.2'
...
feat(rmt): support update bytes encoder configurations at runtime (v5.2)
See merge request espressif/esp-idf!28381
2024-02-18 10:54:54 +08:00
morris
9961629d58
Merge branch 'feature/rmt_encoder_memory_allocator_v5.2' into 'release/v5.2'
...
feat(rmt): added a help function for allocating encoder memory (v5.2)
See merge request espressif/esp-idf!28790
2024-02-18 10:52:39 +08:00
morris
48e3103c8c
Merge branch 'bugfix/mcpwm_reset_generator_gpio_v5.2' into 'release/v5.2'
...
fix(mcpwm): reset GPIO used by generator after delete (v5.2)
See merge request espressif/esp-idf!28831
2024-02-18 10:51:52 +08:00