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

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

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

ソリューションへジャンプ
1,682件の閲覧回数
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 解決策
1,566件の閲覧回数
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 返答(返信)
1,567件の閲覧回数
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 件の賞賛
返信
1,566件の閲覧回数
louizalaouiss
Contributor II

Hi Petr,

thank you very much for the answer !

Regards,

Louiza :smileyhappy:

0 件の賞賛
返信