MAX7359
2-Wire Interfaced Low-EMI
Key Switch Controller/GPO
_______________________________________________________________________________________ 7
PIN COL0 COL1 COL2/PORT2 COL3/PORT3 COL4/PORT4 COL5/PORT5 COL6/PORT6 COL7/PORT7
ROW0 KEY 0 KEY 8 KEY 16 KEY 24 KEY 32 KEY 40 KEY 48 KEY 56
ROW1 KEY 1 KEY 9 KEY 17 KEY 25 KEY 33 KEY 41 KEY 49 KEY 57
ROW2 KEY 2 KEY 10 KEY 18 KEY 26 KEY 34 KEY 42 KEY 50 KEY 58
ROW3 KEY 3 KEY 11 KEY 19 KEY 27 KEY 35 KEY 43 KEY 51 KEY 59
ROW4 KEY 4 KEY 12 KEY 20 KEY 28 KEY 36 KEY 44 KEY 52 KEY 60
ROW5 KEY 5 KEY 13 KEY 21 KEY 29 KEY 37 KEY 45 KEY 53 KEY 61
ROW6 KEY 6 KEY 14 KEY 22 KEY 30 KEY 38 KEY 46 KEY 54 KEY 62
ROW7 KEY 7 KEY 15 KEY 23 KEY 31 KEY 39 KEY 47 KEY 55 KEY 63
Table 1. Key-Switch Mapping
ADDRESS
CODE (hex)
READ/WRITE
POWER-UP VALUE
(hex)
REGISTER
FUNCTION
DESCRIPTION
0x00 Read only 0x3F Keys FIFO Read FIFO key scan data out
0x01 R/W 0x0A Configuration
Power down, key release enable, autowakeup, and
I
2
C timeout enable
0x02 R/W 0xFF Debounce Key debounce time setting and GPO enable
0x03 R/W 0x00 Interrupt INT frequency setting
0x04 R/W 0xFE Ports Ports 2–7 and INT GPO control
0x05 R/W 0x00 Key repeat Delay and frequency for key repeat
0x06 R/W 0x07 Sleep Idle time to autosleep
Table 2. Register Address Map and Power-Up Condition
Key-Scan Controller
Key inputs are scanned statically, not dynamically, to
ensure low-EMI operation. As inputs only toggle in
response to switch changes, the key matrix can be
routed closer to sensitive circuit nodes.
The key controller debounces and maintains a FIFO of
key-press and release events (including autorepeated
key presses, if autorepeat is enabled). Table 1 shows
keys order.
_____________________Initial Power-Up
On power-up, all control registers are set to power-up
values and the MAX7359 is in sleep mode (Table 2).
Registers Description
Keys FIFO Register (0x00)
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 (Table 3). Bits D0 to
D5 denote which of the 64 keys have been debounced
and the keys are numbered as in Table 1.
D7 indicates if there is more data in the FIFO except
when D5:D0 indicate key 63 or key 62. When D5:D0
indicate key 63 or key 62, the host should read one
more time to determine whether there is more data in
FIFO. It is better to use key 62 and key 63 for rarely
used keys. D6 indicates if it is a key-press or release
event except when D5:D0 indicate key 63 or key 62.
Reading the key-scan FIFO clears the interrupt INT
depending on the setting of bit D5 in the configuration
register (0x01).
Configuration Register (0x01)
The configuration register controls the I
2
C bus timeout
feature, enables key release detection, enables autowake,
and determines how INT should be deasserted. By writing
to bit D7, you can put the MAX7359 into sleep mode or
operating mode, however, autosleep and autowake,
when enabled, also change the status of this bit (Table 4).
MAX7359
2-Wire Interfaced Low-EMI
Key Switch Controller/GPO
8 _______________________________________________________________________________________
KEYS FIFO REGISTER DATA
SPECIAL FUNCTION
D7 D6 D5 D4 D3 D2 D1 D0
The key number indicated by D5:D0 is a key event. D7
is always for a key press of key 62 and key 63. When
D7 is 0, the key read is the last data in the FIFO. When
D7 is 1, there is more data in the FIFO. When D6 is 1,
key data read from FIFO is a key release. When D6 is
0, key data read from FIFO is a key press.
FIFO
empty
flag
Key
release
flag
XXXXXX
FIFO is empty. 0 0 111111
FIFO is overflow. Continue to read data in FIFO. 0 1 111111
Key 63 is pressed. Read one more time to determine
whether there is more data in FIFO.
10111111
Key 63 is released. Read one more time to determine
whether there is more data in FIFO.
11111111
Key repeat. Indicates the last data in FIFO. 0 0 111110
Key repeat. Indicates more data in FIFO. 0 1 111110
Key 62 is pressed. Read one more time to determine
whether there is more data in FIFO.
10111110
Key 62 is released. Read one more time to determine
whether there is more data in FIFO.
11111110
Table 3. Keys FIFO Register Format (0x00)
MAX7359
2-Wire Interfaced Low-EMI
Key Switch Controller/GPO
_______________________________________________________________________________________ 9
REGISTER BIT DESCRIPTION VALUE FUNCTION DEFAULT VALUE
0 Sleep mode
D7 Sleep
1 Operating mode
I
2
C write, autosleep and
autowakeup all can
change this bit. This bit
can be read back by
I
2
C any time for current
status.
0
D6 Reserved 0
This bit must always be 0. Improper operation
may result by writing a 1 to this location.
0
0 INT cleared when FIFO empty
D5 INTERRUPT
1
INT cleared after host read.
In this mode, I
2
C should read FIFO until
interrupt condition removed, or further INT
may be lost.
0
D4 Reserved 0
This bit must always be 0. Improper operation
may result by writing a 1 to this location.
0
0 Disable
D3 Key release enable
1 Enable
1
D2 Reserved 0
This bit must always be 0. Improper operation
results by writing a 1 to this location.
0
0 Disable
D1 Wakeup
1 Key press wakeup enable
1
0I
2
C timeout enabled
D0 Timeout enable
1I
2
C timeout disabled
0
Table 4. Configuration Register Format (0x01)

MAX7359ETG+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Interface - Specialized Low-EMI Key Switch Controller/GPIO
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union