CANFD payload 64 byte IFLAG asserted question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CANFD payload 64 byte IFLAG asserted question

973件の閲覧回数
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)
0 件の賞賛
返信
4 返答(返信)

848件の閲覧回数
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 件の賞賛
返信

848件の閲覧回数
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 件の賞賛
返信

848件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

what's your MCU?

Jiri

0 件の賞賛
返信

848件の閲覧回数
yijie_chan
Contributor I

Hi~ jiri

The MCU is S32R274.

0 件の賞賛
返信