Commit Graph
100 Commits
Author SHA1 Message Date
Kevin (Lao Kaiyao) 38bb2debea Merge branch 'feature/touch_element_sleep' into 'master'
touch_element: add low-power support and example into touch element

Closes IDF-3027 and IDF-4353

See merge request espressif/esp-idf!13001
2022-08-16 18:57:46 +08:00
laokaiyao 62ab4456a8 touch_sleep: complete the support for touch sleep 2022-08-15 20:04:57 +08:00
laokaiyao 3c4bc80712 i2s: fixed duplicated test case name 2022-08-08 20:35:47 +08:00
Kevin (Lao Kaiyao) 762da7e5ba Merge branch 'bugfix/fix_legacy_i2s_clock_test_failure' into 'master'
i2s_legacy_test: fix the clock test failure

Closes IDFCI-1402 and IDFCI-1408

See merge request espressif/esp-idf!19319
2022-08-03 17:13:43 +08:00
laokaiyao 4c446222e1 i2s_test: fix mono stereo test 2022-08-03 13:14:48 +08:00
laokaiyao a32a89b002 i2s_legacy_test: fix the clock test issue 2022-08-03 13:14:48 +08:00
Kevin (Lao Kaiyao) 6658b7eb0a Merge branch 'feature/setup_target_test_for_c2_26m' into 'master'
ci: setup 26mhz esp32c2 runner

Closes IDF-5526

See merge request espressif/esp-idf!19032
2022-08-01 11:54:09 +08:00
laokaiyao 4ab8f00b47 ci: setup 26mhz esp32c2 runner 2022-07-29 17:10:34 +08:00
laokaiyao 19486ad115 ci: add the forgotten xtal 40mhz tag for c2 example pytest 2022-07-29 11:32:05 +08:00
Kevin (Lao Kaiyao) feeb023447 Merge branch 'feature/add_xtal_40mhz_tag_for_c2_test' into 'master'
ci: add xtal_40mhz tag for c2 tests

See merge request espressif/esp-idf!19109
2022-07-28 13:55:29 +08:00
Kevin (Lao Kaiyao) 9a7a1fe61f Merge branch 'contrib/github_pr_9430' into 'master'
Fix offset for cosine wave function generator (GitHub PR)

Closes IDFGH-7911

See merge request espressif/esp-idf!19254
2022-07-28 10:56:43 +08:00
laokaiyao ba235c5615 ci: add xtal_40mhz tag for c2 tests 2022-07-28 02:02:18 +00:00
laokaiyao 77a5c209d9 dac_ll: sync PR changes to esp32s2 2022-07-27 14:45:48 +08:00
Kevin (Lao Kaiyao) 83fc39a9f4 Merge branch 'feature/i2s_follow_up_work_of_driver_ng' into 'master'
i2s: follow-up works of Driver-NG

Closes IDFGH-7660, DOC-3313, and IDF-5235

See merge request espressif/esp-idf!18644
2022-07-21 18:33:00 +08:00
laokaiyao edee3ee3cd i2s: add slot sequence table
Closes: https://github.com/espressif/esp-idf/issues/9208

When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao 92ea22fe81 i2s: support esp32h2 2022-07-21 15:52:39 +08:00
laokaiyao 90866e99fb i2s: add basic examples for STD/TDM/PDM mode 2022-07-21 15:52:39 +08:00
Kevin (Lao Kaiyao) 47266d7736 Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
touch_sensor: add description to distinguish the API on different target

Closes IDFGH-7499

See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
laokaiyao d5e55e0563 touch_sensor: add description to distinguish the API on different target
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
Kevin (Lao Kaiyao) bb30edf35a Merge branch 'refactor/i2s_driver_rewrite' into 'master'
🔨 i2s: i2s driver-NG

Closes IDF-3714 and IDF-4592

See merge request espressif/esp-idf!15175
2022-06-15 14:22:58 +08:00
laokaiyao 28b8fc6a7e i2s: update documents for driver-NG 2022-06-15 10:30:04 +08:00
laokaiyao 0fe3bb8ab7 i2s: update examples and unit-tests 2022-06-15 10:29:06 +08:00
laokaiyao 621d0aa942 i2s: Introduced a brand new driver 2022-06-15 10:29:06 +08:00
Kevin (Lao Kaiyao) 94d7ae03da Merge branch 'bugfix/i2s_write_timeout_when_setting_clock' into 'master'
i2s: fixed write timeout while setting the clock

Closes IDFGH-7273 and IDFGH-7261

