![Infineon Technologies TC1784 Скачать руководство пользователя страница 1370](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_20554461370.webp)
TC1784
Controller Area Network Controller (MultiCAN)
User´s Manual
19-114
V1.1, 2011-05
MLI, V2.0
19.5.4
Port and I/O Line Control
The interconnections between the MultiCAN module and the port I/O lines are controlled
in the port logic. Additionally to the port input selection, the following port control
operations must be executed:
•
Input/output function selection (IOCR registers)
•
Pad driver characteristics selection for the outputs (PDR registers)
19.5.4.1 Input/Output Function Selection in Ports
The port input/output control registers contain the bit fields that select the digital output
and input driver characteristics such as pull-up/down devices, port direction
(input/output), open-drain, and alternate output selections. The I/O lines for the MultiCAN
module are controlled by the port input/output control registers P3_IOCR12 and
P9_IOCR0.
shows how bits and bit fields must be programmed for the required I/O
functionality of the CAN I/O lines.
19.5.4.2 Node Receive Input Selection
Additionally to the I/O control selection, as defined in
, the selection of a
CAN node’s receive input line requires that bit field RXSEL in its node port control
register NPCRx must be set according to
. Values for NPCRx.RXSEL other
than those of
result in a recessive receive input for node x.
This feature allows, for example, a CAN node which operates in analyzer mode to
monitor the receive operations of its neighbor CAN node. The default setting after reset
of a node’s NPCRx.RXSEL bit field connect node x with RXDCANx I/O line (x = 0-2).
Table 19-14 MultiCAN I/O Control Selection and Setup
Module Port Lines
Input/Output Control Register
Bits
I/O
CAN
P3.12 / RXDCAN0
P3_IOCR12.PC12 = 0XXX
B
Input
P3.13 / TXDCAN0
P3_IOCR12.PC13 = 1X01
B
Output
P3.14 / RXDCAN1
P3_IOCR12.PC14 = 0XXX
B
Input
P3.15 / TXDCAN1
P3_IOCR12.PC15 = 1X01
B
Output
P9.0 / RXDCAN2
P9_IOCR0.PC0 = 0XXX
B
Input
P9.1 / TXDCAN2
P9_IOCR0.PC1 = 1X01
B
Output
P4.0 / RXDCAN2
P4_IOCR0.PC0 = 0XXX
B
Input
P4.1 / TXDCAN2
P4_IOCR0.PC1 = 1X01
B
Output
Содержание 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 ...