Setting the transmissing priority of the FlexCAN module

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

Setting the transmissing priority of the FlexCAN module

1,472 次查看
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 回复数

1,460 次查看
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 项奖励
回复

1,453 次查看
SONGTAOSI
Contributor I

Hi,

Thank you for your answer.

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

0 项奖励
回复

1,446 次查看
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 项奖励
回复