English
Language : 

TCA8418 Datasheet, PDF (18/37 Pages) Texas Instruments – I2C CONTROLLED KEYPAD SCAN IC WITH INTEGRATED ESD PROTECTION
TCA8418
SCPS215 – SEPTEMBER 2009 ......................................................................................................................................................................................... www.ti.com
UK1[6:0] contains the key number used to unlock key 1
UK2[6:0] contains the key number used to unlock key 2
A ‘0’ in either register means it is disabled. It lasts up to 7 seconds. Needs a second timer up to 31 seconds?
The keypad lock interrupt mask timer generates a first interrupt (K_INT) and then waits for a programmed time
before generating a second interrupt. A second interrupt can only be generated when a timer is enabled due to
an unlock sequence being pressed. The second interrupt is a key lock interrupt. When the interrupt mask timer is
disabled (‘0’), a key lock interrupt will trigger only when the correct and complete unlock sequence is completed.
GPIO Interrupt Status Registers, GPIO_INT_STAT1–3 (Address 0×11–0×13)
These registers are used to check GPIO interrupt status and are cleared on read.
GPIO Data Status Registers, GPIO_DAT_STAT1–3 (Address 0×14–0×16)
These registers show GPIO state when read for inputs and outputs.
GPIO Data Out Registers, GPIO_DAT_OUT1–3 (Address 0×17–0×19)
These registers contain GPIO data to be written to GPIO out driver; inputs are not affected. This is needed so
that the value can be written prior to being set as an output.
GPIO Interrupt Enable Registers, GPIO_INT_EN1–3 (Address 0×1A–0×1C)
These registers enable interrupts for GP inputs only.
Keypad or GPIO Selection Registers, KP_GPIO1–3 (Address 0×1D–0×1F)
A bit value of '0' in any of the unreserved bits puts the corresponding pin in GPIO mode. A '1' in any of these bits
puts the pin in keyscan mode and configured as a row or column accordingly.
GPI Event Mode Registers, GPI_EM1–3 (Address 0×20–0×22)
A bit value of '0' in any of the unreserved bits indicates that it is not part of the event FIFO. A '1' in any of these
bits means it is part of the event FIFO. GPIO Data Direction Registers (GPIO_DIR1-3, Register address of
0x23-0x25) A bit value of '0' in any of the unreserved bits sets the corresponding pin as an input. A '1' in any of
these bits sets the pin as an output. GPIO Edge/Level Detect Registers (GPIO_INT_LVL1-3, Register address of
0x26-0x28) A bit value of '0' indicates that interrupt will be triggered on a high-to-low transition for the inputs in
GPIO mode. A bit value of '1' indicates that interrupt will be triggered on a low-to-high value for the inputs in
GPIO mode.
GPIO Data Direction Registers, GPIO_DIR1–3 (Address 0×23–0×25)
A bit value of '0' in any of the unreserved bits sets the corresponding pin as an input. A '1' in any of these bits
sets the pin as an output. GPIO Edge/Level Detect Registers (GPIO_INT_LVL1-3, Register address of
0x26-0x28) A bit value of '0' indicates that interrupt will be triggered on a high-to-low transition for the inputs in
GPIO mode. A bit value of '1' indicates that interrupt will be triggered on a low-to-high value for the inputs in
GPIO mode.
GPIO Edge/Level Detect Registers, GPIO_INT_LVL1–3 (Address 0×26–0×28)
A bit value of '0' indicates that interrupt will be triggered on a high-to-low transition for the inputs in GPIO mode.
A bit value of '1' indicates that interrupt will be triggered on a low-to-high value for the inputs in GPIO mode.
Debounce Disable Registers, DEBOUNCE_DIS1–3 (Address 0×29–0×2B)
This is for pins configured as inputs. A bit value of ‘0’ in any of the unreserved bits disables the debounce while a
bit value of ‘1’ enables the debounce.
In register DEBOUNCE_DIS3 [7:5] can be used to program the value of the debounce time.
18
Submit Documentation Feedback
Product Folder Link(s): TCA8418
Copyright © 2009, Texas Instruments Incorporated