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.

Facing issue with MCAN application on mcu2_0 core using CCS

Hello Nikhil,

1. As suggested , tried to load .out using CCS for debugging. Observed CAN data as below in PC side.

Actual data pushed is as below:-

            /* Initialize message to transmit */
            txMsg.id  = (uint32_t)((uint32_t)(0x4U) << 18U);
            txMsg.rtr = 0U;
            txMsg.xtd = 0U;
            txMsg.esi = 0U;
            txMsg.dlc = 0xFU;
            txMsg.brs = 1U;
            txMsg.fdf = 1U;
            txMsg.efc = 1U;
            txMsg.mm  = 0xAAU;

            for(byte_size= 0;byte_size<MCAN_MAX_PAYLOAD_BYTES;byte_size++)
            {
                txMsg.data[byte_size] = 11;
            }

           /* Write message to Msg RAM */

           MCAN_writeMsgRam(APP_MCAN2_BASEADDR,

                             MCAN_MEM_TYPE_FIFO,
                             1,
                             &txMsg);

         configStatus += MCAN_txBufAddReq(APP_MCAN2_BASEADDR, 1U);

         CAN_write(&txMsg.data[0], 64);

Kindly provide me some input on this.