FlexCAN RTR transmit buffer CODE 1010 message problem.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FlexCAN RTR transmit buffer CODE 1010 message problem.

885 Views
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?

Labels (1)
0 Kudos
2 Replies

548 Views
YixingKong
Senior Contributor IV

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

Regards,

Yixing

0 Kudos

548 Views
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 Kudos