Commit Graph

30 Commits

Author SHA1 Message Date
laokaiyao 02799dbee2 fix(i2s): add check for i2s DMA buffer array allocation
Closes https://github.com/espressif/esp-idf/issues/15607
2025-03-25 15:28:55 +08:00
laokaiyao 1b7004fdeb fix(i2s): fixed mismatch of the i2s and gdma iram-safe config
Closes https://github.com/espressif/esp-idf/issues/15533
2025-03-25 15:21:53 +08:00
laokaiyao 1cef1b3e4d fix(i2s): fixed incorrect logic in slot reconfig
Closes https://github.com/espressif/esp-idf/issues/15256
2025-01-27 14:17:03 +08:00
laokaiyao 133cbda732 fix(i2s): add check for the tdm frame bits num 2024-12-24 15:47:53 +08:00
laokaiyao f8e363e307 fix(i2s): fixed the issue in PR 14879
Closes https://github.com/espressif/esp-idf/pull/14879

[Kevin: Update to only remove the limitation for PCM short format]
2024-12-24 15:47:53 +08:00
laokaiyao 45e3474568 fix(i2s): return error when mclk_div is smaller than 2 2024-12-24 15:47:53 +08:00
laokaiyao ff937be091 fix(i2s): fixed incorrect buf size calculation 2024-12-24 15:47:53 +08:00
laokaiyao a2cf3ae4df i2s: fixed i2s_ll compiling failure under C++ evironment
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-27 10:39:43 +08:00
morris 2b483c98c4 Merge branch 'bugfix/fix_several_bugs_in_i2s_v5.0' into 'release/v5.0'
i2s: fix several bugs in std and tdm mode (v5.0)

See merge request espressif/esp-idf!23670
2023-05-12 11:03:37 +08:00
laokaiyao 4dd5909b13 i2s_tdm: fixed half sample bit calculation and add check for slot mask 2023-05-10 12:28:52 +08:00
laokaiyao f0c13fc7a8 i2s_std: fixed mclk check for 24-bit data and enable left alignment as default 2023-05-10 12:25:35 +08:00
laokaiyao 18d7ecc470 i2s: fix interrupt flag of pdm rx mode
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-05-04 04:23:30 +00:00
dizcza 7bfc40b5fb i2s interrupt fix
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 18:37:48 +08:00
laokaiyao ec55f7fe6e i2s_pdm: fix tx frequency limitation
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +08:00
laokaiyao b02d50e33b i2s: fix some typos 2023-03-20 14:51:07 +08:00
morris 6b8d4dfe14 gdma: prevent mutli-channels connect to the same peripheral
1. add check in the gdma driver, to prevent multiple channels connecting
   to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
   targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.

Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:06:48 +08:00
laokaiyao 85661a037f i2s: fixed tdm mclk doubled issue
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-22 15:57:33 +08:00
laokaiyao e302d9a976 i2s: fix tx incomplete auto clear
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-12 19:42:37 +08:00
laokaiyao d836d8cf35 i2s: add notes for the read task of i2s basic examples 2022-09-07 11:03:26 +08:00
laokaiyao 0f0baa5bb4 i2s: fixed the duplicated type name 2022-09-07 11:03:26 +08:00
morris 4701d95052 driver: specify the interrupt priority
Closes https://github.com/espressif/esp-idf/issues/9520
2022-08-18 10:57:13 +08:00
morris 998451c60a driver: remove -Wno-format flag 2022-08-18 10:57:12 +08:00
Darian Leung 781d06af73 esp_hw_support: Remove compare_set.h API
This function removes the following legacy atomic CAS functions:

From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()

From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()

Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.

Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +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
Armando 5b523a3313 esp_adc: new esp_adc component and adc drivers 2022-07-15 18:31:00 +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