Hi Biser,
the definition
#define I2S_SLOTS ((1 << NUM_I2S_CHANNELS) - 1)
from the StarterWare McASP example is a bit missleading.
It seems that NUM_I2S_CHANNELS is always meant to be 2 independent of the number of serializers.
I2S_SLOTS is the mask for the RTDM register and assuming that NUM_I2S_CHANNELS is 4 (i.e. two I2S signals), the result would be 0x0f instead of 3.
(For the StarterWare example, where NUM_I2S_CHANNELS=2, the result is 3, so it is ok.)
Thank you very much for your help!
Regards,
Martin