I've been trying to implement a I2S playback application for the rt600 in Zephyr 3.4.
I've set up the application by reading the Zephyr guides but I'm finding its not a walk in the park. It's taking a lot of reverse engineering + trial and error.
Such as:
The Zephyr I2S driver requires that a slab of memory is allocated for tx and rx buffers K_MEM_SLAB_DEFINE.
However, in order to set this up correctly you have to set the number of blocks to either:
CONFIG_I2S_MCUX_FLEXCOMM_RX_BLOCK_COUNT
or
CONFIG_I2S_MCUX_FLEXCOMM_TX_BLOCK_COUNT
Not an easy find. It's taking a lot of digging to figure out how to get things operating. I'm guessing the NXP has already tested i2s code for Zephyr in one way or another.
Could NXP share sample code to play sound via Flexcomm I2S for Zephyr?