Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 149095

Forum Post: RE: Setting the McASP TimeSlot register RTDM

$
0
0

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


Viewing all articles
Browse latest Browse all 149095

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>