MAX7313 Maxim, MAX7313 Datasheet - Page 7

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
as an input or an output. Reading an input ports regis-
ter latches the current-input logic level of the affected
eight ports. Transition detection allows all ports config-
ured as inputs to be monitored for changes in their
logic status. The action of reading an input ports regis-
ter samples the corresponding 8 port bits’ input condi-
tions. This sample is continuously compared with the
actual input conditions. A detected change in input
condition causes the INT/O16 interrupt output to go
low, if configured as an interrupt output. The interrupt is
cleared either automatically if the changed input
returns to its original state, or when the appropriate
input ports register is read.
The INT/O16 pin can be configured as either an inter-
rupt output or as a 17th output port with the same static
or blink controls as the other 16 ports (Table 4).
The two blink phase 0 registers set the output logic lev-
els of the 16 ports P0–P15 (Table 8). These registers
control the port outputs if the blink function is disabled.
A duplicate pair of registers, the blink phase 1 regis-
ters, are also used if the blink function is enabled
(Table 9). In blink mode, the port outputs can be
flipped between using the blink phase 0 registers and
the blink phase 1 registers using software control (the
blink flip flag in the configuration register) (Table 4).
The MAX7313 includes an internal oscillator, nominally
32kHz, to generate PWM timing for LED intensity con-
trol. PWM intensity control can be enabled on an out-
put-by-output basis, allowing the MAX7313 to provide
any mix of PWM LED drives and glitch-free logic out-
puts (Table 10). PWM can be disabled entirely, in
which case all output ports are static and the MAX7313
operating current is lowest because the internal oscilla-
tor is turned off.
Figure 2. 2-Wire Serial Interface Timing Details
Control, Interrupt, and Hot-Insertion Protection
Port Output Control and LED Blinking
SDA
SCL
t
HD,STA
START CONDITION
_______________________________________________________________________________________
16-Port I/O Expander with LED Intensity
PWM Intensity Control
t
LOW
t
R
t
SU,DAT
t
HIGH
t
F
t
HD,DAT
t
REPEATED START CONDITION
SU,STA
PWM intensity control uses a 4-bit master control and 4
bits of individual control per output (Tables 13, 14). The
4-bit master control provides 16 levels of overall intensi-
ty control, which applies to all PWM-enabled output
ports. The master control sets the maximum pulse
width from 1/15 to 15/15 of the PWM time period. The
individual settings comprise a 4-bit number further
reducing the duty cycle to be from 1/16 to 15/16 of the
time window set by the master control.
For applications requiring the same PWM setting for all
output ports, a single global PWM control can be used
instead of all the individual controls to simplify the con-
trol software and provide 240 steps of intensity control
(Tables 10 and 13).
When the serial interface is idle and the PWM intensity
control is unused, the MAX7313 automatically enters
standby mode. If the PWM intensity control is used, the
operating current is slightly higher because the internal
PWM oscillator is running. When the serial interface is
active, the operating current also increases because
the MAX7313, like all I
transmission.
The MAX7313 operates as a slave that sends and
receives data through an I
face. The interface uses a serial data line (SDA) and a
serial clock line (SCL) to achieve bidirectional commu-
nication between master(s) and slave(s). A master (typ-
ically a microcontroller) initiates all data transfers to and
from the MAX7313 and generates the SCL clock that
synchronizes the data transfer (Figure 2).
The MAX7313 SDA line operates as both an input and
an open-drain output. A pullup resistor, typically 4.7kΩ,
is required on SDA. The MAX7313 SCL line operates
t
HD,STA
t
2
SU,STO
C slaves, has to monitor every
2
CONDITION
C-compatible 2-wire inter-
STOP
Serial Interface
Serial Addressing
t
BUF
CONDITION
Standby Mode
START
7

Related parts for MAX7313