数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

LP55231 数据表(PDF) 39 Page - Texas Instruments

部件名 LP55231
功能描述  LP55231 Nine-Channel RGB, White-LED Driver With Internal Program Memory and Integrated Charge Pump - WQFN
PDF  59 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  TI2 [Texas Instruments]
网页  https://www.ti.com
标志 TI2 - Texas Instruments

LP55231 数据表(HTML) 39 Page - Texas Instruments

Back Button LP55231 Datasheet HTML 35Page - Texas Instruments LP55231 Datasheet HTML 36Page - Texas Instruments LP55231 Datasheet HTML 37Page - Texas Instruments LP55231 Datasheet HTML 38Page - Texas Instruments LP55231 Datasheet HTML 39Page - Texas Instruments LP55231 Datasheet HTML 40Page - Texas Instruments LP55231 Datasheet HTML 41Page - Texas Instruments LP55231 Datasheet HTML 42Page - Texas Instruments LP55231 Datasheet HTML 43Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 59 page
background image
39
LP55231
www.ti.com
SNOSCR5D – MARCH 2013 – REVISED DECEMBER 2016
Product Folder Links: LP55231
Submit Documentation Feedback
Copyright © 2013–2016, Texas Instruments Incorporated
(1)
This opcode is used with numerical operands.
(2)
This opcode is used with variables.
Table 7. LP55231 Data Transfer and Arithmetic Instructions
Inst.
Bit
[15]
Bit
[14]
Bit
[13]
Bit
[12]
Bit
[11]
Bit
[10]
Bit
[9]
Bit [8]
Bit
[7]
Bit [6]
Bit [5]
Bit
[4]
Bit [3] Bit [2]
Bit [1] Bit [0]
ld
1
0
0
1
target
variable
0
0
8-bit value
add(1)
1
0
0
1
target
variable
0
1
8-bit value
add(2)
1
0
0
1
target
variable
1
1
0
0
0
0
variable
1
variable
2
sub(1)
1
0
0
1
target
variable
1
0
8-bit value
sub(2)
1
0
0
1
target
variable
1
1
0
0
0
1
variable
1
variable
2
(1)
Valid for numerical operands.
7.6.4 LED Driver Instructions
7.6.4.1 Ramp
This is the instruction useful for smoothly changing from one PWM value into another PWM value on the D1 to
D9 outputs; in other words, generating ramps (with a negative or positive slope). The LP55231 allows
programming very fast and very slow ramps.
Ramp instruction generates a PWM ramp, using the effective PWM value as a starting value. At each ramp step
the output is incremented/decremented by one unit, unless the number of increments is 0. Time span for one
ramp step is defined with prescale bit [14] and step time bits [13:9]. Prescale = 0 sets 0.49 ms cycle time and
prescale = 1 sets 15.6 ms cycle time; so the minimum time span for one step is 0.49 ms (prescale × step time
span = 0.49 ms × 1) and the maximum time span is 15.6 ms × 31 = 484 ms/step.
Number of increments value defines how many steps are taken during one ramp instruction; increment maximum
value is 255d, which corresponds increment from zero value to the maximum value. If PWM reaches
minimum/maximum value (0/255) during the ramp instruction, ramp instruction is executed to the end regardless
of saturation. This enables ramp instruction to be used as a combined ramp and wait instruction. Note: Ramp
instruction is wait instruction when the increment bits [7:0] are set to zero.
Programming ramps with variables is very similar to programming ramps with numerical operands. The only
difference is that step time and number of increments are captured from variable registers, when the instruction
execution is started. If the variables are updated after starting the instruction execution, it has no effect on
instruction execution. Again, at each ramp step the output is incremented/decremented by one unless increment
is 0. Time span for one step is defined with prescale and step time bits. Step time is defined with variable A, B, C
or D. Variables A, B and C are set with ld-instruction. Variable D is a global variable and can be set by writing the
VARIABLE register (address 3C). LED TEST ADC register (address 42) can be used as a source for the variable
D, as well. Note: Variable A is the only local variable which can be read throughout the serial bus. Of course, the
variable stored in 3CH can be read (and written), too.
Setting register 06H, 07H, or 08H bit LOG_EN high/low sets logarithmic (1) or linear ramp (0). By using the
logarithmic ramp setting the visual effect appears like a linear ramp, because the human eye behaves in a
logarithmic way.
Table 8. Ramp Instructions
NAME
VALUE (d)
DESCRIPTION
prescale
0
Divides master clock (32.7 kHz) by 16 = 2048 Hz -> 0.488 ms cycle time
1
Divides master clock (32.7 kHz) by 512 = 64 Hz -> 15.625 ms cycle time
sign
0
Increase PWM output
1
Decrease PWM output
step time(1)
1 - 31
One ramp increment done in (step time) x (prescale).



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 49 50 51 52 53 54 55 56 57 58 59


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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