Home
last modified time | relevance | path

Searched full:i2s (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/Zephyr-Core-3.6.0/drivers/i2s/
DKconfig1 # I2S (Inter-IC Sound) driver configuration options
7 # I2S Drivers
9 menuconfig I2S config
10 bool "Inter-IC Sound (I2S) bus drivers"
12 Enable support for the I2S (Inter-IC Sound) hardware bus.
14 if I2S
22 module = I2S
23 module-str = i2s
28 source "drivers/i2s/Kconfig.*"
30 endif # I2S
DKconfig.mcux1 # MCUX I2S driver configuration options
7 bool "NXP MCUX I2S controller driver"
13 Enable I2S support on the I.MX family of processors.
26 int "I2S EDMA BURST SIZE"
29 I2S EDMA burst size in bytes.
Di2s_ll_stm32.c11 #include <zephyr/drivers/i2s.h>
100 LOG_ERR("Could not enable I2S clock"); in i2s_stm32_enable_clock()
105 /* Enable I2S clock source */ in i2s_stm32_enable_clock()
110 LOG_ERR("Could not configure I2S domain clock"); in i2s_stm32_enable_clock()
151 LL_I2S_SetPrescalerLinear(cfg->i2s, i2s_div); in i2s_stm32_set_clock()
152 LL_I2S_SetPrescalerParity(cfg->i2s, i2s_odd); in i2s_stm32_set_clock()
166 * When I2S data format is selected parameter channels is ignored, in i2s_stm32_configure()
214 /* set I2S bitclock */ in i2s_stm32_configure()
233 /* set I2S Master Clock output in the MCK pin, enabled in the DT */ in i2s_stm32_configure()
235 LL_I2S_EnableMasterClock(cfg->i2s); in i2s_stm32_configure()
[all …]
Di2s_litex.h11 #include <zephyr/drivers/i2s.h>
15 /* i2s configuration mask*/
23 /* i2s control register options*/
26 /* i2s event*/
28 /* i2s event types*/
31 /* i2s rx*/
39 /* i2s tx*/
47 /* i2s register offsets (they are the same for all i2s nodes, both rx and tx) */
/Zephyr-Core-3.6.0/samples/drivers/i2s/output/
DREADME.rst1 .. zephyr:code-sample:: i2s-output
2 :name: I2S output
5 Send I2S output stream
10 This sample demonstrates how to use an I2S driver to send an output stream of
11 audio data. Currently, no codec is used with this sample. The I2S output can
15 The I2S TX queue will then be drained, and audio output will stop.
20 The I2S device to be used by the sample is specified by defining
28 The code can be found in :zephyr_file:`samples/drivers/i2s/output`.
33 :zephyr-app: samples/drivers/i2s/output
Dsample.yaml2 description: I2S Output Sample
6 depends_on: i2s
8 sample.drivers.i2s.output:
9 filter: dt_alias_exists("i2s-tx")
/Zephyr-Core-3.6.0/tests/drivers/i2s/i2s_speed/
Dtestcase.yaml2 drivers.i2s.speed:
3 depends_on: i2s
6 - i2s
8 drivers.i2s.speed.gpio_loopback:
10 - i2s
14 - i2s
/Zephyr-Core-3.6.0/tests/drivers/i2s/i2s_api/boards/
Dmimxrt685_evk_cm33.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dlpcxpresso55s69_cpu0.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dlitex_vexriscv.overlay1 /* i2s-node0 is the receiver
2 * i2s-node1 is the transmitter
7 i2s-node0 = &i2s_rx;
8 i2s-node1 = &i2s_tx;
Dmimxrt1170_evk_cm7.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver - uses SAI1 peripheral on RT1170
3 * i2s-node1 is the transmitter - uses SAI4 peripheral
8 i2s-node0 = &sai1;
9 i2s-node1 = &sai4;
/Zephyr-Core-3.6.0/tests/drivers/i2s/i2s_speed/boards/
Dlpcxpresso55s69_cpu0.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dmimxrt685_evk_cm33.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dmimxrt595_evk_cm33.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dlitex_vexriscv.overlay1 /* i2s-node0 is the receiver
2 * i2s-node1 is the transmitter
7 i2s-node0 = &i2s_rx;
8 i2s-node1 = &i2s_tx;
Dmimxrt1170_evk_cm7.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver - uses SAI1 peripheral on RT1170
3 * i2s-node1 is the transmitter - uses SAI4 peripheral
8 i2s-node0 = &sai1;
9 i2s-node1 = &sai4;
/Zephyr-Core-3.6.0/dts/bindings/led_strip/
Dworldsemi,ws2812-i2s.yaml5 Worldsemi WS2812 LED strip, I2S binding
8 strip with an I2S master.
10 compatible: "worldsemi,ws2812-i2s"
16 i2s-dev:
19 description: Pointer to the I2S instance.
43 description: Extra microseconds to wait for the driver to flush its I2S queue.
/Zephyr-Core-3.6.0/samples/subsys/usb/uac2_explicit_feedback/
DREADME.rst5 USB Audio 2 explicit feedback sample playing audio on I2S.
11 explicit feedback. It can run on any board with USB and I2S support, but the
23 that 1 ms according to audio sink (I2S) will be either slightly longer or
33 obtain the timing information based on I2S and USB interrupts, but currently
39 The nRF5340 is capable of counting both edges of I2S LRCLK relative to USB SOF
42 provide relative timing information between I2S FRAMESTART and USB SOF.
44 This sample in both modes (direct sample counting and indirect I2S buffer output
48 counting requires external connection between I2S LRCLK output pin to GPIOTE
51 I2S device connected where I2S signals can be checked e.g. on logic analyzer.
/Zephyr-Core-3.6.0/boards/arm/lpcxpresso55s69/
Dpinmux.c20 * sets are used to enable one I2S device to handle RX and one to handle in lpcxpresso_55s69_pinmux_init()
24 /* Set shared signal set 0 SCK, WS from Transmit I2S - Flexcomm 7 */ in lpcxpresso_55s69_pinmux_init()
29 /* Select Data in from Transmit I2S - Flexcomm 7 */ in lpcxpresso_55s69_pinmux_init()
31 /* Enable Transmit I2S - Flexcomm 7 for Shared Data Out */ in lpcxpresso_55s69_pinmux_init()
35 /* Set Receive I2S - Flexcomm 6 SCK, WS from shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
39 /* Set Transmit I2S - Flexcomm 7 SCK, WS from shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
44 /* Select Receive I2S - Flexcomm 6 Data in from shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
46 /* Select Transmit I2S - Flexcomm 7 Data out to shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
/Zephyr-Core-3.6.0/samples/boards/litex/i2s/
Dsample.yaml2 description: I2S sample
4 name: i2s example
6 sample.drivers.i2s.litex:
13 - "i2s example (.*)"
/Zephyr-Core-3.6.0/tests/drivers/i2s/i2s_api/
Dtestcase.yaml2 drivers.i2s:
3 depends_on: i2s
11 drivers.i2s.gpio_loopback:
13 - i2s
/Zephyr-Core-3.6.0/samples/drivers/i2s/echo/
Dsample.yaml2 name: I2S echo sample
4 sample.drivers.i2s.echo:
5 tags: i2s
16 - "I2S echo sample"
DREADME.rst1 .. zephyr:code-sample:: i2s-echo
2 :name: I2S echo
10 This sample demonstrates how to use an I2S driver in a simple processing of
20 CODECs. The I2S device to be used by the sample is specified by defining
22 and ``i2s_tx`` if separate I2S devices are to be used for the RX and TX
37 The code can be found in :zephyr_file:`samples/drivers/i2s/echo`.
42 :zephyr-app: samples/drivers/i2s/echo
/Zephyr-Core-3.6.0/dts/bindings/i2s/
Dnordic,nrf-i2s.yaml4 description: Nordic I2S (Inter-IC sound interface)
6 compatible: "nordic,nrf-i2s"
8 include: [i2s-controller.yaml, pinctrl-device.yaml]
24 Clock source to be used by the I2S peripheral for the master clock
25 (MCK) generator. The generator is only needed when the I2S peripheral
/Zephyr-Core-3.6.0/boards/arm/mimxrt685_evk/
Dinit.c18 /* Set shared signal set 0 SCK, WS from Transmit I2S - Flexcomm3 */ in mimxrt685_evk_init()
23 /* Select Data in from Transmit I2S - Flexcomm 3 */ in mimxrt685_evk_init()
25 /* Enable Transmit I2S - Flexcomm 3 for Shared Data Out */ in mimxrt685_evk_init()
29 /* Set Receive I2S - Flexcomm 1 SCK, WS from shared signal set 0 */ in mimxrt685_evk_init()
33 /* Set Transmit I2S - Flexcomm 3 SCK, WS from shared signal set 0 */ in mimxrt685_evk_init()
38 /* Select Receive I2S - Flexcomm 1 Data in from shared signal set 0 */ in mimxrt685_evk_init()
40 /* Select Transmit I2S - Flexcomm 3 Data out to shared signal set 0 */ in mimxrt685_evk_init()

12345678910>>...12