![Infineon Technologies TC1784 User Manual Download Page 2021](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_20554462021.webp)
TC1784
Micro Link Interface (MLI)
User´s Manual
22-72
V1.1, 2011-05
MLI, V2.0
22.3.2
Local Transmitter and Pipe Setup
The initialization of the transmitter of the Local Controller is done by writing to the
transmitter registers. The Remote Controller’s MLI receiver can then be initialized by the
Local Controller’s transmitter.
•
After a hardware reset operation, the MLI transmitter is disabled (TCR.MOD = 0). In
disabled mode, no frame transmission can take place. After writing TCR.MOD = 1,
the transmitter is enabled to send frames.
•
The desired transmitter baud rate can be adjusted by the fractional divider FDIV. It
has to be ensured that the fractional divider is set to a value that is supported by the
port structures of the Local and the Remote Controllers (rise/fall times) and the
physical layer. For example, if a division by 1,5 is selected, the fractional divider will
deliver count pulses for
f
MLI
with a sequence of 1-2-1-2-1-2- clock cycles of
f
SYS
. The
shortest interval between two count pulses in a sequence (given by the truncated
divider factor, so 1 cycle of in this example) has to be handled by the communicating
devices.
f
SYS
•
Depending on the application requirements, a desired service request output SRx
can be activated if a transmitter event is detected.
•
The maximum delay for parity error detection in the transmitter has to be
programmed. There are two possibilities to get the MLI communication started.
First (easier) possibility is to write TCR.MDP to 14 and to set RCR.DPE to 15.
The second possibility could be used to optimize the bandwidth of the MLI
connection. It is described in
.
22.3.3
Remote Receiver Setup
The initialization of the Remote Controller’s receiver is done by frames sent by the Local
transmitter. Therefore, the Remote Controller’s receiver has to be able to receive frames.
•
In order to allow communication, the Remote Controller’s MLI signals have to be
connected to the Local Controller’s transmitter signals (see register OICR and port
settings).
•
The Remote Controller’s bit RCR.RCVRST has to be 0 to enable frame reception.
•
The buffer area size and the base address of the Remote Window for pipe x are
defined by the data written to registers TPxBAR. Bit TRSTATR.BAV has to be 0
before each write action to one of these registers. With this information, the buffer
area sizes (defining the number of address bits in data frames or Read Frames) are
known in the transmitter and in the receiver for each pipe.
The base addresses for the Remote Windows have to be selected to cover the target
address ranges in the Remote Controller. It is recommended to use the minimum
buffer size required by the application in order to minimize the bandwidth taken by
the transfer of the address bits. The base address of a Remote Window has to be set
to a value aligned to its size, e.g. a Remote Window of 8 Kbytes must start at an
8 Kbyte address boundary.
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 ...