This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320C6670: problem about the descrambler in ssl submodule

Part Number: TMS320C6670

Tool/software: Code Composer Studio

hi!

i'm testing bcp_testproject in PDK 6670 about test_lte_ul to decode PUSCH.

i modify the bcp config,delete the RD Submodule to look the result of ssl.

ssl config is

if (radioStd == Bcp_RadioStd_LTE)
    {
        pSslHdrCfg->modeSelCfg.split_mode_en       =   numLayers-1;
        pSslHdrCfg->modeSelCfg.jack_bit            =   0;
        pSslHdrCfg->modeSelCfg.lte_descrambler_en  =   1;
        pSslHdrCfg->modeSelCfg.mod_type_sel        =   (Bcp_ModulationType) (mod/2);
        pSslHdrCfg->modeSelCfg.cmux_ln             =   (Bcp_CmuxLength) (numOFDMSymPerSubfrm - 9);
        pSslHdrCfg->modeSelCfg.q_format            =   (Bcp_QFormat) (Qfmt);
  Rprime1 = 12 * prbList[Rprime] * numLayers;
        pSslHdrCfg->modeSelCfg.b_matrix_sel        =   gind_row_index(Rprime1 * mod);
        pSslHdrCfg->modeSelCfg.rmux_ln_index       =   Rprime;
        pSslHdrCfg->ri_ln               =   0;//numRi;-------modified
        pSslHdrCfg->ack_ln              =   0;//numAck;------modified
        pSslHdrCfg->cinit_p2            =   cinit;
    }

the result is 288 bytes .(descramble_LLR=)

and then ,i disable the descrambler

pSslHdrCfg->modeSelCfg.lte_descrambler_en  =   0;

the result is (undescramble_LLR=)


 

I use matlab generate the scramble code  according to lte 36.211 is (cinit=115948)


 

how the ssl descramble the LLR?  

    descramble_LLR=(1-2*scramble_code)*undescramble_LLR.

is it correct?

expect for your answers