Datenblatt für PI4IOE5V6416 von Diodes Incorporated

Operation power supply voltage from 1.65V to 5.5v Allows bidirectional voltagehlevel translation and GPIO expansion between: 1.8/2.5/33/5V SCL/SDA and 1.8/2.5/3.3/5V Port Low standby current consumption: 1.5 uA typical at5 V VDD 1 uA typical at 3.3 V VDD 400kHz FC—bus interface Compliant with the PC—bus Fast and Standard modes Programmable Push-pull/Open-drain output stages Programmable output drive strength and pull-up/ down resistor Power-on reset Active LOW open-drain interrupt output Active LOW reset input Latch-up tested (exceeds 100mA) Totally Lead-Free 8: Fully Roi-IS Compliant (Notes 1 8: 2) Halogen and Antimony Free, “Green" Device (Note 3) Packaging (Pb-free & Green): 24-Pin TQFN (ZD24) 24-Pin TSSOP (L24) mo .4 l mPER/caM‘ P|4IOE5V6416 The PI4IOE5V6416 is a 16bit generalrpurpose 1/0 expander that provides remote I/O expansion for most microcontroller families via the FC-bus interface. It provides a simple solution when additional I/Os are needed while keeping interconnections to a minimum, for example, in battery-powered mobile applications for interfacing to sensors, push buttons, keypad, etc. It can operate from 1.55 v to 5.5 V on the GPIO-port side and 1.65 V to 5.5 V on the SDA/SCL side, This allows the PI4IOE5V6416 to interface with next generation microprocessors and microcontrollers on the SDA/SCL side, where supply levels are dropping down to consewe power. The bidirectional voltage-level translation in the Pl4lOE5V6416 is provided through VDDUZCJus) ~ Vppmmm, should be connected to the VDD of the external SCL/SDA lines, The voltage level on the GPIO-port of the Pl4lOE5V6416 is determined bYVonm . At power on, the NOS are configured as inputs; however, the system master can enable the NOS as either inputs or outputs by writing to the [/0 direction bits. The data for each input or output is kept in the corresponding Input or Output register. All registers can be read by the system master. PI4IOE5V6416 has open-drain interrupt (W) outputpin that goes LOW when the input state of a GPIO-port changes from the input-state default register value. The device also has an interrupt masking feature by which the user can mask the interrupt from an individual GPIO-port.
Low-Voltage Translating 16-bit I2C-bus I/O Expander
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 1 © Diodes Incorporated
PI4IOE5V6416
Features
Description
Notes:
1. No purposely added lead. Fully EU Directive 2002/95/EC (RoHS), 2011/65/EU (RoHS 2) & 2015/863/EU (RoHS 3) compliant.
2. See https://www.diodes.com/quality/lead-free/ for more information about Diodes Incorporated’s definitions of Halogen- and Antimony-free, "Green" and Lead-free.
3. Halogen- and Antimony-free "Green” products are defined as those which contain <900ppm bromine, <900ppm chlorine (<1500ppm total Br + Cl) and <1000ppm
antimony compounds.
mDESE A Product Line of Diodes Incorporated 1 (DPBe/caM‘ P|4IOE5V6416 fifi VDDuzcmusx RESET P0_0 POJ P072 P073 P074 P075 P075 P077 Vss VDDLP} SDA SCL ADDR W77 P1; P1; P174 P173 P1J P171 23 Vuwzcm) 22W 21 vamp) 20 Sun 19 SCL ADDR P177 P173 P175 P174 ISIFIEIHRE F m m m El P070 1 PL1 2 P072 3 P073 4 P074 5 P075 9 P173 P076 7 P077 2 V55 3] P170 El P171 E] P172 El
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 2 © Diodes Incorporated
PI4IOE5V6416
Pin Configuration
Fig.1 24-pin TSSOP
Fig.2 24-pin TQFN
A Product Line of E Diodes Incorporated IDPER/CDM‘ P|4IOE5V6416
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 3 © Diodes Incorporated
PI4IOE5V6416
Pin Description
Pin Name
24-pin
TSSOP
24-pin
VFBGA
Description
INT
1
A3
Interrupt output. Connect to VDD(I2C-bus) or VDD(P) through a pull-up
resistor.
VDD(I2C_bus)
2
B3
Supply voltage of I2C-bus. Connect directly to the VDD of the
external I2C master. Provides voltage-level translation.
RESET
3
A2
Active LOW reset input. Connect to VDD(I2C-bus) through a pull-up
resistor if no active connection is used.
P0_0
4
A1
Port 0 input/output 0.
P0_1
5
C3
Port 0 input/output 1.
P0_2
6
B1
Port 0 input/output 2.
P0_3
7
C1
Port 0 input/output 3.
P0_4
8
C2
Port 0 input/output 4.
P0_5
9
D1
Port 0 input/output 5.
P0_6
10
E1
Port 0 input/output 6.
P0_7
11
D2
Port 0 input/output 7.
VSS
12
E2
Ground
P1_0
13
E3
Port 1 input/output 0.
P1_1
14
E4
Port 1 input/output 1.
P1_2
15
D3
Port 1 input/output 2.
P1_3
16
E5
Port 1 input/output 3.
P1_4
17
D4
Port 1 input/output 4.
P1_5
18
D5
Port 1 input/output 5.
P1_6
19
C5
Port 1 input/output 6.
P1_7
20
C4
Port 1 input/output 7.
ADDR
21
B5
Address input. Connect directly to VDD(P) or ground.
SCL
22
A5
Serial clock bus. Connect to VDD(I2C-bus) through a
pull-up resistor.
SDA
23
A4
Serial data bus. Connect to VDD(I2C-bus) through a
pull-up resistor.
VDD(P)
24
B4
Supply voltage of PI4IOE5V6416 for Port P.
A Product Line of E Diodes Incorporated (DPERICOM‘ P|4IOE5V6416 <>
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 4 © Diodes Incorporated
PI4IOE5V6416
Maximum Ratings
Power supply ...................................................................................................... -0.5V to +6.0V
Voltage on an I/O pin (Input / Output ) ....................................................... -0.5V to +6.0V
Input current ..................................................................................................................... ±20mA
Output current on an I/O pin ...................................................................................... ±50mA
Supply current through VDD(P) ...................................................................................... 160mA
Ground supply current ................................................................................................... 200mA
Operation temperature ............................................................................................... -40~85
Storage temperature ................................................................................................ -65~150
Maximum junction temperature ,T j(max) ................................................................. 125
ESD ( HBM ) ........................................................................................................................2kV
Recommended Operating Conditions
Symbol
Parameter
Conditions
Min.
Typ.
Max.
Unit
VDD(I2C-bus)
I2C-bus supply voltage
1.65
-
5.5
V
VDD(P)
GPIO port supply voltage
1.65
-
5.5
V
VIN
Input voltage on ADDR,
P1_7 to P0_0
0
-
VDD(P)
V
Input voltage on SCL, SDA,
RESET
0
-
VDD(I2C_BUS)
V
IOH
High-Level Output Current
-
-
10
mA
IOL
Low-Level Output Current
-
-
25
mA
Note:
Stresses greater than those listed under MAXIMUM
RATINGS may cause permanent damage to the
device. This is a stress rating only and functional
operation of the device at these or any other
conditions above those indicated in the operational
sections of this specification is not implied.
Exposure to absolute maximum rating conditions
for extended periods may affect reliability.
IDPER/CDM‘ P|4IOE5V6416 A Product Line of E Diodes Incorporated mm m mm mm mm mm mm mm mm mm mm DDdlC‘ hum mmzr hm hm 120mm mm [mm mm
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 5 © Diodes Incorporated
PI4IOE5V6416
Static Characteristics
VDD(I2C_bus) = 1.65 V to 5.5 V; Temp = -40°C to +85°C; unless otherwise specified. Typical values are at Temp = 25°C.
Symbol
Parameter
Condition
Min.
Typ.
Max.
Unit
Power supply
IDD
Supply current
Standby mode I/O =
inputs; fSCL = 0 kHz
VDD(P)=3.6-5.5V
-
1.5
7
μA
VDD(P)=2.3-3.6V
1
3.2
VDD(P)=1.65-2.3V
0.5
1.7
Standby mode I/O =
inputs; fSCL = 400 kHz
VDD(P)=3.6-5.5V
-
10
25
VDD(P)=2.3-3.6V
6.5
15
VDD(P)=1.65-2.3V
4
9
Active mode I/O =
inputs; fSCL = 400 kHz,
continuous register read
VDD(P)=3.6-5.5V
-
60
125
VDD(P)=2.3-3.6V
40
75
VDD(P)=1.65-2.3V
20
45
VPOR
Power-on reset voltage
Rising
-
1.1-
1.4
V
Falling
0.5
-
-
Td(rst)
Reset time
Time of VDD(P) drop to VPOR(min) 50 mV for
successful Power-on reset
1
-
-
μs
Input SCL, input/output SDA
VIL
Low level input voltage
-0.5
-
0.3
VDD(I2C-bus)
V
VIH
High level input voltage
0.7
VDD(I2C-bus)
-
5.5
V
IOL
SDA Low level output
current
VOL = 0.4 V
3
-
-
mA
IL
Leakage current
VIN = VDD(I2C_bus) or VSS
-1
-
1
μA
Ci
Input capacitance
VIN = VSS
-
7
8
pF
Interrupt INT
IOL
Low level output current
VOL=0.4V
3
-
-
mA
Co
Output capacitance
-
7
8
pF
Select inputs ADDR and RESET
VIL
RESET Low level input
voltage
-0.5
-
0.3
VDD(I2C-bus)
V
ADDR Low level input
voltage
-0.5
-
0.3
VDD(P)
VIH
RESET High level input
voltage
0.7
VDD(I2C-bus)
-
5.5
V
ADDR High level input
voltage
0.7
VDD(P)
-
5.5
IL
Input leakage current
-1
-
1
μA
Ci
Input capacitance
-
6
7
pF
A Product Line of E Diodes Incorporated IDPER/CDM‘ P|4IOE5V6416 nH nL
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 6 © Diodes Incorporated
PI4IOE5V6416
Symbol
Parameter
Condition
Min.
Typ.
Max.
Unit
I/Os
VIL
Low-level input voltage
P0 P7
-0.5
-
+0.3*VDD(P)
V
VIH
High-level input voltage
P0 P7
0.7*VDD(P)
-
5.5
V
VOH
High-level output voltage
IOH = -2.5mA; CCX.X=00b
IOH = -5mA; CCX.X=01b
IOH = -7.5mA; CCX.X=10b
IOH = -10mA; CCX.X=11b
VDD(P) = 1.65 V
1.1
-
-
V
VDD(P) = 2.3 V
1.7
-
-
VDD(P) = 3 V
2.5
-
-
VDD(P) = 4.5 V
4.0
-
-
VOL
Low-level output voltage
IOL = 2.5mA; CCX.X=00b
IOL = 5mA; CCX.X=01b
IOL = 7.5mA; CCX.X=10b
IOL = 10mA; CCX.X=11b
VDD(P) = 1.65 V
-
-
0.5
V
VDD(P) = 2.3 V
-
-
0.3
VDD(P) = 3 V
-
-
0.25
VDD(P) = 4.5 V
-
-
0.2
IIH
High-level input current
P port; VI = VDD(P)
-
-
1
μA
IIL
Low-level input current
P port; VI = VSS
-
-
1
μA
Rpu(int)
Internal pull-up resistance
Input/Output
50
100
150
Rpd(int)
Internal pull-down
resistance
Input/Output
50
100
150
IDPER/CDM‘ P|4IOE5V6416 A Product Line of E Diodes Incorporated
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 7 © Diodes Incorporated
PI4IOE5V6416
Dynamic Characteristics
Symbol
Parameter
Standard mode I2C
Fast mode I2C
Unit
Min
Max
Min
Max
fSCL
SCL clock frequency
0
100
0
400
kHz
tBUF
Bus free time between a STOP and START condition
4.7
-
1.3
-
μs
tHD;STA
Hold time (repeated) START condition
4.0
-
0.6
-
μs
tSU;STA
Set-up time for a repeated START condition
4.7
-
0.6
-
μs
tSU;STO
Set-up time for STOP condition
4.0
-
0.6
-
μs
tVD;ACK
Data valid acknowledge time
-
3.45
-
0.9
μs
tHD;DAT
Data hold time
0
-
0
-
ns
tVD;DAT
Data valid time
-
3.45
-
0.9
ns
tSU;DAT
Data set-up time
250
-
100
-
ns
tLOW
LOW period of the SCL clock
4.7
-
1.3
-
μs
tHIGH
HIGH period of the SCL clock
4.0
-
0.6
-
μs
tf
Fall time of both SDA and SCL signals
-
300
20 x
(VDD/5.
5V)
300
ns
tr
Rise time of both SDA and SCL signals
-
1000
20
300
ns
tSP
Pulse width of spikes that must be suppressed by the
input filter
0
50
0
50
ns
Interrupt timing
tV(INT)
Valid time on pin
INT
-
1
-
1
μs
tRST(INT)
Reset time on pin
INT
-
1
-
1
μs
Reset timing
tw(rst)
Reset pulse width
30
-
30
-
ns
trst_rec
Reset recovery time
200
-
200
-
ns
trst
Reset time
600
-
600
-
ns
P Port timing
tV(Q)
Data output valid time (from SCL to P Port)
-
400
-
400
ns
tSU(D)
Data input setup time (from P Port to SCL)
0
-
0
-
ns
th(D)
Data input hold time (from P Port to SCL)
300
-
300
-
ns
A Product Line of E Diodes Incorporated (DPBe/caM‘ PI4IOE5V6416 WT . Interrupt LP Flller logic ADDR Shifter Input/ ‘—_ scL Input '2: 3“ Reginer fl Output F—> 513,: Filter Control Pom E'— VDDnzc-nusv DWI Power-on R [w I Reset ea u 5e RESET I/o control GND —-[|
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 8 © Diodes Incorporated
PI4IOE5V6416
Block Diagram
Fig7: Block diagram
Note: All I/Os are set to inputs at reset.
P0_0 to P0_7
P1_0 to P1_7
A Product Line of E Diodes Incorporated (DPERICOM‘ PI4IOE5V6416 Figure 6 and Figure 7 illustrate compatible 17C write and read sequences. 8bils 8bils 8bils l—% _MI—_fl Bhits Bhits Bbits Shit: I i | 1 ‘ i | r r r |s Slave Address Iwn. RegisterAddress K 5 s | Slave Address IR_ Single—or muIrHryre read executed from current Register address to read specified register location (singledryte read is iniriared) From Master rn Slave From Slave to Nhster The address of the PI4IOE5V6416 is shown in Figure 10. Slave adress O I 0 D O 0 ADDR RIW “‘9‘ Haroware selectable ADDR is the hardware address package pin and is held to either HIGH (logic 1) or LOW (logic 0) to assign one of the two possible slave addresses. The last bit of the slave address (R/W) defines the operation (read or write) to be performed. A HIGH (logic 1) selects a read operation, while a LOW (logic 0) selects a write operation. Following the successful acknowledgement of the address byte, the bus master sends a register address, which is stored in the Pointer register in the PI4IOE5V6416. The data byte state the operation (read or write) and the internal registers (Input, Output, Polarity Inversion, Configuration, or the extended features of the device), This register is write only.
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 9 © Diodes Incorporated
PI4IOE5V6416
Functional Description
I2C Read /Write Procedures
Fig 6. I2C Write Sequence
Note : if register is not specified , the master reads from the current register
Fig 7. I2C Read Sequence
S Start P Stop NA Not Acknowledge A Acknowledge WR Write RD Read
a. Slave Address
Fig. 10: PI4IOE5V6416 address
b. Register Address
A Product Line of E Diodes Incorporated IDPER/CDM‘ P|4IOE5V6416
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 10 © Diodes Incorporated
PI4IOE5V6416
Table 3: Interface definition
Register Address Bits
Register
Protocol
Power-up
default
B7
B6
B5
B4
B3
B2
B1
B0
0
0
0
0
0
0
0
0
Input port 0
read byte
xxxx xxxx
0
0
0
0
0
0
0
1
Input port 1
read byte
xxxx xxxx
0
0
0
0
0
0
1
0
Output port 0
read/write byte
1111 1111
0
0
0
0
0
0
1
1
Output port 1
read/write byte
1111 1111
0
0
0
0
0
1
0
0
Polarity Inversion port 0
read/write byte
0000 0000
0
0
0
0
0
1
0
1
Polarity Inversion port 1
read/write byte
0000 0000
0
0
0
0
0
1
1
0
Configuration port 0
read/write byte
1111 1111
0
0
0
0
0
1
1
1
Configuration port 1
read/write byte
1111 1111
0
1
0
0
0
0
0
0
Output drive strength
register 0
read/write byte
1111 1111
0
1
0
0
0
0
0
1
Output drive strength
register 0
read/write byte
1111 1111
0
1
0
0
0
0
1
0
Output drive strength
register 1
read/write byte
1111 1111
0
1
0
0
0
0
1
1
Output drive strength
register 1
read/write byte
1111 1111
0
1
0
0
0
1
0
0
Input latch register 0
read/write byte
0000 0000
0
1
0
0
0
1
0
1
Input latch register 1
read/write byte
0000 0000
0
1
0
0
0
1
1
0
Pull-up/pull-down enable
register 0
read/write byte
0000 0000
0
1
0
0
0
1
1
1
Pull-up/pull-down enable
register 1
read/write byte
0000 0000
0
1
0
0
1
0
0
0
Pull-up/pull-down
selection register 0
read/write byte
1111 1111
0
1
0
0
1
0
0
1
Pull-up/pull-down
selection register 1
read/write byte
1111 1111
0
1
0
0
1
0
1
0
Interrupt mask register 0
read/write byte
1111 1111
0
1
0
0
1
0
1
1
Interrupt mask register 1
read/write byte
1111 1111
0
1
0
0
1
1
0
0
Interrupt status register 0
read byte
0000 0000
0
1
0
0
1
1
0
1
Interrupt status register 1
read byte
0000 0000
0
1
0
0
1
1
1
1
Output port configuration
register
read/write byte
0000 0000
(DPHe/com P|4IOE5V6416 A Product Line of E Diodes Incorporated The Input port registers (registers 0 and 1) reflect the incoming logic levels of the pins. regardless of whether the pin is defined as an input or an output by the Configuration register. The Input port registers are read only; writes to these registers have no effect. The default value ‘X’ is determined by the externally applied logic level. The Output port registers (registers 2 and 3) shows the outgoing logic levels of the pins defined as outputs by the Configuration register. Bit values in these registers have no effect on pins defined as inputs. In turn, reads from these registers reflect the value that was written to these registers, not the actual pin value. The Polarity inversion registers (registers 4 and 5) allow polarity inversion of pins defined as inputs by the Configuration register. Ifa bit in these registers is set (written with ‘1'), the corresponding port pin’s polarity is inverted in the input register. Ifa hit in this register is cleared (written with a ‘0’), the corresponding port pin's polarity is retained 5‘ u- as on N ... 9 Bit 7
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 11 © Diodes Incorporated
PI4IOE5V6416
c. Register Description
i. Input Port Register Pair (00h, 01h)
Table 4: Input port 0 register (address 00h)
Bit
7
6
5
4
3
2
1
0
Name
I0.7
I0.6
I0.5
I0.4
I0.3
I0.2
I0.1
I0.0
Default
X
X
X
X
X
X
X
X
Table 5: Input port 1 register (address 01h)
Bit
7
6
5
4
3
2
1
0
Name
I1.7
I1.6
I1.5
I1.4
I1.3
I1.2
I1.1
I1.0
Default
X
X
X
X
X
X
X
X
ii. Output Port Register Pair (02h, 03h)
Table 6: Output port 0 register (address 02h)
Bit
7
6
5
4
3
2
1
0
Name
O0.7
O0.6
O0.5
O0.4
O0.3
O0.2
O0.1
O0.0
Default
1
1
1
1
1
1
1
1
Table 7: Output port 1 register (address 03h)
Bit
7
6
5
4
3
2
1
0
Name
O1.7
O1.6
O1.5
O1.4
O1.3
O1.2
O1.1
O1.0
Default
1
1
1
1
1
1
1
1
iii. Polarity Inversion Register Pair (04h, 05h)
Table 8: Polarity inversion port 0 register (address 04h)
Bit
7
6
5
4
3
2
1
0
Name
N0.7
N0.6
N0.5
N0.4
N0.3
N0.2
N0.1
N0.0
Default
0
0
0
0
0
0
0
0
A Product Line of Diodes Incorporated (DPERICDM‘ P|4IOE5V6416 The Configuration registers (registers 6 and 7) configure the direction of the I/O pinsr If a bit in these registers is set to l. the corresponding port pin is enabled as a high-impedance input, Ha bit in these registers is cleared to 0‘ the corresponding port pin is enabled as an output. Bit 7 u- Bil 7 u- The Output drive strength registers control the output drive level of the GNU Each GPIO can be configured independently to a certain output current level by two register control bitsr For example Port 0.7 is controlled by register 41 CCO.7 (bits [7:6I), Port 06 is controlled by register 41 CCO.6 (bits [54]). The output drive level of the GPIO is programmed 00b = 0,25. 01b = 0.5, 10b = 0.75 or 11b : 1 of the drive capability of the 1/0. See Section 92 “Output drive strength control" for more details. Bit 7 u-
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 12 © Diodes Incorporated
PI4IOE5V6416
Table 9: Polarity inversion port 1 register (address 05h)
Bit
7
6
5
4
3
2
1
0
Name
N1.7
N1.6
N1.5
N1.4
N1.3
N1.2
N1.1
N1.0
Default
0
0
0
0
0
0
0
0
iv. Configuration Register Pair (06h, 07h)
Table 10: Configuration port 0 register (address 06h)
Bit
7
6
5
4
3
2
1
0
Name
C0.7
C0.6
C0.5
C0.4
C0.3
C0.2
C0.1
C0.0
Default
1
1
1
1
1
1
1
1
Table 11: Configuration port 1 register (address 07h)
Bit
7
6
5
4
3
2
1
0
Name
C1.7
C1.6
C1.5
C1.4
C1.3
C1.2
C1.1
C1.0
Default
1
1
1
1
1
1
1
1
v. Output Drive Strength Register Pairs (40h, 41h, 42h, 43h)
Table 12: Current control port 0 register (address 40h)
Bit
7
6
5
4
3
2
1
0
Name
CC0.3
CC0.2
CC0.1
CC0.0
Default
1
1
1
1
1
1
1
1
Table 13: Current control port 0 register (address 41h)
Bit
7
6
5
4
3
2
1
0
Name
CC0.7
CC0.6
CC0.5
CC0.4
Default
1
1
1
1
1
1
1
1
l
Table 14: Current control port 1 register (address 42h)
Bit
7
6
5
4
3
2
1
0
Name
CC1.3
CC1.2
CC1.1
CC1.0
Default
1
1
1
1
1
1
1
1
l
Table 15: Current control port 1 register (address 43h)
Bit
7
6
5
4
3
2
1
0
Name
CC1.7
CC1.6
CC1.5
CC1.4
Default
1
1
1
1
1
1
1
1
A Product Line of E Diodes Incorporated (DPBe/caM‘ P|4IOE5V6416 The input latch registers (registers 44 and 45) enable and disable the input latch of the [/0 pins. These registers are effective only when the pin is configured as an input port. When an input latch register bit is 0, the corresponding input pin state is not latched. A state change in the corresponding input pin generates an interrupt. A read of the input register clears the interrupt. If the input goes back to its initial logic state before the input port register is read. then the interrupt is cleared. When an input latch register bit is 1, the corresponding input pin state is latched. A change of state of the input generates an interrupt and the input logic value is loaded into the corresponding bit of the input port register (registers 0 and 1). A read of the input port register clears the interrupt. Ifthe input pin returns to its initial logic state before the inputport register is read, then the interrupt is not cleared and the corresponding bit of the input port register keeps the logic value that initiated the interrupt. For example, if the P074 input was as logic 0 and the input goes to logic 1 then back to logic 0, the input port 0 register will capture this change and an interrupt is generated (if unmasked). When the read is performed on the input port 0 register, the interrupt is cleared, assuming there were no additional input(s) that have changed, and bit 4 of the input port 0 register will read ‘1’. The next read ofthe input port register bit 4 register should now read ‘0’. An interrupt remains active when a nonrlatched input simultaneously switches state with a latched input and then returns to its original state. A read of the input register reflects only the change of state of the latched input and also clears the interrupt. The interrupt is not cleared it the input latch register changes from latched to nonrlatched configuration. If the input pin is changed from latched to nonrlatched input, a read from the input port register reflects the current port logic level, If the input pin is changed from non-latched to latched input, the read from the input register reflects the latched logic level. These registers allow the user to enable or disable pull-uplpull-down resistors on the I/O pins. Setting the bit to logic 1 enables the selection of pull-uplpull-down resistors. Setting the bit to logic 0 disconnects the pull-up/pull-down resistors from the [/0 pins. Also, the resistors will be disconnected when the outputs are configured as open-drain outputs. Use the pull-up/pull-down registers to select either a pull-up or pull-down resistor.
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 13 © Diodes Incorporated
PI4IOE5V6416
vi. Input Latch Register Pair (44h, 45h)
Table 16: Input latch port 0 register (address 44h)
Bit
7
6
5
4
3
2
1
0
Name
L0.7
L0.6
L0.5
L0.4
L0.3
L0.2
L0.1
L0.0
Default
0
0
0
0
0
0
0
0
Table 17: Input latch port 1 register (address 45h)
Bit
7
6
5
4
3
2
1
0
Name
L1.7
L1.6
L1.5
L1.4
L1.3
L1.2
L1.1
L1.0
Default
0
0
0
0
0
0
0
0
vii. Pull-up/Pull-down Enable Register Pair (46h, 47h)
Table 18: Pull-up/pull-down enable port 0 register (address 46h)
Bit
7
6
5
4
3
2
1
0
Name
PE0.7
PE0.6
PE0.5
PE0.4
PE0.3
PE0.2
PE0.1
PE0.0
Default
0
0
0
0
0
0
0
0
A Product Line of E Diodes Incorporated (DPBe/com P|4IOE5V6416 The I/O port can be configured to have pull-up or pull-down resistor by programming the pull-up/pull-down selection register. Setting a bit to logic 1 selects a 100 k pull-up resistor for that 1/0 pin. Setting a bit to logic 0 selects a 100 k pull-down resistor for that 1/0 pin. Ifthe pull-up/down feature is disconnected, writing to this register will have no effect on 1/0 pin. Typical value is 100 k with minimum of 50 k and maximum of 150 k. Interrupt mask registers are set to logic 1 upon power-on, disabling interrupts during system start-up. Interrupts may be enabled by setting corresponding mask bits to logic 0. If an input changes state and the corresponding bit in the Interrupt mask register is set to 1, the interrupt is masked and the interrupt pin will not be asserted, Ifthe corresponding bit in the Interrupt mask register is set to 0, the interrupt pin will be asserted. when an input changes state and the resulting interrupt is masked (interrupt mask bit is 1). setting the input mask register bit to 0 will cause the interrupt pin to be asserted. Ifthe interrupt mask bit of an input that is currently the source of an interrupt is set to 1, the interrupt pin will be derassened. These read-only registers are used to identify the source of an interrupt. When read. a logic 1 indicates that the corresponding input pin was the source of the interrupt, A logic 0 indicates that the input pin is not the source of an interrupt. When a corresponding bit in the interrupt mask register is set to I (masked), the interrupt status bit will return logic 0.
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 14 © Diodes Incorporated
PI4IOE5V6416
Table 19: Pull-up/pull-down enable port 1 register (address 47h)
Bit
7
6
5
4
3
2
1
0
Name
PE1.7
PE1.6
PE1.5
PE1.4
PE1.3
PE1.2
PE1.1
PE1.0
Default
0
0
0
0
0
0
0
0
viii. Pull-up/pull-down Selection Register Pair (48h, 49h)
Table 20: Pull-up/pull-down selection port 0 register (address 48h)
Bit
7
6
5
4
3
2
1
0
Name
PUD0.7
PUD0.6
PUD0.5
PUD0.4
PUD0.3
PUD0.2
PUD0.1
PUD0.0
Default
1
1
1
1
1
1
1
1
Table 21: Pull-up/pull-down selection port 1 register (address 49h)
Bit
7
6
5
4
3
2
1
0
Name
PUD1.7
PUD1.6
PUD1.5
PUD1.4
PUD1.3
PUD1.2
PUD1.1
PUD1.0
Default
1
1
1
1
1
1
1
1
ix. Interrupt Mask Register Pair (4Ah, 4Bh)
Table 22: Interrupt mask port 0 register (address 4Ah) bit description
Bit
7
6
5
4
3
2
1
0
Name
M0.7
M0.6
M0.5
M0.4
M0.3
M0.2
M0.1
M0.0
Default
1
1
1
1
1
1
1
1
Table 23: Interrupt mask port 1 register (address 4Bh) bit description
Bit
7
6
5
4
3
2
1
0
Name
M1.7
M1.6
M1.5
M1.4
M1.3
M1.2
M1.1
M1.0
Default
1
1
1
1
1
1
1
1
x. Interrupt Status Register Pair (4Ch, 4Dh)
A Product Line of E Diodes Incorporated (DPBe/com P|4IOE5V6416 The output port configuration register selects porlrwlse pushrpull or openrdrain 1/0 stage. A logic 0 configures the 1/0 as pushr pull, A logic 1 configures the 1/0 as open-drain and the recommended command sequence is to program this register (4Eh) before the configuration register (06h and 07h) sets the port pins as outputs. ODENO configures Port 07x and ODENl configures Port 17x. When an 1/0 is configured as an input, the pull-up PET and pull-down EET are off, which creates a high-impedance input. If the 1/0 is configured as an output, there are low impedance paths between the [/0 pin and either Vnm) or V55 depending on the state of the Output Port Register. The external voltage applied to this 1/0 pin should not exceed the recommended levels for proper operation. Pull-up/down EETs series with resistors are enabled accordingly to the Pull-up or Pull-down Select Register and the Pull-up or Pull-down Enable Register. When the GPIO-port is set as an output the input buffers are disabled such that the bus is allowed to float. When power is applied to Vnm), an internal power-on reset holds the P1410E5V6416 in a reset condition until me) has reached Vl‘OR . At that point. the reset condition is released and the PI4IOE5V6416 registers will initialize to their default states. The RESET input can be asserted to initialize the system while keeping Vnm) at its operating level. A reset can be accomplished by holding the RESET pin low for a minimum oftw. The P1410E5V6416 registers are changed to their default state once RESET is low (0). Only when RESET is high (1). GPIO registers can be accessed by the PC pin. This input requires a pull-up resistor to Vnmmug , if no active connection is used.
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 15 © Diodes Incorporated
PI4IOE5V6416
Table 24: Interrupt status port 0 register (address 4Ch) bit description
Bit
7
6
5
4
3
2
1
0
Name
S0.7
S0.6
S0.5
S0.4
S0.3
S0.2
S0.1
S0.0
Default
0
0
0
0
0
0
0
0
Table 25: Interrupt status port 1 register (address 4Dh) bit description
Bit
7
6
5
4
3
2
1
0
Name
S1.7
S1.6
S1.5
S1.4
S1.3
S1.2
S1.1
S1.0
Default
0
0
0
0
0
0
0
0
xi. Output Port Configuration Register (4Fh)
Table 25: Output port configuration register (address 4Fh)
Bit
7
6
5
4
3
2
1
0
Name
Reserved
ODEN1
ODEN0
Default
0
0
0
0
0
0
0
0
d. I/O Port
e. Power-on Reset
f. Reset Input (RESET)
A Product Line of E Diodes Incorporated (DPBe/caM‘ P|4IOE5V6416 The W pin is a LOW-asserted open-drain output and requires an external pull-up resistor. The PI4IOE5V6416 signals an interrupt to the processor when an event occurs. removing the need for the processor to continuously poll the PI4IOE5V6416 registers. An interrupt is generated by any rising or falling edge of the port inputs in the Input mode. The interrupt is reset when data on the port changes back to the original value or when data is read from the port that generated the interrupt. A pin configured as an output cannot cause an interrupt. Changing an 1/0 from an output to an input may cause a false interrupt to occur, if the state of the pin does not match the contents of the Input Port register, When using the input latch feature, the input pin state is latched. The interrupt is reset only when data is read from the port that generated the interrupt. The reset occurs in the Read mode at the acknowledge (ACK) or not acknowledge (NACK) bit after the rising edge of the SCL signal.
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 16 © Diodes Incorporated
PI4IOE5V6416
g. Interrupt Output (INT)
Part Marking
Top mark not available at this time. To obtain advance information regarding the top mark, please contact your local sales representative.
ElatfizlEEi Dagflafla (Diaaennowr P|4IOE5V6416 PW D2 CDJSXAS’ \NDEX AREA \ n ‘9 ‘ 2‘ J u mu u L , as: ‘ z. J... m c , / ,i,, w ,2, ,1; m 7, :I I: ‘ 77 :I ‘ E ‘ u u: 1 ha ‘ 7 fl Fm H H ‘ ‘2 ‘ ‘I L D M k W As mm 3.86 A g; DDDDDD swam: uw NOM. MAX u l:| A 0.50 0.55 0.90 “of? |:l E m mm uaz ans ”9 CI 230 E A: we REE. G A El 3 b ms 0.25 am Cl 92 :l '7 D 390 A00 Mu |:I “‘ |:| E 390 4.00 4.10 CI |:| c 0.50 556 0.7% D I] D D E D7 02 215 , 2,75 0.25 (24X 050 ESC F7 715 7 775 > ‘ L 035 040 ms RECOMMENDED LAND PAWERN NOTE DAVE: 07M!" commnm mamas m M ExPnsEn mmm mu AS wm AS WE 1mm; v mm- mm z-mmm ‘ 2 3. Farm mac M07220 nascnlrnol: 21am vuymn am nuns-Lac our») 4. REcquNuEn um) wmm Ls rm: REFERENK um. "Guano“. m IE“) 5 s ‘ mm“ m 50mm ma wax mp DQXE2=115X1 25 mulmooumu: I’D-2100 man: 6 mm
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 17 © Diodes Incorporated
PI4IOE5V6416
Packaging Mechanical
24-TQFN (ZD)
A Product Line of Diodes Incorporated (DPHe/com P|4IOE5V6416 SYMBOLS MW. Non. MAX. 24 1377 //--\ A 7 7 “20 HHWHHHHHHHH ’ ‘ .. - '\ } A2 man too v.05 / b 0.19 — 0.50 / ;f c o 09 — 0.20 D 7.70 7.50 7.90 a n 4.30 4.40 4.50 E 5.20 6.40 550 El 0.55 use ® L1 L00 REF L 0.45 0.60 0.75 UH NHHHUHHHH S — ' I I2 u c 5 0 - E' E n D s g m N WHERE. o» \_ + \ cm 7 o: PLANE ( ‘ 5mm PUNE mm: L 79 u DATE: mmt IDFER/caM “mm Nmzs: DEscmFrlJN: mun, mm: m use? I. u mums m umum mm: m amass. z mic m-Isar rmmscons: L (m) ’ Emfiswfiéfl Wé‘.‘ m m" nocuulamcommn: ru-Im mama: s moms For lalesl package znro, please check- http'//www.d10des.comldeslgnlsuppolI/packngmg/pelIcum-packaging/packagmg-mechamcals-nnd-errmal-chalacmnslmsI
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 18 © Diodes Incorporated
PI4IOE5V6416
24-TSSOP (L)
Ordering Information
Part No.
Package Code
Package
PI4IOE5V6416ZDEX
ZD
24-Contact, Very Thin Quad Flat No-Lead (TQFN)
PI4IOE5V6416LEX
L
24-Pin, 173mil Wide (TSSOP)
Notes:
1. No purposely added lead. Fully EU Directive 2002/95/EC (RoHS), 2011/65/EU (RoHS 2) & 2015/863/EU (RoHS 3) compliant.
2. See https://www.diodes.com/quality/lead-free/ for more information about Diodes Incorporated’s definitions of Halogen- and Antimony-free, "Green" and
Lead-free.
3. Halogen- and Antimony-free "Green” products are defined as those which contain <900ppm bromine, <900ppm chlorine (<1500ppm total Br + Cl) and
<1000ppm antimony compounds.
4. E = Pb-free and Green
5. X suffix = Tape/Reel
A Product Line of E Diodes Incorporated (DPBe/com P|4IOE5V6416
PI4IOE5V6416 www.diodes.com September 2018
Document Number DS40821 Rev 3-2 19 © Diodes Incorporated
PI4IOE5V6416
IMPORTANT NOTICE
DIODES INCORPORATED MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARDS TO THIS DOCUMENT, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY
JURISDICTION).
Diodes Incorporated and its subsidiaries reserve the right to make modifications, enhancements, improvements, corrections or other changes without further notice to this document and
any product described herein. Diodes Incorporated does not assume any liability arising out of the application or use of this document or any product described herein; neither does Diodes
Incorporated convey any license under its patent or trademark rights, nor the rights of others. Any Customer or user of this document or products described herein in such applications
shall assume all risks of such use and will agree to hold Diodes Incorporated and all the companies whose products are represented on Diodes Incorporated website, harmless against all
damages.
Diodes Incorporated does not warrant or accept any liability whatsoever in respect of any products purchased through unauthorized sales channel.
Should Customers purchase or use Diodes Incorporated products for any unintended or unauthorized application, Customers shall indemnify and hold Diodes Incorporated and its
representatives harmless against all claims, damages, expenses, and attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such
unintended or unauthorized application.
Products described herein may be covered by one or more United States, international or foreign patents pending. Product names and markings noted herein may also be covered by one
or more United States, international or foreign trademarks.
This document is written in English but may be translated into multiple languages for reference. Only the English version of this document is the final and determinative format released
by Diodes Incorporated.
LIFE SUPPORT
Diodes Incorporated products are specifically not authorized for use as critical components in life support devices or systems without the express written approval of the Chief Executive
Officer of Diodes Incorporated. As used herein:
A. Life support devices or systems are devices or systems which:
1. are intended to implant into the body, or
2. support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in
significant injury to the user.
B. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the
failure of the life support device or to affect its safety or effectiveness.
Customers represent that they have all necessary expertise in the safety and regulatory ramifications of their life support devices or systems, and acknowledge and agree that they are
solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of Diodes Incorporated products in such safety-critical, life support
devices or systems, notwithstanding any devices- or systems-related information or support that may be provided by Diodes Incorporated. Further, Customers must fully indemnify
Diodes Incorporated and its representatives against any damages arising out of the use of Diodes Incorporated products in such safety-critical, life support devices or systems.
Copyright © 2016, Diodes Incorporated
www.diodes.com