cancel
Showing results for 
Search instead for 
Did you mean: 

bxCAN BankNumber value

Abdelmalek BELLOULA
Associate III
Posted on December 22, 2017 at 15:58

I have a problem understanding the choice of BankNumber value:

1- how to choose the BankNumber value and the relation with the FilterNumber register

2- what is the register that must support the value of BankNumber

Thank you

/*##-2- Configure the CAN Filter ###########################################*/

sFilterConfig

.

FilterNumber

=

0

;

sFilterConfig

.

FilterMode

= CAN_FILTERMODE_IDMASK;

sFilterConfig

.

FilterScale

= CAN_FILTERSCALE_32BIT;

sFilterConfig

.

FilterIdHigh

=

0x0000

;

sFilterConfig

.

FilterIdLow

=

0x0000

;

sFilterConfig

.

FilterMaskIdHigh

=

0x0000

;

sFilterConfig

.

FilterMaskIdLow

=

0x0000

;

sFilterConfig

.

FilterFIFOAssignment

=

0

;

sFilterConfig

.

FilterActivation

= ENABLE;

sFilterConfig

.

BankNumber

=

14

;
1 REPLY 1
Dobra Vlad
Associate
Posted on April 18, 2018 at 15:24

Did you find the answer ?