| Electronic Components Datasheet Search |
|
LP5523 Datasheet(PDF) 40 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
LP5523 Datasheet(HTML) 40 Page - Texas Instruments |
|
40 / 56 page ![]() LP5523 SNVS550D – SEPTEMBER 2009 – REVISED MAY 2013 www.ti.com Set_PWM This instruction is used for setting the PWM value on the outputs D1 to D9 without any ramps. Set PWM output value from 0 to 255 with PWM value bits [7:0]. Instruction execution takes sixteen 32 kHz clock cycles (=488 µs). Name Value (d) Description PWM value(1) 0 - 255 PWM output duty cycle 0 - 100% 0 = local variable A 1 = local variable B variable (2) 0 - 3 2 = global variable C 3 = register address 3CH variable D value, or register address 42H value. (1) Valid for numerical operands. (2) Valid for variables. Wait When a wait instruction is executed, the engine is set in wait status, and the PWM values on the outputs are frozen. Name Value (d) Description 0 Divide master clock (32.7 kHz) by 16 which means 0.488 ms cycle time. prescale 1 Divide master clock (32 768 Hz) by 512 which means 15.625 ms cycle time. time 1 - 31 Total wait time will be = (time) x (prescale). Maximum 484 ms, minimum 0.488 ms. LED Mapping Instructions These instructions define the engine-to-LED mapping. The mapping information is stored in a table, which is stored in the SRAM (program memory of the LP5523). LP5523 has three program execution engines which can be mapped to 9 LED drivers or to one GPO pin. One engine can control one or multiple LED drivers. There are totally eleven instructions for the engine-to-LED-driver control: mux_ld_start, mux_map_start, mux_ld_end, mux_sel, mux_clr, mux_map_next, mux_map_prev, mux_ld_next, mux_ld_prev, mux_ld_addr and mux_map_addr. MUX_LD_START; MUX_LD_END Mux_ld_start and mux_ld_end define the mapping table location in the memory. Name Value (d) Description SRAM address 0-95 Mapping table start/end address MUX_MAP_START Mux_map_start defines the mapping table start address in the memory, and the first row of the table will be activated (mapped) at the same time. Name Value (d) Description SRAM address 0-95 Mapping table start address MUX_SEL With mux_sel instruction one, and only one, LED driver (or the GPO-pin) can be connected to a program execution engine. Connecting multiple LEDs to one engine is done with the mapping table. After the mapping has been released from an LED, PWM register value will still control the LED brightness. If the mapping is released from the GPO pin, serial bus control takes over the GPO state. 40 Submit Documentation Feedback Copyright © 2009–2013, Texas Instruments Incorporated Product Folder Links: LP5523 |
|
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 |