![Infineon Technologies TC1784 Скачать руководство пользователя страница 1204](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_20554461204.webp)
TC1784
Micro Second Channel (MSC)
User´s Manual
18-22
V1.1, 2011-05
MSC, V1.40
18.1.3.1 Data Frames
The asynchronous data frames used by the upstream channel include four basic parts:
1. One start bit, always at low level
2. An 8-bit data field D[7:0] with LSB first
3. An optional 4-bit address field A[3:0] with LSB first
4. One parity bit and two stop bits, that are always at high level
As shown in
, the 16-bit upstream data frame includes an additional 4-bit
address field. The upstream frame type is selected by bit USR.UFT.
•
USR.UFT = 0: 12-bit upstream data frame selected
•
USR.UFT = 1: 16-bit upstream data frame with 4-bit address field selected
Figure 18-15 Upstream Channel Frame Types
18.1.3.2 Parity Checking
The incoming parity bit of the data frames can be checked by the upstream channel.
When a parity error is detected, the parity error flag PERR in the related Upstream Data
Register UDx is set. Note that a setting of the parity error flag PERR does not generate
an interrupt. The PERR bits must be checked by software. The UDx registers also store
the parity bit of the incoming data frame (UDx.P) and the parity bit that is generated
internally (UDx.IPF).
Bit USR.PCTR determines the parity mode, even or odd, that is selected for parity
checking. With USR.PCTR = 0, even parity mode is selected. Even parity means that the
parity bit is set on an odd number of 1s in the data field (12-bit upstream data frame) or
in the address plus data field (16-bit upstream data frame). With USR.PCTR = 1, odd
parity mode is selected. In odd parity mode, the parity bit is set on an even number of 1s
of the related data.
MCT06241
D5
D0
LSB
D3
D1
D2
D4
D7
MSB
D6
Start
Bit
Parity
Bit
Stop
Bit
Stop
Bit
12-bit Upstream Data Frame
D5
D0
LSB
D3
D1
D2
D4
D7
MSB
D6
Start
Bit
Parity
Bit
Stop
Bit
Stop
Bit
8-bit Data Field
16-bit Upstream Data Frame
A0
LSB
A3
MSB
A1
A2
4-bit Address Field
8-bit Data Field
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...