FlexCAN RTR transmit buffer CODE 1010 message problem.

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

FlexCAN RTR transmit buffer CODE 1010 message problem.

1,147 次查看
Ushnek
Contributor I

Hi All,

     In the iMX53 reference manual(iMX53RM.pdf), I find the table 34-5 that says Tx message buffer

     can be put-in messages in advance with CODE 1010.

     CAN.PNG

     However, there seems like no solution let user to transmit this kind of message?

     I use "cansend" but not find any option for sending this kind of message.

     Could someone help me to know how to send this?

标签 (1)
0 项奖励
回复
2 回复数

810 次查看
YixingKong
Senior Contributor IV

Ushnek, please click Correct Answer/Helpful Answer, if your question has been answered.

Regards,

Yixing

0 项奖励
回复

810 次查看
ioseph_martinez
NXP Employee
NXP Employee

Hello Ushnek,

I did a review on the documentation Documentation/networking/can.txt

This section explains a bit about scope of the driver:

6.3 CAN controller hardware filters

  To reduce the interrupt load on deep embedded systems some CAN

  controllers support the filtering of CAN IDs or ranges of CAN IDs.

  These hardware filter capabilities vary from controller to

  controller and have to be identified as not feasible in a multi-user

  networking approach. The use of the very controller specific

  hardware filters could make sense in a very dedicated use-case, as a

  filter on driver level would affect all users in the multi-user

  system. The high efficient filter sets inside the PF_CAN core allow

  to set different multiple filters for each socket separately.

  Therefore the use of hardware filters goes to the category 'handmade

  tuning on deep embedded systems'. The author is running a MPC603e

  @133MHz with four SJA1000 CAN controllers from 2002 under heavy bus

  load without any problems ...

Unfortunately that feature does not seems to be supported, so you won't be able to use it without modifying your driver.

You will need to study the driver code and add this feature by yourself. I guess you need to weight how much you can win in performance vs the standard usage.

Best Regards,

Ioseph

0 项奖励
回复