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
Filter in CAN
Moderators: RoccoMarco, lbednarz, tfAteba
- 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
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
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
Re: Filter in CAN
Hi Giovanni,
Thanks for reply.
I read reference manual many time, But not understand about filter bank.
Best Regards.,
mculover
Thanks for reply.
I read reference manual many time, But not understand about filter bank.
Best Regards.,
mculover