I would like to know the mailboxes available in the K60FX512. I set up the register CAN1_MCR |= CAN_MCR_MAXMB(31) and also the interrupt bits into the register CAN_IMASK1 for the 31 mailboxes . However, when the bit 16 of this register is enabled, it remains in 0. I have tried to find out the maximum of mailboxes available on this microcontroller but I have not been able to find out it.
If 16 (from 0 to 15) mailboxes are enabled, everything works properly, getting the interrupt flags.