2017-12-22 06:58 AM
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
;2018-04-18 06:24 AM
Did you find the answer ?