MAX7313 Maxim, MAX7313 Datasheet - Page 13

no-image

MAX7313

Manufacturer Part Number
MAX7313
Description
The MAX7313 I²C-compatible serial interfaced peripheral provides microprocessors with 16 I/O ports
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MAX7313AEG
Manufacturer:
MAXIM
Quantity:
501
Part Number:
MAX7313AEG
Manufacturer:
MAXIM/美信
Quantity:
20 000
Company:
Part Number:
MAX7313AEG
Quantity:
10 000
Part Number:
MAX7313AEG+
Manufacturer:
MAXIM
Quantity:
234
Part Number:
MAX7313AEG+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
MAX7313AEG+T
Manufacturer:
NXP
Quantity:
20 000
Part Number:
MAX7313AEG+T
Manufacturer:
Maxim/Da
Quantity:
5 000
Part Number:
MAX7313AEG+T
Manufacturer:
MAXIM
Quantity:
2 500
Part Number:
MAX7313AEG-T
Manufacturer:
TOS
Quantity:
2 372
Part Number:
MAX7313ATG
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
MAX7313ATG+
Manufacturer:
MAXIM
Quantity:
2 040
Part Number:
MAX7313ATG+T
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
MAX7313ATG+T
0
Part Number:
MAX7313DAEG+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Company:
Part Number:
MAX7313DATG+
Quantity:
4 500
Table 2. Register Address Map
The 16 I/O ports P0 through P15 can be configured to
any combination of inputs and outputs using the ports
configuration registers (Table 5). The INT/O16 output
can also be configured as an extra general-purpose
output using the configuration register (Table 4).
The input ports registers are read only (Table 6). They
reflect the incoming logic levels of the ports, regardless
of whether the port is defined as an input or an output
by the ports configuration registers. Reading an input
ports register latches the current-input logic level of the
affected eight ports. A write to an input ports register is
ignored.
All ports configured as inputs are always monitored for
changes in their logic status. The action of reading an
input ports register or writing to the configuration regis-
ter samples the corresponding 8 port bits’ input condi-
tion (Tables 4, 6). This sample is continuously
compared with the actual input conditions. A detected
change in input condition causes an interrupt condition.
The interrupt is cleared either automatically if the
changed input returns to its original state, or when the
appropriate input ports register is read, updating the
Control, Interrupt, and Hot-Insertion Protection
Blink phase 0 outputs P15–P8
Blink phase 1 outputs P15–P8
Blink phase 0 outputs P7–P0
Blink phase 1 outputs P7–P0
Ports configuration P15–P8
Outputs intensity P11, P10
Outputs intensity P13, P12
Outputs intensity P15, P14
Ports configuration P7–P0
Read input ports P15–P8
Outputs intensity P1, P0
Outputs intensity P3, P2
Outputs intensity P5, P4
Outputs intensity P7, P6
Outputs intensity P9, P8
Read input ports P7–P0
Master, O16 intensity
Configuration
REGISTER
______________________________________________________________________________________
16-Port I/O Expander with LED Intensity
Ports Configuration
Transition Detection
Input Ports
ADDRESS CODE
(HEX)
0x0A
0x0B
0x00
0x01
0x02
0x03
0x06
0x07
0x0E
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
compared data (Figure 10). Randomly changing a port
from an output to an input may cause a false interrupt
to occur if the state of the input does not match the
content of the appropriate input ports register. The
interrupt status is available as the interrupt flag INT in
the configuration register (Table 4).
The input status of all ports are sampled immediately
after power-up as part of the MAX7313’s internal initial-
ization, so if all the ports are pulled to valid logic levels
at that time an interrupt does not occur at power-up.
The INT/O16 output pin can be configured as either the
INT output that reflects the interrupt flag logic state or
as a general-purpose output O16. When used as a
general-purpose output, the INT/O16 pin has the same
blink and PWM intensity control capabilities as the
other ports.
Set the interrupt enable I bit in the configuration register
to configure INT/O16 as the INT output (Table 4). Clear
interrupt enable to configure INT/O16 as the O16. O16
logic state is set by the 2 bits O1 and O0 in the configu-
ration register. O16 follows the rules for blinking select-
ed by the blink enable flag E in the configuration
register. If blinking is disabled, then interrupt output
control O0 alone sets the logic state of the INT/O16 pin.
AUTOINCREMENT
0x0E (no change)
0x0F (no change)
ADDRESS
0x01
0x00
0x03
0x02
0x07
0x06
0x0B
0x0A
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x10
INT/O16 Output
13

Related parts for MAX7313