| 数据搜索系统,热门电子元器件搜索 |
|
LP5569RTWRG4 数据表(PDF) 30 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LP5569RTWRG4 数据表(HTML) 30 Page - Texas Instruments |
|
30 / 93 page ![]() 30 LP5569 SNVSAP8A – JULY 2017 – REVISED SEPTEMBER 2017 www.ti.com Product Folder Links: LP5569 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated (1) Valid for numerical operands (2) Valid for variables 8.5.2.4.3 Set_PWM This instruction is used for setting the PWM value on outputs LED0 to LED8 without any ramps. Set the PWM output value from 0 to 255 with PWM value bits [7:0]. Instruction execution takes 16 32-kHz clock cycles (= 488 µs). NAME VALUE (d) DESCRIPTION PWM value(1) 0–255 PWM output duty cycle 0–100% variable(2) 0–3 0 = local variable A 1 = local variable B 2 = global variable C 3 = global variable D 8.5.2.4.4 Wait When a wait instruction is executed, the engine is set in wait status, and the PWM values on the outputs are frozen. Note: A wait instruction with prescale and time = 0 is invalid and is executed as rst. NAME VALUE (d) DESCRIPTION prescale 0 Divide master clock (32.7 kHz) by 16 which means 0.488 ms cycle time. 1 Divide master clock (32.7 kHz) by 512 which means 15.625 ms cycle time. time 1–31 Total wait time is = (time) × (prescale). Maximum 484 ms, minimum 0.488 ms. 8.5.2.5 LED Mapping Instructions These instructions define the engine-to-LED mapping. The mapping information is stored in a table, which is stored in the lower half of SRAM (program memory of the LP5569 device). The LP5569 device has three program execution engines which can be mapped to nine LED drivers. One engine can control one or multiple LED drivers. Execution engine 1 has priority over execution engines 2 and 3, with execution engine 2 having priority over execution engine 3. If an LED is mapped to more than one execution engine, the higher-priority engine controls the LED. LED mapping instructions can be divided to two groups: • Instructions that activate LED mapping to a certain row of the table (map_ instructions). • Instructions that DO NOT activate the actual LED mapping but just shift the mapping-table pointer (load_ instructions). Activating instructions are map_start, map_sel, map_clr, map_next, map_prev and map_addr. Instructions load_start, load_end, load_next, load_prev and load_addr do not activate the LED mapping. Mapping table and master fader bits can be read from I2C registers 70h–75h but are written only via engine instructions. When an engine is actively mapped to the LEDs, the engine takes over the LED PWM control, and PWM control registers have no effect. Register control is returned when the engine is mapped to another LED. See Figure 26 for a simplified diagram of LED-engine data flow. The engine does not push a new PWM value to the LED driver output before the set_pwm or ramp instruction is executed. If the mapping has been released from an LED, the value in the PWM register still controls the LED brightness, and the PWM register value remains in the last engine state. Actual PWM control resolution of the LED engines is 12 bits, but only the 8 highest bits are visible in the I2C registers. Also, engine commands use the 8 high bits for control, and the 4 low bits are used for smoother ramps. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |