Electronic Components Datasheet Search
  English  ▼

X  

LM8322 Datasheet(PDF) 27 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # LM8322
Description  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
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

LM8322 Datasheet(HTML) 27 Page - National Semiconductor (TI)

Back Button LM8322 Datasheet HTML 23Page - National Semiconductor (TI) LM8322 Datasheet HTML 24Page - National Semiconductor (TI) LM8322 Datasheet HTML 25Page - National Semiconductor (TI) LM8322 Datasheet HTML 26Page - National Semiconductor (TI) LM8322 Datasheet HTML 27Page - National Semiconductor (TI) LM8322 Datasheet HTML 28Page - National Semiconductor (TI) LM8322 Datasheet HTML 29Page - National Semiconductor (TI) LM8322 Datasheet HTML 30Page - National Semiconductor (TI) LM8322 Datasheet HTML 31Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 42 page
background image
16.7 INTERRUPT CODE
The interrupt code is read and acknowledged with the
READ_INT command (0x82). This command clears the code
and deasserts the IRQ output. Table 13 shows the format of
the interrupt code.
TABLE 13. Interrupt Code
7
6
5
4
3
2
1
0
PWM2END
PWM1END
PWM0END
NOINIT
ERROR
0
0
KEYPAD
Bit
Description
PWM2END
An END script command was executed by PWM channel 2.
PWM1END
An END script command was executed by PWM channel 1.
PWM0END
An END script command was executed by PWM channel 0.
NOINIT
The LM8322 is waiting for an initialization sequence.
ERROR
An error condition occurred.
KEYPAD
A key-press or key-release event occurred.
16.8 ERROR CODE
If the LM8322 reports an error, the READ_ERROR command
(0x8C) is used to read the error code. This command clears
the error code. Table 14 shows the format of the error code.
TABLE 14. Error Code
7
6
5
4
3
2
1
0
0
FIFOOVR
0
0
0
KEYOVR
CMDUNK
BADPAR
Bit
Description
FIFOOVER
Event occurred while the FIFO was full.
KEYOVR
More than two keys were pressed simultaneously.
CMDUNK
Not a valid command.
BADPAR
Bad command parameter.
16.9 WAKE-UP FROM HALT MODE
Any bus transaction initiated by the host may encounter the
LM8322 device in Halt mode or busy with processing data,
such as controlling the FIFO buffer or executing interrupt ser-
vice routines.
Figure 18 shows the case in which the host sends a command
while the LM8322 is in Halt mode (Internal execution clock is
stopped). Any activity on the ACCESS.bus wakes up the
LM8322, but it cannot acknowledge the first bus cycle imme-
diately after wake-up.
The host drives a Start condition followed by seven address
bits and a R/W bit. The host then releases SDA for one clock
period, so that it can be driven by the LM8322.
If the LM8322 does not drive SDA low during the high phase
of the clock period immediately after the R/W bit, the bus cycle
terminates without being acknowledged (shown as NACK in
Figure 18). The host then aborts the transaction by sending
a Stop condition. After aborting the bus cycle, the host may
then retry the bus cycle. On the second attempt, the LM8322
will be able to acknowledge the slave address, because it will
be in Active mode.
Alternatively, the I2C specification allows sending a START
byte (00000001), which will not be acknowledged by any de-
vice. This byte can be used to wake up the LM8322 from Halt
mode. The LM8322 may also stall the bus transaction by
pulling the SCL low, which is a valid behavior defined by the
I2C specification.
30013618
FIGURE 18. LM8322 Responds with NACK, Host Retries Command
27
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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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