Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

LM8322 Datenblatt(PDF) 13 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Teilenummer LM8322
Bauteilbeschribung  Mobile I/O Companion Supporting Key-Scan, I/O Expansion, PWM, and ACCESS.bus Host Interface
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

LM8322 Datenblatt(HTML) 13 Page - National Semiconductor (TI)

Back Button LM8322 Datasheet HTML 9Page - National Semiconductor (TI) LM8322 Datasheet HTML 10Page - National Semiconductor (TI) LM8322 Datasheet HTML 11Page - National Semiconductor (TI) LM8322 Datasheet HTML 12Page - National Semiconductor (TI) LM8322 Datasheet HTML 13Page - National Semiconductor (TI) LM8322 Datasheet HTML 14Page - National Semiconductor (TI) LM8322 Datasheet HTML 15Page - National Semiconductor (TI) LM8322 Datasheet HTML 16Page - National Semiconductor (TI) LM8322 Datasheet HTML 17Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 42 page
background image
10.7 INITIALIZATION EXAMPLE
In the following example, the LM8322 is configured as:
Keypad matrix configuration is 8 × 4.
GPIO_03 through GPIO_07 are available to use as GPIO
pins.
GPIO_03 is an output driven low.
GPIO_4 and GPIO_5 are outputs driven high.
GPIO_06 and GPIO_07 are inputs with weak pulldowns.
GPIO_14 and GPIO_15 are inputs with weak pullups.
The PWM clock source is the internal execution clock
divided by 64 (about 32 kHz).
Most of these settings can be verified by executing com-
mands
such
as
READ_CONF,
READ_PORT_SEL,
READ_CLOCK, etc.
ALL
GPIO
pin
states
can
be
read
using
the
READ_PORT_STATE command, without regard to whether
the pin is an input or an output.
An open-drain signal can be created by alternating between
input mode and driving the output low.
All GPIO s can sink and source 16 mA when configured as
an output.
Command
Encoding Parameter 1 Parameter 2
Description
WRITE_CFG
0x81
0x40
Selects 36-pin package and disables the two digital
multiplexers.
WRITE_CLK
0x93
0x08
SLOWCLKOUT disabled, no external 32.768 kHz clock
required, PWM clock source is internal.
SET_KEY_SIZE
0x90
0x84
Selects a keypad matrix size of 8 × 4.
SET_ACTIVE
0x8B
0x4B
Sets the active time to about 300 milliseconds (75 × 4
milliseconds).
SET_DEBOUNCE
0x8F
0x03
Sets the key debouncing time to about 12 milliseconds
(3 × 4 ms). This is actually the default and would not have
to be performed.
WRITE_PORT_SEL
0x85
0x00
0x38
Configure GPIO_03, GPIO_04, and GPIO_05 as
outputs. Configure GPIO_06, GPIO_07, GPIO_14, and
GPIO_15 as inputs.
WRITE_PULL_DOWN
0x84
0x00
0x3F
Set the direction for the pullup/pulldown devices on
GPIO_06 and GPIO_07 to pulldown. Set the direction for
the pullup/pulldown devices on GPIO_14 and GPIO_15
to pullup.
WRITE_PORT_STATE
0x86
0xC0
0xF0
Set GPIO_04 and GPIO_05 to drive high. Enable the
pullups on GPIO_06, GPIO_07, GPIO_14, and
GPIO_15.
11.0 Halt Mode
The fully static architecture of the LM8322 allows stopping the
internal RC clock in Halt mode, which reduces power con-
sumption to the minimum level. Figure 6 shows the current in
Halt mode at the maximum V
CC (1.98V) from 25°C to +85°C.
30013606
FIGURE 6. Halt Current vs. Temperature at 1.98V
Halt mode is entered when no key-press event, key-release
event, or ACCESS.bus activity is detected for a certain period
of time (by default, 500 milliseconds). The mechanism for en-
tering Halt mode is always enabled in hardware, but the host
can program the period of inactivity which triggers entry into
Halt mode.
11.1 ACCESS.bus ACTIVITY
When the LM8322 is in Halt mode, any activity on the
ACCESS.bus interface will cause the LM8322 to exit from
Halt mode. However, the LM8322 will not be able to acknowl-
edge the first bus cycle immediately following wake-up from
Halt mode. It will respond with a negative acknowledgement,
and the host should then repeat the cycle.
The LM8322 will be prevented from entering Halt mode if it
shares the bus with peripherals that are continuously active.
For lowest power consumption, the LM8322 should only
share the bus with peripherals that require little or no bus ac-
tivity after system initialization.
13
www.national.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com