Ramp-up and ramp-down use the PWM clock for tim-
ing. When using the external oscillator make sure the
oscillator runs until the end of the sequence. The inter-
nal oscillator always runs during a fade sequence, even
if none of the ports use PWM.
The ramp-up and ramp-down circuit operates a 3-bit
DAC. The DAC adjusts the internal current reference
used to set the constant-current outputs in a similar
manner to the global-current register (Table 5). The
MAX6946/MAX6947 scale the master current reference
so all output constant-current and PWM settings adjust
at the same ratio with respect to each other. This
means the LEDs always fade at the same rate even if
with different intensity settings.
The maximum port output current set by the global-cur-
rent register (Table 5) also sets the point during ramp-
down that the current starts falling, and the point during
ramp-up that the current stops rising. Figure 7 shows
the ramp waveforms that occur with different global-
current register settings.
Reset Run Option
The MAX6946/MAX6947 feature a Reset Run option so
that simply taking the RST input high brings the driver
out of shutdown in addition to its normal function of
enabling the MAX6946/MAX6947sā I
2
C interface. This
provides an alternative method of bringing the driver
out of shutdown to writing to the configuration register
through the serial interface. The Reset Run timing uses
the PWM clock, either the internal nominal 32kHz oscil-
lator or a user-provided clock fed into the OSC input
(MAX6946 only).
After enabling the Reset Run option, the MAX6946/
MAX6947 use the rising edge on RST, followed by no
I
2
C interface activity to the MAX6946/MAX6947 for 128
to 129 periods of the PWM clock to trigger the Reset
Run option. If this timeout period elapses without the
MAX6946/MAX6947 acknowledging an I
2
C transaction,
the run bit (D0) in the configuration register sets, bring-
ing the driver out of shutdown and activating any pro-
grammed ramp-up. If RST pulses high for less than this
timeout period to trigger a Reset Run, the MAX6946/
MAX6947 ignore the pulse, and the MAX6946/MAX6947
continue to wait for a suitable trigger.
Cancel the Reset Run trigger by transmitting an I
2
C
communication to the MAX6946/MAX6947 before the
timeout period elapses. The trigger cancels when the
MAX6946/MAX6947 acknowledge the I
2
C transaction
MAX6946/MAX6947
10-Port, Constant-Current LED Driver and
I/O Expander with PWM Intensity Control
______________________________________________________________________________________ 15