See merge request espressif/esp-idf!18201
2022-05-24 10:01:12 +08:00
laokaiyao a5f651ad71 i2s: Update FIFO direct access reg on ESP32 according to the TRM
Closes: https://www.github.com/espressif/esp-idf/issues/8862
2022-05-23 16:28:42 +08:00
laokaiyao f523fbc73b i2s: Fixed divide 0 issue while setting PDM down sampling issue
Closes https://www.github.com/espressif/esp-idf/issues/8850
2022-05-23 16:28:42 +08:00
laokaiyao f36ae3f603 i2s: fixed write timeout while setting the clock 2022-05-23 16:28:37 +08:00
Kevin (Lao Kaiyao) a01a5dec4a Merge branch 'contrib/github_pr_8853' into 'master'
Fix Touch Element Doc (GitHub PR)

Closes IDFGH-7264

See merge request espressif/esp-idf!17971
2022-05-05 10:12:48 +08:00
Kevin (Lao Kaiyao) 5bb2379bac Merge branch 'bugfix/i2s_only_right_mode' into 'master'
i2s: fix only right case

Closes IDFGH-6918

See merge request espressif/esp-idf!17679
2022-04-24 11:21:41 +08:00
laokaiyao b99ced08a2 i2s: fix only right case
Closes: https://github.com/espressif/esp-idf/issues/8538
2022-04-23 07:38:45 +00:00
laokaiyao 5b3468ebb3 i2c: support i2c on esp32h2 2022-04-23 07:38:25 +00:00
laokaiyao f29d329e55 esp32h2beta2: fixed reg base name 2022-03-29 15:17:23 +08:00
Kevin (Lao Kaiyao) 5381096100 Merge branch 'feature/update_esp32h2_beta2_reg_headers' into 'master'
esp32-h2 beta2: update to the latest regs

Closes IDF-4789

See merge request espressif/esp-idf!17520
2022-03-23 16:18:43 +08:00
Kevin (Lao Kaiyao) ba9d3fe819 Merge branch 'refactor/i2s_major_refactoring_for_ng' into 'master'
🔨i2s: Major refactoring for driver-NG

Closes IDF-4781 and IDF-4779

See merge request espressif/esp-idf!17484
2022-03-23 15:32:46 +08:00
Kevin (Lao Kaiyao) 56659cdf36 Merge branch 'contrib/github_pr_8618' into 'master'
i2s: Update i2s.rst (GitHub PR)

Closes IDFGH-7000

See merge request espressif/esp-idf!17540
2022-03-23 11:50:49 +08:00
laokaiyao 7bfa07732f i2s: update application notes 2022-03-22 15:39:22 +08:00
laokaiyao f17edba20b i2s: extract std/pdm/tdm modes
Type structures of these modes are defined. Driver and HAL layer are modified to fit these concepts.
2022-03-22 10:14:45 +08:00
laokaiyao 667c7f94e6 esp32-h2 beta2: update to the latest regs 2022-03-22 02:13:55 +00:00
Kevin (Lao Kaiyao) 733a991e2f Merge branch 'bugfix/touch_wait_circle_after_wakeup_from_sleep_on_s3' into 'master'
touch: fix the touch sensor wait cycle on s3

See merge request espressif/esp-idf!15531
2022-03-09 16:41:55 +08:00
laokaiyao 93b162c767 touch: fix the touch sensor wait cycle on s3 2022-03-08 09:11:14 +00:00
laokaiyao 9ebfd7832d i2c: update legacy name ESP8684 to ESP32C2 2022-03-07 14:59:56 +08:00
Kevin (Lao Kaiyao) 433d6ee1fd Merge branch 'bugfix/i2s_dac_incorrect_clock' into 'master'
i2s: fix adc/dac clock calculation

Closes IDFGH-6715

See merge request espressif/esp-idf!17233
2022-03-03 12:23:13 +08:00
laokaiyao db3a1c707e i2s: add mclk_div underflow check
Closes https://github.com/espressif/esp-idf/issues/8344
2022-03-02 04:17:36 +00:00
laokaiyao b336a838b6 i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3 2022-03-02 03:34:25 +00:00
Kevin (Lao Kaiyao) cc1d89ebba Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
i2c: support i2c on esp32c2 and esp32h2

Closes IDF-3918

See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
laokaiyao cf353c505a i2c: support esp32h2 2022-02-23 15:19:37 +08:00
laokaiyao 7da023ceae i2c: support esp32c2 2022-02-23 15:19:37 +08:00
Kevin (Lao Kaiyao) 1d30c23455 Merge branch 'feature/i2c_use_input_only_pin_in_slave_mode' into 'master'
i2c: support  using input-only pin as SCL in slave mode

Closes IDFGH-6682

See merge request espressif/esp-idf!17137
2022-02-23 02:54:49 +00:00
laokaiyao c4cfb654d2 uart: support light sleep on esp32s3 2022-01-25 17:43:02 +08:00
Kevin (Lao Kaiyao) bf8d4d55d0 Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
esp8684: rename esp8684 to esp32c2

