Electronic Components Datasheet Search
  English  ▼

X  

LM8322 Datasheet(PDF) 20 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) 20 Page - National Semiconductor (TI)

Back Button LM8322 Datasheet HTML 16Page - National Semiconductor (TI) LM8322 Datasheet HTML 17Page - National Semiconductor (TI) LM8322 Datasheet HTML 18Page - National Semiconductor (TI) LM8322 Datasheet HTML 19Page - National Semiconductor (TI) LM8322 Datasheet HTML 20Page - National Semiconductor (TI) LM8322 Datasheet HTML 21Page - National Semiconductor (TI) LM8322 Datasheet HTML 22Page - National Semiconductor (TI) LM8322 Datasheet HTML 23Page - National Semiconductor (TI) LM8322 Datasheet HTML 24Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 42 page
background image
14.4 RAMP COMMAND
The RAMP command generates a duty-cycle ramp starting
from the current value. At each step, the ramp counter is in-
cremented or decremented by one, unless it has reached its
its saturation value (0xFF for increment, or 0x00 for decre-
ment). The time for one step is controlled by the PRESCALE
bit and STEPTIME field. The minimum time for one step is
0.49 milliseconds. and the maximum time is about 1 second,
which supports both very fast and very slow ramps. The IN-
CREMENT field specifies the number of steps to be executed
by the command. The maximum value is 126, which corre-
sponds to half of full scale.
There are two special cases in the instruction encoding. If all
bits and fields are 0, it is interpreted as the GO TO START
command. If the STEPTIME field is 0 but any other bit or field
is non-zero, it is interpreted as the SET_PWM command.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
PRESCALE
STEPTIME
SIGN
INCREMENT
Bit or Field
Value
Description
PRESCALE
0
Divide the 32.768 kHz clock by 16
1
Divide the 32.768 kHz clock by 512
STEPTIME
1–63
Number of prescaled clock cycles per step
SIGN
0
Increment ramp counter
1
Decrement ramp counter
INCREMENT
1–126
Number of steps executed by this instruction
14.5 SET_PWM COMMAND
The SET_PWM command loads the ramp counter from the
8-bit DUTYCYCLE field in the instruction.
Please note: Only 0x00 and 0xFF are valid values for the duty
cycle in SET_PWM command. Other values can be estab-
lished by initializing the duty cycle to either 100% or 0%
followed by a RAMP command.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
0
0
0
0
0
0
DUTYCYCLE
Bit or Field
Value
Description
DUTYCYCLE
0
Duty cycle is 0%.
255
Duty cycle is 100%.
14.6 GO_TO_START COMMAND
The GO_TO_START command jumps to the first command
in the script command file.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
14.7 BRANCH COMMAND
The BRANCH command jumps to the specified command in
the script command file, with the option of looping for a spec-
ified number of repetitions. Nested loops are not allowed.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
0
1
LOOPCOUNT
0
ADDRESS
Field
Value
Description
LOOPCOUNT
0
Loop until a STOP PWM SCRIPT command is issued by the host.
1–63
Number of repetitions to perform, biased by -1. The range is 0–62 repetitions.
ADDRESS
0–59
Branch destination address in the script command file. If this field is greater than 59, no
looping will be performed.
www.national.com
20



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