EasyManuals Logo

ST STM8S Reference Manual

ST STM8S
449 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #375 background imageLoading...
Page #375 background image
RM0016 Controller area network (beCAN)
Doc ID 14587 Rev 8 375/449
Figure 149. 16/8-bit filter bank configuration (FSCx bits = 0b01 in CAN_FCRx register)
Figure 150. 8-bit filter bank configuration (FSCx bits = 0b00 in CAN_FCRx register)
Filter registers Filter mode
1
Mapping
STID[10:3] /
EXID[28:21]
STID [2:0]
/ EXID
[20:18]
RTR
IDE
EXID
[17:15]
FMHx = 0
FMLx = 0
FMHx = 0
FMLx = 1
FMHx = 1
FMLx = 0
FMHx = 1
FMLx = 1
Identifier CAN_FxR1 CAN_FxR2 ID
n
ID
nID
n
ID
n
Identifier/Mask CAN_FxR3 CAN_FxR4 M ID
n+1 M ID n+1
Identifier CAN_FxR5 ID
n+1
ID
n+2
ID
n+1 ID n+2
Identifier/Mask CAN_FxR6 M M ID
n+2 ID n+3
Identifier CAN_FxR7 ID
n+2
ID
n+3
ID
n+3 ID n+4
Identifier/Mask CAN_FxR8 M M ID
n+4 ID n+5
ID= Identifier
M = Mask
n = Filter number
x = Filter bank number
1
The FMHx and FMLx bits are located in the CAN_FMR1 and CAN_FMR2 registers
Filter registers Filter mode
1
Mapping
STID[10:3] /
EXID[28:21]
FMHx = 0
FMLx = 0
FMHx = 0
FMLx = 1
FMHx = 1
FMLx = 0
FMHx = 1
FMLx = 1
Identifier CAN_FxR1 ID
n
ID
nID
n
ID
n
Identifier/Mask CAN_FxR2 M ID
n+1 M ID n+1
Identifier CAN_FxR3 ID
n+1
ID
n+2 ID
n+1
ID
n+2
Identifier/Mask CAN_FxR4 M ID
n+3 M ID n+3
Identifier CAN_FxR5 ID
n+2
ID
n+4
ID
n+2 ID n+4
Identifier/Mask CAN_FxR6 M M ID
n+3 ID n+5
Identifier CAN_FxR7 ID
n+3
ID
n+5
ID
n+4 ID n+6
Identifier/Mask CAN_FxR8 M M ID
n+5 ID n+7
ID= Identifier
M = Mask
n = Filter number
x = Filter bank number
1
The FMHx and FMLx bits are located in the CAN_FMR1 and CAN_FMR2 registers

Table of Contents

Other manuals for ST STM8S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM8S and is the answer not in the manual?

ST STM8S Specifications

General IconGeneral
BrandST
ModelSTM8S
CategoryMicrocontrollers
LanguageEnglish

Related product manuals