Filter in CAN

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
mculover
Posts: 26
Joined: Fri Dec 10, 2010 2:27 pm

Filter in CAN

Post by mculover »

Hi Giovanni,

For filter message in CAN Driver, Chibi RTOS provide structure CANFilter to do that.

I know that cf_register1 and cf_register2 for CAN_FxR1 and CAN_FxR2 in each Filter Bank.

What are meaning of cf_register1 and cf_register2 in each mode ?.
How to use cf_register1 and cf_register2 in Identifier List Mode and Mask Mode ?.

Thanks for advance.
mculover
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Filter in CAN

Post by Giovanni »

HI Mculover,

I am afraid that there is no way around studying the STM32 Reference Manual, the matter is a bit complicated. The driver provides no mechanism to easily configure the filters, the initialization is performed at register level.

One of the next developments will be a visual configuration tool for the HAL but until then you have to configure them manually.

Giovanni
mculover
Posts: 26
Joined: Fri Dec 10, 2010 2:27 pm

Re: Filter in CAN

Post by mculover »

Hi Giovanni,

Thanks for reply.
I read reference manual many time, But not understand about filter bank.

Best Regards.,
mculover
Post Reply