I'm new to ALSA and working with the imx8m SOM, the SOM suppose to send and receive 16 mono channel audio TDM stream over SAI2 data lines with the external device. There is no hardware codec to control the stream and the external device drives the SAI2 data lines at the sample rate of 16000. Each frame is 256 bit wide and each channel takes 16 bits with little Endian format.
I've referred the posts given below to enable the playback and verified the audio playback working.
I would like to know the way to configure the ALSA to enable all 16 channels present for the applications, where each channel can be operated as capture and playback device at the same time.