Electronic Components Datasheet Search
  English  ▼

X  

LP5521 Datasheet(PDF) 25 Page - Texas Instruments

Click here to check the latest version.
Part # LP5521
Description  LP5521 Programmable Three-Channel LED Driver
PDF  48 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI1 [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI1 - Texas Instruments

LP5521 Datasheet(HTML) 25 Page - Texas Instruments

Back Button LP5521 Datasheet HTML 21Page - Texas Instruments LP5521 Datasheet HTML 22Page - Texas Instruments LP5521 Datasheet HTML 23Page - Texas Instruments LP5521 Datasheet HTML 24Page - Texas Instruments LP5521 Datasheet HTML 25Page - Texas Instruments LP5521 Datasheet HTML 26Page - Texas Instruments LP5521 Datasheet HTML 27Page - Texas Instruments LP5521 Datasheet HTML 28Page - Texas Instruments LP5521 Datasheet HTML 29Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 48 page
background image
PWM Control
Value
Current value
Step time = 31.2 ms
1
2
3
4
5
6
7
8
End of 1st Ramp command,
start next command
Steps
1
2
4
3
5
6
7
8
9
10
End of 2nd Ramp command,
start next command
Rising ramp,
Sign = 0
Downward
ramp, Sign = 1
Increment = 4
=> 5 cycles
25
LP5521
www.ti.com
SNVS441H – JANUARY 2007 – REVISED MAY 2016
Product Folder Links: LP5521
Submit Documentation Feedback
Copyright © 2007–2016, Texas Instruments Incorporated
X means do not care whether 1 or 0.
7.5.3.1 RAMP/WAIT
Ramp command generates a PWM ramp starting from current value. At each ramp step the output is
incremented by one. Time for one step is defined with Prescale and Step time bits. Minimum time for one step is
0.49 ms and maximum time is 63 × 15.6 ms = 1 second/step, so it is possible to program very fast and also very
slow ramps. Increment value defines how many steps are taken in one command. Number of actual steps is
Increment + 1. Maximum value is 127d, which corresponds to half of full scale (128 steps). If during ramp
command PWM reaches minimum/maximum (0/255) ramp command is executed to the end, and PWM stays at
minimum/maximum. This enables ramp command to be used as combined ramp and wait command in a single
instruction.
Ramp command can be used as wait instruction when increment is zero.
Setting register 00H bit LOG_EN sets the scale from linear to logarithmic. When LOG_EN = 0 linear scale is
used, and when LOG_EN = 1 logarithmic scale is used. By using logarithmic scale the visual effect of the ramp
command seems linear to the eye.
Table 15. Ramp/Wait Command
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
Pre-
scale
Step time
Sign
Increment
NAME
VALUE(d)
DESCRIPTION
Prescale
0
Divides master clock (32 768Hz) by 16 = 2048 Hz, 0.49 ms cycle time
1
Divides master clock (32 768Hz) by 512 = 64 Hz, 15.6 ms cycle time
Step time
1-63
One ramp increment done in (step time) x (clock after prescale) Note: 0 means Set
PMW command.
Sign
0
Increase PWM output
1
Decrease PWM output
Increment
0-127
The number of steps is Increment + 1. Note: 0 is a wait instruction.
Application example:
For example if following parameters are used for ramp:
Prescale = 1
→ cycle time = 15.6 ms
Step time = 2
→ time = 15.6 ms x 2 = 31.2 ms
Sign = 0
→ rising ramp
Increment = 4
→ 5 cycles
Ramp command will be: 0100 0010 0000 0100b = 4204H
If current PWM value is 3, and the first command is as described above and next command is a ramp with
otherwise same parameters, but with Sign = 1 (Command = 4284H), the result will be like in Figure 25:
Figure 25. Example of 2 Sequential Ramp Commands.



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 43 44 45 46 47 48


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