beautypg.com

Dioconfig register [r1, r0] = [1,0 – Rainbow Electronics MAX14821 User Manual

Page 23

background image

���������������������������������������������������������������� Maxim Integrated Products 23

MAX14821

IO-Link Device Transceiver

DIOConfig Register [R1, R0] = [1,0]

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Bit Name

DoInv

DoAv

DoN/P

DoPP

DoEn

DoBit

LiDis

DiLoad

Read/Write

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

POR State

0

0

0

0

0

0

0

0

Use the DIOConfig register to control the DI and DO interfaces. All bits in the DIOConfig register are read-write and
are set to 0 at power-up.

BIT

NAME

DESCRIPTION

D7

DoInv

DO Output Polarity. Set the DoInv bit to 1 to invert the logic of the DO
output. This bit also works in conjunction with the DoAv (Table 6). DO
tracks the TXC and TXQ inputs with the opposite polarity when both the
DoAv and DoInv bits are set.

D6

DoAv

DO Antivalent Operation. Set the DoAv bit to 1 to enable antivalent
output operation on DO. DO tracks the TXC and TXQ inputs (and the Q
bit) when DoAv is 1 (Table 6).
The LO input and the DoBit are ignored when the DoAv bit is 1.

D5

DoN/P

DO Driver NPN/PNP Operation. The DoN/P bit selects between low-
side (NPN) and high-side (PNP) modes when the DO driver is configured
as an open-drain output (DoPP = 0). Set DoN/P to 1 to configure the
driver for low-side (NPN) operation. Set DoN/P to 0 for high-side (PNP)
operation.

D4

DoPP

DO Driver Push-Pull Operation. Set the DoPP bit to 1 to configure the
DO driver output for push-pull operation. DO is an open-drain output
when DoPP is 0.

D3

DoEn

DO Driver Enable/Disable. Set the DoEn bit to 1 to enable the DO
driver. The DO driver is high impedance with a weak pulldown when
DoEn is 0.

D2

DoBit

DO Driver Output Logic. The DoBit bit can be used to program the
DO output driver through software. Drive LO high to activate DoBit
programming (Figure 9). The DO output state is given in Table 7. Note
that Table 7 assumes that the DoInv bit is 0.

D1

LiDis

LI Output Enable/Disable. Set the LiDis bit to 1 to disable the LI output.
The LI output is low when LiDis is 1.

D0

DiLoad

DI Current Sink Enable. Set the DiLoad bit to 1 to enable the internal
current sink at the DI input.