Post Go back to editing

JESD204C Lane Mapping Configuration

Category: Software

Hi

We are trying to map our TX and RX channels by flipping TX1 <-> TX3, Tx2 <->  TX4, RX1 <-> RX3, RX2 <->  RX4 channels in our framer and deframer.
We have tried configuring the crossbar parameters in TES however we were did not observe the behavior that we are expecting; the remapping of the channels was not successful.

I have attached the portion of our initdata.c which contains the changes we have made. We are using the usecase 51C Non-Link Sharing.

Is there something else that we need to configure?

{  // framer[0]
            1,  // enableJesd204C
            0,  // bankId
            1,  // deviceId
            0,  // lane0Id
            8,  // jesd204M
            32,  // jesd204K
            8,  // jesd204F
            16,  // jesd204Np
            1,  // jesd204E
            1,  // scramble
            3,  // serializerLanesEnabled
            0,  // lmfcOffset
            0,  // syncbInSelect
            0,  // overSample
            1,  // syncbInLvdsMode
            0,  // syncbInLvdsPnInvert
            { // serializerLaneCrossbar
                0,  // lane0FramerOutSel
                1,  // lane1FramerOutSel
                8,  // lane2FramerOutSel
                8   // lane3FramerOutSel
            },
            { // adcCrossbar
                ADI_ADRV9025_ADC_DUALBAND_RX3_BAND_A_I,  // conv0
                ADI_ADRV9025_ADC_RX3_Q,  // conv1
                ADI_ADRV9025_ADC_DUALBAND_RX4_BAND_A_I,  // conv2
                ADI_ADRV9025_ADC_RX4_Q,  // conv3
                ADI_ADRV9025_ADC_RX1_I,  // conv4
                ADI_ADRV9025_ADC_RX1_Q,  // conv5
                ADI_ADRV9025_ADC_RX2_I,  // conv6
                ADI_ADRV9025_ADC_RX2_Q,  // conv7
                ADI_ADRV9025_ADC_DUALBAND_RX1_BAND_B_I,  // conv8
                ADI_ADRV9025_ADC_DUALBAND_RX1_BAND_B_Q,  // conv9
                ADI_ADRV9025_ADC_DUALBAND_RX2_BAND_B_I,  // conv10
                ADI_ADRV9025_ADC_DUALBAND_RX2_BAND_B_Q,  // conv11
                ADI_ADRV9025_ADC_DUALBAND_RX3_BAND_B_I,  // conv12
                ADI_ADRV9025_ADC_DUALBAND_RX3_BAND_B_Q,  // conv13
                ADI_ADRV9025_ADC_DUALBAND_RX4_BAND_B_I,  // conv14
                ADI_ADRV9025_ADC_DUALBAND_RX4_BAND_B_Q,  // conv15
                ADI_ADRV9025_ADC_DISABLE,  // conv16
                ADI_ADRV9025_ADC_DISABLE,  // conv17
                ADI_ADRV9025_ADC_DISABLE,  // conv18
                ADI_ADRV9025_ADC_DISABLE,  // conv19
                ADI_ADRV9025_ADC_DISABLE,  // conv20
                ADI_ADRV9025_ADC_DISABLE,  // conv21
                ADI_ADRV9025_ADC_DISABLE,  // conv22
                ADI_ADRV9025_ADC_DISABLE   // conv23
            },
            0,  // newSysrefOnRelink
            0,  // sysrefForStartup
            0,  // sysrefNShotEnable
            0,  // sysrefNShotCount
            0   // sysrefIgnoreWhenLinked
        },


{  // deframer[0]
            1,  // enableJesd204C
            0,  // bankId
            1,  // deviceId
            0,  // lane0Id
            8,  // jesd204M
            32,  // jesd204K
            8,  // jesd204F
            16,  // jesd204Np
            1,  // jesd204E
            1,  // scramble
            3,  // deserializerLanesEnabled
            0,  // lmfcOffset
            0,  // syncbOutSelect
            1,  // syncbOutLvdsMode
            0,  // syncbOutLvdsPnInvert
            0,  // syncbOutCmosSlewRate
            0,  // syncbOutCmosDriveLevel
            { // deserializerLaneCrossbar
                0,  // deframerInput0LaneSel
                1,  // deframerInput1LaneSel
                8,  // deframerInput2LaneSel
                8   // deframerInput3LaneSel
            },
            { // dacCrossbar
                ADI_ADRV9025_DEFRAMER_OUT4,  // tx1DacChanI
                ADI_ADRV9025_DEFRAMER_OUT5,  // tx1DacChanQ
                ADI_ADRV9025_DEFRAMER_OUT6,  // tx2DacChanI
                ADI_ADRV9025_DEFRAMER_OUT7,  // tx2DacChanQ
                ADI_ADRV9025_DEFRAMER_OUT0,  // tx3DacChanI
                ADI_ADRV9025_DEFRAMER_OUT1,  // tx3DacChanQ
                ADI_ADRV9025_DEFRAMER_OUT2,  // tx4DacChanI
                ADI_ADRV9025_DEFRAMER_OUT3   // tx4DacChanQ
            },
            0,  // newSysrefOnRelink
            0,  // sysrefForStartup
            0,  // sysrefNShotEnable
            0,  // sysrefNShotCount
            0   // sysrefIgnoreWhenLinked
        },