0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
LP3952RLX

LP3952RLX

  • 厂商:

    NSC

  • 封装:

  • 描述:

    LP3952RLX - 6-Channel Color LED Driver with Audio Synchronization - National Semiconductor

  • 数据手册
  • 价格&库存
LP3952RLX 数据手册
LP3952 6-Channel Color LED Driver with Audio Synchronization July 2007 LP3952 6-Channel Color LED Driver with Audio Synchronization General Description LP3952 is a color LED driver for battery powered handheld devices. It drives any color LEDs including RGB LEDs, indicator LEDs and keypad backlight LEDs. The boost DC-DC converter drives high current loads with high efficiency. The stand-alone command based RGB controller is feature rich and easy to configure. Different lighting patterns and blinking sequences can be programmed to driver registers. Built-in audio synchronization feature allows user to synchronize the color LEDs to audio signal. LED lighting can be controlled either by audio signal amplitude or frequency. There are many controls available for audio synchronization to get desired lighting effect, including gain, speed, and different filter settings. The flexible I2C interface allows easy control of LP3952. LED outputs can be also controlled with external PWM signal. Small micro SMDxt package together with minimum number of external components is a best fit for handheld devices. Features ■ Constant current and PWM controlled color LED drivers ■ Maximum current 40mA / output in constant current mode, ■ ■ ■ ■ ■ ■ ■ supports also switch mode control with 50 mA maximum current / output Complete audio synchronization for color/RGB LEDs with amplitude, frequency and speed optimization Command based lighting pattern generator for RGB LEDs Programmable ON/OFF blinking sequences for RGB1 outputs High efficiency Boost DC-DC converter with programmable VOUTand fSW I2C compatible interface Possibility for external PWM dimming control Small package – 36-bump micro SMDxt, 3.0 x 3.0 x 0.65 mm Applications ■ Cellular Phones ■ PDAs, MP3 players Typical Applications 30023871 © 2007 National Semiconductor Corporation 300238 www.national.com LP3952 Connection Diagrams and Package Mark Information CONNECTION DIAGRAMS 36-bump Micro SMDxt Package, 3.0 x 3.0 x 0.65 mm, 0.5 mm pitch NS Package Number RLA36AAA 30023872 30023873 PACKAGE MARK 30023874 Ordering Information Order Number LP3952RL LP3952RLX Package Marking D62B D62B Supplied As TNR 250 TNR 1000 Spec/Flow NoPb NoPb www.national.com 2 LP3952 Pin Descriptions Pin # 6F 6E 6D 6C 6B 6A 5F 5E 5D 5C 5B 5A 4F 4E 4D 4C 4B 4A 3F 3E 3D 3C 3B 3A 2F 2E 2D 2C 2B 2A 1F 1E 1D 1C 1B 1A Name SW FB GND R1 G1 B1 GND_SW GND VDDIO SDA IRGB GND_RGB GND GND PWM ADDR_SEL NRST R2 GND GND VDD1 GND SCL G2 GND GND ASE IRT GNDT B2 GND GND GNDA VREF VDDA VDD2 Type Output Input Ground Output Output Output Ground Ground Power Logic Input/Output Input Ground Ground Ground Logic Input Logic Input Logic Input Output Ground Ground Power Ground Logic Input Output Ground Ground Input Input Ground Output Ground Ground Ground Output Power Power Boost Converter Power Switch Boost Converter Feedback Ground Red LED 1 Output Green LED 1 Output Blue LED 1 Output Power Switch Ground Ground Supply Voltage for Logic Input/Output Buffers and Drivers Serial Data In/Out (I2C) Bias Current Set Resistor for RGB Drivers Ground for RGB Currents Ground Ground External PWM Control for LEDs. Connect to GND if not used. Address Select (I2C) Reset Pin Red LED 2 Output Ground Ground Supply Voltage Ground Clock (I2C) Green LED 2 Output Ground Ground Audio Synchronization Input Oscillator Frequency Resistor Ground Blue LED 2 Output Ground Ground Ground for Analog Circuitry Reference Voltage Internal LDO Output Supply Voltage Description 3 www.national.com LP3952 Absolute Maximum Ratings (Notes 1, 2) If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. V (SW, FB, R1-2, G1-2, B1-2) (Notes 3, 4) VDD1, VDD2, VDDIO, VDDA Voltage on ASE, IRT, IRGB, VREF Voltage on Logic Pins V(all other pins): Voltage to GND I (VREF) I(R1, G1, B1, R2, G2, B2) Continuous Power Dissipation (Note 5) Junction Temperature (TJ-MAX) Storage Temperature Range Maximum Lead Temperature (Soldering) (Note 6) ESD Rating (Note 7) Human Body Model: -0.3V to +7.2V -0.3V to +6.0V -0.3V to VDD1+0.3V with 6.0V max -0.3V to VDDIO +0.3V with 6.0V max -0.3V to 6.0V 10 μA 100 mA Internally Limited 150°C -65°C to +150°C 260°C Operating Ratings (Notes 1, 2) V (SW, FB, R1-2, G1-2, B1-2) 0 to 6.0V VDD1,2 with external LDO 2.7 to 5.5V VDD1,2 with internal LDO 3.0 to 5.5V VDDA 2.7 to 2.9V VDDIO 1.65V to VDD1 Voltage on ASE 0.1V to VDDA –0.1V Recommended Load Current 0 to 300 mA Junction Temperature (TJ) Range -30°C to +125°C Ambient Temperature (TA) Range -30°C to +85°C (Note 8) Thermal Properties Junction-to-Ambient Thermal Resistance(θJA), RLA36AAA Package (Note 9) 60°C/W 2 kV www.national.com 4 LP3952 (Notes 2, 10) Limits in standard typeface are for TJ = 25°C. Limits in boldface type apply over the operating ambient temperature range (-30°C < TA < +85°C). Unless otherwise noted, specifications apply to the LP3952 Block Diagram with: VDD1 = VDD2 = 3.6V, VDDIO = 2.8V, CVDD = CVDDIO = 100 nF, COUT = CIN = 10 μF, CVDDA = 1 μF, CREF = 100 nF, L1 = 4.7 μH, RRGB = 5.6 kΩ and RRT = 82 kΩ (Note 11). Symbol IVDD Parameter Standby supply current (VDD1 + VDD2) Condition NSTBY (bit) = L, NRST (pin) = H SCL=H, SDA = H Min Typ 1 Max 8 450 Units μA μA Electrical Characteristics No-boost supply current NSTBY (bit) = H, (VDD1 + VDD2) EN_BOOST(bit) = L SCL = H, SDA = H Audio sync and LEDs OFF No-load supply current (VDD1 + VDD2) NSTBY (bit) = H, EN_BOOST (bit) = H SCL = H, SDA = H Audio sync and LEDs OFF Autoload OFF CC mode at R1, G1, B1 and R2, G2, B2 set to 15 mA SW mode Audio sync ON VDD1,2 = 2.8V VDD1,2 = 3.6V IVDDIO IEXT_LDO VDDIO Standby Supply current External LDO output current (VDD1, VDD2, VDDA) NSTBY (bit)=L SCL = H, SDA = H 7V tolerant application only IBOOST = 300 mA 2.72 -3 2.80 150 150 390 700 1 mA RGB drivers (VDD1 + VDD2) IVDD Audio synchronization (VDD1 + VDD2) μA μA 1 6.5 μA mA VDDA Output voltage of internal (Note 12) LDO for analog parts 2.88 +3 V % Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the component may occur. Operating Ratings are conditions under which operation of the device is guaranteed. Operating Ratings do not imply guaranteed performance limits. For guaranteed performance limits and associated test conditions, see the Electrical Characteristics tables. Note 2: All voltages are with respect to the potential at the GND pins. Note 3: Battery/Charger voltage should be above 6V no more than 10% of the operational lifetime. Note 4: Voltage tolerance of LP3952 above 6.0V relies on fact that VDD1 and VDD2 (2.8V) are available (ON) at all conditions. If VDD1 and VDD2 are not available (ON) at all conditions, National Semiconductor does not guarantee any parameters or reliability for this device. Note 5: Internal thermal shutdown circuitry protects the device from permanent damage. Thermal shutdown engages at TJ=160°C (typ.) and disengages at TJ=140°C (typ.). Note 6: For detailed soldering specifications and information, please refer to National Semiconductor Application Note AN1412 : Micro SMDxt Wafer Level Chip Scale Package Note 7: The Human body model is a 100 pF capacitor discharged through a 1.5 kΩ resistor into each pin. Note 8: In applications where high power dissipation and/or poor package thermal resistance is present, the maximum ambient temperature may have to be derated. Maximum ambient temperature (TA-MAX) is dependent on the maximum operating junction temperature (TJ-MAX-OP = 125°C), the maximum power dissipation of the device in the application (PD-MAX), and the junction-to ambient thermal resistance of the part/package in the application (θJA), as given by the following equation: TA-MAX = TJ-MAX-OP – (θJA × PD-MAX). Note 9: Junction-to-ambient thermal resistance is highly application and board-layout dependent. In applications where high maximum power dissipation exists, special care must be paid to thermal dissipation issues in board design. Note 10: Min and Max limits are guaranteed by design, test, or statistical analysis. Typical numbers are not guaranteed, but do represent the most likely norm. Note 11: Low-ESR Surface-Mount Ceramic Capacitors (MLCCs) used in setting electrical characteristics. Note 12: VDDA output is not recommended for external use. 5 www.national.com LP3952 Block Diagram 30023878 www.national.com 6 LP3952 Modes of Operation RESET: In the RESET mode all the internal registers are reset to the default values and the chip goes to STANDBY mode after reset. NSTBY control bit is low after reset by default. Reset is active always if NRST input pin is low or internal Power On Reset is active. LP3952 can be also reset by writing any data to Reset Register in address 60H. Power On Reset (POR) will activate during the chip startup or when the supply voltage VDD2 falls below 1.5V. Once VDD2 rises above 1.5V, POR will inactivate and the chip will continue to the STANDBY mode. STANDBY: The STANDBY mode is entered if the register bit NSTBY is LOW. This is the low power consumption mode, when all circuit functions are disabled. Registers can be written in this mode and the control bits are effective immediately after power up. STARTUP: When NSTBY bit is written high, the INTERNAL STARTUP SEQUENCE powers up all the needed internal blocks (Vref, Bias, Oscillator etc..). To ensure the correct oscillator initialization, a 10 ms delay is generated by the internal state-machine. If the chip temperature rises too high, the Thermal Shutdown (TSD) disables the chip operation and STARTUP mode is entered until no thermal shutdown event is present. BOOST STARTUP: Soft start for boost output is generated in the BOOST STARTUP mode. The boost output is raised in PFM mode during the 10 ms delay generated by the state-machine. The Boost startup is entered from Internal Startup Sequence if EN_BOOST is HIGH or from Normal mode when EN_BOOST is written HIGH. During the 10 ms Boost Startup time all LED outputs are switched off to ensure smooth start-up. NORMAL: During NORMAL mode the user controls the chip using the Control Registers. The registers can be written in any sequence and any number of bits can be altered in a register in one write 30023807 7 www.national.com LP3952 Magnetic Boost DC/DC Converter The LP3952 Boost DC/DC Converter generates a 4.0 – 5.3V voltage for the LEDs from single Li-Ion battery (3V…4.5V). The output voltage is controlled with an 8-bit register in 9 steps. The converter is a magnetic switching PWM mode DC/ DC converter with a current limit. The converter has three options for switching frequency, 1 MHz, 1.67 MHz and 2 MHz (default), when timing resistor RT is 82 kΩ. Timing resistor defines the internal oscillator frequency and thus directly affects boost frequency and all circuit's internally generated timing (RGB patterns). The LP3952 Boost Converter uses pulse-skipping elimination to stabilize the noise spectrum. Even with light load or no load a minimum length current pulse is fed to the inductor. An active load is used to remove the excess charge from the output capacitor at very light loads. At very light load and when input and output voltages are very close to each other, the pulse skipping is not completely eliminated. Output voltage should be at least 0.5V higher than input voltage to avoid pulse skipping. Reducing the switching frequency will also reduce the required voltage difference. Active load can be disabled with the en_autoload bit. Disabling will increase the efficiency at light loads, but the downside is that pulse skipping will occur. The Boost Converter should be stopped when there is no load to minimise the current consumption. The topology of the magnetic boost converter is called CPM control, current programmed mode, where the inductor current is measured and controlled with the feedback. The user can program the output voltage of the boost converter. The output voltage control changes the resistor divider in the feedback loop. The following figure shows the boost topology with the protection circuitry. Four different protection schemes are implemented: 1. Over voltage protection, limits the maximum output voltage — Keeps the output below breakdown voltage. — Prevents boost operation if battery voltage is much higher than desired output. Over current protection, limits the maximum inductor current — Voltage over switching NMOS is monitored; too high voltages turn the switch off. Feedback break protection. Prevents uncontrolled operation if FB pin gets disconnected. Duty cycle limiting, done with digital control. 2. 3. 4. 30023808 Boost Converter Topology www.national.com 8 LP3952 Magnetic Boost DC/DC Converter Electrical Characteristics Symbol ILOAD Parameter Load Current 3.0V ≤ VIN VOUT = 5V 3.0V ≤ VIN VOUT = 4V VOUT Output Voltage Accuracy (FB Pin) Output Voltage (FB Pin) RDSON fboost Switch ON Resistance PWM Mode Switching Frequency Frequency Accuracy tPULSE tSTARTUP ISW_MAX Switch Pulse Minimum Width Startup Time SW Pin Current Limit 3.0V ≤ VIN ≤ VOUT - 0.5 VOUT = 5.0V 1 mA ≤ ILOAD ≤ 300 mA VIN > 5V + V(SCHOTTKY) VDD1,2 = 2.8V, ISW = 0.5A RT = 82 kΩ freq_sel[2:0] = 1XX 2.7 ≤ VDDA ≤ 2.9 RT = 82 kΩ no load Boost startup from STANDBY 700 550 −6 −9 25 10 800 900 950 Conditions Min 0 0 −5 VIN–V(SCHOTTKY) 0.4 2 ±3 +6 +9 0.8 Typ Max 300 mA 400 +5 % V Ω MHz % ns ms mA Units BOOST STANDBY MODE User can stop the Boost Converter operation by writing the Enables register bit EN_BOOST low. When EN_BOOST is written high, the converter starts for 10 ms in PFM mode and then goes to PWM mode. BOOST OUTPUT VOLTAGE CONTROL User can control the boost output voltage by boost output 8bit register. Boost Output [7:0] Register 0DH Bin 0000 0000 0000 0001 0000 0011 0000 0111 0000 1111 0001 1111 0011 1111 0111 1111 1111 1111 Hex 00 01 03 07 0F 1F 3F 7F FF 4.00 4.25 4.40 4.55 4.70 4.85 5.00 Default 5.15 5.30 Boost Output Voltage (typical) Boost Output Voltage Control 30023809 BOOST FREQUENCY CONTROL freq_sel[2:0] 1XX 01X 001 frequency 2.00 MHz 1.67 MHz 1.00 MHz Register ‘boost freq’ (address 0EH). Register default value after reset is 07H. 9 www.national.com LP3952 Boost Converter Typical Performance Characteristics Vin = 3.6V, Vout = 5.0V if not otherwise stated Boost Converter Efficiency Boost Typical Waveforms at 100mA Load 30023811 30023810 Battery Current vs Voltage Battery Current vs Voltage 30023812 30023813 Boost Line Regulation Boost Startup with No Load 30023814 30023815 www.national.com 10 LP3952 Boost Load Transient, 50 mA–100 mA Boost Switching Frequency 30023816 30023817 Output Voltage vs Load Current Efficiency at Low Load vs Autoload 30023861 30023862 11 www.national.com LP3952 Functionality of Color LED Outputs (R1, G1, B1; R2, G2, B2) LP3952 has 2 sets of RGB/color LED outputs. Both sets have 3 outputs and the sets can be controlled in 4 different ways: 1. Command based pattern generator control (internal PWM) 2. Audio synchronization control 3. Programmable ON/OFF blinking sequences for RGB1 4. External PWM control By using command based pattern generator user can program any kind of color effect patterns. LED intensity, blinking cycles and slopes are independently controlled with 8 16-bit commands. Also real time commands are possible as well as loops and step by step control. If analog audio is available on system, the user can use audio synchronization for synchronizing LED blinking to the music. The different modes together with the various sub modes generate very colorful and interesting lighting effects. Direct ON/OFF control is mainly for switching on and off LEDs. External PWM control is for applications where external PWM signal is available and required to control the color LEDs. PWM signal can be connected to any color LED separately as shown later. COLOR LED CONTROL MODE SELECTION The RGB_SEL[1:0] bits in the Enables register (08H) control the output modes for RGB1 (R1, G1, B1) and RGB2 (R2, G2, B2) outputs as seen in the following table. RGB_SEL [1:0] 00 01 10 11 Audio sync RGB2 RGB1 & RGB2 Pattern generator RGB1 & RGB2 RGB2 RGB1 Blinking control RGB1 CURRENT CONTROL OF COLOR LED OUTPUTS (R1, R2, G1, G2, B1, B2) Both RGB output sets can be separately controlled as constant current sinks or as switches. This is done using cc_rgb1/2 bits in the RGB control register. In constant current mode one or both RGB output sets are controlled with constant current sinks (no external ballast resistors required). The maximum output current for both drivers is set by one external resistor RRGB. User can decrease the maximum current for an individual LED driver by programming as shown later. The maximum current for all RGB drivers is set with RRGB. The equation for calculating the maximum current is IMAX = 100 × 1.23V / (RRGB + 50Ω) where IMAX - maximum RGB current in any RGB output in constant current mode 1.23V - reference voltage 100 - internal current mirror multiplier RRGB- resistor value in Ohms 50Ω - internal resistor in the IRGB input For example if 22mA is required for maximum RGB current RRGB equals to RRGB=100×1.23V / IMAX–50Ω=123V / 0.022A–50Ω=5.54kΩ Each individual RGB output has a separate maximum current programming. The control bits are in registers RGB1 max current and RGB2 max current (12H and 13H) and programming is shown in table below. The default value after reset is 00b. IR1[1:0], IG1[1:0], IB1[1:0], IR2[1:0], IG2[1:0], IB2[1:0] 00 01 10 11 Maximum current/output 0.25 × IMAX 0.50 × IMAX 0.75 × IMAX 1.00 × IMAX RGB Control register (00H) has control bits for direct on/off control of all color LEDs. Note that the LEDs have to be turned on in order to control them with audio synchronization or pattern generator. The external PWM signal can control any LED depending on the control register setup. External PWM signal is connected to PWM pin. The controls are in the Ext. PWM Control register (address 07H): Ext. PWM Control (07H) r1_pwm g1_pwm b1_pwm r2_pwm g2_pwm b2_pwm bit 5 PWM controls R1 output bit 4 PWM controls G1 output bit 3 PWM controls B1 output bit 2 PWM controls R2 output bit 1 PWM controls G2 output bit 0 PWM controls B2 output SWITCH MODE The switch mode is used if there is a need to connect parallel LEDs to output or if the RGB output current needs to be increased. Please note that the switch mode requires an external ballast resistors at each output to limit the LED current. The switch/current mode and on/off controls for RGB are in the RGB_ctrl register (00H). Note: Maximum external PWM frequency is 1kHz. If during the external PWM control the internal PWM is on, the result will be product of both functions. www.national.com 12 LP3952 RGB_ctrl register (00H) CC_RGB1 CC_RGB2 r1sw g1sw b1sw r2sw g2sw b2sw bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 1 R1, G1 and B1 are switches → limit current with ballast resistor 0 R1, G1 and B1 are constant current sinks, current limited internally 1 R2, G2 and B2 are switches → limit current with ballast resistor 0 R2, G2 and B2 are constant current sinks, current limited internally 1 R1 is on 0 R1 is off 1 G1 is on 0 G1 is off 1 B1 is on 0 B1 is off 1 R2 is on 0 R2 is off 1 G2 is on 0 G2 is off 1 B2 is on 0 B2 is off 30023818 13 www.national.com LP3952 Command Based Pattern Generator for Color LEDs The LP3952 has an unique stand-alone command based pattern generator with 8 user controllable 16-bit commands. Since registers are 8-bit long one command requires 2 write cycles. Each command has intensity level for each LED, command execution time (CET) and transition time (TT) as seen in the following figures. 30023819 COMMAND REGISTER WITH 8 COMMANDS COMMAND 1 COMMAND 2 COMMAND 3 COMMAND 4 COMMAND 5 COMMAND 6 COMMAND 7 COMMAND 8 ADDRESS 50H ADDRESS 51H ADDRESS 52H ADDRESS 53H ADDRESS 54H ADDRESS 55H ADDRESS 56H ADDRESS 57H ADDRESS 58H ADDRESS 59H ADDRESS 5AH ADDRESS 5BH ADDRESS 5CH ADDRESS 5DH ADDRESS 5EH ADDRESS 5FH R2 CET1 R2 CET1 R2 CET1 R2 CET1 R2 CET1 R2 CET1 R2 CET1 R2 CET1 R1 CET0 R1 CET0 R1 CET0 R1 CET0 R1 CET0 R1 CET0 R1 CET0 R1 CET0 R0 B2 R0 B2 R0 B2 R0 B2 R0 B2 R0 B2 R0 B2 R0 B2 G2 B1 G2 B1 G2 B1 G2 B1 G2 B1 G2 B1 G2 B1 G2 B1 G1 B0 G1 B0 G1 B0 G1 B0 G1 B0 G1 B0 G1 B0 G1 B0 G0 TT2 G0 TT2 G0 TT2 G0 TT2 G0 TT2 G0 TT2 G0 TT2 G0 TT2 CET3 TT1 CET3 TT1 CET3 TT1 CET3 TT1 CET3 TT1 CET3 TT1 CET3 TT1 CET3 TT1 CET2 TT0 CET2 TT0 CET2 TT0 CET2 TT0 CET2 TT0 CET2 TT0 CET2 TT0 CET2 TT0 COLOR INTENSITY CONTROL Each color has 3-bit intensity level. Level control is logarithmic, 2 curves are selectable. The LOG bit in register 11H defines the curve used as seen in the following table. R[2:0], G[2:0], B[2:0] 000 001 010 011 100 101 110 111 CURRENT [% × IMAX(COLOR)] LOG=0 0 7 14 21 32 46 71 100 LOG=1 0 1 2 4 10 21 46 100 30023820 www.national.com 14 LP3952 COMMAND EXECUTION TIME (CET) AND TRANSITION TIME (TT) The command execution time CET is the duration of one single command. Command execution times are defined as follows, when RT=82kΩ: CET [3:0] 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 CET duration, ms 197 393 590 786 983 1180 1376 1573 1769 1966 2163 2359 2556 2753 CET [3:0] 1110 1111 CET duration, ms 2949 3146 Transition time TT is duration of transition from the previous RGB value to programmed new value. Transition times are defined as follows: TT [2:0] 000 001 010 011 100 101 110 111 Transition time, ms 0 55 110 221 442 885 1770 3539 The figure below shows an example of RGB CET and TT times. 30023821 The command execution time also may be less than the transition time – the figure below illuminates this case. 30023822 15 www.national.com LP3952 LOOP CONTROL Pattern generator commands can be looped using the LOOP bit (D1) in Pattern gen ctrl register (11H). If LOOP=1 the program will be looped from the command 8 register or if there is 0000 0000 and 0000 0000 in one command register. The loop will start from command 1 and continue until stopped by writing rgb_start=0 or loop=0. The example of loop is shown in following figure: 30023823 SINGLE PROGRAM If control bit LOOP=0 the program will start from Command 1 and run to either last command or to empty “0000 0000 / 0000 0000” command. 30023824 The LEDs maintain the brightness of the last command when the single program stops. Changes in command register will not be effective in this phase. The RGB_START bit has to be toggled off and on to make changes effective. START BIT Pattern_gen_ctrl register’s RGB_START bit will enable command execution starting from Command 1. Pattern gen ctrl register (11H) rgb_start loop log Bit 2 Bit 1 Bit 0 0 – Pattern generator disabled 1 – execution pattern starting from command 1 0 – pattern generator loop disabled (single pattern) 1 – pattern generator loop enabled (execute until stopped) 0 – color intensity mode 0 1 – color intensity mode 1 www.national.com 16 LP3952 Audio Synchronization The color LEDs connected to RGB outputs can be synchronized to incoming audio with Audio Synchronization feature. Audio Sync has 2 modes. Amplitude mode synchronizes color LEDs based on input signal’s peak amplitude. In the amplitude mode the user can select between 3 different amplitude mapping modes and 4 different speed configurations. The frequency mode synchronizes the color LEDs based on bass, middle and treble amplitudes (= low pass, band pass and high pass filters). User can select between 2 different frequency responses and 4 different speed configurations for best audio-visual user experience. Programmable gain and AGC function are also available for adjustment of input signal amplitude to light response. The Audio Sync functionality is described more closely below. USING A DIGITAL PWM AUDIO SIGNAL AS AN AUDIO SYNCHRONIZATION SOURCE If the input signal is a PWM signal, use a first or second order low pass filter to convert the digital PWM audio signal into an analog waveform. There are two parameters that need to be known to get the filter to work successfully: frequency of the PWM signal and the voltage level of the PWM signal. Suggested cut-off frequency (-3 dB) should be around 2 kHz to 4 kHz and the stop-band attenuation at sampling frequency should be around -48 dB or better. Use a resistor divider to reduce the digital signal amplitude to meet the specification of the analog audio input. Because a low-order low-pass filter attenuates the high-frequency components from audio signal, MODE_CTRL=01b selection is recommended when frequency synchronization mode is enabled. Application example 5 shows an example of a second order RC-filter for 29 kHz PWM signal with 3.3V amplitude. Active filters, such as a Sallen-Key filter, may also be applied. An active filter gives better stop-band attenuation and cut-off frequency can be higher than for a RC-filter. To make sure that the filter rolls off sufficiently quickly, connect your filter circuit to the audio input(s), turn on the audio synchronization feature, set manual gain to maximum, apply the PWM signal to the filter input and keep an eye on LEDs. If they are blinking without an audio signal (modulation), a sharper roll-off after the cut-off frequency, more stop-band attenuation, or smaller amplitude of the PWM signal is required. AUDIO SYNCHRONIZATION SIGNAL PATH LP3952 audio synchronization is mainly done digitally and it consists of the following signal path blocks: • Input Buffers • AD Converter • DC Remover • Automatic Gain Control (AGC) • Programmable Gain • 3 Band Digital Filter • Peak Detector • Look-up Tables (LUT) • Mode Selector • Integrators • PWM Generator • Output Drivers 30023825 The digitized input signal has DC component that is removed by digital DC REMOVER (-3 dB @ 400 Hz). Since the light response of input audio signal is very much amplitude dependent the AGC adjusts the input signal to suitable range automatically. User can disable AGC and the gain can be set manually with PROGRAMMABLE GAIN. LP3952 has 2 audio synchronization modes: amplitude and frequency. For amplitude based synchronization the PEAK DETECTION method is used. For frequency based synchronization 3 BAND FILTER separates high pass, low pass and band bass signals. For both modes the predefined LUT is used to optimize the audio visual effect. MODE SELECTOR selects the synchronization mode. Different response times to music beat can be selected using INTEGRATOR speed variables. Finally PWM GENERATOR sets the driver FET duty cycles. INPUT SIGNAL TYPE AND BUFFERING LP3952 supports single ended audio input as shown in the figure below. The electric parameters of the buffer are de- scribed in the Audio Synch table. The buffer is rail-to-rail input operational amplifier connected as a voltage follower. DC level of the input signal is set by a simple resistor divider 30023826 17 www.national.com LP3952 AUDIO SYNCHRONIZATION ELECTRICAL PARAMETERS Symbol ZIN AIN f3dB Parameter Input Impedance of ASE Audio Input Level Range (peak-to-peak) Crossover Frequencies (-3 dB) Narrow Frequency Response Gain = 21 dB Gain = 0 dB Low Pass Band Pass High Pass Low Pass Band Pass High Pass Conditions Min 250 0.1 VDDA-0.1 0.5 1.0 and 1.5 2.0 1.0 2.0 and 3.0 4.0 Typical 500 Max Units kΩ V kHz Wide Frequency Response CONTROL OF ADC AND AUDIO SYNCHRONIZATION The following table describes the controls required for audio synchronization. Audio_sync_CTRL1 (2AH) Input signal gain control. Range 0...21 dB, step 3 dB: GAIN_SEL[2:0] Bits 7-5 [000] = 0 dB (default) [001] = 3 dB [010] = 6 dB Synchronization mode selector. SYNC_MODE Bit 4 SYNCMODE = 0 → Amplitude Mode (default) SYNCMODE = 1 → Frequency Mode EN_AGC Bit 3 Automatic Gain Control enable 1 = enabled 0 = disabled (Gain Select enabled) (default) Audio synchronization enable 1 = Enabled Note : If AGC is enabled, AGC gain starts from current GAIN_SEL gain value. 0 = Disabled (default) [011] = 9 dB [100] = 12 dB [101] = 15 dB [110] = 18 dB [111] = 21 dB EN_SYNC Bit 2 INPUT_SEL[1:0] [00] = Single ended input signal, ASE. [01] = Not used Bits 1-0 [10] = Not used [11] = No input (default) Audio_sync_CTRL2 (2BH) 0 – averaging disabled (not applicable in audio sync mode) 1 – averaging enabled (not applicable in audio sync mode) EN_AVG MODE_CTRL[1:0] Bit 4 Bits 3-2 See below: Mode control Sets the LEDs light response time to audio input. [00] = FASTEST (default) [01] = FAST Bits 1-0 [10] = MEDIUM [11] = SLOW (For SLOW setting in amplitude mode fMAX= 3.8 Hz, Frequency mode fMAX = 7.6 Hz) SPEED_CTRL[1:0] www.national.com 18 LP3952 MODE CONTROL IN FREQUENCY MODE Mode control has two setups based on audio synchronization mode select: the frequency mode and the amplitude mode. During the frequency mode user can select two filter options by MODE_CTRL as shown below. User can select the filters based on the music type and light effect requirements. In the first mode the frequency range extends to 8 kHz in the secont to 4 kHz. The lowpass filter is used for the red, the bandpass filter for the blue and the hipass filter for the green LED. Higher frequency mode MODE_CTRL = 00 and SYNC_MODE = 1 Lower frequency mode MODE_CTRL = 01 and SYNC_MODE = 1 30023827 30023828 MODE CONTROL IN AMPLITUDE MODE During the amplitude synchronization mode user can select between three different amplitude mappings by using MODE_CTRL select. These three mapping options give different light response. The modes are presented in the following graphs. Non-overlapping mode MODE_CTRL[1:0] = [01] Partly overlapping mode MODE_CTRL[1:0] = [00] 30023829 30023830 19 www.national.com LP3952 Overlapping mode MODE_CTRL[1:0] = [10] Peak Input Signal Level Range vs Gain Setting 30023831 30023832 www.national.com 20 LP3952 RGB LED Blinking Control LP3952 has a possibility to drive indicator LEDs with RGB1 outputs with programmable blinking time. Blinking function is enabled with RGB_SEL[1:0] bits set as 01b in 0BH register. R1_CYCLE_EN, G1_CYCLE_EN and B1_CYCLE_EN bits in cycle registers (02H, 04H and 06H) enable/disable blinking function for corresponding output. When EN_BLINK bit is written high in register 11H, the blinking sequences for all outputs (which has CYCLE_EN bit enabled) starts simultaneously. EN_BLINK bit should be written high after selecting wanted blinking sequences and enabling CYCLE_EN bits, to synchronize outputs to get desired lighting effect. R1SW, G1SW and B1SW bits can be used to enable and disable outputs when wanted. RGB1 blinking sequence is set with R1, G1 and B1 blink registers (01H, 03H and 05H) by setting the appropriate OFF-ON times. Blinking cycle times are set with R1_CYCLE[2:0], G1_CYCLE[2:0] and B1_CYCLE[2:0] bits in R1, G1 and B1 CYCLE registers (02H, 04H and 06H). OFF/ON time is a percentage of the selected cycle time. Values for setting OFF/ON time can be seen in following table. R1, G1 and B1 Blink Registers (01H, 03H and 05H): Name R1_ON[3:0], R1_OFF[3:0] G1_ON[3:0], G1_OFF[3:0] B1_ON[3:0], B1_OFF[3:0] Bit 7-4, 3-0 Bits 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Blinking ON/OFF cycle is defined so that there will be first OFF-period then ON-period after which follows an off-period for the remaining cycle time that can not be set. If OFF and ON times are together more than 100% the first OFF time will be as set and the ON time is cut to meet 100%. For example, Description RGB1 ON and OFF time ON/OFF time 0% 1% 2.5% 5% 7.5% 10% 15% 20% 30% 40% 50% 60% 70% 80% 90% 100% if 50% OFF time is set and ON time is set greater than 50%, only 50% ON time is used, the exceeding ON time is ignored. If OFF and ON times are together less than 100% the remaining cycle time output is OFF. 21 www.national.com LP3952 30023870 Values for setting the blinking cycle for RGB1 can be seen in following table: R1, G1 and B1 Cycle Registers (02H, 04H and 06H): Name R1_CYCLE_EN G1_CYCLE_EN B1_CYCLE_EN R1_CYCLE[2:0] G1_CYCLE[2:0] B1_CYCLE[2:0] Bit 3 Decription Blinking enable 0 = disabled 1 = enabled, output state is defined with blinking cycle RGB1 cycle time Bits 000 001 010 011 100 101 110 111 Blinking cycle time 0.1s 0.25s 0.5s 1s 2s 3s 4s 5s Blinking frequency 10 Hz 4 Hz 2 Hz 1 Hz 0.5 Hz 0.33 Hz 0.25 Hz 0.2 Hz 2-0 PATTERN_GEN_CTRL Register (11H): Name EN_BLINK Bit 3 Description Blinking sequence start bit 0 = disabled 1 = enabled www.national.com 22 LP3952 RGB Driver Electrical Characteristics (R1, G1, B1, R2, G2, B2 Outputs) Symbol ILEAKAGE IRGB Parameter R1, G1, B1, R2, G2, B2 pin leakage current Maximum recommended sink current Accuracy @ 37mA Current mirror ratio RGB1 and RGB2 current mismatch RSW fRGB Switch resistance RGB switching frequency CC mode SW mode RRGB=3.3 kΩ ±1%, CC mode CC mode IRGB=37mA, CC mode SW mode Accuracy proportional to internal clock freq. 18.2 ±5 1:100 ±5 2.5 20 5 21.8 % Ω kHz Condition Min Typ 0.1 Max 1 40 50 Units μA mA mA % Note: RGB current should be limited as follows: constant current mode – limit by external RRGB resistor; switch mode – limit by external ballast resistors Output Current vs Pin Voltage (Current Sink Mode) Pin Voltage vs Output Current (Switch Mode) 30023866 30023868 Output Current vs RRGB (Current Sink Mode) 30023867 23 www.national.com LP3952 7V Shielding To shield LP3952 from high input voltages 6…7.2V the use of external 2.8V LDO is required. This 2.8V voltage protects internally the device against high voltage condition. The recommended connection is as shown in the picture below. Internally both logic and analog circuitry works at 2.8V supply voltage. Both supply voltage pins should have separate filtering capacitors. 30023844 In cases where high voltage is not an issue the connection is as shown below 30023845 www.national.com 24 LP3952 Logic Interface Electrical Characteristics (1.65V ≤ VDDIO ≤ VDD1,2V) (Unless otherwise noted). Symbol VIL VIH IL fSCL VOL IL Parameter Input Low Level Input High Level Logic Input Current Clock Frequency Output Low Level ISDA = 3 mA 0.3 0.8×VDDIO −1.0 1.0 400 0.5 1.0 Conditions Min Typ Max 0.2×VDDIO Units V V μA kHz V μA LOGIC INPUTS ADDR_SEL, NRST, SCL, PWM, SDA LOGIC OUTPUT SDA Output Leakage Current VSDA = 2.8V Note: Any unused digital input pin has to be connected to GND to avoid floating and extra current consumption. I2C Compatible Interface INTERFACE BUS OVERVIEW The I2C compatible synchronous serial interface provides access to the programmable functions and registers on the device. This protocol uses a two-wire interface for bi-directional communications between the devices connected to the bus. The two interface lines are the Serial Data Line (SDA), and the Serial Clock Line (SCL). These lines should be connected to a positive supply, via a pull-up resistor and remain HIGH even when the bus is idle. Every device on the bus is assigned a unique address and acts as either a Master or a Slave depending on whether it generates or receives the serial clock (SCL). DATA TRANSACTIONS One data bit is transferred during each clock pulse. Data is sampled during the high state of the serial clock (SCL). Consequently, throughout the clock’s high period, the data should remain stable. Any changes on the SDA line during the high state of the SCL and in the middle of a transaction, aborts the current transaction. New data should be sent during the low SCL state. This protocol permits a single data line to transfer both command/control information and data using the synchronous serial clock. I2C DATA VALIDITY The data on SDA line must be stable during the HIGH period of the clock signal (SCL). In other words, state of the data line can only be changed when CLK is LOW. STOP condition is defined as the SDA transitioning from LOW to HIGH while SCL is HIGH. The I2C master always generates START and STOP bits. The I2C bus is considered to be busy after START condition and free after STOP condition. During data transmission, I2C master can generate repeated START conditions. First START and repeated START conditions are equivalent, function-wise. 30023850 TRANSFERRING DATA Every byte put on the SDA line must be eight bits long, with the most significant bit (MSB) being transferred first. Each byte of data has to be followed by an acknowledge bit. The acknowledge related clock pulse is generated by the master. The transmitter releases the SDA line (HIGH) during the acknowledge clock pulse. The receiver must pull down the SDA line during the 9th clock pulse, signifying an acknowledge. A receiver which has been addressed must generate an acknowledge after each byte has been received. After the START condition, the I2C master sends a chip address. This address is seven bits long followed by an eighth bit which is a data direction bit (R/W). The LP3952 address is 54h or 55H as selected with ADDR_SEL pin. I2C address for LP3952 is 54H when ADDR_SEL=0 and 55H when ADDR_SEL=1. For the eighth bit, a “0” indicates a WRITE and a “1” indicates a READ. The second byte selects the register to which the data will be written. The third byte contains data to write to the selected register. 30023849 I2C Signals: Data Validity I2C START AND STOP CONDITIONS START and STOP bits classify the beginning and the end of the I2C session. START condition is defined as SDA signal transitioning from HIGH to LOW while SCL line is HIGH. 25 30023851 I2C Chip Address www.national.com LP3952 Register changes take an effect at the SCL rising edge during the last ACK from slave. 30023852 w = write (SDA = “0”) r = read (SDA = “1”) ack = acknowledge (SDA pulled down by either master or slave) rs = repeated start id = 7-bit chip address, 54H (ADDR_SEL=0) or 55H (ADDR_SEL=1) for LP3952. I2C Write Cycle When a READ function is to be accomplished, a WRITE function must precede the READ function, as shown in the Read Cycle waveform. 30023853 I2C Read Cycle 30023854 I2C Timing Diagram www.national.com 26 LP3952 I2C Timing Parameters VDD1,2 = 3.0 to 4.5V, VDD_IO = 1.65V to VDD1,2 Symbol 1 2 3 4 5 5 6 7 8 9 10 Cb Parameter Min Hold Time (repeated) START Condition Clock Low Time Clock High Time Setup Time for a Repeated START Condition Data Hold Time (Output direction, delay generated by LP3952) Data Hold Time (Input direction, delay generated by the Master) Data Setup Time Rise Time of SDA and SCL Fall Time of SDA and SCL Set-up Time for STOP condition Bus Free Time between a STOP and a START Condition Capacitive Load for Each Bus Line 0.6 1.3 600 600 300 0 100 20+0.1Cb 15+0.1Cb 600 1.3 10 200 300 300 900 900 Limit Max μs μs ns ns ns ns ns ns ns ns μs pF Units NOTE: Data guaranteed by design Autoincrement mode is available, with this mode it is possible to read or write bytes with autoincreasing addresses. LP3952 has empty spaces in address register map, and it is recommended to use autoincrement mode only for writing in pattern command registers. 27 www.national.com LP3952 Recommended External Components OUTPUT CAPACITOR, COUT The output capacitor COUT directly affects the magnitude of the output ripple voltage. In general, the higher the value of COUT, the lower the output ripple magnitude. Multilayer ceramic capacitors with low ESR are the best choice. At the lighter loads, the low ESR ceramics offer a much lower Vout ripple that the higher ESR tantalums of the same value. At the higher loads, the ceramics offer a slightly lower Vout ripple magnitude than the tantalums of the same value. However, the dv/dt of the Vout ripple with the ceramics is much lower than the tantalums under all load conditions. Capacitor voltage rating must be sufficient, 10V or greater is recommended. Some ceramic capacitors, especially those in small packages, exhibit a strong capacitance reduction with the increased applied DC voltage, so called DC bias effect. The capacitance value can fall to below half of the nominal capacitance. Too low output capacitance will increase noise and it can make the boost converter unstable. Recommended maximum DC bias effect at 5V DC voltage is -50%. INPUT CAPACITOR, CIN The input capacitor CIN directly affects the magnitude of the input ripple voltage and to a lesser degree the VOUT ripple. A higher value CIN will give a lower VIN ripple. Capacitor voltage rating must be sufficient, 10V or greater is recommended. OUTPUT DIODE, D1 A schottky diode should be used for the output diode. Peak repetitive current rating of the schottky diode should be larger LIST OF RECOMMENDED EXTERNAL COMPONENTS Symbol CVDD1 CVDD2 CVDDIO CVDDA COUT CIN L1 Symbol explanation C between VDD1 and GND C between VDD2 and GND C between VDDIO and GND C between VDDA and GND C between FB and GND C between battery voltage and GND L between SW and VBAT at 2 MHz Value 100 100 100 1 10 10 4.7 Unit nF nF nF μF μF μF μH Type Ceramic, X7R / X5R Ceramic, X7R / X5R Ceramic, X7R / X5R Ceramic, X7R / X5R Ceramic, X7R / X5R, 10V Ceramic, X7R / X5R Shielded, low ESR, Isat=1A for 400 mA output current, Isat=600 mA for 200 mA output current Ceramic, X7R Ceramic, X7R ±1% ±1% Schottky diode Ceramic, X7R / X5R User defined than the peak inductor current (ca. 1A). Average current rating of the schottky diode should be higher than maximum output current used. Schottky diodes with a low forward drop and fast switching speeds are ideal for increasing efficiency in portable applications. Choose a reverse breakdown of the schottky diode larger than the output voltage. Do not use ordinary rectifier diodes, since slow switching speeds and long recovery times cause the efficiency and the load regulation to suffer. INDUCTOR, L1 The LP3952’s high switching frequency enables the use of the small surface mount inductor. A 4.7 μH shielded inductor is suggested for 2 MHz operation, 10 μH should be used at 1 MHz. The inductor should have a saturation current rating higher than the rms current it will experience during circuit operation. To get maximum (400 mA) current from the boost, an inductor with 1A saturation current is recommended. If output current is for example 200 mA then inductor with 600 mA saturation current can be used. Less than 300 mΩ ESR is suggested for high efficiency. Open core inductors cause flux linkage with circuit components and interfere with the normal operation of the circuit. This should be avoided. For high efficiency, choose an inductor with a high frequency core material such as ferrite to reduce the core losses. The inductor should be connected to the SW pin as close to the IC as possible. Examples of suitable inductor for 400 mA output current is TDK VLF4012AT-4R7M1R1, and for 200mA application VLF3010AT-4R7MR70 or Panasonic ELLVEG4R7N. CVREF CVDDIO RRBG RRT D1 CASE LEDs C between VREF and GND C between VDDIO and GND R between IRGB and GND R between IRT and GND Rectifying Diode (Vf @ maxload) C between Audio input and ASE 100 100 5.6 82 0.3 100 nF nF kΩ kΩ V nF www.national.com 28 LP3952 Application Examples EXAMPLE 1 30023876 There may be cases where the audio input signal going into the LP3952 is too weak for audio synchronization. This figure presents a single-supply inverting amplifier connected to the ASE input for audio signal amplification. The amplification is +20 dB, which is well enough for 20 mVp-p audio signal. Because the amplifier (LMV321) is operating in single supply voltage, a voltage divider using R3 and R4 is implemented to bias the amplifier so the input signal is within the input common-mode voltage range of the amplifier. The capacitor C1 is placed between the inverting input and resistor R1 to block the DC signal going into the audio signal source. The values of R1 and C1 affect the cutoff frequency, fc = 1/(2π*R1*C1), in this case it is around 160 Hz. As a result, the LMV321 output signal is centered around mid-supply, that is VDDA/2. The output can swing to both rails, maximizing the signal-to-noise ratio in a low voltage system 29 www.national.com LP3952 EXAMPLE 2 30023879 Here, a second order RC-filter is used on the ASE input to convert a PWM signal to an analog waveform. More application information is available in the document "LP3952 Evaluation Kit". www.national.com 30 LP3952 Control Register Names and Default Values D7 cc_rgb1 1 r1_on[3] 0 r1_cycle en 0 g1_on[3] 0 g1_cycle en 0 b1_on[3] 0 b1_cycle en 0 r1_pwm 0 Do not use Do not use Do not use nstby 0 0 0 0 1 0 0 0 1 0 data[7:0] 0 boost[7:0] 1 1 1 Do not use rgb_start 0 ir1[1:0] 0 0 0 ig1[1:0] 0 0 loop 0 ib1[1:0] 0 log 0 1 freq_sel[2:0] 1 1 1 0 0 0 en_ boost en_ autoload 1 0 rgb_sel[1:0] 0 0 0 g1_pwm b1_pwm 0 0 0 0 0 b1_cycle[2] 0 r2_pwm 0 b1_on[2] b1_on[1] b1_on[0] b1_off[3] b1_off[2] 0 g1_cycle[2] 0 0 0 0 0 g1_on[2] g1_on[1] g1_on[0] g1_off[3] g1_off[2] 0 g1_cycle[1] 0 b1_off[1] 0 b1_cycle[1] 0 g2_pwm 0 0 0 g1_off[1] r1_cycle[2] r1_cycle[1] 0 0 0 0 0 0 r1_on[2] r1_on[1] r1_on[0] r1_off[3] r1_off[2] r1_off[1] 1 0 0 0 0 0 0 r1_off[0] 0 r1_cycle[0] 0 g1_off[0] 0 g1_cycle[0] 0 b1_off[0] 0 b1_cycle[0] 0 b2_pwm 0 cc_rgb2 r1sw g1sw b1sw r2sw g2sw b2sw D6 D5 D4 D3 D2 D1 D0 ADDR (HEX) REGISTER 00 RGB Ctrl 01 R1 blink 02 R1 cycle 03 G1 blink 04 G1 cycle 05 B1 blink 06 B1 cycle 07 Ext. PWM control LP3952 31 08 09 0A 0B Enables 0C ADC output 0D Boost output 0E Boost_frq 10 11 Pattern gen ctrl www.national.com 12 RGB1 max current LP3952 ADDR (HEX) D7 ir2[1:0] 0 gain_sel[2:0] 0 en_avg 0 r[2:0] 0 cet[1:0] 0 r[2:0] 0 cet[1:0] 0 r[2:0] 0 cet[1:0] 0 r[2:0] 0 cet[1:0] 0 r[2:0] 0 cet[1:0] 0 r[2:0] 0 cet[1:0] 0 0 cet[1:0] 0 0 0 0 r[2:0] 0 0 0 b[2:0] 0 0 0 0 0 0 0 b[2:0] 0 0 g[2:0] 0 0 0 tt[2:0] 0 0 0 0 0 0 0 0 b[2:0] 0 0 g[2:0] 0 0 0 tt[2:0] 0 cet[3:2] 0 0 0 0 0 0 0 0 0 b[2:0] 0 g[2:0] 0 0 0 tt[2:0] 0 cet[3:2] 0 0 0 0 0 0 b[2:0] 0 g[2:0] 0 0 0 tt[2:0] 0 cet[3:2] 0 0 0 0 0 0 0 g[2:0] 0 0 tt[2:0] 0 cet[3:2] 0 0 0 0 0 0 b[2:0] 0 0 0 0 0 g[2:0] 0 0 tt[2:0] 0 cet[3:2] 0 0 0 0 0 0 0 b[2:0] 0 0 0 0 0 g[2:0] 0 tt[2:0] 0 cet[3:2] 0 0 0 0 mode_ctrl[1:0] 0 cet[3:2] 0 0 0 0 0 0 1 speed_ctrl[1:0] 0 sync_mode en_agc en_sync 0 0 0 0 input_sel[1:0] 1 ig2[1:0] ib2[1:0] 0 D6 D5 D4 D3 D2 D1 REGISTER D0 www.national.com 13 RGB2 max current 2A Audio sync CTRL1 2B Audio sync CTRL2 50 Command 1A 51 Command 1B 52 Command 2A 53 Command 2B 54 Command 3A 32 55 Command 3B 56 Command 4A 57 Command 4B 58 Command 5A 59 Command 5B 5A Command 6A 5B Command 6B 5C Command 7A 5D Command 7B ADDR (HEX) D7 r[2:0] 0 cet[1:0] 0 Writing any data to Reset Register resets LP3952 0 0 0 0 0 0 b[2:0] tt[2:0] 0 0 0 0 0 0 0 0 g[2:0] cet[3:2] D6 D5 D4 D3 D2 D1 D0 REGISTER 5E Command 8A 5F Command 8B 60 Reset LP3952 33 www.national.com LP3952 LP3952 Registers REGISTER BIT EXPLANATIONS Each register is shown with a key indicating the accessibility of the each individual bit, and the initial condition: Register Bit Accessibility and Initial Condition Key rw r –0,–1 Bit Accessibility Read/write Read only Condition after POR RGB CTRL (00H) – RGB LEDS CONTROL REGISTER D7 cc_rgb1 rw-1 D6 cc_rgb2 rw-1 D5 r1sw rw-0 D4 g1sw rw-0 D3 b1sw rw-0 D2 r2sw rw-0 D1 g2sw rw-0 D0 b2sw rw-0 cc_rgb1 cc_rgb2 r1sw g1sw b1sw r2sw g2sw b2sw Bit 7 Bit 6 Bit 5 Bit 4 0 - R1, G1 and B1 are constant current sinks, current limited internally 1 - R1, G1 and B1 are switches, limit current with external ballast resistor 0 – R2, G2 and B2 are constant current sinks, current limited internally 1 – R2, G2 and B2 are switches, limit current with external ballast resistor 0 – R1 disabled 1 – R1 enabled 0 – G1 disabled 1 – G1 enabled Bit 3 0 – B1 disabled 1 – B1 enabled Bit 2 Bit 1 Bit 0 0 – R2 disabled 1 – R2 enabled 0 – G2 disabled 1 – G2 enabled 0 – B2 disabled 1 – B2 enabled R1/G1/B1 BLINK (01H, 03H, 05H) – BLINKING ON/OFF TIME CONTROL REGISTER D7 rw-0 D6 rw-0 D5 rw-0 D4 rw-0 D3 rw-0 D2 rw-0 D1 rw-0 D0 rw-0 R1/G1/B1_ON[3:0] R1/G1/B1_OFF[3:0] www.national.com 34 LP3952 RGB1 ON and OFF time Bits 0000 0001 0010 0011 R1_ON[3:0], R1_OFF[3:0] G1_ON[3:0], G1_OFF[3:0] B1_ON[3:0], B1_OFF[3:0] 0100 0101 Bits 7-4, 3-0 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 R1/G1/B1 CYCLE(02H, 04H, 06H) – BLINKING CYCLE CONTROL REGISTER D7 D6 D5 D4 D3 R1/G1/ B1_CYCLE_EN r-0 r-0 R1_CYCLE_EN G1_CYCLE_EN B1_CYCLE_EN R1_CYCLE[2:0] G1_CYCLE[2:0] B1_CYCLE[2:0] r-0 Bit 3 r-0 rw-0 rw-0 D2 D1 R1/G1/B1_CYCLE[2:0] rw-0 rw-0 D0 ON/OFF time 0% 1% 2.5% 5% 7.5% 10% 15% 20% 30% 40% 50% 60% 70% 80% 90% 100% Blinking enable 0 = disabled, output state is defined with RGB registers 1 = enabled, output state is defined with blinking cycle RGB1 cycle time Bits 000 001 010 011 100 101 110 111 Blinking cycle time 0.1s 0.25s 0.5s 1s 2s 3s 4s 5s Blinking frequency 10 Hz 4 Hz 2 Hz 1 Hz 0.5 Hz 0.33 Hz 0.25 Hz 0.2 Hz Bits 2-0 35 www.national.com LP3952 EXT_PWM_CONTROL (07H) – EXTERNAL PWM CONTROL REGISTER D7 D6 D5 r1_pwm rw-0 D4 g1_pwm rw-0 D3 b1_pwm rw-0 D2 r2_pwm rw-0 D1 g2_pwm rw-0 D0 b2_pwm rw-0 r1_pwm g1_pwm b1_pwm r2_pwm g2_pwm b2_pwm Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 – R1 PWM control disabled 1 – R1 PWM control enabled 0 – G1 PWM control disabled 1 – G1 PWM control enabled 0 – RB PWM control disabled 1 – B1 PWM control enabled 0 – R2 PWM control disabled 1 – R2 PWM control enabled 0 – G2 PWM control disabled 1 – G2 PWM control enabled 0 – B2 PWM control disabled 1 – B2 PWM control enabled ENABLES (0BH) – ENABLES REGISTER D7 r-0 D6 nstby rw-0 D5 en_boost rw-0 r-0 r-0 D4 D3 D2 en_autoload rw-1 D1 rgb_sel[1:0] rw-0 rw-0 D0 nstby en_boost en_autoload Bit 6 Bit 5 Bit 2 0 – LP3952 standby mode 1 – LP3952 active mode 0 – boost converter disabled 1 – boost converter enabled 0 – internal boost converter loader off 1 – internal boost converter loader on Color LED control mode selection rgb_sel[1:0] Audio sync RGB2 RGB1 & RGB2 Pattern generator RGB1 & RGB2 RGB2 RGB1 Blinking sequence RGB1 00 01 10 11 rgb_sel[1:0] Bits 1-0 ADC_OUTPUT (0CH) – ADC DATA REGISTER D7 r-0 D6 r-0 D5 r-0 D4 data[7:0] r-0 r-0 r-0 r-0 r-0 D3 D2 D1 D0 data[7:0] Bits 7-0 Data register ADC (Audio input, light or temperature sensors) www.national.com 36 LP3952 BOOST_OUTPUT (0DH) – BOOST OUTPUT VOLTAGE CONTROL REGISTER D7 rw-0 D6 rw-0 D5 rw-1 D4 Boost[7:0] rw-1 rw-1 rw-1 rw-1 rw-1 D3 D2 D1 D0 Adjustment Boost[7:0] 0000 0000 0000 0001 0000 0011 Boost[7:0] Bits 7-0 0000 0111 0000 1111 0001 1111 0011 1111 0111 1111 1111 1111 BOOST_FRQ (0EH) – BOOST FREQUENCY CONTROL REGISTER D7 r-0 D6 r-0 D5 r-0 D4 r-0 D3 r-0 D2 rw-1 D1 freq_sel[2:0] rw-1 rw-1 D0 Typical boost output (V) 4.00 4.25 4.40 4.55 4.70 4.85 5.00 (default) 5.15 5.30 Adjustment freq_sel[2:0] freq_sel[2:0] Bits 7-0 1xx 01x 00x PATTERN_GEN_CTRL (11H) – PATTERN GENERATOR CONTROL REGISTER D7 r-0 D6 r-0 D5 r-0 D4 r-0 D3 en_blink rw-0 D2 rgb_start rw-0 D1 loop rw-0 D0 log rw-0 Frequency 2.00 MHz 1.67 MHz 1.00 MHz en_blink rgb_start loop log Bit 3 Bit 2 Bit 1 Bit 0 0 - blinking sequences start bit disabled 1 - blinking sequences start bit enabled 0 – pattern generator disabled 1 – execution pattern starting from command 1 0 – pattern generator loop disabled (single pattern) 1 – pattern generator loop enabled (execute until stopped) 0 – color intensity mode 0 1 – color intensity mode 1 37 www.national.com LP3952 RGB1_MAX_CURRENT (12H) – RGB1 DRIVER INDIVIDUAL MAXIMUM CURRENT CONTROL REGISTER D7 r-0 D6 r-0 D5 ir1[1:0] rw-0 rw-0 rw-0 D4 D3 ig1[1:0] rw-0 rw-0 D2 D1 ib1[1:0] rw-0 D0 Maximum current for R1 driver ir1[2:0] ir1[1:0] Bits 5-4 00 01 10 11 ig2[1:0] ig1[1:0] Bits 3-2 00 01 10 11 ib1[1:0] ib1[1:0] Bits 1-0 00 01 10 11 Maximum output current 0.25×IMAX 0.50×IMAX 0.75×IMAX 1.00×IMAX Maximum current for G1 driver Maximum output current 0.25×IMAX 0.50×IMAX 0.75×IMAX 1.00×IMAX Maximum current for B1 driver Maximum output current 0.25×IMAX 0.50×IMAX 0.75×IMAX 1.00×IMAX www.national.com 38 LP3952 RGB2_MAX_CURRENT (13H) – RGB2 DRIVER INDIVIDUAL MAXIMUM CURRENT CONTROL REGISTER D7 r-0 D6 r-0 D5 ir2[1:0] rw-0 rw-0 rw-0 D4 D3 ig2[1:0] rw-0 rw-0 D2 D1 ib2[1:0] rw-0 D0 Maximum current for R2 driver ir2[2:0] ir2[1:0] Bits 5-4 00 01 10 11 ig2[1:0] ig2[1:0] Bits 3-2 00 01 10 11 ib2[1:0] ib2[1:0] Bits 1-0 00 01 10 11 Maximum output current 0.25×IMAX 0.50×IMAX 0.75×IMAX 1.00×IMAX Maximum current for G2 driver Maximum output current 0.25×IMAX 0.50×IMAX 0.75×IMAX 1.00×IMAX Maximum current for B2 driver Maximum output current 0.25×IMAX 0.50×IMAX 0.75×IMAX 1.00×IMAX 39 www.national.com LP3952 AUDIO_SYNC_CTRL1 (2AH) – AUDIO SYNCHRONIZATION AND ADC CONTROL REGISTER 1 D7 rw-0 D6 gain_sel[2:0] rw-0 rw-0 D5 D4 sync_mode rw-0 D3 en_agc rw-0 D2 en_sync rw-0 D1 rw-1 D0 rw-1 input_sel[1:0] Input signal gain control gain_sel[2:0] 000 001 gain_sel[2:0] Bits 7-5 010 011 100 101 110 111 sync_mode Bit 4 gain, dB 0 (default) 3 6 9 12 15 18 21 Input filter mode control 0 – Amplitude mode 1 – Frequency mode 0 – automatic gain control disabled 1 – automatic gain control enabled 0 – audio synchronization disabled 1 – audio synchronization enabled ADC input selector input_sel[1:0] input_sel[1:0] Bits 1-0 00 01 10 11 Input Single ended input signal (ASE) Not used Not used No input (default) en_agc en_sync Bit 3 Bit 2 AUDIO_SYNC_CTRL2 (2BH) – AUDIO SYNCHRONIZATION AND ADC CONTROL REGISTER 2 D7 r-0 D6 r-0 D5 r-0 D4 en_avg rw-0 D3 rw-0 D2 rw-0 D1 rw-0 D0 rw-0 mode_ctrl[1:0] speed_ctrl[1:0] en_avg Bit 4 0 – averaging disabled. fsample = 122 Hz, data in register changes every 8.2 ms. 1 – averaging enabled. fsample = 244 Hz, averaging of 64 samples, data in register changes every 262 ms (3.2Hz). Filtering mode control LEDs light response time to audio input speed_ctrl[1:0] Response FASTEST (default) FAST MEDIUM SLOW 00 01 10 11 mode_ctrl[1:0] Bits 3-2 speed_ctrl[1:0] Bits 1-0 www.national.com 40 LP3952 PATTERN CONTROL REGISTERS Command_[1:8]A – Pattern Control Register A D7 rw-0 D6 r[2:0] rw-0 rw-0 rw-0 D5 D4 D3 g[2:0] rw-0 rw-0 rw-0 D2 D1 cet[3:2] rw-0 D0 Command_[1:8]B – Pattern Control Register B D7 cet[1:0] rw-0 rw-0 rw-0 D6 D5 D4 b[2:0] rw-0 rw-0 rw-0 D3 D2 D1 tt[2:0] rw-0 rw-0 D0 Red color intensity r[2:0] log=0 000 001 r[2:0] Bits 7-5A 010 011 100 101 110 111 g[2:0] log=0 000 001 g[2:0] Bits 4-2A 010 011 100 101 110 111 0×IMAX 7%×IMAX 14%×IMAX 21%×IMAX 32%×IMAX 46%×IMAX 71%×IMAX 100%×IMAX 0×IMAX 7%×IMAX 14%×IMAX 21%×IMAX 32%×IMAX 46%×IMAX 71%×IMAX 100%×IMAX Green color intensity current, % log=1 0×IMAX 1%×IMAX 2%×IMAX 4%×IMAX 10%×IMAX 21%×IMAX 46%×IMAX 100%×IMAX current, % log=1 0×IMAX 1%×IMAX 2%×IMAX 4%×IMAX 10%×IMAX 21%×IMAX 46%×IMAX 100%×IMAX 41 www.national.com LP3952 Command execution time cet[3:0] 0000 0001 0010 0011 0100 0101 cet[3:0] Bits 1-0A 7-6B 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 b[2:0] log=0 000 001 b[2:0] Bits 5-3B 010 011 100 101 110 111 tt[2:0] 000 001 tt[2:0] Bits 2-0B 010 011 100 101 110 111 RESET (60H) - RESET REGISTER D7 w-0 D6 w-0 D5 w-0 D4 w-0 D3 w-0 D2 w-0 D1 w-0 D0 w-0 0×IMAX 7%×IMAX 14%×IMAX 21%×IMAX 32%×IMAX 46%×IMAX 71%×IMAX 100%×IMAX Transition time Transition time, ms 0 55 110 221 442 885 1770 3539 CET duration, ms 197 393 590 786 983 1180 1376 1573 1769 1966 2163 2359 2556 2753 2949 3146 Blue color intensity current, % log=1 0×IMAX 1%×IMAX 2%×IMAX 4%×IMAX 10%×IMAX 21%×IMAX 46%×IMAX 100%×IMAX Writing any data to Reset Register in address 60H can reset LP3952 www.national.com 42 LP3952 Physical Dimensions inches (millimeters) unless otherwise noted The dimension for X1 ,X2 and X3 are as given: — X1=3.00 mm ±0.03 mm — X2=3.00 mm ±0.03 mm — X3=0.65 mm ±0.075 mm 36-bump Micro SMDxt Package, 3 x 3 x 0.65 mm, 0.5 mm pitch NS Package Number RLA36AAA See Application note AN1412 for PCB design and assembly instructions. 43 www.national.com LP3952 6-Channel Color LED Driver with Audio Synchronization Notes THE CONTENTS OF THIS DOCUMENT ARE PROVIDED IN CONNECTION WITH NATIONAL SEMICONDUCTOR CORPORATION (“NATIONAL”) PRODUCTS. NATIONAL MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS PUBLICATION AND RESERVES THE RIGHT TO MAKE CHANGES TO SPECIFICATIONS AND PRODUCT DESCRIPTIONS AT ANY TIME WITHOUT NOTICE. NO LICENSE, WHETHER EXPRESS, IMPLIED, ARISING BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. TESTING AND OTHER QUALITY CONTROLS ARE USED TO THE EXTENT NATIONAL DEEMS NECESSARY TO SUPPORT NATIONAL’S PRODUCT WARRANTY. EXCEPT WHERE MANDATED BY GOVERNMENT REQUIREMENTS, TESTING OF ALL PARAMETERS OF EACH PRODUCT IS NOT NECESSARILY PERFORMED. NATIONAL ASSUMES NO LIABILITY FOR APPLICATIONS ASSISTANCE OR BUYER PRODUCT DESIGN. BUYERS ARE RESPONSIBLE FOR THEIR PRODUCTS AND APPLICATIONS USING NATIONAL COMPONENTS. PRIOR TO USING OR DISTRIBUTING ANY PRODUCTS THAT INCLUDE NATIONAL COMPONENTS, BUYERS SHOULD PROVIDE ADEQUATE DESIGN, TESTING AND OPERATING SAFEGUARDS. EXCEPT AS PROVIDED IN NATIONAL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NATIONAL ASSUMES NO LIABILITY WHATSOEVER, AND NATIONAL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO THE SALE AND/OR USE OF NATIONAL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. LIFE SUPPORT POLICY NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE CHIEF EXECUTIVE OFFICER AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness. National Semiconductor and the National Semiconductor logo are registered trademarks of National Semiconductor Corporation. All other brand or product names may be trademarks or registered trademarks of their respective holders. Copyright© 2007 National Semiconductor Corporation For the most current product information visit us at www.national.com National Semiconductor Americas Customer Support Center Email: new.feedback@nsc.com Tel: 1-800-272-9959 National Semiconductor Europe Customer Support Center Fax: +49 (0) 180-530-85-86 Email: europe.support@nsc.com Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +49 (0) 870 24 0 2171 Français Tel: +33 (0) 1 41 91 8790 National Semiconductor Asia Pacific Customer Support Center Email: ap.support@nsc.com National Semiconductor Japan Customer Support Center Fax: 81-3-5639-7507 Email: jpn.feedback@nsc.com Tel: 81-3-5639-7560 www.national.com
LP3952RLX 价格&库存

很抱歉,暂时无法提供与“LP3952RLX”相匹配的价格&库存,您可以联系我们找货

免费人工找货