Closes IDF-4530

See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
Kevin (Lao Kaiyao) 1d02e638bd Merge branch 'bugfix/i2s_mclk_stop_issue_when_set_clock' into 'master'
i2s: fix mclk stop issue when setting clock

See merge request espressif/esp-idf!16721
2022-01-19 07:04:50 +00:00
laokaiyao a8ab869a84 i2s: fix mclk stop issue when setting clock 2022-01-19 11:52:09 +08:00
laokaiyao cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Kevin (Lao Kaiyao) cc3adce8d7 Merge branch 'bugfix/i2s_return_error_code' into 'master'
i2s: revert the reading/writing can return timeout error

Closes IDFGH-6464

See merge request espressif/esp-idf!16546
2022-01-11 07:06:01 +00:00
Kevin (Lao Kaiyao) 7e36902ea7 Merge branch 'feature/peripherals_support_chip_specific_clock_frequency' into 'master'
ESP32H2: Fix the unit of apb frequency

Closes IDF-3614

See merge request espressif/esp-idf!15834
2022-01-11 06:21:17 +00:00
laokaiyao 6e39b4b3bd i2s: revert reading/writing return error code
Closes https://github.com/espressif/esp-idf/issues/8121

Revert reading/writing return ESP_ERR_TIMEOUT introduced in commit b26da6f
2022-01-10 15:51:01 +08:00
laokaiyao cd10bb7fa2 esp32h2: fix apb freq bug 2022-01-10 12:43:31 +08:00
Kevin (Lao Kaiyao) 952b4d848f Merge branch 'bugfix/apll_coeff_calculate' into 'master'
i2s: impove the clock division calculation

Closes IDFGH-6283

See merge request espressif/esp-idf!16095
2021-12-29 09:35:13 +00:00
laokaiyao 4f28b33bbc apll: add lock for apll 2021-12-29 10:13:13 +08:00
laokaiyao af4e448928 i2s: impove the clock division calculation
Reported from: https://esp32.com/viewtopic.php?f=25&t=24542&p=87595#p87595
2021-12-29 10:13:13 +08:00
Kevin (Lao Kaiyao) 4586bd7ec8 Merge branch 'bugfix/i2s_receive_data_lost' into 'master'
i2s: fix message queue overflow condition

Closes IDFGH-5854

See merge request espressif/esp-idf!15551
2021-12-24 03:12:12 +00:00
laokaiyao 45ea21e8a0 doc: add application notes for i2s 2021-12-23 18:59:56 +08:00
laokaiyao c74b2e8635 i2s: fix the wrong condition of event queue 2021-12-23 18:59:56 +08:00
Kevin (Lao Kaiyao) 9bc274b47b Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
i2s: deprecate confusing names

Closes IDF-4368

See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
laokaiyao fa4e77eb44 i2s: deprecate confusing names 2021-11-24 13:21:13 +08:00
laokaiyao f21020ce04 esp32h2: update reg and struct for beta2 2021-11-24 12:34:17 +08:00
laokaiyao b9a84b96ce esp32h2: add support for beta2 2021-11-24 12:30:17 +08:00
Kevin (Lao Kaiyao) 3399255c34 Merge branch 'feature/github-7661' into 'master'
mck pin not defined in i2s examples

Closes IDFGH-5973 and IDFGH-5974

See merge request espressif/esp-idf!15452
2021-11-08 09:32:14 +00:00
Kevin (Lao Kaiyao) bc1cebe042 Merge branch 'bugfix/i2s_ws_polarity_in_tdm' into 'master'
i2s: fix ws signal polarity in tdm mode

Closes IDF-4140

See merge request espressif/esp-idf!15534
2021-10-26 07:13:49 +00:00
laokaiyao f37595dee9 i2s: fix ws signal polarity in tdm mode 2021-10-26 11:12:30 +08:00
Kevin (Lao Kaiyao) dc20768913 Merge branch 'feature/add_i2s_es8311_example_and_loop_unit_test' into 'master'
example/i2s: add es8311 example and i2s unit-test

Closes IDF-3412

See merge request espressif/esp-idf!14459
2021-10-14 09:28:35 +00:00
Kevin (Lao Kaiyao) a9faafee3c Merge branch 'feature/touch_sensor_driver_support_for_esp32s3' into 'master'
driver(touch): support touch sensor for esp32s3 platform

Closes IDF-1784 and IDF-3302

