![Infineon Technologies TC1796 Скачать руководство пользователя страница 1547](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_20554371547.webp)
TC1796
Peripheral Units (Vol. 2 of 2)
Micro Link Interface (MLI)
User’s Manual
23-38
V2.0, 2007-07
MLI, V2.0
•
The TRSTATR.RPx flags are cleared. In future versions, it is intended to clear only
the flag belonging to pipe x.
•
The received data is written into the receiver data register RDATAR.
If 8 data bits are received, they are duplicated to all 4 bytes in RDATAR.
If 16 data bits are received, they are duplicated to both half-words in RDATAR.
•
The detected data width of the received data is written into bit field RCR.DW.
•
The received Pipe Number x represents the answer Pipe Number and is written into
bit field TSTATR.APN.
•
The information about the received frame type (= 11
B
for an Answer Frame) is written
into bit field RCR.TF.
•
MLI event status flag RISR.NFRI (Normal Frame Received event) is set and a service
request output is activated if enabled by RIER.NFRIE = 01
B
or 10
B
.
•
The content of RADRR becomes invalid.
•
The data that has been previously requested from the Remote Controller by a Read
Frame is now available in RDATAR and can be read by a bus master (e.g. the CPU)
of the Local Controller.
•
If an Answer Frame is received while the corresponding TRSTATR.RPx bit is 0, the
reception is declared as unintended and a Discarded Read Answer event is
generated (see
Figure 23-30 Answer Frame
Note: If an Answer Frame has been correctly received in the Local Controller, the Local
Controller’s software has to read it. As long as at least one byte of this data has
not yet been read out, only one more MLI frame can be received (stored in a
waiting position to be executed). Then the reception of more frames is blocked by
MCA05883
PN
P
8-Bit Data
1
TDRAR.DATA[7:0]
0
PN
P
16-Bit Data
1
TDRAR.DATA[15:0]
0
PN
P
32-Bit Data
1
TDRAR.DATA[31:0]
0
TPxSTATR.DW = 00
B
TPxSTATR.DW = 01
B
TPxSTATR.DW = 10
B
Header
Header
Header
PN = TSTATR.APN
0
2
12
3
1
4
11
0
2
20
3
1
4
19
0
2
37
3
1
4
36