1 Reply Latest reply on Jun 14, 2018 4:49 AM by OvidiuBujanca

    Would it be possible to change the identifier of a CAN RX Full mailbox dynamically?

    OvidiuBujanca

      Hello,

       

      I am trying to change existing CAN RX Full mailbox IDs with new ones dynamically. I saw this is possible for the TX mailboxes using:

      CY_SET_REG32((reg32 *)&CAN_TX[mailboxNumber].txid, (newIDValue << 21u));

       

      This line is not working:

      CY_SET_REG32((reg32 *)&CAN_RX[mailboxNumber].rxid, (newIDValue << 21u));

       

      Any ideas?

      Thanks