morris
7c88240e38
feat(rmt): added a help function for allocating encoder memory
...
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE
Closes https://github.com/espressif/esp-idf/issues/13032
2024-02-23 10:29:31 +08:00
morris
3bb601cee7
Merge branch 'feature/mcpwm_trigger_driver_v5.0' into 'release/v5.0'
...
feature(MCPWM): Add MCPWM trigger driver (v5.0)
See merge request espressif/esp-idf!26788
2023-11-23 14:33:20 +08:00
Jiang Jiang Jian
5f497153f7
Merge branch 'bugfix/rmt_stop_issue_v5.0' into 'release/v5.0'
...
fix(rmt): a disabled channel may pick up a pending transaction (v5.0)
See merge request espressif/esp-idf!26780
2023-11-23 14:27:25 +08:00
Chen Jichang
01c5d8d72e
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.
fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-09 21:52:37 +08:00
morris
6a7e250442
feat(rmt): support calling rmt_receive in ISR callback
2023-11-08 15:03:44 +08:00
Armando
f8500f77b1
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:12:50 +08:00
morris
da2399a2c5
fix(rmt): a disabled channel may pick up a pending transaction
...
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-11-03 02:40:56 +00:00
morris
0187f3b4e3
feat(mcpwm): support update timer period dynamically
...
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:08:29 +08:00
morris
b07b08d9eb
Merge branch 'bugfix/shared_intr_memory_location_v5.0' into 'release/v5.0'
...
fix(intr): always allocate memory from internal ram (v5.0)
See merge request espressif/esp-idf!26188
2023-09-28 16:44:14 +08:00
morris
36392368f4
fix(rmt): fixed unstable transfer during DFS
...
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-27 17:33:18 +08:00
morris
fcfb16050f
fix(intr): always allocate memory from internal ram
...
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-27 02:36:01 +00:00
morris
711477d354
Merge branch 'feature/specify_rmt_intr_priority_v5.0' into 'release/v5.0'
...
feat(rmt): specify interrupt priority (v5.0)
See merge request espressif/esp-idf!25719
2023-09-19 11:49:18 +08:00
morris
2bec2de36e
Merge branch 'feature/mcpwm_interrupt_priority_v5.0' into 'release/v5.0'
...
feat(MCPWM): Support set interrupt priority(v5.0)
See merge request espressif/esp-idf!25522
2023-09-19 10:41:58 +08:00
morris
d86397aca4
Merge branch 'feature/pcnt_interrupt_priority_v5.0' into 'release/v5.0'
...
feat(pcnt): support set interrupt priority(v5.0)
See merge request espressif/esp-idf!25520
2023-09-19 10:27:28 +08:00
Planck (Lu Zeyu)
f089f0d83b
feat(rmt): specify interrupt priority
2023-09-18 03:02:49 +00:00
Chen Jichang
03ec7a0c5d
feat(pcnt): support set interrupt priority(v5.0)
2023-08-29 07:48:30 +00:00
Chen Jichang
615222f1c2
feat(MCPWM): Support set interrupt priority(v5.0)
2023-08-24 19:56:42 +08:00
Chen Jichang
2a88fb9e81
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-24 11:45:28 +08:00
morris
f5154364ac
feat(gptimer): support set interrupt priority
...
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-04 12:55:16 +08:00
Cao Sen Miao
8a66cab04c
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-06-06 01:30:51 +08:00
morris
378fa3b792
Merge branch 'doc/update_mcpwm_deadtime_v5.0' into 'release/v5.0'
...
MCPWM: don't allow to apply the same delay module to multiple generators (v5.0)
See merge request espressif/esp-idf!23664
2023-05-15 12:25:13 +08:00
morris
cea9f80870
Merge branch 'bugfix/mcpwm_bldc_example_v5.0' into 'release/v5.0'
...
mcpwm: test generator force level with dead time module (v5.0)
See merge request espressif/esp-idf!23715
2023-05-14 14:13:02 +08:00
morris
a69a6775c9
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-12 14:40:19 +08:00
morris
0542983ed8
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
...
Closes https://github.com/espressif/esp-idf/issues/11200
2023-05-11 02:28:31 +00:00
morris
49c83f112d
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-10 10:10:16 +08:00
morris
5d11967f2e
rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode
2023-03-31 09:59:32 +08:00
Michael (XIAO Xufeng)
3da8120029
Merge branch 'bugfix/gpio_ut_usj_v5.0' into 'release/v5.0'
...
gpio: add a test case to test the ability of disabling USB D+ pin pull-up (v5.0)
See merge request espressif/esp-idf!22605
2023-03-17 16:34:17 +08:00
Omar Chebib
83907aaa20
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-03-07 10:23:43 +08:00
Song Ruo Jing
639e49d157
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
2023-03-06 11:14:05 +08:00
Chen Yudong
c8e7ab7f17
CI: add generic to xtal_40mhz jobs
2023-03-01 22:40:32 +08:00
Jiang Jiang Jian
d759ee5aea
Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
...
touch: update examples and tests (v5.0)
See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Armando
d101d9c100
esp_adc: update license
2023-02-20 10:34:34 +08:00
Armando
45776dc0cc
esp_adc: add esp32c2 adc high/low test threshold and expected val
2023-02-20 10:34:34 +08:00
morris
3f68b61f3e
Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
...
mcpwm: support non-vararg version of generator functions (v5.0)
See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
Cao Sen Miao
256dd53120
mcpwm: modify wrong config name
2023-02-15 17:55:55 +08:00
wangyuanze
5de3f74f5e
touch_sensor: fix touch_sensor_v1 filter issue
2023-02-08 14:32:36 +08:00
wangyuanze
9892fb760b
touch: move unit tests to test_app
2023-02-08 12:26:27 +08:00
morris
ae7c8de4a7
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
Armando
bb074904b4
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 12:07:38 +08:00
morris
e17b4463c1
Merge branch 'bugfix/legacy_rmt_resource_leak_v5.0' into 'release/v5.0'
...
rmt: fix memory leak in the legacy driver (v5.0)
See merge request espressif/esp-idf!21166
2022-12-02 22:43:05 +08:00
laokaiyao
592a51ae96
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
morris
0bf7145181
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-21 09:59:58 +08:00
Jonas Vanthornhout
bc225c8886
Fixed typo
2022-11-01 14:36:44 +08:00
morris
0db5909b47
mcpwm: new function to fetch capture resolution
2022-10-21 07:37:36 +00:00
Armando
46d3627e66
esp_adc: added esp32c2 adc runners
2022-10-21 11:20:41 +08:00
morris
e2e97a5a33
mcpwm: allow compare equals to period
2022-10-12 08:41:58 +00:00
morris
54813cc19b
mcpwm: make set_compare_value iram safe
...
Closes https://github.com/espressif/esp-idf/issues/9793
2022-10-12 08:41:58 +00:00
Michael (XIAO Xufeng)
a2de42c096
Merge branch 'test/test_adc_on_dedicated_runners_v5.0' into 'release/v5.0'
...
ci: use adc dedicated test runners (v5.0)
See merge request espressif/esp-idf!20357
2022-10-12 16:32:26 +08:00
morris
eb2f472069
test: fix rmt iram case random failure
2022-09-28 10:52:29 +08:00
Armando
4f8bd12479
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-27 12:19:36 +08:00