Add FLEXCAN HW Filter in CAN driver

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

Add FLEXCAN HW Filter in CAN driver

747件の閲覧回数
yogeshbsa89
Contributor II

Hi,

I want to implement CAN HW filter in CAN driver.

As current can driver implementation is Network driver so can be accessed via socket.

So in this implementation CAN filter can be set at kernel level by using socket options.

I would like to use can Hw filter to reduce the load on CAN receive interrupt.

Since CAN is running at 1mbps. If load on CAN bus increases which increases the CAN interrupt rate in turn raise CPU load.

Please suggest which registers i need to change. if any patch is available for reference kindly share.   

 

Regards,

Yogesh 

ラベル(2)
タグ(1)
0 件の賞賛
3 返答(返信)

519件の閲覧回数
Jean-Philippe
Contributor I

Hi Igor,

I have the same request for iMX6ULL. I really need to enable hardware filtering to avoid to many irq and kernel filtering.

Could you send me the patch ?

Thank you !

Jean-Philippe

0 件の賞賛

732件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Yogesh

 

patch was sent you via mail.

 

Best regards
igor

0 件の賞賛

689件の閲覧回数
thomas_mohnl
Contributor I

Hi Igor,

I have the same topic: need HW filter in flexcan driver.

Please provide me also with the patch.

Thanks,

Thomas

0 件の賞賛