| Electronic Components Datasheet Search |
|
LP5523 Datasheet(PDF) 41 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LP5523 Datasheet(HTML) 41 Page - Texas Instruments |
|
41 / 61 page ![]() 41 LP5523 www.ti.com SNVS550E – SEPTEMBER 2009 – REVISED JANUARY 2017 Product Folder Links: LP5523 Submit Documentation Feedback Copyright © 2009–2017, Texas Instruments Incorporated (1) This opcode is used with numerical operands. (2) This opcode is used with variables. (3) X means do not care. Table 6. LP5523 Branch 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] rst 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 branch(1) 1 0 1 loop count step number branch(2) 1 0 0 0 0 1 1 step number loop count int 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 end 1 1 0 int reset 0 0 0 0 0 0 0 0 0 0 0 trigger 1 1 1 wait for trigger send a trigger 0 ext. trig X(3) X(3) E3 E2 E1 ext. trig X(3) X(3) E3 E2 E1 jne 1 0 0 0 1 0 0 Number of instructions to be skipped if the operation returns true variable 1 variable 2 jl 1 0 0 0 1 0 1 Number of instructions to be skipped if the operation returns true variable 1 variable 2 jge 1 0 0 0 1 1 0 Number of instructions to be skipped if the operation returns true variable 1 variable 2 je 1 0 0 0 1 1 1 Number of instructions to be skipped if the operation returns true variable 1 variable 2 (1) This opcode is used with numerical operands. (2) This opcode is used with variables. Table 7. LP5523 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 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 LP5523 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. |
|
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 |
| 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 |