Setting the transmissing priority of the FlexCAN module

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

Setting the transmissing priority of the FlexCAN module

692件の閲覧回数
SONGTAOSI
Contributor I

Hi,

I have a poor understanding of the FlexCAN module sending priority, can you provide a Demo about sending priority setting.

Thanks.

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

680件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

please refer to chapter 55.3.3 Arbitration process of the RM for the explanation of transmitting priority.
During arbitration process the TX MB winner is selected using below mechanisms depending on CTRL1[LBUF] and MCR[LPRIOEN] setting.
Lowest-number mailbox first or
- Highest-priority mailbox first

For example the SDK has no support/option to configure that, CTRL1[LBUF] is keeping cleared, I think.

BR, Petr

0 件の賞賛
返信

673件の閲覧回数
SONGTAOSI
Contributor I

Hi,

Thank you for your answer.

I have another question. How can I send multiple messages at the same time.

0 件の賞賛
返信

666件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there is single CAN message at a time on the CAN bus.
You can prepare as many TX MB for sending as you need, and those will be sent one after another according the internal arbitration and the bus arbitration as well.

BR, Petr

0 件の賞賛
返信