CANFD payload 64 byte IFLAG asserted question

cancel
Showing results for 
Search instead for 
Did you mean: 

CANFD payload 64 byte IFLAG asserted question

198 Views
yijie_chan
Contributor I

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.

Labels (1)
0 Kudos
4 Replies

73 Views
PetrS
NXP TechSupport
NXP TechSupport

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

0 Kudos

73 Views
yijie_chan
Contributor I

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.


0 Kudos

73 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

what's your MCU?

Jiri

0 Kudos

73 Views
yijie_chan
Contributor I

Hi~ jiri

The MCU is S32R274.

0 Kudos