TC1784
Micro Link Interface (MLI)
User´s Manual
22-44
V1.1, 2011-05
MLI, V2.0
22.2.2
General MLI Features
The general MLI features comprise the:
•
Parity generation and checking (see
•
)
•
Address prediction (see
)
•
Automatic data transfers (see
•
Access protection (see
•
•
Transmit priority (see
)
•
22.2.2.1 Parity Check and Parity Error Indication
For parity generation, the number of transmitted bits with the value of 1 is counted over
the header and the complete data field of a frame. For even parity, the parity bit is set if
the result of a modulo-2 division of the elaborated number is 1. For odd parity, the parity
bit is set if the result of a modulo-2 division of the elaborated number is 0.
For a parity error-free MLI connection, even parity must be selected in the transmitter
because the receiver operates only with even parity detection. The capability to select
odd parity can be used by the transmitter to force a parity error reply from the receiver
during the startup procedure of the MLI connection. This can be used to measure the
propagation delay and to optimize the ready delay time (see
Note: There is no protection against frames where more than one bit is corrupted (e.g.
shortened frames). In such a case, an unpredictable behavior of the MLI module
may occur.
Transmitting Controller
The MLI transmitter counts the detected parity error conditions and generates a parity
error event if a programmable number (max. 16) of parity error conditions has occurred.
A parity error condition is indicated to the transmitter by the receiver after the
transmission of a frame (see
). The transmitter parity error condition is
detected when the TREADY signal is sampled at low level within a programmable
number (TCR.MDP = maximum delay for parity errors) of TCLK clock cycles after
TVALID has been de-asserted to low.
If a transmitter parity error condition is detected, the MLI transmitter sets the parity error
flag TSTATR.PE and also decreases the maximum parity error counter TCR.MPE by 1.
The maximum parity error counter of the transmitter TCR.MPE determines the number
of transmit parity error conditions that can be still detected until a transmitter parity error
event is generated. If a transmitter parity error condition is detected and TCR.MPE is
becoming 0 or while it is 0, a transmitter parity error event is generated by setting bit
TISR.PEI (see
) and an SRx output line is activated if
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...