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

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
1 Solution
Anonymous
Not applicable

I have found a matching solution here:

Changing CAN receiver id

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

I have found a matching solution here:

Changing CAN receiver id

0 Likes