zephyr/tests/drivers/i2s/i2s_additional/testcase.yaml
Sebastian Głąb a58684db38 tests: drivers: i2s: Add i2s_additional tests
Extend I2S testing with additional test cases that verify
I2S/TDM driver operation at various configurations.

Check:
- word sizes of 8, 16, 24, 32 and 48 bits;
- one, two, four and eight audio channels configuration;
- data format I2S, Left Justified, Right Justified,
  PCM Long, PCM Short;
- data order MSB and LSB first;
- bit clock and frame clock inversion;
- block size of 6 bytes;
- bit clock continuous and gated;
- internal loopback;
- pingpong option.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-06-18 10:55:03 +02:00

40 lines
976 B
YAML

common:
tags:
- drivers
- i2s
depends_on:
- i2s
- gpio
filter: CONFIG_I2S_TEST_USE_GPIO_LOOPBACK
harness: ztest
tests:
drivers.i2s.additional.gpio_loopback:
harness_config:
fixture: gpio_loopback
platform_allow:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
integration_platforms:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
drivers.i2s.additional.gpio_loopback.54h:
harness_config:
fixture: i2s_loopback
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
integration_platforms:
- nrf54h20dk/nrf54h20/cpuapp
drivers.i2s.additional.gpio_loopback.aclk:
harness_config:
fixture: gpio_loopback
extra_args: EXTRA_DTC_OVERLAY_FILE="boards/nrf5340dk_nrf5340_cpuapp_aclk.overlay"
platform_allow:
- nrf5340dk/nrf5340/cpuapp
integration_platforms:
- nrf5340dk/nrf5340/cpuapp