gaoxu
e63d6582cc
feat(adc): move adc periph enable/reset functions to ll layer
2024-06-12 18:16:45 +08:00
gaoxu
3f5037866b
fix(dma): feat(adc): support ADC oneshot mod on ESP32P4
2024-06-12 18:16:41 +08:00
morris
c0289ee6eb
fix(drivers): fix typos found by codespell
...
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00
gaoxu
03a6347a3a
ci(adc): ignore adc restart test fail
2024-03-14 11:14:46 +08:00
Konstantin Kondrashov
3f89072af1
feat(all): Use PRIx macro in all logs
2024-03-12 11:15:53 +02:00
gaoxu
2eccde88f3
fix(adc): workaround to fix adc continuous get less results on c3
2024-02-19 10:34:54 +08:00
Cao Sen Miao
b84434b39d
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
...
Closes https://github.com/espressif/esp-idf/issues/12921
2024-01-05 12:10:30 +08:00
Gao Xu
4e843a1a70
Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk' into 'master'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
Closes IDF-8414
See merge request espressif/esp-idf!27115
2023-11-30 00:22:48 +08:00
gaoxu
7f296f2a20
ci(adc): add a test that adc continuous read after restarting
2023-11-29 14:30:25 +08:00
gaoxu
4f81883ccf
fix(adc): restore cali registers after light sleep wake up on H2 and enable test
2023-11-20 17:38:34 +08:00
Armando (Dou Yiwen)
0c81f41e16
Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
...
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
Armando
d3be2541de
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-06 18:55:49 +08:00
morris
2ef14fe55e
refactor(gptimer): refactor gptimer driver into a component
2023-11-06 17:09:31 +08:00
gaoxu
0ea0b39725
feat(adc_cali): Add ADC calibration support for ESP32H2
2023-10-31 11:29:30 +08:00
gaoxu
1fa85abf46
ci(adc): add a test that adc read zero after getting done signal
2023-10-27 17:11:13 +08:00
Armando
3de0b7218f
refactor(esp_adc): reformat code with astyle_py 2
2023-10-09 15:29:31 +08:00
Kevin (Lao Kaiyao)
2b5203ba1c
Merge branch 'refactor/avoid_float_type_in_hal' into 'master'
...
refactor(hal): avoid float type in hal
See merge request espressif/esp-idf!26149
2023-10-09 10:20:28 +08:00
Armando
b774bd1457
refactor(esp_adc): reformat code with astyle_py
2023-10-08 10:35:52 +08:00
laokaiyao
464bec8ac6
ci(adc): print adc efuse calib version in test
2023-10-07 19:01:04 +08:00
gaoxu
8e9a151dbc
ci(adc): add a test about adc1 work with wifi on c6
2023-09-28 17:41:42 +00:00
Armando
83af9f37d4
test(adc): continuous driver iram test with gdma iram safe option only
2023-07-17 10:16:40 +08:00
Konstantin Kondrashov
c350c3c504
Merge branch 'feature/cleanup_wrong_log_use' into 'master'
...
all: Removes unnecessary newline character in logs
Closes IDFGH-10197
See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Chen Jichang
6abdc9b76e
esp_adc:Trim the build components
...
If we don't trim the build components, the build system will import all
components which will increase the load of Gitlab server.
Closes IDF-7459
2023-06-09 16:46:40 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Armando
56c66953da
adc: added flush pool test
2023-05-31 10:55:02 +08:00
wanlei
e6e641475b
adc: add digi monitor test case
2023-05-24 17:46:52 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
Armando
bd6cd85b8e
adc: added big conv_frame test
2023-05-22 10:55:28 +08:00
Armando
d7cbd04d43
adc: added adc filter exhausted allocation test
2023-05-06 10:31:19 +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
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
Armando
3afa671069
esp_adc: added adc digital filter feature
2023-02-10 16:46:20 +00:00
laokaiyao
5333ac81bf
adc: support ADC on esp32c6 (driver/test/example)
2022-12-23 11:24:06 +08:00
Armando
ded528e188
adc: no longer support adc2 oneshot mode on esp32c3
...
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.
However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
f905f6ab7c
esp_adc: add esp32c2 adc high/low test threshold and expected val
2022-10-13 21:03:51 +08:00
Armando
508935c457
esp_adc: refacotr tests for all supported attenuations
2022-10-13 21:03:51 +08:00
Armando
5fd4dbad12
esp_adc: improve adc continuous iram test aim
...
This commit increases adc continuous iram test period of cache disabling
time. Now time is: 1 second
- The aim of this test is to make sure the continuous mode driver ISR
callbacks can run in an IRAM-Safe context.
- Closing cache takes time. WHereas the code to close the cache is
updated. This time gets changed.
2022-10-09 02:35:22 +00:00
Armando
7be7a3e996
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-16 03:21:29 +00:00
Armando (Dou Yiwen)
49dc1a32c5
Merge branch 'bugfix/remove_esp_adc_wno_flag' into 'master'
...
esp_adc: remove wno flag
Closes IDF-5765
See merge request espressif/esp-idf!19791
2022-08-26 22:32:24 +08:00
Armando
50a8d8412e
esp_adc: remove wno flag
2022-08-26 15:08:18 +08:00
Armando
a8c0f1feb6
esp_adc: migrate adc wifi test to test app
2022-08-23 21:23:21 +08:00
Armando
5e31d4bb2b
esp_adc: add adc ulp mode disable enum
...
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.
After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-22 11:00:28 +08:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Armando
0e6c8aef19
esp_adc: increase adc continuous iram test time overhead a bit
...
Prior to this commit, overhead is 0us on esp32s2, s3, c3, c2. However
when the conv_done event happens, software takes some time to do
necessary operations.
2022-07-26 18:19:14 +08:00
Guillaume Souchere
0bac33ed41
esp_system: Remove deprecate section from esp_cpu.h
...
- Remove esp_cpu_in_ocd_mode() from esp_cpu.h. Users should call esp_cpu_dbgr_is_attached() instead.
- Remove esp_cpu_get_ccount() from esp_cpu.h. Users should call esp_cpu_get_cycle_count() instead.
- Remove esp_cpu_set_ccount() from esp_cpu.h. Users should call esp_cpu_set_cycle_count() instead.
- Other IDF components updated to call esp_cpu_dbgr_is_attached(), esp_cpu_get_cycle_count() and esp_cpu_set_cycle_count() as well.
2022-07-22 00:06:06 +08:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00