Tomas Rezucha
58606027da
feat(usb/host): Calculate FIFO sizes based on USB configuration
2024-02-28 16:09:53 +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
Darian Leung
f524a59875
refactor(hal/usb): Remove usage of old USB OTG config macros
2024-02-28 16:09:51 +08:00
Darian Leung
b32a735bb0
refactor(soc/host): Update USB OTG struct fields
...
This commit updates the "*_struct.h" files for the USB OTG peripheral:
- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-28 16:09:51 +08:00
Tomas Rezucha
d26320d8a1
fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
...
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2024-02-28 16:09:50 +08:00
morris
bbb7c4c756
Merge branch 'feature/usb_hs_support_v5.1' into 'release/v5.1'
...
feat(usb/host): Add High Speed enumeration types (backport v5.1)
See merge request espressif/esp-idf!28059
2024-02-28 11:46:17 +08:00
zwx
1cc34e69d7
fix(802154): fix pending tx will be delayed issue
2024-02-01 14:16:00 +08:00
zwx
2f988d08de
feat(802.15.4): introduce pending tx while rx feature
2024-01-25 14:14:51 +08:00
Tomas Rezucha
cb4e90ca6e
refactor(usb/host): Move FIFO size configuration to HAL layer
...
The logic of calculating FIFO sizes is DWC OTG specific.
We move it to the HAL layer to provide better abstraction in the HDC layer.
2023-12-21 10:45:21 +01:00
Tomas Rezucha
325205faee
refactor(usb/host): Make private hal types USB_DWC specific
2023-12-21 10:45:04 +01:00
Tomas Rezucha
d9223c6d91
feat(usb/host): Add High Speed enumeration types
2023-12-21 10:35:31 +01:00
Xu Si Yu
866bc77246
feat(ieee802154): add tx/rx report for IEEE802.15.4 debug
2023-12-21 15:17:54 +08:00
Lou Tianhao
1419db4b91
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
2023-12-19 11:44:23 +08:00
wuzhenghui
4a7d9dd387
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-12-08 14:22:36 +08:00
Darian Leung
fdab2d0c32
refactor(hal/usb_dwc): Add DWC OTG configuration values
...
This commit adds a subset of the DWC OTG configuration values to the
'usb_dwc_ll.h' file. Only relevant configuration values have been added.
Some DWC OTG releated constants have also been moved from 'usb_dwc_hal.h'
to 'usb_dwc_ll.h' and renamed.
2023-11-28 22:00:54 +01:00
Shu Chen
ecbbd3c3d9
Merge branch 'backport/add_ot_radio_stats_enable_config_5_1' into 'release/v5.1'
...
feat(openthread): backport some openthread features(BackportV5.1)
See merge request espressif/esp-idf!26885
2023-11-22 12:23:53 +08:00
Mahavir Jain
2cd1635b86
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-20 16:05:15 +05:30
morris
ddb6d22468
Merge branch 'feature/gpio_dump_io_info_v5.1' into 'release/v5.1'
...
feat(gpio): add a dump API to dump IO configurations (v5.1)
See merge request espressif/esp-idf!26870
2023-11-17 16:30:22 +08:00
Chen Jichang
0ce2683d81
feature(MCPWM): Add MCPWM trigger driver and test
...
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-11-15 05:57:37 +00:00
Armando
6de9757a4b
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
...
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:09:21 +08:00
Song Ruo Jing
4892c481b5
feat(gpio): add a dump API to dump IO configurations
...
Merges https://github.com/espressif/esp-idf/pull/12511
2023-11-03 16:21:31 +08:00
Lou Tianhao
9b3e40c9d1
feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN
2023-11-03 11:02:56 +08:00
wuzhenghui
49013a0560
feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe
2023-09-28 16:24:39 +00:00
gaoxu
b183b88463
fix(adc): power settings not taking into effect on C6
2023-09-28 16:24:39 +00:00
Planck (Lu Zeyu)
9d535c05f7
feat(st7789): add data endian config
...
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 16:59:13 +08:00
Chen Jichang
c240a1f46b
feat(MCPWM): Add mcpwm carrier clk source
...
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-25 17:34:58 +08:00
Song Ruo Jing
6768f098dc
change(driver/rtcio): Describe RTCIO CAPS with more accurate note
2023-08-03 16:46:55 +08:00
wanlei
bb845e1841
cache: refactor cache_utils into cache_hal instade
2023-07-31 14:52:03 +08:00
Li Shuai
78683c7c33
modem clock: provide a protected wifipwr clock enable/disable interface to fix the bug of selecting xtal as the low power clock source for ble
2023-07-14 11:07:34 +08:00
Li Shuai
a98db6dbd3
modem clock: gatable clock interface which can gate or ungate modem clock domain
2023-07-14 11:07:27 +08:00
Armando
d8ee45ce08
adc: port gh pr to current adc continuous mode driver
...
DMA EOF may happens per multiple dma descriptors, instead of only one.
Closes https://github.com/espressif/esp-idf/pull/11500
2023-07-12 16:41:24 +08:00
Niklas Gürtler
5da5e1801b
Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
...
Signed-off-by: Armando <douyiwen@espressif.com>
2023-07-12 16:41:19 +08:00
Armando
f76f3dc83f
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
...
Closes https://github.com/espressif/esp-idf/issues/11385
2023-07-12 16:41:11 +08:00
Lou Tianhao
60a3e5053e
Power Management: support pu xtal in light sleep for esp32h2
2023-07-11 14:53:15 +08:00
Lou Tianhao
6e15f589cc
Power Management: move lp_timer_hal.c to upper hal layer for esp32h2 and esp32c6
2023-07-11 14:52:46 +08:00
Lou Tianhao
3b40ce4d9b
Power Management: fix REGDMA clock issue when wake up form light sleep
2023-07-11 12:03:59 +08:00
Lou Tianhao
24486dd069
Power Management: support PAU REGDMA feature for esp32h2
2023-07-11 12:03:13 +08:00
Lou Tianhao
356fa3ab4b
Power Management: support DFS and PMU feature for esp32h2
2023-07-11 12:02:39 +08:00
laokaiyao
e90a2d50c4
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
morris
e70c174643
Merge branch 'contrib/github_pr_11405_v5.1' into 'release/v5.1'
...
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23983
2023-07-04 11:04:22 +08:00
laokaiyao
13e74d5573
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-26 15:42:36 +08:00
Justin Ong
e74a2565e4
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp
2023-06-07 01:45:26 +00:00
Sudeep Mohanty
267c5e37a2
lp-i2c: Added support for LP I2C peripheral to LP core
...
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:33:01 +02:00
Sachin Parekh
abc099ce9f
ecdsa: Support multiple ECDSA keys
...
Add provision to choose which efuse block should be used as ECDSA
private key
2023-04-30 11:47:35 +05:30
zhangwenxu
3178718a3d
ieee802154: support driver opensrc
2023-04-27 11:27:57 +08:00
laokaiyao
804a9ea1f6
esp32h4: remove esp32h4 target from peripherals
2023-04-26 18:53:10 +08:00
morris
d82981c437
rmt: use gpio_num_t to define gpio number
2023-03-30 10:30:27 +08:00
Wu Zheng Hui
ee05082e35
Merge branch 'feature/support_esp32h2_modem_clock' into 'master'
...
esp32h2: support modem clock driver
Closes IDF-7088
See merge request espressif/esp-idf!22880
2023-03-29 16:49:26 +08:00
wuzhenghui
485f2882d1
modem_clock: rename modem_clock_lp_timer to ble_rtc_timer
2023-03-29 13:23:32 +08:00