CANFD payload 64 byte IFLAG asserted question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CANFD payload 64 byte IFLAG asserted question

800 次查看
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.

标签 (1)
标记 (4)
0 项奖励
4 回复数

675 次查看
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 项奖励

675 次查看
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 项奖励

675 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

what's your MCU?

Jiri

0 项奖励

675 次查看
yijie_chan
Contributor I

Hi~ jiri

The MCU is S32R274.

0 项奖励