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.

the Rx interrupt of CPSW



Hi TI team,

     the AM335X StarterWare offers the sample code of the enetLwip.

    there is the RX interrupt function with this sample code.

    when the one works, the RX interrupt function is performed.

    but after I change the registers values of  P0_CPDMA_RX_CH_MAP of CPSW_PORT,

    RX_INSTAT_SET of CPSW_CPDMA, and RX0_HDP of CPSW_STATERM,

    the RX interrupt function is not performed.

    the default values of above registers are as follow:

    1.P0_CPDMA_RX_CH_MAP of CPSW_PORT => 0x00000000

    2.RX_INSTAT_SET of CPSW_CPDMA => 0x00000001

    3.RX0_HDP of CPSW_STATERM => the actual memory of the buffer

     the changed values are as follows:    

     1.P0_CPDMA_RX_CH_MAP of CPSW_PORT => 0x22222222

    2.RX_INSTAT_SET of CPSW_CPDMA => 0x00000004

    3.RX2_HDP of CPSW_STATERM => the actual memory of the buffer

    are there other registers to be set?