CAN email configuration for S32K144?

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

CAN email configuration for S32K144?

1,087件の閲覧回数
leonordo
Contributor I

When I configure the can mailbox of S32K144, should I configure this register to configure the maximum number of mailboxes of S32K144?

CAN0->MCR = 0x0000000F | CAN_MCR_SRXDIS(1); /* Negate FlexCAN 1 halt state for 32 MBs */

After the configuration is complete, the can IFLAG register is checked and the received data is stored in only one mailbox. All the other mailboxes are empty

0 件の賞賛
返信
4 返答(返信)

1,073件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi leonordo,

Please refer to the examples in the article: S32K1xx SDK FlexCAN sample projects to demonstrate its basic and advanced features

Best Regards,
Robin

0 件の賞賛
返信

1,050件の閲覧回数
leonordo
Contributor I

hello,I would also like to ask that if I increase the size of an mailbox, for example, one mailbox CAN receive two messages, then I can read two days' CAN data in one mailbox at a time

0 件の賞賛
返信

1,071件の閲覧回数
leonordo
Contributor I

Hello, I have solved the problem before, because I did not initialize the mailbox configuration;

Now I have another question: Can S32K144 email address not be configured as:

Three mailboxes receive the same ID at the same time, mailbox one is full, mailbox two is receiving, and so on until all three mailboxes are full

0 件の賞賛
返信

1,025件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry for the delay.

Please check whether the content described in chapter 55.5.4 Matching process of the reference manual S32K1XXRM meets your needs.

55.5.4 Matching process.png

0 件の賞賛
返信