MAX7365 Maxim, MAX7365 Datasheet

no-image

MAX7365

Manufacturer Part Number
MAX7365
Description
The MAX7365 is an I²C-interfaced peripheral that provides microprocessors with management of up to 56 key switches
Manufacturer
Maxim
Datasheet
The MAX7365 is an I
vides microprocessors with management of up to 56 key
switches.
Key codes generated for each keypress and release
enable easier implementation of multiple key entries. Key
inputs monitored statically, not dynamically, ensure low-
EMI operation. The switches can be metallic or resistive
(carbon) with up to 5kI of resistance.
The device features autosleep and autowake to further
minimize the power consumption of the device. The
autosleep feature puts the device in a low-power state
(1FA typ) after a programmable sleep timeout period.
The autowake feature configures the device to return to
normal operating mode from sleep upon a keypress.
The key controller debounces and maintains a FIFO of key-
press and release events (including autorepeat, if enabled).
An interrupt (INT) output can be configured to alert key-
presses either as they occur or at the maximum rate.
Unused key switches can be used as GPI. In addition,
there are five additional general-purpose input/output
(GPIO) ports. GPOs can be programmed as push-pull
or open-drain to high- or low-side output drivers. When
programmed as open drain, an optional on-chip 100kI
pullup/pulldown resister can be enabled.
The device is available in a small (2mm x 2mm) 25-bump
wafer-level package (WLP) for cell phones, pocket PCs,
and other portable consumer electronic applications.
The device operates over the -40NC to +85NC extended
temperature range.
Ordering Information
For related parts and recommended products to use with this part,
refer to www.maxim-ic.com/MAX7365.related.
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Netbooks
Cell Phones
PDAs
Handheld Games
Portable Consumer Electronics
����������������������������������������������������������������� Maxim Integrated Products 1
appears at end of data sheet.
2
C-interfaced peripheral that pro-
General Description
Key-Switch Controller with GPIO Ports
Applications
1MHz I
S Reduce Processor Load
S Increased Battery Life
S Save Board Space
S Flexible Design Requirements
 Monitor Up to 56 Keys
 FIFO Queues Up to 16 Debounced Key Events
 Hardware Interrupt at the FIFO Level or at the
 Autosleep and Autowake Minimize Current
 Less Than 1µA Sleep Current
 Small (2mm x 2mm) and Low-Profile 25-Bump
 1.62V to 3.6V Operation
 Proprietary Ghost-Key Detection and Removal
 Key Debounce Time User Configurable from
 Low-EMI Design Uses Static Matrix Monitoring
 Five Additional GPIO Ports
 All Key Switches Can Be Used as GPIs
 1Mbps, 5.5V Tolerant, Two-Wire Serial Interface
 Selectable Two-Wire, Serial-Bus Timeout
End-of-Definable Time Period
Consumption
WLP
1ms to 31ms
MCU
2
C-Interfaced 8 x 7
Typical Operating Circuit
INT
SDA
SCL
Benefits and Features
MAX7365
+1.8V
GND
V
DD
GPIO[0:4]
ROW[0:7]
COL[0:6]
MAX7365
5
8
7
19-6036; Rev 0; 9/11
I/O
56 KEYS

Related parts for MAX7365

MAX7365 Summary of contents

Page 1

... Key-Switch Controller with GPIO Ports General Description The MAX7365 C-interfaced peripheral that pro- vides microprocessors with management key switches. Key codes generated for each keypress and release enable easier implementation of multiple key entries. Key inputs monitored statically, not dynamically, ensure low- EMI operation ...

Page 2

