MAX7370 Maxim, MAX7370 Datasheet - Page 10

no-image

MAX7370

Manufacturer Part Number
MAX7370
Description
The MAX7370 I²C-interfaced peripheral provides microprocessors with management of up to 64 key switches, with optional GPIO and PWM-controlled LED drivers
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MAX7370ETG+
Manufacturer:
MAXIM/美信
Quantity:
20 000
with I
Key inputs are scanned statically, not dynamically, to
ensure low-EMI operation. Since inputs only toggle in
response to switch changes, the key matrix can be
routed closer to sensitive circuit nodes.
The keyscan controller debounces and maintains a FIFO
buffer of keypress and release events (including auto-
repeated keypresses, if autorepeat is enabled).
shows the key-switch order. The user-programmable key-
switch debounce time and autosleep timer are derived
from the 64kHz clock, which in turn is derived from the
128kHz oscillator. Time delay for autorepeat and key-
switch interrupt is based on the key-switch debounce
time. There is no limitation for the number of keys pressed
simultaneously as long as no ghost keys are generated.
If the application requires fewer keys to be scanned, the
unused key-switch ports can be configured as GPIOs.
The Keys FIFO register contains the information pertain-
ing to the status of the keys FIFO, as well as the key events
that have been debounced. See
denote which of the 64 keys have been debounced and
the keys are numbered as shown in
Bit D7 indicates if there is more data in the FIFO, except
when D[5:0] indicate key 63 or key 62. When D[5:0] indi-
cate key 63 or key 62, the host should read the FIFO one
more time to determine whether there is more data in the
FIFO. Use key 62 and key 63 for rarely used keys. D6
indicates if it is a keypress or release event, except when
D[5:0] indicate key 63 or key 62.
Reading the keyscan FIFO clears the interrupt (INT),
depending on the setting of bit D5 in the configuration
register (0x01).
Table 2. Key-Switch Mapping
ROW0
ROW1
ROW2
ROW3
ROW4
ROW5
ROW6
ROW7
PIN
8 x 8 Key-Switch Controller and LED Driver/GPIOs
2
KEY 0
KEY 1
KEY 2
KEY 3
KEY 4
KEY 5
KEY 6
KEY 7
COL0
C Interface and High Level of ESD Protection
���������������������������������������������������������������� Maxim Integrated Products 10
KEY 10
KEY 11
KEY 12
KEY 13
KEY 14
KEY 15
KEY 8
KEY 9
COL1
Keys FIFO Register (0x00)
Keyscan Controller
Table
Table
KEY 16
KEY 17
KEY 18
KEY 19
KEY 20
KEY 21
KEY 22
KEY 23
COL2
7. Bits D[5:0]
2.
Table 2
KEY 24
KEY 25
KEY 26
KEY 27
KEY 28
KEY 29
KEY 30
KEY 31
COL3
The Configuration register controls the I
out feature, enables key-release detection, enables
autowake, and determines how INT is deasserted. Write
to bit D7 to put the device into sleep mode or operating
mode. Autosleep and autowake, when enabled, also
change the status of D7. See
The Debounce register sets the keypress and key-
release time for each debounce cycle. Bits D[3:0] set the
debounce time for keypresses, while bits D[7:4] set the
debounce time for key releases. Both debounce times
are configured in increments of 2ms starting at 2ms and
ending at 32ms. See
The Interrupt register contains information related to the
settings of the interrupt request function, as well as the sta-
tus of the INT output. If bits D[7:0] are set to 0x00, the INT
is disabled. There are two types of interrupts, the FIFO-
based interrupt and time-based interrupt. Set bits D[4:0]
to assert interrupts at the end of the selected number of
debounce cycles following a key event. See
This number ranges from 1–31 debounce cycles. Setting
bits D[5:7] set the FIFO-based interrupt when there are
2–14 key events stored in the FIFO. Both interrupts can be
configured simultaneously and INT asserts depending on
which condition is met first. INT deasserts depending on
the status of bit D5 in the configuration register.
The device autorepeat feature notifies the host that at
least one key has been pressed for a continuous period.
The Autorepeat register enables or disables this feature,
sets the time delay after the last key event before the key-
repeat code (0x7E) is entered into the FIFO, and sets
KEY 32
KEY 33
KEY 34
KEY 35
KEY 36
KEY 37
KEY 38
KEY 39
COL4
KEY 40
KEY 41
KEY 42
KEY 43
KEY 44
KEY 45
KEY 46
KEY 47
COL5
Table
Configuration Register (0x01)
9.
Autorepeat Register (0x05)
Debounce Register (0x02)
Table
Interrupt Register (0x03)
KEY 48
KEY 49
KEY 50
KEY 51
KEY 52
KEY 53
KEY 54
KEY 55
COL6
MAX7370
8.
2
C bus time-
KEY 56
KEY 57
KEY 58
KEY 59
KEY 60
KEY 61
KEY 62
KEY 63
Table
COL7
10.

Related parts for MAX7370