See merge request espressif/esp-idf!14102
2021-10-12 05:50:58 +00:00
laokaiyao 3eb09287f9 example/i2s: add es8311 example and i2s loop unit-test 2021-10-11 18:32:34 +08:00
Kevin (Lao Kaiyao) 79cb8e3c52 Merge branch 'fix/example_pdm_mic_recording' into 'master'
example: Fixed example I2S PDM microphone recording on sdcard

Closes IDF-3952 and IDFGH-5912

See merge request espressif/esp-idf!14928
2021-10-08 06:25:31 +00:00
laokaiyao f4705f8eb4 touch sensor: update copyright notice 2021-10-08 11:45:57 +08:00
laokaiyao a1cadba191 touch_sensor: apply general check 2021-10-08 11:32:12 +08:00
laokaiyao fc73e2b7bd doc/touch: update touch sensor doc for S3 2021-10-08 10:39:46 +08:00
laokaiyao 7264c0e59a i2s_rec_example: add support for esp32s3 2021-10-01 16:05:04 +01:00
laokaiyao f397379c8d i2s: fix the mono mode of PDM on esp32 2021-10-01 16:05:04 +01:00
laokaiyao 1327a56369 i2s: fix the param check on PDM mode
Closes https://github.com/espressif/esp-idf/issues/7604
2021-10-01 16:05:04 +01:00
laokaiyao 1d7bf0f188 i2s_rec_example: add support for esp32s3 2021-09-28 19:14:26 +08:00
laokaiyao b7b76cbe15 i2s: fix the mono mode of PDM on esp32 2021-09-28 12:04:51 +08:00
laokaiyao e3760cf1e3 i2s: fix the param check on PDM mode
Closes https://github.com/espressif/esp-idf/issues/7604
2021-09-28 12:04:51 +08:00
Kevin (Lao Kaiyao) a287f34f88 Merge branch 'bugfix/i2s_apll_fixed_clock' into 'master'
i2s: fix apll bug introduced in 'refactor/i2s_driver'

Closes IDFGH-5824

See merge request espressif/esp-idf!15109
2021-09-14 08:31:12 +00:00
laokaiyao dfbe76e988 i2s: fix return value when failed to register i2s 2021-09-09 10:33:15 +08:00
laokaiyao b3193e233c i2s: fix apll bugs introduced in 'refactor/i2s_driver'
Closes https://github.com/espressif/esp-idf/issues/7529
2021-09-09 10:23:52 +08:00
Kevin (Lao Kaiyao) 2991eea97d Merge branch 'refactor/i2s_driver' into 'master'
driver/i2s: bugfix and refactor for i2s

Closes IDF-3656 and IDF-3738

See merge request espressif/esp-idf!14704
2021-09-06 02:07:40 +00:00
laokaiyao c5afd7ce34 i2s: fix write failure on ESP32 in 32bit slave mode 2021-09-03 17:36:44 +08:00
laokaiyao 0ff3dd9778 i2s: fix mono support issue 2021-09-02 14:33:36 +08:00
laokaiyao b26da6f115 driver/i2s: refactor for i2s driver layer 2021-09-02 14:33:36 +08:00
Kevin (Lao Kaiyao) 61299f879e Merge branch 'bugfix/iperf_tcp_performance_become_bad' into 'master'
emac: optimise performance regression introduced in hal refactor

Closes IDF-3527 and IDFCI-795

See merge request espressif/esp-idf!14282
2021-09-02 02:36:20 +00:00
laokaiyao 04970fe487 iperfUtility: add udp rx bandwidth scan 2021-09-01 19:11:28 +08:00
laokaiyao 8d18a9c614 emac: optimise iperf performane 2021-09-01 19:11:28 +08:00
laokaiyao b6c5a6ee8b mcpwm: DC motor PID control example 2021-08-10 15:31:45 +08:00
Kevin (Lao Kaiyao) 8131d6f46d Merge branch 'feature/esp32s3_i2s_support' into 'master'
Feature(I2S): Support esp32s3 & esp32c3 I2S driver

Closes IDF-1769, IDF-2098, IDF-3271, IDF-2337, and IDF-3463

See merge request espressif/esp-idf!10655
2021-08-04 06:08:09 +00:00
laokaiyao f863998e90 driver/i2s: support mclk 2021-08-04 10:20:03 +08:00
laokaiyao 3c57a6ac36 driver/i2s: refactor ll and hal 2021-08-04 10:20:03 +08:00
laokaiyao d51b85989b doc/i2s: update i2s programming guide on s3 & c3 2021-08-04 10:20:03 +08:00
laokaiyao f7f8c9c11f driver/i2s: support i2s on c3 and s3
1. Support i2s on esp32c3 and esp32s3
    2. Refactor i2s_config_t to avoid breaking change
    2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
    4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
laokaiyao 27d9657b6c driver/adc: support adc single sample on s3 2021-07-15 19:13:50 +08:00