MAX7347/MAX7348/MAX7349
2-Wire Interfaced Low-EMI Key Switch
and Sounder Controllers
10 ______________________________________________________________________________________
Bus Timeout
The MAX7347/MAX7348/MAX7349 feature a 20ms mini-
mum bus timeout on the 2-wire serial interface, largely to
prevent the MAX7347/MAX7348/MAX7349 from holding
the SDA I/O low during a read transaction if the SCL
hangs for any reason before a serial transaction has
been completed. Bus timeout operates by causing the
MAX7347/MAX7348/MAX7349 to internally terminate a
serial transaction, either read or write, if the time between
adjacent edges on SCL exceeds 20ms. After a bus time-
out, the MAX7347/MAX7348/MAX7349 wait for a valid
START condition before responding to a consecutive
transmission. The bus timeout feature requires the serial
interface to operate above 50Hz bus speed. This feature
can be enabled or disabled under user control by writing
to the configuration register (Table 12).
Message Format for Writing the
Key-Scan Controller
A write to the MAX7347/MAX7348/MAX7349s’ key-scan
controller comprises the transmission of the
MAX7347/MAX7348/MAX7349s’ key-scan slave address
with the R/W bit set to zero, followed by at least 1 byte of
information. The first byte of information is the command
byte. The command byte determines which register of the
MAX7347/MAX7348/MAX7349 is to be written by the next
byte, if received. If a STOP condition is detected after the
command byte is received, then the MAX7347/MAX7348
/MAX7349 take no further action (Figure 7) beyond stor-
ing the command byte.
Any bytes received after the command byte are data
bytes. The first data byte goes into the internal register
of the MAX7347/MAX7348/MAX7349 selected by the
command byte (Figure 8).
If multiple data bytes are transmitted before a STOP
condition is detected, these bytes are generally stored
in subsequent MAX7347/MAX7348/MAX7349 internal
registers (Table 7) because the command byte address
generally autoincrements (Table 4).
Message Format for Reading the
Key-Scan Controller
The MAX7347/MAX7348/MAX7349 are read using the
MAX7347/MAX7348/MAX7349s’ internally stored com-
mand byte as an address pointer, the same way the
stored command byte is used as an address pointer for
a write. The pointer generally autoincrements after each
data byte is read using the same rules as for a write
(Table 4). Thus, a read is initiated by first configuring
the MAX7347/MAX7348/MAX7349s’ command byte by
performing a write (Figure 7). The master can now read
n consecutive bytes from the MAX7347/MAX7348/
MAX7349, with the first data byte being read from the
register addressed by the initialized command byte.
When performing read-after-write verification, remem-
ber to reset the command byte’s address because the
stored command byte address is generally autoincre-
mented after the write (Figure 9, Table 4).
SDA
SCL
01 1A3A2A11
MSB
LSB
ACKR/W
Figure 6. Slave Address
SCL
SDA
BY
TRANSMITTER
CLOCK PULSE FOR
ACKNOWLEDGE
START
CONDITION
SDA
BY
RECEIVER
1 2 8 9
S
Figure 5. Acknowledge
MAX7347/MAX7348/MAX7349
2-Wire Interfaced Low-EMI Key Switch
and Sounder Controllers
______________________________________________________________________________________ 11
Message Format for Writing the Sounder
Controller
A write to the MAX7347/MAX7348/MAX7349s’ sounder
controller comprises the transmission of the
MAX7347/MAX7348/MAX7349s’ sounder slave address
with the R/W bit set to zero, followed by at least 1 com-
mand byte of information. The sounder controller ana-
lyzes each incoming data byte, and depending on the
state of the sounder controller’s 2-deep FIFO and the
contents of the command byte, the command byte is
added to the FIFO or it overwrites the last FIFO data
item (Table 16).
Message Format for Reading the Sounder
Controller
A read from the MAX7347/MAX7348/MAX7349s’ sounder
controller comprises the transmission of the
MAX7347/MAX7348/MAX7349s’ sounder slave address
with the R/W bit set to 1. The master can now read n con-
secutive bytes from the MAX7347/MAX7348/MAX7349,
each byte being a snapshot of the FIFO status of the
sounder controller (Table 16). If the master wishes to poll
the sounder controller until there is room for another com-
mand to be sent, the master can read bytes continuously
from the sounder controller until the information is satis-
factory and then issue a STOP condition.
Operation with Multiple Masters
If the MAX7347/MAX7348/MAX7349 are operated on a 2-
wire interface with multiple masters, a master reading the
MAX7347/MAX7348/MAX7349 should use a repeated
start between the write that sets the MAX7347/MAX7348/
MAX7349s’ address pointer, and the read(s) that takes
the data from the location(s). This is because it is possi-
ble for master 2 to take over the bus after master 1 has
set up the MAX7347/MAX7348/MAX7349s’ address
pointer but before master 1 has read the data. If master 2
subsequently resets the MAX7347/MAX7348/MAX7349s’
address pointer, then master 1’s read may be from an
unexpected location.
REGISTER
FUNCTION
ADDRESS
CODE (hex)
AUTOINCREMENT
ADDRESS (hex)
Keys FIFO 0x00 0x00
Debounce 0x01 0x02
Autorepeat 0x02 0x03
Interrupt 0x03 0x04
Configuration 0x04 0x05
Port 0x05 0x06
Key Sound 0x06 0x07
Alert Sound 0x07 0x00
Table 4. Key-Scan Command Address
Autoincrement Rules
SAAP0SLAVE ADDRESS COMMAND BYTE
D7 D6 D5 D4 D3 D2 D1 D0
COMMAND BYTE IS STORED ON RECEIPT OF
ACKNOWLEDGE CONDITION
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
R/W
Figure 7. Command Byte Received
SAAAP0SLAVE ADDRESS COMMAND BYTE DATA BYTE
1 BYTE
AUTOINCREMENT
COMMAND BYTE ADDRESS
D7 D6 D5 D4 D3 D2 D1 D0 D1 D0D3 D2D5 D4D7 D6
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
R/W
Figure 8. Command and Single Data Byte Received
MAX7347/MAX7348/MAX7349
2-Wire Interfaced Low-EMI Key Switch
and Sounder Controllers
12 ______________________________________________________________________________________
REGISTER DATA
REGISTER
FUNCTION
POWER-UP CONDITION
ADDRESS
CODE (hex)
D7 D6 D5 D4 D3 D2 D1 D0
Keys FIFO Empty 0x00 00000000
Debounce Ports 2–7 are enabled; debounce time is 39ms 0x01 11111111
Autorepeat Autorepeat is disabled 0x02 00000000
Interrupt INT is a port, not an interrupt output 0x03 00000000
Configuration
Shutdown mode: key sound is disabled; alert sound is
disabled; alert INT is disabled; timeout enabled; no
sound output
0x04 00000001
Ports Ports 2–7 and INT are logic-high (high impedance) 0x05 1111111X
Key Sound Key-sound default is 31.25ms of 987.77Hz 0x06 01010001
Alert Sound Key-sound default is 250ms of 2093Hz 0x07 10111011
Table 5. Key-Scan Power-Up Configuration
REGISTER DATA
POWER-UP CONDITION
D7 D6 D5 D4 D3 D2 D1 D0
Sounder output is a general-purpose output, logic 0; queue is empty 0 0 0 0 0 0 0 0
Table 6. Sounder Power-Up Configuration
SAAAP0SLAVE ADDRESS COMMAND BYTE DATA BYTE
N BYTES
AUTOINCREMENT
COMMAND BYTE ADDRESS
D7 D6 D5 D4 D3 D2 D1 D0 D1 D0D3 D2D5 D4D7 D6
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
ACKNOWLEDGE FROM MAX7347/MAX7348/MAX7349
R/W
Figure 9. N Data Bytes Received
X
= Don’t care.

MAX7347ATE+T

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