AM2754-Q1: MCASP Output Pin Configuration

Part Number: AM2754-Q1


Hi, experts, 
The hardware schematic diagram and configuration method in syscfg are shown below. 
image.png
image.pngimage.png
 I hope the audio data can be output to both L16 and M17 pins simultaneously.In reality, the audio data appears to have been multiplexed and compressed into a single stream that is output solely through the L16 pin. When only L16 or M17 is used as the output pin in syscfg, the output works normally. Does MCASP support outputting from one Instance to multiple pins? How should it be configured?
Br, Shi
  • Hi Yifan,

    When multiple serializers and multiple slots are used, the interleaving will look like this - 

    Suppose you are using 2-slot(TDM2 or I2S - l and r) 2-serialilzer(say s0 and s1), then in the mcasp buffer the data should look like - 
    [ s0_l0, s1_l0, s0_r0, s1_r0, s0_l1, s1_l1, s0_r1, s1_r1, ...... ]
    where
    si_lj -> jth left channel sample for ith serializer 
    si_rj -> jth right channel sample for ith serializer 

    In your case, your are using 2 serializers. So, The data in the submitted buffer will be split according to this rule/pattern. 

    If you want to specifically control the output of a particular serializer, you will have to modify the transmit buffer accordingly in the application code. 

    Ragards,
    Ritapravo