Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits

M4640-19 View Datasheet(PDF) - Conexant Systems

Part NameDescriptionManufacturer
M4640-19 Baseband Processor for GSM Applications Conexant
Conexant Systems Conexant
M4640-19 Datasheet PDF : 47 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
M46
Baseband Processor
Table 14. GPIO Alternate Functions
GPIO Signal
A0
A1
A2
A3
A4
A5
A6
A7
B0
B1
B2
B3
B4
B5
I/O Select Bit = 1
KPDRTN[4]
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
GPIO Signal
B6
B7
C0
C1
C2
C3
C4
C5
C6
C7
D0
D1
D2
I/O Select Bit = 1
N/A
N/A
SIM_5V_3V
SIM_ENABLE
SIM_RW
SIM_RESET
BUZZER
DEBUG_TX
DEBUG_RX
N/A
CS2
CS3
CS4
Keypad Interface
The keypad interface consists of eight strobe lines and four
return lines. This allows for a keypad matrix of up to 32 keys.
The strobe lines are GPIO type signals and the return lines are
dedicated signals. Unused strobe lines can be used as extra
GPIO signals if required. If a keypad matrix of more than 32
keys is required, one of the GPIO signals (GPIO Port A[0]) can
be configured as a return line to give a total matrix of 40 keys.
The GPIO is configured as a keypad return line by setting the
Port A[0] I/O select bit to “1” (refer to the GPIO section of this
Data Sheet for more information).
Figure 7 illustrates a typical keypad interface circuit. The strobe
lines are output from the BP and connected to the keypad
columns. The return lines are input to the BP and connected to
the keypad rows.
Keypad Scan _______________________________________
Once every frame (4.6 ms) the BP drives one of the strobe lines
low and all of the others high. If a key connected to the strobe
line that is driven low is pressed during this time, the return line
that is also connected to this key will be pulled low. This triggers
an interrupt to the microcontroller to indicate that a key has been
pressed. Since the microcontroller knows which strobe line it is
driving low and which return line has been driven low by the
keypress, it can uniquely identify the key pressed.
A complete scan of the entire keypad requires 4.6 ms multiplied
by the number of strobe lines:
Complete keyboard scan time = 4.6 ms × 8 = 36.8 ms
Key debounce is performed by the software.
Keypad Registers ___________________________________
There are three keypad registers used to configure and monitor
the keypad interface: the Keypad I/O Configuration Register,
Keypad Strobe Register, and the Keypad Return Lines Register.
The address and default values for the keypad registers are
specified in Table 2.
Keypad I/O Configuration Register. The Keypad I/O
Configuration Register is used to set up the strobe lines as
either inputs or outputs. Each of the strobe lines has a related
bit that sets the direction of the pin. If the bit is set to “0,” the pin
is configured as an output. If the bit is set to “1.” the pin is
configured as an input. There is a one-to-one mapping between
the bits and the keypad strobes (i.e., bit [0] configures keypad
strobe 0, bit[1] configures keypad strobe [1], etc.).
The default value of this is 0xFF, which configures all the
keypad strobes as outputs from the BP.
24
June 14, 2000
Conexant
Proprietary Information and Specifications are Subject to Change
100779C
Direct download click here

 

Share Link : 
All Rights Reserved© datasheetq.com 2015 - 2020  ] [ Privacy Policy ] [ Request Datasheet  ] [ Contact Us ]