If the CAN message buffer payload is set to 8bytes, the corresponding flag of the IFLAG register will be set after the message is sent or received.If payload is set to 16Byte or 32Byte or 64Byte, i found that the IFLAG is either not be set up or set up wrongly. I would like to understand under such circumstance, how to get the flag or how to understand the status of the IFALG register.
Hi,
MB flag is set when message is successfully sent or received, regardless of payload.
What did you mean by "flag is set up wrongly"?
How do you manage the MBs for payload of 16/32/64 bytes? Note the MB's address offset changes for different payload in memory block, depending of MBDSRn setting. Tables 53-15 to 53-17 summarizes this.
BR, Petr
Hi,petr.
you are correct! i didn't notice the offset of ram memory of CAN ,now i can sent and receive message using payload of 64 bytes.
Hi,
what's your MCU?
Jiri
Hi~ jiri
The MCU is S32R274.