MAX11041
Wired Remote Controller
R
SENSE
C
SENSE
FORCE
10k
10nF
SENSE
HOLD
SWITCH
WIRED REMOTE CONTROLLER
R
JACK
TO
AUDIO
CIRCUIT
JACK/PLUG
CONNECTION
R
SW0
R
SW1
R
SW30
MAX11041
Figure 2. Recommended FORCE and SENSE Configuration
____________________________________________________________________________________ 7
BITS READ/WRITE POWER-UP STATE DESCRIPTION
C7 R/W 1
0 = FORCE is high-impedance
1 = FORCE is not high-impedance (normal operation)
C6 R/W 0
0 = Normal operation
1 = Power-down state, full reset
C5 R 1
1 = FIFO is empty
0 = FIFO is not empty
C4–C0 Not used Reading/writing has no effect
Table 1. Control Register
FIFO DATA BIT NAMES
Keypress type (MAX11041) K7 K6 K5 K4 K3 K2 K1 K0
Keypress duration OF T6 T5 T4 T3 T2 T1 T0
Table 2. FIFO Data Format
X = Don’t care.
MAX11041
Keypress Detection and Debounce
At power-up, the MAX11041 begins to monitor the
SENSE input for keypresses. When the MAX11041
detects a keypress at SENSE, it attempts to debounce
the SENSE input. After successful debouncing of the
input, the corresponding keypress result is inserted into
the FIFO. In addition, INT goes low to signal a keypress
to the µP.
Keypress FIFO and Time Duration
After detecting and debouncing a key, the decoded
key is stored in one byte of the 8-word FIFO. A 7-bit
internal timer starts counting the duration of the key-
press (one count = 32ms) and the result is stored after
each increment in another byte of the 8-word FIFO. The
8th bit in the time duration byte is an overflow bit that
is set when the count reaches 128. After the count
reaches 128, the 7-bit timer rolls over to 0 and contin-
ues to count while the 8th bit becomes set and stays
set until the associated FIFO entry is cleared. For key-
press durations longer than 8.16s, see the
Extended
Keypresses
section.
When the device detects another change in resistance
at SENSE (either by key release or another keypress),
the count resets and the FIFO begin recording the next
keypress/duration. This allows the 8-word FIFO to store
time duration and key-type information for up to four
keypresses and releases. When the FIFO is full and a
key is pressed, the oldest keypress information in the
FIFO is written over. Writing to the power-down bit (bit
6) in the control register or bringing SHDN low clears
the FIFO to its power-on-reset (POR) state.
Wired Remote Controller
8 _______________________________________________________________________________________
1. DEBOUNCED KEYPRESS STORED IN FIFO AND INT GOES LOW, DURATION
TIMER STARTS.
2. PROCESSOR READS FIFO AND INT GOES HIGH. KEY TYPE AND CURRENT
KEYPRESS DURATION TIME SENT. FIFO IS NOT CLEARED.
3. KEYPRESS RELEASES AND INT GOES LOW. KEY TYPE AND FINAL KEYPRESS
DURATION TIME STORED IN FIFO.
4. PROCESSOR READS THE FIFO AND INT GOES HIGH. KEYPRESS INFORMATION
STORED IN FIFO FROM STEP 3 IS CLEARED.
KEY TYPE
TIME
TIME
V
INT
Figure 3. Reading the FIFO While the Key is Still Pressed
TIME
TIME
V
INT
1. DEBOUNCED KEYPRESS STORED IN FIFO AND INT GOES LOW.
DURATION TIMER STARTS.
2. KEYPRESS RELEASES. KEY TYPE AND KEYPRESS TIME
DURATION INFORMATION STORED IN FIFO.
3. PROCESSOR READS FIFO COMPLETELY AND INT GOES HIGH.
PREVIOUS KEYPRESS INFORMATION CLEARED.
KEY TYPE
Figure 4. Reading the FIFO After the Key is Released
BIT NAMES
CHIP ID
I7 I6 I5 I4 I3 I2 I1 I0
MAX11041 0 0000000
Table 3. Chip ID Data Format
Reading the FIFO While the Key is Still Pressed
When a valid keypress occurs, INT goes low, signaling
to the processor that a key has been pressed (see
Figure 3). If the processor reads the FIFO while the key
is still pressed, the key type and current duration of the
keypress is sent. The current keypress information in
the FIFO is not cleared after a read operation if the key
is still pressed. In addition, after a read operation, if the
key is still pressed, INT goes high again until the device
detects another keypress/release, freeing the proces-
sor from polling. Conversely, if the processor chooses
to poll the duration of the keypress, INT stays high at
this time no matter how many times the processor
reads the FIFO. When INT goes low again (from anoth-
er keypress/release), key type and final time duration of
the keypress is available in the FIFO. When the FIFO is
read after the key release, the information from that
keypress is cleared and INT goes high again.
Reading the FIFO After the Key has Released
When a valid keypress occurs, INT goes low, signaling
to the processor that a key has been pressed (see
Figure 4). If the processor reads the FIFO after the key
has already been released (or an additional key was
pressed), the key type and final duration time of that
keypress is sent. In addition, the information from the
keypress is cleared and INT goes high again.
Digital Serial Interface
The MAX11041 contains an I
2
C-compatible interface for
data communication with a host processor (SCL and
SDA). The interface supports a clock frequency up to
400kHz. SCL and SDA require pullup resistors that are
connected to a positive supply. Figure 5 details the
read and write formats.
Write Format
The only write to the MAX11041 that is possible is to the
control register (C7–C0). Use the following sequence to
write to the control register (see Figure 5):
1) After generating a START condition (S), address the
MAX11041 by sending the appropriate slave
address byte with its corresponding R/W bit set to a
0 (see the
Slave Address and
R/W
Bit
section). The
MAX11041 answers with an ACK bit (see the
Acknowledge Bits
section).
2) Send the appropriate data bytes to program the
control register (C7–C0). The MAX11041 answers
with an ACK bit.
3) Generate a STOP condition (P).
Read Format
To read the control register and key type/duration stored
in FIFO, use the following sequence (see Figure 5):
1) After generating a START condition (S), address the
MAX11041 by sending the appropriate slave
address byte with its corresponding R/W bit set to a
1 (see the
Slave Address and
R/W
Bit
section). The
MAX11041 answers with an ACK bit (see the
Acknowledge Bits
section).
2) The MAX11041 sends the 8-bit chip ID I7–I0.
Afterwards, the master must send an ACK bit.
3) The MAX11041 sends the contents of the control
register (C7–C0) starting with the most significant
bit. Afterwards, the master must send an ACK bit.
MAX11041
Wired Remote Controller
____________________________________________________________________________________ 9
START
ADDRESS
BYTE 0
ACK STOP
5 BITS 0
ACK
START
ADDRESS
BYTE 0
R/W
ACK
STOP
1
CHIP ID
BYTE 1
I7–I0
ACK
CONTROL
REG DATA
BYTE 2
ACK
KEY TYPE
BYTE 3
ACK
KEY
DURATION
BYTE 4
ACK
S PAAA1 A0
5 BITS A1 A0S A A A A A P
READ FORMAT
C7–C0 K7–K0 OF, T6–T0
R/W
CONTROL
REG DATA
BYTE 1
C7–C0
WRITE FORMAT
SLAVE TO MASTER
MASTER TO SLAVE
Figure 5. Read/Write Formats

MAX11041ETC+

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

Products related to this Datasheet