TC1784
Micro Second Channel (MSC)
User´s Manual
18-23
V1.1, 2011-05
MSC, V1.40
The parity checking logic in the upstream channel also controls whether start bit and the
two stop bits of the upstream data frame are at correct logic level. If the start bit is not at
low level and the two stop bits are not at high level at the end of the frame reception, the
parity error flag UDx.PERR is set, too.
18.1.3.3 Data Reception
The reception of the upstream frame is started with a falling edge (1-to-0 transition) on
the SI line. When the start bit is detected, serial reception is enabled and the receive
circuit begins to sample the incoming serial data and to buffer it in the receive buffer.
After the second stop bit has been detected, the content of the receive buffer is
transferred to one of four upstream data registers UDx. The receive circuit then waits for
the next start bit (1-to-0 transition) at the SI line. When the content of the receive buffer
has been transferred to UDx, the valid bit UDx.V is set by hardware, and a receive
interrupt can be generated.
Note: The SI input line is the filtered non-inverted (OCR.ILP = 0) or inverted
(OCR.ILP = 1) SDI input signal. The SI input signal selection is described on
Frame Reception with Address Field
Frame reception for a 16-bit data frame (see
) is selected by USR.UFT = 1.
When the content of the receive buffer has been received completely, it is transferred to
one of the four UDx registers. The two most significant address bits A[3:2] of the received
4-bit address field select the number x of register UDx in which the received frame
content is stored. Register UDx is loaded with the two least significant address bits A0
and A1 (UDx.LABF), the 8-bit data (UDx.DATA), the received parity bit (UDx.P), the
calculated parity bit (UDx.IPF), and the parity checking result (UDx.PERR). Finally, the
valid bit UDx.V is set to indicate that the UDx register contains valid data.
The current state of the frame reception is indicated by the content of an upstream
counter that is readable via bit field USR.UC. The upstream counter is a 5-bit counter
that counts the upstream frame bits during reception. As shown in
, the
upstream counter is loaded with 10000
B
at the detection of a start bit. It counts down and
is again at 00000
B
when the second stop bit has been detected and the frame reception
is finished.
The state of the serial input data line SI is sampled in the middle of a bit cell and shifted
into the receive buffer at the end of the bit cell. The frequency of the shift clock
f
SHIFT
depends the selected baud rate (see
).
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 ...