Skip to content

Conversation

@nordic-segl
Copy link
Contributor

@nordic-segl nordic-segl commented Feb 4, 2025

Change frame clock frequency to a global variable so it can be changed inside a test.

Add short transfer test at 16000, 32000, 44000, 44100, 48000 and 96000 frame clock frequency.

Add configuration for nrf5340dk where i2s peripheral is clocked from ACLK.

Upstream PR #: 85126

manifest-pr-skip

@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from 8aab268 to 2b270c6 Compare February 4, 2025 11:38
@nordic-segl nordic-segl changed the title [nrf fromlist] tests: drivers: i2s: Add test with 48kHz sample rate [nrf fromlist] tests: drivers: i2s: Add tests at typical audio sample rates Feb 4, 2025
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from 2b270c6 to 4fb999a Compare February 7, 2025 08:59
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch 2 times, most recently from 5366482 to a416c14 Compare February 12, 2025 10:41
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from a416c14 to d0aa8ac Compare February 13, 2025 08:14
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from d0aa8ac to bdf6b20 Compare February 14, 2025 08:54
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from bdf6b20 to 1aaaff5 Compare February 19, 2025 08:05
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from 1aaaff5 to 9af0862 Compare February 20, 2025 10:11
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from 9af0862 to ec77585 Compare March 10, 2025 06:29
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from ec77585 to 4a2bb75 Compare March 19, 2025 06:27
… rates

Add short transfer test at 8000, 16000, 32000, 44100, 48000, 88200
and 96000 frame clock frequency.

Add KConfigs to skip test cases based on value of sample rate.

Add configuration for nrf5340dk where i2s peripheral is clocked
from ACLK.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit c42513a)
@nordic-segl nordic-segl force-pushed the NRFX-7022_Add-I2S-test-at-48000 branch from 4a2bb75 to 1e9477b Compare March 19, 2025 07:51
@nordic-segl nordic-segl changed the title [nrf fromlist] tests: drivers: i2s: Add tests at typical audio sample rates [nrf fromtree] tests: drivers: i2s: Add tests at typical audio sample rates Mar 19, 2025
@nordic-segl
Copy link
Contributor Author

11:29:46  INFO    -  6/11 nrf5340dk/nrf5340/cpuapp  tests/drivers/i2s/i2s_speed/drivers.i2s.speed.gpio_loopback PASSED (device: 1050070915, 6.320s <zephyr>)
11:29:46  INFO    -  7/11 nrf52840dk/nrf52840       tests/drivers/i2s/i2s_speed/drivers.i2s.speed.gpio_loopback PASSED (device: 683921412, 6.815s <zephyr>)
11:29:46  INFO    -  8/11 nrf54l15dk/nrf54l05/cpuapp tests/drivers/i2s/i2s_speed/drivers.i2s.speed.gpio_loopback PASSED (device: 1057701123, 5.133s <zephyr>)
11:29:46  INFO    -  9/11 nrf54l15dk/nrf54l15/cpuapp tests/drivers/i2s/i2s_speed/drivers.i2s.speed.gpio_loopback PASSED (device: 1057765866, 5.126s <zephyr>)
11:29:49  INFO    - 10/11 nrf54l15dk/nrf54l10/cpuapp tests/drivers/i2s/i2s_speed/drivers.i2s.speed.gpio_loopback PASSED (device: 1057701123, 4.352s <zephyr>)
11:29:49  INFO    - 11/11 nrf5340dk/nrf5340/cpuapp  tests/drivers/i2s/i2s_speed/drivers.i2s.speed.gpio_loopback.aclk PASSED (device: 1050070915, 5.023s <zephyr>)

Plus manual run on nrf54h20dk/nrf54h20/cpuapp (PASSED).
Fail on nrf54l20pdk - will be tracked under NRFX-7243.

@rlubos rlubos merged commit 56bea02 into nrfconnect:main Mar 19, 2025
18 checks passed
@nordic-segl nordic-segl deleted the NRFX-7022_Add-I2S-test-at-48000 branch March 19, 2025 12:03
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Mar 19, 2025
Include:
tests: drivers: i2s: Add tests at typical audio sample rates
zephyrproject-rtos/zephyr#85126
nrfconnect/sdk-zephyr#2461

Signed-off-by: Sebastian Głąb <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-nrf that referenced this pull request Mar 19, 2025
Include:
tests: drivers: i2s: Add tests at typical audio sample rates
zephyrproject-rtos/zephyr#85126
nrfconnect/sdk-zephyr#2461

Signed-off-by: Sebastian Głąb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants