TC1796
Peripheral Units (Vol. 2 of 2)
Micro Link Interface (MLI)
User’s Manual
23-40
V2.0, 2007-07
MLI, V2.0
Transmitting Controller
The transmission of a Command Frame is initiated by writing one of the four pipe x
related command code bit fields in register TCMDR.CMDPx, triggering the following
actions:
•
Status flag TPxSTATR.CVx (command valid) is set and the Command Frame
transmission is started using x as pipe number PN and the command code stored in
TCMDR.CMDPx as parameters.
•
TRSTATR.CVx is cleared after the Command Frame has been finished and correctly
acknowledged by the MLI receiver of the Remote Controller.
•
MLI event status flag TISR.CFSIx (Command Frame Sent event in pipe x) is set and
a service request output is activated if enabled by TIER.CFSIEx = 1.
Receiving Controller
Depending on the pipe x related command code that is transmitted by a Command
Frame, different actions are triggered in the receiving controller.
describes
the actions that are transmitted by a Command Frame and that cause a specific control
task in the MLI receiver.
•
The received PN value is checked and the corresponding control actions are
executed according to
.
•
Independent of the received Pipe Number, event status flag RISR.CFRIx (Command
Frame Received event in pipe x) is set and a service request output is activated if
enabled by RIER.CFRIEx = 1.
If a Command Frame is received for pipe 2 with command code 1111
B
, the BRKOUT
output signal of the MLI module becomes activated if it is enabled by bit RCR.BEN = 1.
If disabled by RCR.BEN = 0, signal BRKOUT will not be activated. The usage of
BRKOUT is implementation-specific and can be used, for example, to generate a break
condition in the on-chip debug support logic or trigger other functions.
Table 23-5
Command Frame Encoding
PN
CMD
Command Description
00
B
0001
B
Activate service request output SR0 of receiving MLI module
0010
B
Activate service request output SR1 of receiving MLI module
0011
B
Activate service request output SR2 of receiving MLI module
0100
B
Activate service request output SR3 of receiving MLI module
Others
no effect, reserved for future use