Niklas Gürtler
2a8b9fb636
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-06-05 12:24:14 +08:00
morris
9f4a296274
Merge branch 'bugfix/spi_master_assert_failure' into 'master'
...
spi_master: fix the assertion on a NULL desired_dev
Closes IDFGH-10273
See merge request espressif/esp-idf!23974
2023-05-31 17:46:04 +08:00
morris
c5f195c400
spi_master: fix the assertion on a NULL desired_dev
...
Closes https://github.com/espressif/esp-idf/issues/11536
2023-05-30 10:53:32 +00:00
morris
1703a0a5e9
doc: explain why RMT encoder may result in more data transmitting
...
Closes https://github.com/espressif/esp-idf/issues/11468
2023-05-26 13:37:11 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
Wang Fang
b4a9078f98
docs: update the description for check_speed_hz
2023-05-23 11:44:47 +08:00
Armando (Dou Yiwen)
a938fe0beb
Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue' into 'master'
...
adc: fixed adc continuous driver conv frame issue
Closes IDFGH-10109
See merge request espressif/esp-idf!23772
2023-05-22 14:44:28 +08:00
Armando
73791ff4e0
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
...
Closes https://github.com/espressif/esp-idf/issues/11385
2023-05-22 10:55:28 +08:00
Sudeep Mohanty
efe919275e
Merge branch 'feature/add_support_for_lp_i2c' into 'master'
...
lp-i2c: Added support for LP I2C peripheral to LP core
Closes IDF-6833
See merge request espressif/esp-idf!22846
2023-05-19 23:35:11 +08:00
Adam Múdry
e5d0e3c676
Merge branch 'bugfix/sdmmc_driver_vtaskdelay_slowdown' into 'master'
...
sdmmc: incrementally increase delay of vTaskDelay
Closes IDF-7361
See merge request espressif/esp-idf!23765
2023-05-19 18:22:51 +08:00
Sudeep Mohanty
ec742abb25
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:27:51 +02:00
Cao Sen Miao
faa10947a8
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-05-18 15:00:36 +08:00
Adam Múdry
f13c9f746f
sdmmc: incrementally increase delay of vTaskDelay
...
Prevents unnecessary slowdown in polling functions
2023-05-18 05:33:25 +02:00
C.S.M
50b4d5c6be
Merge branch 'ci/move_timer_into_unity' into 'master'
...
spi_flash: migrate spi_flash UT to pytest component test app
Closes IDF-6730
See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Martin Vychodil
61e694d2f3
Merge branch 'fix/cd_input_sd_mode_fails' into 'master'
...
CI: sdcard tests fail fix
Closes IDFCI-1700
See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
Cao Sen Miao
0f83970368
ci: Delete ccomp_timer in IDF(witch has been moved to component manager)
2023-05-15 14:58:51 +08:00
Armando (Dou Yiwen)
ca2624e0eb
Merge branch 'feature/sdmmc_host_timing_tuning' into 'master'
...
sdmmc: supported host timing tuning on esp32s3
Closes IDF-7240 and IDF-7250
See merge request espressif/esp-idf!23257
2023-05-12 18:00:41 +08:00
Armando
01a3d79b6f
sdmmc: support tuning input delay on esp32s3
2023-05-11 12:25:22 +00:00
Armando
e7fcfa43e9
sdmmc: use clk_tree api inside
2023-05-11 12:25:22 +00:00
Adam Múdry
fa16ed3898
CI: sdcard tests fail fix
2023-05-10 16:48:03 +02:00
morris
5680d28b0e
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
Kevin (Lao Kaiyao)
9ee4c48f54
Merge branch 'bugfix/fix_several_bugs_in_i2s' into 'master'
...
i2s: fix several bugs in std and tdm mode
Closes IDF-7288
See merge request espressif/esp-idf!23465
2023-05-10 11:39:51 +08:00
laokaiyao
563b223ab7
i2s_std: enable left alignment as default
2023-05-09 17:53:53 +08:00
laokaiyao
bebcaad35f
i2s_tdm: add check for slot mask
2023-05-09 17:53:53 +08:00
laokaiyao
382059699e
i2s_std: fixed mclk check for 24-bit data
2023-05-09 17:51:33 +08:00
morris
72d0f5b35b
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-09 16:41:47 +08:00
Kevin (Lao Kaiyao)
e9e5f1b90f
Merge branch 'feature/add_default_config_for_i2s_pdm_dac_mode' into 'master'
...
i2s: public bclk_div and add a default config for PDM TX DAC
Closes IDF-7289
See merge request espressif/esp-idf!23466
2023-05-08 12:36:05 +08:00
Michael (XIAO Xufeng)
4e24516ee2
Merge branch 'feat/i2s_ng_stailq' into 'master'
...
driver: use STAILQ_NEXT instead empty to improve readability
See merge request espressif/esp-idf!23528
2023-05-06 22:30:23 +08:00
laokaiyao
bf8419fd6e
i2s: public bclk_div and add a default config for PDM TX DAC
2023-05-06 14:19:48 +08:00
morris
eaa4ad502a
Merge branch 'bugfix/check_filter_range' into 'master'
...
rmt: check filter and idle threashold
Closes IDFGH-9977
See merge request espressif/esp-idf!23518
2023-05-05 17:19:45 +08:00
Armando (Dou Yiwen)
313f8cdbb7
Merge branch 'bugfix/add_len_check_per_spi_master_transaction' into 'master'
...
spi master: added transaction length check to refuse longer than hardware supported length
Closes IDF-7236
See merge request espressif/esp-idf!23199
2023-05-05 16:25:05 +08:00
Xiao Xufeng
b24ce390c0
dac: use STQILA instead empty to improve readability
2023-05-05 01:18:49 +08:00
morris
6f749ae038
Merge branch 'test/enlarge_gptimer_test_threshold' into 'master'
...
gptimer: enlarge test threshold
Closes IDFCI-1702
See merge request espressif/esp-idf!23511
2023-05-04 18:40:22 +08:00
Armando
0e72940001
spi: added an API to get max transaction length and use in spi lcd driver
2023-05-04 11:37:23 +08:00
Armando
ea10aac4f0
spi: added transaction length check to refuse longer than hardware supported length
2023-05-04 11:37:23 +08:00
morris
9ae742eb85
rmt: check filter and idle threashold
...
Closes https://github.com/espressif/esp-idf/issues/11262
2023-04-29 06:51:35 +00:00
Darian
1a5249d7e7
Merge branch 'bugfix/ana_cmpr_negative_enum' into 'master'
...
driver: Fix ana_cmpr negative enum comparison and bad test
See merge request espressif/esp-idf!23508
2023-04-28 20:05:53 +08:00
Xiao Xufeng
7dd054fe6b
i2s: use STAILQ_NEXT instead empty to improve readability
2023-04-28 18:49:10 +08:00
Darian Leung
03ce2fbaf0
driver: Fix ana_cmpr negative enum comparison
...
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.
This commit fixes the following issues with ana_cmpr:
- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-04-28 14:52:50 +08:00
morris
36c134bdc3
gptimer: enlarge test threshold
2023-04-28 11:43:50 +08:00
morris
af2085b789
rmt_onewire: refactor example with component manager
...
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-27 15:02:55 +08:00
Song Ruo Jing
e2a5c092f7
Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
...
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx
See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Song Ruo Jing
a4e8960ab4
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-25 14:12:06 +08:00
C.S.M
7d9d27a060
Merge branch 'refactor/driver_ut_to_test_app' into 'master'
...
CI: Move all UT in driver to test_app
See merge request espressif/esp-idf!23343
2023-04-25 14:10:11 +08:00
Cao Sen Miao
8882ba2ba1
CI: Move all UT in driver to test_app
2023-04-25 10:40:32 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7
Merge branch 'refactor/remove_esp32h4_target' into 'master'
...
esp32h4: removed esp32h4 target (stage 2)
Closes IDF-7237, IDF-7238, and IDF-7239
See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
Wan Lei
06a40598bf
Merge branch 'feature/spi_hal_move_out_iram' into 'master'
...
spi: change linker file to move spi hal out from iram
Closes IDF-7163
See merge request espressif/esp-idf!23036
2023-04-24 10:15:10 +08:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
Song Ruo Jing
6700630ccb
Merge branch 'refactor/ledc_driver_refactor' into 'master'
...
ledc: Improvement made on the LEDC driver
See merge request espressif/esp-idf!22971
2023-04-23 16:43:52 +08:00
Hanno
8f1cf01ec8
i2c: introduce chip specific cmd register number
...
Merges https://github.com/espressif/esp-idf/pull/10811
2023-04-21 19:22:53 +08:00
wanlei
15e8c04f7b
spi: change linker file let spi hal able to out from iram
2023-04-21 18:58:36 +08:00
wanlei
b519eed230
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
2023-04-21 18:57:06 +08:00
Song Ruo Jing
fcc6514dde
ledc: Add an all-in-one HAL function to set fade parameters, and refactor ledc_ll_get_max_duty function
2023-04-21 16:40:54 +08:00
Song Ruo Jing
64aec54308
ledc: Add timer selection check to the driver, and leave space for future clk tree management
2023-04-21 16:40:54 +08:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
Song Ruo Jing
9cfc9757b9
Merge branch 'bugfix/allow_no_specify_uart_clk_src' into 'master'
...
uart: Allow omitting source_clk parameter to uart_param_config
Closes IDF-6951
See merge request espressif/esp-idf!23208
2023-04-18 11:34:11 +08:00
morris
90c2786803
Merge branch 'bugfix/rmt_encode_state_init' into 'master'
...
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes IDFGH-9881 and IDFGH-9882
See merge request espressif/esp-idf!23222
2023-04-17 21:22:20 +08:00
Kevin (Lao Kaiyao)
96f2d215a2
Merge branch 'bugfix/i2s_output_wrong_freq_after_switch' into 'master'
...
i2s: workaround for inaccurate PLL frequency after switching
Closes IDF-6705 and IDFCI-1669
See merge request espressif/esp-idf!22975
2023-04-17 16:26:18 +08:00
Song Ruo Jing
3f2bed1f5c
uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config
2023-04-17 15:43:06 +08:00
Wan Lei
029b56dc1c
Merge branch 'ci/pytest_case_tester_script_fix' into 'master'
...
ci: pytest automation script increase timeout time
See merge request espressif/esp-idf!23201
2023-04-17 15:03:23 +08:00
morris
b19a3e3e56
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
...
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 14:50:51 +08:00
Armando (Dou Yiwen)
ef64e4e5b3
Merge branch 'feature/emmc_example' into 'master'
...
SDMMC Host: added an example to communicate with an eMMC chip
Closes IDF-7157, IDF-4739, and IDFGH-6901
See merge request espressif/esp-idf!21760
2023-04-17 11:53:55 +08:00
laokaiyao
a143a85822
i2s: workaround for inacurate PLL frequency after switching
2023-04-17 03:15:55 +00:00
wanlei
ad1ba78129
sdio: test_sdio add unity sync signals
2023-04-17 10:51:46 +08:00
Armando
920ecff168
sdmmc: in/out phase adapted to esp32 and esp32s3
2023-04-14 18:18:54 +08:00
Ivan Grokhotkov
e9badf51c7
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-14 18:18:54 +08:00
Kevin (Lao Kaiyao)
d635fc0f32
Merge branch 'bugfix/i2s_tdm_multi_dev_on_h2' into 'master'
...
i2s: fixed tdm multi dev test on h2
See merge request espressif/esp-idf!23054
2023-04-14 15:02:31 +08:00
Guillaume Souchere
48932ce910
Merge branch 'feature/heap-in-flash' into 'master'
...
heap: Add a configuration that places all the heap component in flash
Closes IDF-7143 and IDF-2853
See merge request espressif/esp-idf!23050
2023-04-13 14:38:15 +08:00
Guillaume Souchere
110aac240d
heap: Add a configuration that places all the heap component and related functionalities in flash when enabled
...
Add test configuration to run all tests with heap component in the flash.
Add reference to this new configuration in performance section of the documentation.
2023-04-12 08:11:24 +02:00
Adam Múdry
381d0fe032
sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
...
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-11 11:06:56 +00:00
Chip Weinberger
74d6215b7f
[SDMMC] add reasonable timeouts to all while loops
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Chip Weinberger
a2aa9e3bef
[SDMMC Mount] fix infinite loop when SD card is not responsive
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Michael (XIAO Xufeng)
bbcc52a620
Merge branch 'docs/sdio_slave_sending_seqdiag' into 'master'
...
sdio_slave: add some documentation about impl in the source code
See merge request espressif/esp-idf!17572
2023-04-11 10:25:34 +08:00
laokaiyao
efff406950
i2s: fixed tdm multi dev test on h2
2023-04-11 01:48:05 +00:00
Michael (XIAO Xufeng)
84fded4b08
sdio_slave: add some documentation about impl in the source code
2023-04-10 15:03:16 +08:00
laokaiyao
3e294f7ede
i2s: fixed the test case I2S_thread_concurrent_safety_test
2023-04-07 14:29:21 +08:00
laokaiyao
f69b30d6ff
i2s: fix interrupt flag of pdm rx mode
...
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-04-07 14:29:21 +08:00
Song Ruo Jing
5070e51dde
ledc: Fix two bugs inside LEDC driver
...
1. Regression introduced when refactoring on clock sources selection (0d07f859
).
If channel configuration is called before timer configuration on C6, PWM signal may not be able to output.
2. Missing the improper fade parameter fix inside ledc_set_duty_and_update() function.
2023-04-06 12:37:33 +08:00
Zhang Xiao Yan
5d70620956
Merge branch 'docs/update_brief_of_uart_set_wakeup_threshold' into 'master'
...
update brief of uart_set_wakeup_threshold
See merge request espressif/esp-idf!22886
2023-03-31 17:28:16 +08:00
Linda
cafd3ab4c1
update brief of uart_set_wakeup_threshold
2023-03-31 10:58:02 +08:00
morris
5d1a272b1c
rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode
2023-03-30 11:09:13 +08:00
morris
d82981c437
rmt: use gpio_num_t to define gpio number
2023-03-30 10:30:27 +08:00
Zim Kalinowski
e86864c621
Merge branch 'feature/unify_core_host_target_tests' into 'master'
...
ci: unify core host target tests
Closes IDF-6621, IDF-6622, IDF-6623, and IDF-6624
See merge request espressif/esp-idf!22944
2023-03-29 15:41:01 +08:00
Kevin (Lao Kaiyao)
7c5d65b82b
Merge branch 'contrib/github_pr_10997' into 'master'
...
i2s: intrerrupt fix (GitHub PR)
Closes IDFGH-9650 and IDFGH-9654
See merge request espressif/esp-idf!22945
2023-03-28 18:35:01 +08:00
Marius Vikhammer
f627506f6b
ci: update driver tests to use run_all_single_board_cases()
2023-03-28 17:05:50 +08:00
dizcza
b44c89db9e
i2s interrupt fix
...
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 14:34:31 +08:00
Ivan Grokhotkov
7524f40b21
sdmmc: keep clock enabled for the duration of ACMD41
...
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-03-27 14:09:02 +02:00
wanlei
45d745f853
spi_slave: add multi board test case for spi slave hd append mode
2023-03-21 11:30:17 +08:00
wanlei
66ca403bc6
spi_slave: support spi slave hd append mode on chips other than s2
2023-03-21 11:30:17 +08:00
Kevin (Lao Kaiyao)
d659991bbb
Merge branch 'feature/gpio_runtime_preserve' into 'master'
...
gpio: support runtime reserve
Closes IDF-6731
See merge request espressif/esp-idf!22223
2023-03-18 10:55:44 +08:00
laokaiyao
53584bb5a7
ana_cmpr: add programming guide
2023-03-17 14:35:55 +08:00
laokaiyao
c9f780dc2e
gpio: support runtime preserve
2023-03-17 11:59:49 +08:00
laokaiyao
24361f232d
ana_cmpr: add an example and test cases
2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8
ana_cmpr: designed driver layer
2023-03-17 11:38:32 +08:00
morris
11cdbf2da0
driver: added analog comparator driver
2023-03-17 11:38:32 +08:00
Marius Vikhammer
75591a8a13
Merge branch 'ci/driver_single_board' into 'master'
...
ci: update test apps to use run_all_single_board_cases
See merge request espressif/esp-idf!22669
2023-03-13 09:25:42 +08:00
Song Ruo Jing
3ec287eaa5
Merge branch 'feature/ledc_gamma_curve_support' into 'master'
...
ledc: Support gamma curve fade feature
Closes IDF-5811 and IDF-6236
See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00
morris
2d52334e5d
gptimer: fix race condition between start and stop
...
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-10 23:27:29 +08:00
Marius Vikhammer
0be8e03907
ci: update test apps to use run_all_single_board_cases
2023-03-10 14:27:09 +08:00
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Song Ruo Jing
5c5cfbc7c7
gpio: Re-enable gpio usb pins test cases on esp32h2
2023-03-09 17:21:43 +08:00
Gustavo Henrique Nihei
3cbac3dd1d
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
morris
117279ebe1
Merge branch 'test/gptimer_late_alarm' into 'master'
...
gptimer: test late alarm
Closes IDFGH-9522
See merge request espressif/esp-idf!22572
2023-03-06 12:22:22 +08:00
laokaiyao
40f1709a1f
Revert "i2s: guarantee safety of memcpy from being interrupted by uart logging"
...
This reverts commit 646fd5e15a
.
2023-03-05 14:10:12 +00:00
laokaiyao
754aa7d128
sdm: adopt clock tree
2023-03-05 14:10:12 +00:00
morris
004c1713b6
gptimer: test late alarm
...
Closes https://github.com/espressif/esp-idf/issues/10877
2023-03-05 13:59:23 +00:00
Wu Zheng Hui
2066977b48
Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
...
esp32c6: bringup deepsleep examples
Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352
See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
C.S.M
679dae70cd
Merge branch 'feature/temperature_intr' into 'master'
...
temperature sensor: Add high/low value threshold interrupt support
Closes IDF-5786
See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Wan Lei
40ca80397c
Merge branch 'test/add_spi_slave_freq_test' into 'master'
...
spi: add spi multiple config test
Closes IDF-5882
See merge request espressif/esp-idf!20125
2023-03-03 12:54:32 +08:00
Cao Sen Miao
840ff4f865
temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6
2023-03-03 10:38:40 +08:00
Song Ruo Jing
51777a6862
gpio: Fix io hold functionality on esp32c6 and esp32h2
2023-03-02 18:10:10 +08:00
wuzhenghui
9eae151f7c
esp32c6: bringup deepsleep examples
2023-03-02 15:06:05 +08:00
Song Ruo Jing
0558d40c81
Merge branch 'contrib/github_pr_10856' into 'master'
...
Correct typo in referenced function name (GitHub PR)
Closes IDFGH-9496
See merge request espressif/esp-idf!22537
2023-03-01 18:39:11 +08:00
morris
14555a19db
Merge branch 'feature/parlio_driver' into 'master'
...
Parallel IO TX driver && LED Matrix example
Closes IDF-6607
See merge request espressif/esp-idf!22163
2023-03-01 17:08:16 +08:00
Bradley McFadden
6a21403cba
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-01 12:19:07 +08:00
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00
morris
d9f82baca7
driver: fix typo "destroy"
2023-03-01 00:43:14 +00:00
Song Ruo Jing
eab8abd877
ledc: Fix improper fade parameters for one-time duty set
...
Valid step and cycle values starts from 1.
scale = 0 indicates no change in duty for this linear fade.
2023-02-28 20:13:52 +08:00
Wan Lei
c2d090d174
Merge branch 'test/h2_mcpwm_fix_legacy_test' into 'master'
...
mcpwm: fix h2 mcpwm legacy test
Closes IDF-6812
See merge request espressif/esp-idf!22510
2023-02-28 16:42:17 +08:00
wanlei
08ecf47dd4
mcpwm: fix h2 mcpwm legacy test
2023-02-28 11:31:15 +08:00
wanlei
e5810924f2
spi: formate test_spi_param.c
2023-02-27 15:40:24 +08:00
Song Ruo Jing
1a66459b44
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
...
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
During sleep, BBPLL clock always gets disabled
esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
When this option is selected, IDF will constantly monitor USB CDC port connection status.
As long as it gets connected to a HOST, automatic light-sleep will not happen.
Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
wanlei
d8ac58b4d4
spi: add high freq test on different spi config
2023-02-27 11:27:57 +08:00
wanlei
cdd610cadc
spi_slave: fix io re-config issue
2023-02-27 11:27:57 +08:00
morris
8538f16361
Merge branch 'bugfix/gpio_glitch_filter_test' into 'master'
...
driver: improve gpio glitch filter test
Closes IDFCI-1621 and IDFCI-1622
See merge request espressif/esp-idf!22477
2023-02-24 18:13:41 +08:00
Darian
57b6be22a7
Merge branch 'bugfix/twai_listen_only_errata' into 'master'
...
TWAI: Add errata workaround for listen only mode
Closes IDFGH-7602
See merge request espressif/esp-idf!22479
2023-02-24 16:12:05 +08:00
Kevin (Lao Kaiyao)
5dc7cd6c54
Merge branch 'bugfix/fix_i2s_pcnt_target_test_on_h2' into 'master'
...
Test: Fixed target test of I2S and PCNT on H2
Closes IDF-6811, IDF-6814, IDFCI-1623, and IDFCI-1627
See merge request espressif/esp-idf!22478
2023-02-24 16:03:48 +08:00
Wan Lei
cf146d4b31
Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
...
spi_master: fix whole master driver iram safe enviroenment
Closes IDF-6848
See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
Armando (Dou Yiwen)
4452a3cf3e
Merge branch 'feature/support_h2_adc' into 'master'
...
adc: support adc h2
Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695
See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
morris
fdac2589bb
driver: improve gpio glitch filter test
...
on esp32c6 and esp32h2, CPU frequency is 2x of IO MUX clock source.
There is a possiblity for a too short glitch pulse can't trigger GPIO
interrupt.
2023-02-24 11:05:59 +08:00
wanlei
f11c44e55b
spi_master: fix master driver iram safe enviroenment
2023-02-24 10:46:06 +08:00
wanlei
aff223276f
spi_slave: fix issue iram flag bind with iram config
...
bus flag`ESP_INTR_FLAG_IRAM` bind with `CONFIG_SPI_SLAVE_ISR_IN_IRAM`
2023-02-24 10:38:44 +08:00
C.S.M
b184b9a153
Merge branch 'bugfix/usb_serial_driver_block' into 'master'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver
Closes IDF-5390 and IDFGH-8776
See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Cao Sen Miao
720b8d9c1a
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
laokaiyao
646fd5e15a
i2s: guarantee safety of memcpy from being interrupted by uart logging
2023-02-23 15:11:13 +08:00
laokaiyao
71905d9cbf
i2s_test: fix unsupported sample rate on h2
2023-02-23 15:11:13 +08:00
laokaiyao
53658e56d6
pcnt_test: fix the error pin on h2
2023-02-23 15:11:13 +08:00
Darian Leung
72becf31e4
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-23 12:50:06 +08:00
Armando
486c765a93
adc: remove adc_hal_conf.h
...
Macros inside adc_hal_conf.h are moved to adc_ll.h
2023-02-23 11:48:31 +08:00
Armando
5653018cd1
esp_adc: support selecting clock source for oneshot driver
2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
Chip Weinberger
c39be8bc76
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-02-22 14:28:08 +08:00
laokaiyao
26f5441e0e
i2s: support bytes_read / bytes_written to be NULL
2023-02-22 02:44:53 +00:00
laokaiyao
7397b3f750
i2s: support preload data
...
Closes https://github.com/espressif/esp-idf/issues/8471
2023-02-22 02:44:53 +00:00
Wan Lei
66cda021d0
Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
...
gpio: h2 support input hysteresis filter
Closes IDF-6653
See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Wan Lei
cf5387fc76
Merge branch 'feature/h2_twai_support' into 'master'
...
twai: h2 support twai driver
Closes IDF-6217 and IDF-6673
See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
wanlei
c9bcec9212
gpio: h2 support input hysteresis filter
2023-02-20 19:34:48 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32h2
2023-02-20 17:15:02 +08:00