AnsweredAssumed Answered

bxCAN BankNumber value

Question asked by Abdelmalek BELLOULA on Dec 22, 2017
Latest reply on Apr 18, 2018 by Dobra Vlad

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;

Outcomes