Commit Graph
70 Commits
Author SHA1 Message Date
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
laokaiyao 1138be502e driver/timer: only re-enable alarm in callback when auto reload is true
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-25 15:44:23 +08:00
laokaiyao 6df89fa042 example/mcpwm_basic_config: fix bugs in MCPWM basic example
Closes https://github.com/espressif/esp-idf/issues/6926
2021-06-25 12:25:52 +08:00
laokaiyao 48fdf6912d test_pwm: relax the requirement of mcpwm test 2021-06-22 10:41:09 +08:00
laokaiyao fe354f1c50 hal/emac_hal: refactord emac_hal 2021-06-16 09:48:21 +08:00
laokaiyao 3a6043900d driver/timer: apply genral check 2021-05-27 15:52:19 +08:00
laokaiyao b807f2a666 driver/i2c: add notes to i2c deleteing function 2021-05-27 12:43:22 +08:00
laokaiyao e66f25caf2 driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters
closes https://github.com/espressif/esp-idf/issues/5032
2021-05-13 12:23:19 +08:00
laokaiyao 48c848a895 driver/ledc: support invert channel output 2021-05-11 11:54:16 +08:00
laokaiyao e0004dc443 gdma: replaced DMA_CHECK with ESP_GOTO_ON_FALSE and ESP_GOTO_ON_ERROR 2021-04-23 14:49:30 +08:00
laokaiyao 5b5dc4c8ca examples/i2c_tools: fixed the build error of i2ctools example on esp32c3 2021-04-23 10:31:24 +08:00
laokaiyao 92670e499c examples/simple_sniffer: add SPI work mode to SD card to support all chips 2021-04-22 19:52:41 +08:00