Configuration of two message buffer(MB) for reception with same ID !

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

Configuration of two message buffer(MB) for reception with same ID !

跳至解决方案
819 次查看
louizalaouiss
Contributor II

According to MPC5668 datasheet,
each Flexcan module has 64 MB (Message Buffers), each of them being configurable
for reception or transmission. Each MB has an ID field to allow reception of
frames which ID is the same as the one configured in the MB. I would like to
know what happens if two MB configured for reception are initialized with same
ID? A frame is received in both MB at the same time or only one MB will receive
the frame and what is the associated arbitration method?

thank you

Louiza

0 项奖励
回复
1 解答
703 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi Louiza,


This scenario is described in the device Reference Manual in chapter 28.4.4 Matching Process (http://cache.freescale.com/files/32bit/doc/ref_manual/MPC5668xRM.pdf).

If 2 MBs are free to receive, a first message will be stored in the first MB (lower number). If the CPU does not service this MB (read the C/S word and then unlocked the MB) before another message with matching ID comes, this new message will be stored in second MB, otherwise it is going again into first one.

Regards,

Petr

在原帖中查看解决方案

0 项奖励
回复
2 回复数
704 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi Louiza,


This scenario is described in the device Reference Manual in chapter 28.4.4 Matching Process (http://cache.freescale.com/files/32bit/doc/ref_manual/MPC5668xRM.pdf).

If 2 MBs are free to receive, a first message will be stored in the first MB (lower number). If the CPU does not service this MB (read the C/S word and then unlocked the MB) before another message with matching ID comes, this new message will be stored in second MB, otherwise it is going again into first one.

Regards,

Petr

0 项奖励
回复
703 次查看
louizalaouiss
Contributor II

Hi Petr,

thank you very much for the answer !

Regards,

Louiza :smileyhappy:

0 项奖励
回复