472
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
14.3.4 CAN message buffer registers
(1)
Message identifier registers L00 to L31 and H00 to H31
(M_IDL00 to M_IDL31, M_IDH00 to M_IDH31)
The M_IDLm, M_IDHm registers specify the identifier and format of the corresponding message m
(m = 00 to 31).
These registers can be read/written 16-bit units.
Figure 14-24:
Message Identifier Registers L00 to L31 and H00 to H31
(M_IDL00 to M_IDL31, M_IDH00 to M_IDH31)
Notes: 1. The register address is calculated according to the following formula:
effective address = P address offset
2. In standard format mode (IDE = 0) these bits (ID17 to ID0) are only used for receive mes-
sage buffers linked to a mask.
- Bits ID17 to ID10 storing the first data byte (D0) is stored, where ID17 is the MSB.
- Bits ID9 to ID2 storing the second data byte (D1), where ID9 is the MSB
- Bits ID1, ID0 contain the two most significant bits 7 and 6 of the third byte (D2)
3. When received message in standard format mode (IDE = 0) has less than 18 data bits, the
values of the not received bits are undefined.
Remark:
m = 00 to 31
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Offset
Note 1
Initial
value
M_ID
Hm
IDE
0
0
ID28 ID27 ID26 ID25 ID24 ID23 ID22 ID21 ID20 ID19 ID18 ID17 ID16
812H
+(m
×
20H
)
undef.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
M_IDL
m
ID15 ID14 ID13 ID12 ID11 ID10 ID9 ID8 ID7 ID6 ID5 ID4 ID3 ID2 ID1 ID0
810H
+(m
×
20H
)
undef.
Bit Position
Bit Name
Function
15
(M_IDHm)
IDE
Specifies the format of message identifier.
0: Standard format mode (11-bit)
1: Extended format mode (29-bit)
12 to 0
(M_IDHm)
ID28 to
ID16
When IDE = 0 (standard format):
ID28 to ID18 specify the 11-bit identifier, where ID28 is the most significant bit.
ID17, ID16 contain received data bits.
Note 2, 3
When IDE = 1 (extended format):
ID28 to ID16 specify the 13 most significant bits of the 29-bit identifier, where ID28
is the most significant bit.
15 to 0
(M_IDLm)
ID15 to ID0
When IDE = 0 (standard format):
ID15 to ID0 contain received data bits.
Note 2, 3
When IDE = 1 (extended format):
ID15 to ID0 specify the 16 least significant bits of the 29-bit identifier.
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......