MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 554

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Controller area network (bxCAN)
554/995
Figure 200. Filter bank scale configuration - register organization
Filter match index
Once a message has been received in the FIFO it is available to the application. Typically,
application data is copied into SRAM locations. To copy the data to the right location the
application has to identify the data by means of the identifier. To avoid this, and to ease the
access to the SRAM locations, the CAN controller provides a Filter Match Index.
This index is stored in the mailbox together with the message according to the filter priority
rules. Thus each received message has its associated filter match index.
The Filter Match index can be used in two ways:
For non-masked filters, the software no longer has to compare the identifier.
If the filter is masked the software reduces the comparison to the masked bits only.
The index value of the filter number does not take into account the activation state of the
filter banks. In addition, two independent numbering schemes are used, one for each FIFO.
Refer to
Compare the Filter Match index with a list of expected values.
Use the Filter Match Index as an index on an array to access the data destination
location.
Mapping
Mapping
Mapping
Mapping
Figure 201
One 32-Bit Filter - Identifier Mask
Two 32-Bit Filters - Identifier List
Four 16-Bit Filters - Identifier List
Two 16-Bit Filters - Identifier Mask
Mask
Mask
Mask
ID
ID
ID
ID
ID
ID
ID
ID
ID
CAN_FxR1[31:24]
CAN_FxR2[15:8]
CAN_FxR2[31:24]
CAN_FxR1[15:8]
CAN_FxR1[31:24]
CAN_FxR2[15:8]
CAN_FxR2[31:24]
CAN_FxR1[31:24]
CAN_FxR2[31:24]
CAN_FxR1[15:8]
CAN_FxR1[31:24]
CAN_FxR2[31:24]
for an example.
STID[10:3]
STID[10:3]
STID[10:3]
STID[10:3]
Doc ID 13902 Rev 9
STID[2:0] RTR IDE EXID[17:15]
STID[2:0] RTR IDE EXID[17:15]
STID[2:0]
STID[2:0]
CAN_FxR2[23:16]
CAN_FxR2[23:16]
CAN_FxR1[23:16]
CAN_FxR1[23:16]
CAN_FxR2[7:0]
CAN_FxR2[23:16]
CAN_FxR1[7:0]
CAN_FxR1[23:16]
CAN_FxR1[7:0]
CAN_FxR1[23:16]
CAN_FxR2[7:0]
CAN_FxR2[23:16]
EXID[17:13]
EXID[17:13]
1
2
x = filter bank number
ID=Identifier
These bits are located in the CAN_FM1R register
These bits are located in the CAN_FS1R register
CAN_FxR1[15:8]
CAN_FxR2[15:8]
CAN_FxR1[15:8]
CAN_FxR2[15:8]
EXID[12:5]
EXID[12:5]
EXID[4:0]
EXID[4:0]
CAN_FxR1[7:0]
CAN_FxR2[7:0]
CAN_FxR1[7:0]
CAN_FxR2[7:0]
IDE
IDE
RTR
RTR
RM0008
0
0
Filter
Num.
n
n
n+1
n
n+1
n
n+1
n+2
n+3

Related parts for MCBSTM32EXL