Table 572. Standard Message Id Filter Element Field Description - STMicroelectronics SPC572L series Reference Manual

Table of Contents

Advertisement

RM0400
E1 Bit 20
BRS
E1 Bits 19:16 DLC[3:0]
E1 Bits 15:0
TXTS[15:0]
44.3.6.4
Standard message ID filter element
Up to 128 filter elements can be configured for 11-bit standard IDs. When accessing a
Standard Message ID Filter element, its address is the Filter List Standard Start Address
SIDFC[FLSSA] plus the index of the filter element (0 to 127).
31
SFEC[2:0
S0
]

Table 572. Standard Message ID Filter Element Field Description

Bits 31:30 SFT[1:0]
Bit 29:27 SFEC[2:0]
Table 571. Tx Event FIFO Element(Continued)
Bit Rate Switch
0 Frame transmitted without bit rate switching
1 Frame transmitted with bit rate switching
Data Length Code
0-8 Frame with 0-8 data bytes transmitted
9-15 Frame with 8 data bytes transmitted
Tx Timestamp
Timestamp Counter value captured on start of frame transmission. Resolution
depending on
configuration of the Timestamp Counter Prescaler TSCC[TCP].
Figure 518. Standard Message ID Filter Element
24 23
SFID1[10:0]
Standard Filter Type
00 Range filter from SF1ID to SF2ID (SF2ID ≥ SF1ID)
01 Dual ID filter for SF1ID or SF2ID
10 Classic filter: SF1ID = filter, SF2ID = mask
11 Reserved
Standard Filter Element Configuration
All enabled filter elements are used for acceptance filtering of standard frames.
Acceptance filtering stops at the first matching enabled filter element or when the end
of the filter list is reached. If SFEC = "100", "101", or "110" a match sets interrupt flag
IR[HPM] and, if enabled, an interrupt is generated.
In this case register HPMS is updated with the status of the priority match.
000 Disable filter element
001 Store in Rx FIFO 0 if filter matches
010 Store in Rx FIFO 1 if filter matches
011 Reject ID if filter matches
100 Set priority if filter matches
101 Set priority and store in FIFO 0 if filter matches
110 Set priority and store in FIFO 1 if filter matches
111 Store into Rx Buffer or as debug message, configuration of SFT[1:0] ignored
DocID027809 Rev 4
16 15
res
CAN Subsystem
8 7
SFID2[10:0]
1051/2058
0
1091

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Table of Contents