... KEY N keys pressed simultaneously (Note Input voltage = 6mA SINK V = 1.8V and I = 5mA DD SINK 1.8V and I = 10mA DD SINK MAX7365 2 C-Interfaced +70NC 3.3V +25NC.) (Notes MIN TYP 1. 0 GND 40 80 ...

Page 3

... F t (Notes (Notes (Notes TIMEOUT = +25NC. Specifications over temperature are guaranteed by design GND and t measured between 0.8V and 2.1V and t R MAX7365 2 C-Interfaced 3.3V +25NC.) (Notes MIN TYP 5mA 0.1 0. ...

Page 4

... Typical Operating Characteristics T = +25° -40° +25° -40° -40°C A 2.6 3.1 3.6 MAX7365 2 C-Interfaced GPO OUTPUT LOW VOLTAGE vs. SINK CURRENT (GPIO4–GPIO0 3. LOW-SIDE OPEN-DRAIN MODE +85° +25° -40° ...

Page 5

... Maxim Integrated Products 5 1MHz I TOP VIEW MAX7365 ROW7 COL2 COL3 A ROW6 B ROW4 ROW5 COL1 COL6 ROW3 COL0 GPIO0 C ROW2 V SDA GPIO4 D ROW1 DD INT SCL GPIO3 E ROW0 WLP FUNCTION MAX7365 2 C-Interfaced Pin Configuration 5 COL4 COL5 GND GPIO1 GPIO2 Pin Description ...

Page 6

... GPIO LOGIC COLUMN ENABLE CURRENT DETECT GPI ENABLE GPI INPUT KEY- SCAN CONTROL LOGIC ROW ENABLE ROW DETECT GPI ENABLE GPI INPUT POR MAX7365 2 C-Interfaced Pin Description (continued) Functional Diagram GPIO0 GPIO1 GPIO2 GPIO3 GPIO4 COL0 COL1 CURRENT COL2 SOURCE ...

Page 7

... Key-Switch Controller with GPIO Ports Detailed Description The MAX7365 is a microprocessor peripheral low-noise, key-switch controller that monitors key switches with optional autorepeat. Key events are presented in a 16-byte FIFO. Key-switch functionality can be traded to provide logic inputs. The device features an addi- tional five GPIOs ...

Page 8

... FIFO, except when a special key code occurs. D6 indicates if a keypress or release event has occurred. Reading the keyscan FIFO clears the interrupt (INT), depending on the setting of bit D5 in the configuration register (0x01). MAX7365 2 C-Interfaced DESCRIPTION 2 C timeout interrupt enable, operating ...

Page 9

... The FIFOs are only cleared when the device is changing state from shutdown to operating mode. In sleep mode, the internal oscillator is disabled and the timeout features are disabled. MAX7365 C-Interfaced 10). Bits D[6:4] specify the autorepeat rate Autosleep Register (0x06) Key-Switch Array Size Register (0x30) Key-Switch Autosleep Mode ...

Page 10

... MAX7365 2 C-Interfaced GPIO Direction Register (0x31) (Table 13). Set the corresponding bit to GPO Output Mode Register (0x32) (Table GPIs LSB, MSB Port Value Registers (0x33, 0x34) (Read Only) (Table 15 and ...

Page 11

... INT. If multiple sources generate (Table 21 for the interrupt, all the related status registers must be read Table 23 for to clear INT. MAX7365 2 C-Interfaced Table 24). Set the bit to logic 0 for GPO Pullup/Pulldown Resister Enable Register GPIO Global Configuration Register (0x40) (Table 26) ...

Page 12

... SDA from low to high while SCL is high. The bus is then free for another transmission. t SU, DAT t SU, STA t HD, DAT t HIGH t F REPEATED START CONDITION MAX7365 2 C-Interfaced sent by a master, followed by the device’s 7-bit START and STOP Condition BUF t ...

Page 13

... This feature can be enabled or dis- Slave Addresses abled under user control by writing to the Configuration register. In sleep mode, the internal oscillator is disabled, thus the bus timeout feature is not active. CHANGE OF DATA DATA VALID ALLOWED 1 2 MAX7365 2 C-Interfaced Bus Timeout CLOCK PULSE FOR ACKNOWLEDGE 8 9 ...

Page 14

... A COMMAND BYTE MAX7365 2 C-Interfaced Message Format for Reading the Keyscan Controller (Figure (Figure 7, Table 5 COMMAND BYTE A P ACKNOWLEDGE FROM MAX7365 ACKNOWLEDGE FROM MAX7365 DATA BYTE 1 BYTE ACKNOWLEDGE FROM MAX7365 DATA BYTE ...

Page 15

... Reset from Figure 8. Ghost-Key Phenomenon AUTOINCREMENT ADDRESS (hex) 0x00 0x00 Addr + 0x01 Addr + 0x01 Figure 9. Valid Three-Key Combinations MAX7365 2 C-Interfaced (Figure 8). Because the key 9). There is no limit on the number of keys REGULAR KEYPRESS EVENT GHOST-KEY EVENT KEY-SWITCH MATRIX EXAMPLES OF VALID THREE-KEY COMBINATIONS ...

Page 16

... KEYS FIFO REGISTER DATA D7 D6 FIFO not-empty Key-release flag flag MAX7365 2 C-Interfaced Hot Insertion Power-Supply Considerations ) to GND with a DD Register Tables Key number/Key event ...

Page 17

... Disable keypress wakeup. 1 Enable keypress wakeup timeout enabled timeout disabled. MAX7365 2 C-Interfaced FUNCTION 2 C write to this bit write, autosleep, and autowake can all change this bit. This bit can be read back any time for current status ...

Page 18

... MAX7365 2 C-Interfaced PRESS DEBOUNCE TIME ...

Page 19

... FIFO-BASED INT Not all zero MAX7365 TIME-BASED INT Not all zero ...

Page 20

... REGISTER DATA RESERVED MAX7365 AUTOREPEAT DELAY Autorepeat delay ...

Page 21

... Set as input pin 1 Set as output pin 0 Set as input pin 1 Set as output pin 0 Set as input pin 1 Set as output pin 0 Set as input pin 1 Set as output pin 0 Set as input pin 1 Set as output pin MAX7365 C-Interfaced REGISTER DATA COLUMNS ...

Page 22

... Input value is low 1 Input value is high 0 Input value is low 1 Input value is high 0 Input value is low 1 Input value is high 0 Input value is low 1 Input value is high 0 Input value is low 1 Input value is high MAX7365 C-Interfaced DEFAULT VALUE 000 DEFAULT VALUE ...

Page 23

... Set output logic-low W 1 Set output logic-high 0 Set output logic-low W 1 Set output logic-high 0 Set output logic-low W 1 Set output logic-high 0 Set output logic-low W 1 Set output logic-high MAX7365 2 C-Interfaced DEFAULT VALUE FUNCTION DEFAULT VALUE 000 — ...

Page 24

... Interrupt is unmasked 1 Interrupt is masked 0 Interrupt is unmasked 1 Interrupt is masked 0 Interrupt is unmasked 1 Interrupt is masked 0 Interrupt is unmasked 1 Interrupt is masked 0 Interrupt is unmasked 1 Interrupt is masked 0 Interrupt is unmasked 1 Interrupt is masked 0 Interrupt is unmasked 1 Interrupt is masked MAX7365 C-Interfaced DEFAULT VALUE 000 DEFAULT VALUE ...

Page 25

... Rising and falling edge-triggered interrupts 0 Rising edge-triggered interrupts 1 Rising and falling edge-triggered interrupts 0 Rising edge-triggered interrupts 1 Rising and falling edge-triggered interrupts 0 Rising edge-triggered interrupts 1 Rising and falling edge-triggered interrupts MAX7365 C-Interfaced DEFAULT VALUE DEFAULT VALUE 000 ...

Page 26

... Rising and falling edge-triggered interrupts 0 Rising edge-triggered interrupts 1 Rising and falling edge-triggered interrupts 0 Rising edge-triggered interrupts 1 Rising and falling edge-triggered interrupts 0 Rising edge-triggered interrupts 1 Rising and falling edge-triggered interrupts MAX7365 C-Interfaced DEFAULT VALUE DEFAULT VALUE ...

Page 27

... Disable internal pullup/pulldown Enable internal pullup/pulldown for open- 1 drain output 0 Disable internal pullup/pulldown Enable internal pullup/pulldown for open- 1 drain output 0 Disable internal pullup/pulldown Enable internal pullup/pulldown for open- 1 drain output MAX7365 C-Interfaced DEFAULT VALUE 000 DEFAULT VALUE 000 ...

Page 28

... C timeout has occurred since last read or POR timeout has occurred since last read or POR. This bit is reset to zero when a read is performed on this register timeouts must be enabled for this function to work (Table 26). MAX7365 2 C-Interfaced FUNCTION 2 C REGISTER DATA D4 D3 ...

Page 29

... COL0 ROW7 KEY 4 KEY 12 ROW6 KEY 3 KEY 11 ROW5 ROW4 KEY 2 KEY 10 ROW3 ROW2 KEY 1 KEY 9 ROW1 ROW0 KEY 0 KEY 8 MAX7365 2 C-Interfaced Typical Application Circuit KEY 23 KEY 31 KEY 39 KEY 47 KEY 22 KEY 30 KEY 38 KEY 46 KEY 21 KEY 29 KEY 37 KEY 45 KEY 20 KEY 28 KEY 36 KEY 44 ...

Page 30

... RoHS status only. 74 Package drawings may show a different suffix character, but 76 the drawing pertains to the package regardless of RoHS status. PACKAGE TYPE 25 WLP MAX7365 2 C-Interfaced Chip Information Package Information PACKAGE OUTLINE LAND PATTERN NO. ...

Page 31

... Characteristics table are guaranteed. Other parametric values quoted in this data sheet are provided for guidance. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 2011 Maxim Integrated Products © 2 1MHz I C-Interfaced DESCRIPTION Maxim is a registered trademark of Maxim Integrated Products, Inc. MAX7365 Revision History PAGES CHANGED — 31 ...

Related keywords