AS3693C austriamicrosystems Product Specification, Confidential AS3693C–9 Channel high precision LED driver for LCD Backlight 1 General Description The AS3693C is a 9 channels high precision LED controller with build in PWM generators for driving external FETs in LCD-backlight panels. External clock and synchronizing inputs allow the synchronization of the LCD backlight with the TV picture. Local dimming and scan dimming is supported by 9 independent PWM generators with programmable delay, period and duty cycle. Three free configurable dynamic power feedback circuits make the device usable for white LED as well as RGB backlights. Build in safety features include thermal shutdown as well as open and short LED detection. All circuit parameters are programmable via I2C or SPI interface. 2 Key Features 9 Channel LED driver Output current only limited by external transistor Output voltage 0.4V to 50V Absolute current accuracy +/- 0.5% Output slew rate programmable Current programmable with external resistor Linear current control with 8 - bit DAC Linear current control with external analog voltage Digital current control with 9 independent PWM generators Free programmable 12 bit resolution ( period, high time and delay ) Overvoltage detection ( short LED ) Undervoltage detection ( open LED ) Temperature shutdown Fault interrupt output H-Sync, V-Sync inputs to synchronize with TVset Internal or external PWM – clock I2C interface SPI interface 5 bit device - address (sets device address and interface mode) Automatic supply regulation feedback Each output can be assigned to red, green or blue feedback. Package LQFP44 LD 10x10mm 3 Applications • www.austriamicrosystems.com LED backlighting for LCD – TV sets and monitors Revision 1.4 / 2009-08-13 1 - 30 AS3693C austriamicrosystems 4 Block Diagram V2_5 REF Vreg FBB FBG FBR Vsupply PWM Reference, DAC PWM Fault detectors SMPS feedback PWM PWM PWM AS3693C PWM PWM 86 byte registers www.austriamicrosystems.com SDA SCL CS SDO Vsync Hsync SPI / I2C Interface PWM Addr2 Addr1 Fault PWM Revision 1.4 / 2009-08-13 V2_5 2 - 30 AS3693C austriamicrosystems Table of Contents 1 General Description ....................................................................................................................................... 1 2 Key Features.................................................................................................................................................. 1 3 Applications.................................................................................................................................................... 1 4 Block Diagram................................................................................................................................................ 2 Characteristics ...................................................................................................................................................... 4 4.1 Absolute Maximum Ratings .................................................................................................................... 4 4.2 Operating Conditions .............................................................................................................................. 5 4.3 Electrical Characteristics......................................................................................................................... 5 5 Typical Operation Characteristics .................................................................................................................. 7 5.1 Output current vs Output Voltage ........................................................................................................... 7 5.2 Vsupply vs VREG and V2.5 at startup .................................................................................................... 7 5.3 9us Slew Rate......................................................................................................................................... 8 5.4 Supply Regulation ................................................................................................................................... 8 6 Block Description ........................................................................................................................................... 9 6.1 Feedback Circuit ..................................................................................................................................... 9 6.1.1 Feedback Selection ....................................................................................................................... 10 6.1.2 Voltage fault registers .................................................................................................................... 11 6.2 Curreg 1-16........................................................................................................................................... 11 6.3 PWM – modes ...................................................................................................................................... 13 6.3.1 SYNC mode (PWM_MODE = 00) .................................................................................................. 13 6.3.2 ASYNC – mode (PWM_MODE = 01) ............................................................................................ 15 6.4 PWM – high time, period and delay registers ....................................................................................... 16 6.5 Shunt Regulator .................................................................................................................................... 17 6.5.1 Undervoltage lockout ..................................................................................................................... 17 6.6 Over temperature control ...................................................................................................................... 17 Device address setup ...................................................................................................................................... 18 6.6.1 I2C Device Address setup ............................................................................................................. 18 6.6.2 SPI Device Address setup ............................................................................................................. 18 6.7 Digital interface ..................................................................................................................................... 19 6.7.1 I2C interface .................................................................................................................................. 19 6.7.2 SPI interface .................................................................................................................................. 21 7 Register map................................................................................................................................................ 23 8 Pinout and Packaging .................................................................................................................................. 26 8.1 Pinout.................................................................................................................................................... 26 8.2 Package drawing LQFP44 .................................................................................................................... 28 9 Ordering Information .................................................................................................................................... 30 Copyright ............................................................................................................................................................. 30 Disclaimer ........................................................................................................................................................... 30 Contact Information ............................................................................................................................................. 30 www.austriamicrosystems.com Revision 1.4 / 2009-08-13 3 - 30 AS3693C austriamicrosystems Characteristics 4.1 Absolute Maximum Ratings Stresses beyond those listed in Table 1 may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these or any other conditions beyond those indicated in Section 5 Electrical Characteristics is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 1 – Absolute Maximum Ratings Symbol Parameter Min Max Unit VDDMAX Supply for LED’s -0.3 >50 V See notes VINVREG VREG supply voltage -0.3 7.0 V Applicable for pin VREG IINVREG Maximum Vreg current 100 mA VIN2.5V 2.5 V Pins -0.3 V2_5+0.3V V Applicable for 2.5V pins VIN5V 5V Pins -0.3 VREG+ 0.3V V Applicable for 5V pins2 VIN50V 50V Pins -0.3 55 V Applicable for CURR1, CURR2, CURR3 up to CURR16 IIN Input Pin Current -25 +25 mA At 25ºC, Norm: Jedec 17 TSTRG Storage Temperature Range -55 150 °C Humidity 5 85 % Non condensing -4000 4000 V Norm: MIL 883 E Method 3015 -2000 2000 V Norm: MIL 883 E Method 3015 W At Ta = 25ºC, no airflow for LQFP 3 44 on two layer FR4-Cu PCB VESD Electrostatic Discharge on Pins Curr1 – Curr9 VESD Electrostatic Discharge on all Pins PT Total Power Dissipation 0.5 PDERATE PT Derating Factor 40 TBODY Body Temperature during Soldering 260 Note 1 Maximum Current flowing into Vreg 4 mW/ 3 See notes °C °C according to IPC/JEDEC J-STD020C Notes: 1, As the AS3693C is not directly connected to this supply. Only the parameters VINVREG, VIN5V and VIN50V have to be guaranteed by the application 2, All pins except CURR1 to CURR16 and 2.5V 3, Copper area > 9 cm², thermal vias 4, 2.5V Pins are Fault, SDO, ADDR1 and ADDR2 www.austriamicrosystems.com Revision 1.4 / 2009-08-13 4 - 30 AS3693C austriamicrosystems 4.2 Operating Conditions Table 2 – Operating Conditions Symbol Parameter VDD Main Supply VDDTOL Main Supply Voltage Tolerance VREGINT Supply (shunt regulated by AS3693C) VREGEXT Untervoltage lockout voltage VUVL Min Typ -20 Max Unit Note Not Limited V Supply is not directly connected to the AS3693C – see section ‘Shunt Regulator’ +20 % Applies only for supply VREG is connected via Rvdd 5.0 5.2 5.4 V If internally (shunt-)regulated by ZD1 3 4.5 4.9 V If externally supplied 2.4 2.7 3 V If Vreg < UVUL current sources are turned off ( Addr 0x01,Addr 0x02 = 0x00 ) IVREG Supply Current (Chip current consumption) 20 Excluding current through shunt regulator (ZD1) – see section mA ‘Shunt Regulator’. Note: Take care of the Power dissipation of the external Resistor. IVREG_M Maximum Supply current 30 Maximum Current Into VREG – mA PIN (Supply current + shunt regulator current). 350 uA Max Unit 50.0 V +0.5 % @25C TJUNCTION, excluding variation of external resistors -20°C to +100°C(1) TJUNCTION, -20°C to +85°C TAMB, excluding variation of external resistors; V(CURRx) <= 4.0V AX Condition: externally supplied IVREG EXT_OFF Curr_reg1-16 off (register 01h = 00h, register 02h = 00h) 4.3 Electrical Characteristics Table 3 – Analog Electrical Characteristics Symbol Parameter VCURR Voltage at CURR1 to CURR9 Min Typ -0.5 ICURR, Current Source Tolerance TOL -1.5 +1.5 % DAC_INL DAC INL -4 +4 LSB VC Automatic Supply Regulation trip point 0.5 1 V VC,GAIN Automatic Supply Regulation gain TOVTEMP Over temperature Limit Thyst Over temperature hysteresis CLK Internal Clock for PWM 2.0 130 140 150 500 See section ‘Feedback Circuit (DCDC_Regulation_Trip_Point)’. mA/V Voltage to current ratio; output current range typ. 0 to 200uA °C Maximum junction temperature (2) °C 10 400 Note 600 KHz Clock for internal PWM generation Notes: 1, Accuracy at +100°C guaranteed by design and verified by laboratory characterization 2, If the temperature exceeds the over temperature limit, the PWM will be turned off. If the temperature decreases, the PWM is activated again. The register settings are not reset. www.austriamicrosystems.com Revision 1.4 / 2009-08-13 5 - 30 AS3693C austriamicrosystems Table 4 – Digital Input pins characteristics (SDI,VSYNC,HSYNC,SCL,CS) Symbol Parameter Min VIH High Level Input voltage Typ Max Unit 1.3 VREG V -0.3 VIL Low Level Input voltage 0.4 V f_SCL Maximum SCL Frequency 10 MHz f_HSYNC Maximum HSYNC Frequency 10 MHz Note Output driver is slew rate limited ( Register: Curreg_Control 0x0D ) SYNC-mode: ts_VH Vsync setup time before rising edge of Hsync th_VH Vsync hold time after rising edge of Hsync 15 ns ts_SCISCL Setup time SDI,SCL 15 ns SPI interface mode th_SCLSCI Hold time SCL,SDI 15 ns SPI interface mode ts_CSSCL Setup time CS,SCL 15 ns SPI interface mode Hold time SCL, CS 15 ns SPI interface mode 1.3 us I2C interface mode 100 ns I2C interface mode 160 ns I2C interface mode 160 ns I2C interface mode 15 ns PWM values are updated with first rising edge of Hsync while Vsync = 1 ( see 7.3.1.1 ) th_SCLCS tBUF Tsetupstart Tholdstart Tsetupstop Bus free time between Stop and Start conditions Setup time for repeated Start condition Hold time for repeated Start condition Setup time for Stop condition Table 5 – Digital output pins characteristics (SDO) Symbol Parameter Min Max Unit VOH High Level Output voltage 2.4 2.5 V VOL Low Level Output voltage -0.3 0.4 V www.austriamicrosystems.com Typ Revision 1.4 / 2009-08-13 Note 6 - 30 AS3693C austriamicrosystems 5 Typical Operation Characteristics 5.1 Output current vs Output Voltage 0,16 0,14 0,12 0,1 150mA 75mA 25mA 0,08 0,06 0,04 0,02 0 0 5 10 15 20 25 5.2 Vsupply vs VREG and V2.5 at startup Channel 1 = VREG Channel 2 = V2_5 Channel3 = Vsupply www.austriamicrosystems.com Revision 1.4 / 2009-08-13 7 - 30 AS3693C austriamicrosystems 5.3 9us Slew Rate Channel 1 = Voltage on Current Source Channel 2 + Voltage on RES Pin 5.4 Supply Regulation Channel 1 = DCDC VOUT (30V) Channel 2 = Voltage on RES Pin Channel 3 = Voltage on Curr Pin www.austriamicrosystems.com Revision 1.4 / 2009-08-13 8 - 30 AS3693C austriamicrosystems 6 Block Description 6.1 Feedback Circuit The AS3693C supports a flexible feedback selection for external DCDC – supplies. Beside the default setup for RGGB lighting, each channel can be assigned to an external DCDC feedback loop. This feedback circuit is important to reduce power dissipation of the device. Table 6 – Feedback Control Addr: 04h Feedback control Enables and Disables the Different Feedback modes Bit Bit Name Default Access Description 0 Feedback on 1 R/W 1 Feedback on PWM 0 R/W 2 Open_Led_Det_on 0 R/W 3 Short_det_on 0 R/W 4 Short Led Detect Voltage(VSL) 7:6 DCDC_Regulation_ trip Point (VC) 1 = Feedback circuit is active 0 = The entire feedback loop is disabled 0 = The Feedback Regulator is always active 1 = The Feedback Regulator is only active, if PWM = 1 Enables open led detection comparators 0 = Open Led Detection disabled 1 = Open Led Detection enabled Enables short detection 0 = Short detection off 1 = Sort Detection on Short led detection trip voltage ( debounced 3mS ) 00 = 2V 01 = 3V Trip point voltage of the DCDC-feedback regulation circuit. (NOTE: This value has to be adjusted if analog ref select bit is changed.) 00 = 0.5V (Note use for Currents up to 70 mA) 01 = 0.6V (Note use for Currents up to 80 mA) 10 = 0.8V (Note use for Currents up to 110 mA) 11 = 1.0V (Note use for Currents up to 150 mA) www.austriamicrosystems.com R/W 00 R/W Revision 1.4 / 2009-08-13 9 - 30 AS3693C 6.1.1 austriamicrosystems Feedback Selection In the AS3693C, each led – string feedback can be assigned to the specific led-supply, to minimize the power consumption in the system. It can be chosen in between FBR, FBG and FBB. DCDC Converter for VDD (Internal or externa)l From main supply R1 Voltage Feedback input for DCDC R3 Vfb R2 C1 Feedback resistor divider (part of DCDC converter circuit) AS3693C ANALOG REGULATION CIRCUIT 16 REGULATORS 3...16 2 1 FB R FB G FB B NOFB VC SHORTLED VSL OPENLED VOL REF R5 Table 7 – Feedback Selection Addr: 05h,06h,07h,08h Feedback Select 1-4 This register controls the Feedback of the Automatic feedback loop Bit Bit Name Default Access 1:0 FB1_Select FB5_Select FB9_Select FB13_Select 00 R/W 3:2 FB2_Select FB6_Select FB10_Select FB14_Select 01 R/W 5:4 FB3_Select FB7_Select FB11_Select FB15_Select 01 R/W www.austriamicrosystems.com Description Selects the feedback of the voltage regulators 00= regulator on FBR 01= regulator on FBG 10= regulator on FBB 11= regulator not connected to FB Selects the feedback of the voltage regulators 00= regulator on FBR 01= regulator on FBG 10= regulator on FBB 11= regulator not connected to FB Selects the feedback of the voltage regulators 00= regulator on FBR 01= regulator on FBG 10= regulator on FBB 11= regulator not connected to FB Revision 1.4 / 2009-08-13 10 - 30 AS3693C austriamicrosystems Table 7 – Feedback Selection Addr: 05h,06h,07h,08h Feedback Select 1-4 This register controls the Feedback of the Automatic feedback loop Bit Bit Name Default Access 7:6 FB4_Select FB8_Select FB12_Select FB16_Select 10 R/W Description Selects the feedback of the voltage regulators 00= regulator on FBR 01= regulator on FBG 10= regulator on FBB 11= regulator not connected to FB 6.1.2 Voltage fault registers In this registers a open or short led fault can be detected. If an open or short led error occurs, pin fault is pulled to 0 (3 ms debounced ). Remark: At 100% PWM duty cycle, short led fault detection is not available. Please set PWM to 99% duty cycle. Open led fault detection is available at 100% PWM duty cycle. Table 8 – Fault Registers Addr: 09h-0ch Voltage Fault 1,2,3,4 This register shows a fault on any led string Bit 1:0 3:2 5:4 7:6 Bit Name Fault_Reg 1 Fault_Reg 5 Fault_Reg 9 Fault_Reg 13 Fault_Reg 2 Fault_Reg 6 Fault_Reg 10 Fault_Reg 14 Fault_Reg 3 Fault_Reg 7 Fault_Reg 11 Fault_Reg 15 Fault_Reg 4 Fault_Reg 8 Fault_Reg 12 Default Access 00 R Shows a error on any led string 00 = no fault 01 = open led 10 = short led R Shows a error on any led string 00 = no fault 01 = open led 10 = short led 00 R Shows a error on any led string 00 = no fault 01 = open led 10 = short led 00 R Shows a error on any Led string 00 = no Fault 01 = open Led 10 = short Led 00 Fault_Reg 16 Description 6.2 Curreg 1-16 Each current source can be turned on and off separately. Table 9 –Reg. Control 1 Addr: 01h Reg. Control1 Bit Bit Name Default Access 7:0 Curreg 1-8_ON 00000000 This register enables or disables the curreg 1 - 8 R/W www.austriamicrosystems.com Description Enables or disables the current regulators 0 = regulator off 1 = regulator on Revision 1.4 / 2009-08-13 11 - 30 AS3693C austriamicrosystems Table 10– Reg.Control 2 Addr: 02h Reg. Control2 Bit Name Default Access 7:0 Curreg 9 -16_ON 00000000 This Register enables or disables the curreg 9-16 Bit R/W Description Enables or disables the current regulators 0 = regulator off 1 = regulator on Table 11 –CURREG_CONTROL Addr: 0dh Curreg Control Controls Rise, Fall times and References of the Curreg. Bit Bit Name Default Access 1:0 Analog Ref Select 00 R/W 3:2 SLEW_RATE_CONT ROL 00 R/W 5:4 PWM_LOW_LEVEL 00 R/W 7 boost mode 0 R/W Description Voltage reference for the current regulators can be chosen with these options. 00 = 250mV reference 01 = external reference 10 = DAC reference 11 = do not use SLEW – RATE – Control. Adjusts the rise and fall time of the current switching 00 = typ. 9us 01 = typ. 6us 10 = typ. 3us 11 = typ. 1us Note: Test bits for internal use only Gives +30% current. only available in internal reference mode. AS3693C Reference Sources Analog Ref Select 3-16 2 0,5% VREF 250mV 1 PWM 8Bit DAC 0...500mV External Reference www.austriamicrosystems.com Curreg Revision 1.4 / 2009-08-13 12 - 30 AS3693C austriamicrosystems Table 12 – Ref_DAC_Voltage Addr: 0eh Ref_DAC_Voltage The Regulation Voltage can be chosen in this register Bit Bit Name 7…0 Default Ref_DAC_Voltage Access Description R/W Reference voltage for current regulators. (Note: If Analog Ref Select = 10, the regulation voltage can be adjusted here. 00000000 = 0mV 00000001 … 01111111 = 250 mV .. 11111111= 500mV 00 6.3 PWM – modes Table 14– PWM CONTROL Addr: 0fh PWM_MODE Controls the different PWM modes and Internal or external PWM Bit Bit Name Default Access 1:0 PWM_MODE 01 R/W 2 PWM INT/EXT 1 R/W 3 VSYNC_INVERT 0 R/W 4 PWMINVERT 0 R/W Description 00 Sync mode 01 Async - mode 10 not used 11 not used NOTE: Sync mode can only be used with PWM INT = 0. 0 PWM generator uses external H and Vsync clock 1 PWM generator uses internal 500kHz clock. 0 VSYNC active high (PWM triggers on rising edge) 1 VSYNC active low (PWM triggers on falling edge) 0 PWM normal (PWM starts with “1” after delay) 1 PWM inverted(PWM starts with “0” after delay) Note: If Vsync or Hsync is not used, connect it to GND. 6.3.1 SYNC mode (PWM_MODE = 00) In this mode the PWM is synchronized with VSYNC and HSYNC. Reg: N Vsync Delay Reset Or R Hsync Counter Reg: P Compare Compare Reg: M www.austriamicrosystems.com Revision 1.4 / 2009-08-13 PWM PWMINVERT( Register 0x0F ) 13 - 30 AS3693C austriamicrosystems Setup options: Delay (N) = registers 0h32 to 0h51 High Time (M) = registers 0h12 to 0h31 PWM Period (P) = register 0h10 P WM duration = t vsync V sync Hsync P WM Reset P*t > t reset with Vsync hsync vsync Delay =N * t hsync P WM P WM s ignal: High time = M * t hsync P WM P eriode = t vsyunc P*t < t Repetitive PWM reset with P * t hsync vsync P WM hsync P WM s ignal: High time = M * t hsync P WM P eriode = P * t hsync Restart Example: Two PWM output channels with fixed delays and variable high times (HT) PWMINVERT = 0 PWMINVERT = 1 6.3.1.1 SYNC – mode PWM – generator update cycle. www.austriamicrosystems.com Revision 1.4 / 2009-08-13 14 - 30 AS3693C austriamicrosystems -Store new values from serial interface -Update delay immediately VSYNC -no new data -new data Update HighTime, Period Delayed VSYNC (internal) PWM Shift new data in PWM – State maschine Restart PWM VSYNC HSYNC 6.3.2 ASYNC – mode (PWM_MODE = 01) This PWM is synchronized with Hsync or internal 500KHz clock. The registers are updated with each serial data. Reset Vsync R Reg: P Counter Hsync Compare Compare Reg: M PWM PWMINVERT( Register 0x0F ) High time (M) = registers 0h12 to 0h 31 PWM period (P) = register 0h10 H sync AsyncMode Repetitive PWM no Reset Syncronized on Hsync or internal Clock www.austriamicrosystems.com P WM P WM s ignal: H igh time = M * t hsync P WM P eriode = P * t hsync Revision 1.4 / 2009-08-13 15 - 30 AS3693C austriamicrosystems 6.4 PWM – high time, period and delay registers Table 15 – Curreg1-16_DELAY_LSB Addr: 32h – 50h CURREGX_DELAY_LSB Bit 7:0 Bit Name CurregX_DELAY_LSB Default Access 00000000 Defines delay of the different PWM’s R/W Description Defines the delay time of the PWM Table 16 – Curreg1-16_DELAY_MSB Addr: 32h-51h CURREGX_DELAY_LSB Defines delay of the different PWM’s Bit 3:0 Bit Name Default Access CurregX_DELAY_MSB 0000 R/W Description Defines the delay time of the PWM Table 17– PWM_PERIOD_LSB Addr: 10h PWM – Period – LSB Bit Bit Name Default Access 7:0 PWM_PERIOD_LSB 11111111 Defines PWM – Periode R/W Description Defines the period of the PWM Table 18– PWM_PERIOD_MSB Addr: 11h PWM – Period – MSB Defines PWM – Periode Bit Bit Name Default Access 3:0 PWM_PERIOD_MSB 0000 R/W Description Defines the period of the PWM Table 19– Curreg1-16_HT_LSB Addr: 12h-30h CURREGX_HT_LSB Defines High Time of PWM Bit Bit Name Default Access 7:0 Curreg1_HT_LSB 0 R/W www.austriamicrosystems.com Description Defines PWM high time Revision 1.4 / 2009-08-13 16 - 30 AS3693C austriamicrosystems Table 20– Curreg1-16_HT_MSB Addr: 13h-31h CURREGX_HT_MSB Defines High Time of PWM Bit Bit Name Default Access 3:0 Curreg1_HT_MSB 0000 R/W Description Defines PWM high time 6.5 Shunt Regulator The supply of the AS3693C is generated from the high voltage supply. To obtain a 5V regulated supply, a series resistor Rvdd is used together with an internal zener diode (ZD1). An external capacitor Cvdd is used to filter the supply on the pin VREG. The external resistor Rvdd has to be choosen according to the following formula: Rvdd = VDDMIN is the minimum voltage of the supply, where Rvdd is connected VDDMIN − 5,4V 20mA This ensures enough supply current (IVREGMAX) for the AS3693C under minimum supply voltage VDDMIN. If a stable 5V supply within the operating conditions limits of VREGEXT is already existing in the system it is possible to supply the AS3693C directly. In this case remove the resistor Rvdd and connected this supply directly to VREG. 6.5.1 Undervoltage lockout The undervoltage lockout is an additional safety feature to prevent LED-current under abnormal Vreg conditions. If the supply voltage Vreg is below 3V (e.g. device is supplied only by the voltage of the serial interface ) the registers Reg.Control1 and RegControl2 (0x01 and 0x02) are reset. This turns off all current sinks. Vreg 3V to 5.4V Reset Register 0x01 Reset Register 0x02 2.7V 6.6 Over temperature control Table 14– Overtemp Control Addr:55h Over temperature Control Controls the temperature functions Bit Bit Name Default Access 0 overtemp_on 1 R/W 1 ov_temp 0 R/W www.austriamicrosystems.com Description Enables the over temperature protection 0 = Protection off 1 = Protection on Displays temperature status 0 = Normal operation 1 = Over temperature shutdown Revision 1.4 / 2009-08-13 17 - 30 AS3693C austriamicrosystems Device address setup The I2C and SPI – Device address can be set via PIN ADDR1 and ADDR2. The AS3693C offers 31 I2C or 32 SPI addresses, which can be set via external resistor. ADDR2 bit 2 decides if I2C or SPI interface is used. AS3693 Flexible 6- Bit Address Programming with 2 external resistors. Digital Digital Registers PWM - Generator 6 Bit I2C ADDRESS ADC ADDR1 R1 ADDR2 R2 Table 13– Device Address Device Adress Setup: I2C ADDRESS I2C ADDRESS Options Bit Bit Name Default Access 2:0 Device ADDR1 000 R 5:3 Device ADDR2 000 R Description Lower 3 bits of device address 000 open Note: don’t use address 00h 001 320kΩ 010 160kΩ 011 80kΩ 100 40kΩ 101 20kΩ 110 10kΩ 111 0Ω Upper 3 bits of device address 000 open Note: activates I2C - mode 001 320kΩ Note: activates I2C - mode 010 160kΩ Note: activates I2C - mode 011 80kΩ Note: activates I2C - mode 100 40kΩ Note: activates SPI - mode 101 20kΩ Note: activates SPI - mode 110 10kΩ Note: activates SPI - mode 111 0Ω Note: activates SPI – mode 6.6.1 I2C Device Address setup BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 0 0 (ADDR2<2>) ADDR2<1> ADDR2<0> ADDR1<2> ADDR1<1> ADDR1<0> R/W 6.6.2 SPI Device Address setup BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 0 0 1 (ADDR2<2>) ADDR2<1> ADDR2<0> ADDR1<2> ADDR1<1> ADDR1<0> www.austriamicrosystems.com Revision 1.4 / 2009-08-13 18 - 30 AS3693C austriamicrosystems 6.7 Digital interface The AS3693C can be controlled with two types of interfaces. 6.7.1 I2C interface 6.7.1.1 Feature List Fast-mode capability (max. SCL-frequency is 400 kHz) Write formats: Single-Byte-Write, Page-Write Read formats: Current-Address-Read, Random-Read, Sequential-Read SDA input delay and SCL spike filtering by integrated RC-components • • • • 6.7.1.2 Transfer Formats 2 Figure 1 – I C Byte-Write: S DW A WA A reg_data S Sr DW DR WA A N P white field grey field WA++ A P write register, WA++ START condition after STOP repeated START device address for write device address for read word address acknowledge no acknowledge stop condition slave as receiver slave as transmitter increment word address internally 2 Figure 2 – I C Page-Write: S DW A WA A reg_data 1 A reg_data 2 … A reg_data n write register WA++ write register WA++ A P write register WA++ Byte-Write and Page-Write are used to write data to the slave. The transmission begins with the START condition, which is generated by the master when the bus is in IDLE state (the bus is free). The device-write address is followed by the word address. After the word address any number of data bytes can be send to the slave. The word address is incremented internally, in order to write subsequent data bytes on subsequent address locations. For reading data from the slave device, the master has to change the transfer direction. This can be done either with a repeated START condition followed by the device-read address, or simply with a new transmission START followed by the device-read address, when the bus is in IDLE state. The device-read address is always followed st by the 1 register byte transmitted from the slave. In Read-Mode any number of subsequent register bytes can be read from the slave. The word address is incremented internally. The diagrams below show various read formats available: 2 Figure 3 – I C Random-Read: S DW A WA A Sr DR A data read register WA++ N P WA++ Random-Read and Sequential-Read are combined formats. The repeated START condition is used to change the direction after the data transfer from the master. www.austriamicrosystems.com Revision 1.4 / 2009-08-13 19 - 30 AS3693C austriamicrosystems The word address transfer is initiated with a START condition issued by the master while the bus is idle. The START condition is followed by the device-write address and the word address. In order to change the data direction a repeated START condition is issued on the 1st SCL pulse after the acknowledge bit of the word address transfer. After the reception of the device-read address, the slave becomes the transmitter. In this state the slave transmits register data located by the previous received word address vector. The master responds to the data byte with a not-acknowledge, and issues a STOP condition on the bus. 2 Figure 4 – I C Sequential-Read: S DW A WA A Sr DR A data 1 A data 2 … A data n read register WA++ N P WA++ Sequential-Read is the extended form of Random-Read, as more than one register-data bytes are transferred subsequently. In difference to the Random-Read, for a sequential read the transferred register-data bytes are responded by an acknowledge from the master. The number of data bytes transferred in one sequence is unlimited (consider the behavior of the word-address counter). To terminate the transmission the master has to send a not-acknowledge following the last data byte and generate the STOP condition subsequently. 2 Figure 5 – I C Current-Address-Read: S DR A data 1 read register WA++ A data 2 … read register WA++ A data n read register WA++ N P WA++ To keep the access time as small as possible, this format allows a read access without the word address transfer in advance to the data transfer. The bus is idle and the master issues a START condition followed by the DeviceRead address. Analogous to Random-Read, a single byte transfer is terminated with a not-acknowledge after the 1st register byte. Analogous to Sequential-Read an unlimited number of data bytes can be transferred, where the data bytes has to be responded with an acknowledge from the master. For termination of the transmission the master sends a not-acknowledge following the last data byte and a subsequent STOP condition. www.austriamicrosystems.com Revision 1.4 / 2009-08-13 20 - 30 AS3693C 6.7.2 austriamicrosystems SPI interface SPI – Interface Pins OUTPUT Digital SDI Control -Registers PWM - Generator SCL CS FAULT SDO VSYNC HSYNC ADDR1 ADDR2 SPI Mode – Digital Interface Pins: CS(N) Chip Select input SDO Serial Data output SDI Serial Data input SCL Serial Clock input VSYNC Video Sync signal input HSYNC Video Sync signal input ADDR1 Device Address pins (can be ADDR2 set via resistor). 6.7.2.1 Read Sequence CS1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 0 15 16 17 18 7 6 5 19 20 21 22 23 2 1 0 SCK 7 Bit Register Address 8 Bit Device Address SDI (SDA) 7 6 5 4 3 2 1 0 6 5 4 3 2 R/W 1 Data Out SDO High Impedance 4 3 6.7.2.2 Page Read Sequence www.austriamicrosystems.com Revision 1.4 / 2009-08-13 21 - 30 AS3693C austriamicrosystems 6.7.2.3 Write Sequence CS1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 TWC SCL 7 Bit Address 8 Bit Device Address SDI (SDA) 7 6 5 4 3 2 0 1 5 6 4 3 10 11 R/W 2 1 12 13 14 1 0 0 Data Byte 0 7 6 5 4 3 2 1 0 20 21 22 23 2 1 0 High Impedance SDO 6.7.2.4 Page Write Sequence CS1 0 1 2 3 4 5 6 7 8 9 15 16 17 18 7 6 5 19 SCK 8 Bit Device Address SDI (SDA) 7 6 5 4 3 7 Bit Register Address 2 1 6 0 5 4 3 2 R/W 0 Data Byte 1 4 3 CS1 24 25 26 7 6 5 27 28 29 30 31 32 33 34 2 1 0 7 6 5 35 36 37 38 39 2 1 0 SCK Data Byte 2 SD (SDA) 4 www.austriamicrosystems.com 3 Data Byte 3 4 3 Data Byte n (32 max) Revision 1.4 / 2009-08-13 7 6 5 4 3 2 1 0 22 - 30 AS3693C austriamicrosystems 7 Register map Addr Def ault B7 b6 b5 B4 b3 b2 b1 b0 Reg. Control1 01h 00h Curreg 8_ON Curreg7 _ON Curreg6 _ON Curreg5 _ON Curreg4 _ON Curreg 3_ON Curreg 2_ON Curreg1 _ON Reg Control 2 02h 00h Curreg 16_ON Curreg1 5_ON Curreg1 4_ON Curreg1 3_ON Curreg1 2_ON Curreg 11_ON Curreg 10_ON Curreg9 _ON Short_Led Detect Voltage SHORT _DET_ ON OPEN_ LED _DET _ON Feedba ck_on_ PWM FEEDB ACK_O N Name Feedback Control 04h 01h DCDC_REGULATI ON_TRIP_POINT Fedback Select 1 05h 94h FB4_ Select FB3_ Select FB2_ Select FB1_Select Fedback Select 2 06h 94h FB8_ Select FB7_ Select FB6_ Select FB5_ Select Fedback Select 3 07h 94h FB12_ Select FB11_ Select FB10_ Select FB9_ Select Fedback Select 4 08h 94h FB16_ Select FB15_ Select FB14_ Select FB13_ Select Voltage_Fault 1 09h 00h Fault_Reg4 Fault_Reg3 Fault_Reg2 Fault_Reg1 Voltage_Fault 2 0Ah 00h Fault_Reg8 Fault_Reg7 Fault_Reg6 Fault_Reg5 Voltage_Fault 3 0Bh 00h Fault_Reg12 Fault_Reg11 Fault_Reg10 Fault_Reg9 Voltage_Fault 4 0Ch 00h Fault_Reg16 Fault_Reg15 Fault_Reg14 Fault_Reg13 PWM_LOW_LEVE L RC_SEL Select Ref CURREG_CONTR OL 0Dh 00h Ref_DAC_Voltage 0Eh 00h boost mode switch_ output_ driver Vref_DAC PWM PWM –CONTROL 0Fh 04h PWMPERIOD_LSB 10h FFh PWM-PERIODMSB 11h 00h Curreg1_HT_LSB 12h 00h Curreg1_HT_MSB 13h 00h Curreg2_HT_LSB 14h 00h Curreg2_HT_MSB 15h 00h Curreg3_HT_LSB 16h 00h Curreg3_HT_MSB 17h 00h Curreg4_HT_LSB 18h 00h Curreg4_HT_MSB 19h 00h Curreg5_HT_LSB 1Ah 00h Curreg5_HT_MSB 1Bh 00h Curreg6_HT_LSB 1Ch 00h Curreg6_HT_MSB 1Dh 00h Curreg7_HT_LSB 1Eh 00h Curreg7_HT_MSB 1Fh 00h www.austriamicrosystems.com INVER T VSYNC _INVER T PWMINT/EX T PWM - MODE PWM –PERIOD - LSB PWM – period - MSB Curreg1_HT_LSB Curreg1_HT_MSB Curreg2_HT_LSB Curreg2_HT_MSB Curreg3_HT_LSB Curreg3_HT_ MSB Curreg4_HT_LSB Curreg4_HT_ MSB Curreg5_HT_LSB Curreg5_HT_ MSB Curreg6_HT_LSB Curreg6_HT_ MSB Curreg7_HT_LSB Curreg7_HT_ MSB Revision 1.4 / 2009-08-13 23 - 30 AS3693C Name austriamicrosystems Addr Def ault Curreg8_HT_LSB 20h 00h Curreg8_HT_MSB 21h 00h Curreg9_HT_LSB 22h 00h Curreg9_HT_MSB 23h 00h Curreg10_HT_LSB 24h 00h Curreg10_HT_MSB 25h 00h Curreg11_HT_LSB 26h 00h Curreg11_HT_MSB 27h 00h Curreg12_HT_LSB 28h 00h Curreg12_HT_MSB 29h 00h Curreg13_HT_LSB 2Ah 00h Curreg13_HT_MSB 2Bh 00h Curreg14_HT_LSB 2Ch 00h Curreg14_HT_MSB 2Dh 00h Curreg15_HT_LSB 2Eh 00h Curreg15_HT_MSB 2Fh 00h Curreg16_HT_LSB 30h 00h Curreg16_HT_MSB 31h 00h Curreg1_DELAY_L SB 32h 00h Curreg1_ DELAY _MSB 33h 00h Curreg2_ DELAY _LSB 34h 00h Curreg2_ DELAY _MSB 35h 00h Curreg3_ DELAY _LSB 36h 00h Curreg3_ DELAY _MSB 37h 00h Curreg4_ DELAY _LSB 38h 00h Curreg4_ DELAY _MSB 39h 00h Curreg5_DELAY_L SB 3Ah 00h Curreg5_DELAY_M SB 3Bh 00h Curreg6_DELAY_L SB 3Ch 00h Curreg6_DELAY_M SB 3Dh 00h Curreg7_DELAY_L SB 3Eh 00h Curreg7_DELAY_M SB 3Fh 00h Curreg8_DELAY_L SB 40h 00h www.austriamicrosystems.com B7 b6 b5 B4 b3 b2 b1 b0 Curreg8_HT_LSB Curreg8_HT_ MSB Curreg9_HT_LSB Curreg9_HT_ MSB Curreg10_HT_LSB Curreg10_HT_ MSB Curreg11_HT_LSB Curreg11_HT_ MSB Curreg12_HT_LSB Curreg12_HT_MSB Curreg13_HT_LSB Curreg13_HT_MSB Curreg14_HT_LSB Curreg14_HT_MSB Curreg15_HT_LSB Curreg15_HT_MSB Curreg16_HT_LSB Curreg16_HT_MSB Curreg1_DELAY_LSB Curreg1_DELAY_MSB Curreg2_DELAY_LSB Curreg2_DELAY_MSB Curreg3_DELAY_LSB Curreg3_DELAY_ MSB Curreg4_DELAY_LSB Curreg4_DELAY_ MSB Curreg5_DELAY_LSB Curreg5_DELAY_ MSB Curreg6_DELAY_LSB Curreg6_DELAY_ MSB Curreg7_DELAY_LSB Curreg7_DELAY_ MSB Curreg8_DELAY_LSB Revision 1.4 / 2009-08-13 24 - 30 AS3693C austriamicrosystems Addr Def ault Curreg8_DELAY_M SB 41h 00h Curreg9_DELAY_L SB 42h 00h Curreg9_DELAY_M SB 43h 00h Curreg10_DELAY_ LSB 44h 00h Curreg10_DELAY_ MSB 45h 00h Curreg11_DELAY_ LSB 46h 00h Curreg11_DELAY_ MSB 47h 00h Curreg12_DELAY_ LSB 48h 00h Curreg12_DELAY_ MSB 49h 00h Curreg13_DELAY_ LSB 4Ah 00h Curreg13_DELAY_ MSB 4Bh 00h Curreg14_DELAY_ LSB 4Ch 00h Curreg14_DELAY_ MSB 4Dh 00h Curreg15_DELAY_ LSB 4Eh 00h Curreg15_DELAY_ MSB 4Fh 00h Curreg16_DELAY_ LSB 50h 00h Curreg16_DELAY_ MSB 51h 00h Overtemp control 55h 01h ASIC ID1 5Ch CAh 1 1 0 0 5Xh 0 1 0 1 Name ASIC ID2 5Dh B7 b6 b5 B4 b3 b2 b1 b0 Curreg8_DELAY_ MSB Curreg9_DELAY_LSB Curreg9_DELAY_ MSB Curreg10_DELAY_LSB Curreg10_DELAY_ MSB Curreg11_DELAY_LSB Curreg11_DELAY_ MSB Curreg12_DELAY_LSB Curreg12_DELAY_MSB Curreg13_DELAY_LSB Curreg13_DELAY_MSB Curreg14_DELAY_LSB Curreg14_DELAY_MSB Curreg15_DELAY_LSB Curreg15_DELAY_MSB Curreg16_DELAY_LSB Curreg16_DELAY_LSB 1 0 ov_temp ov_temp _on 1 0 REVISION Revision code: 0x8… initial version November 2008 www.austriamicrosystems.com Revision 1.4 / 2009-08-13 25 - 30 AS3693C austriamicrosystems 8 Pinout and Packaging 8.1 Pinout Table 5 – Pinlist Pin Name Type 1 GATE1 AIO Connect to Gate of External Transistor Description 2 CURR_sense1 AIO 3 FBG AIO 4 FBB AIO Connect to Drain of external Transistor (input for Open and Short led detection) Automatic supply regulation for GREEN led strings; if not used, leave open Automatic supply regulation for BLUE led strings; if not used, leave open 5 REF(EXT) AI 6 VREG AIO Shunt regulator supply; connect to Rvdd and Cvdd Reference pin for PWM = 1 voltage, if not used leave open 7 V2_5 AIO Digital supply, connect 1uF blocking capacitor 8 ADDR2 AIO Connect to external resistor for serial interface address selection, 9 ADDR1 AIO Connect to external resistor for serial interface address selection. 10 CURR_sense2 AIO Connect to Drain of external Transistor (input for Open and Short led detection) 11 GATE2 AIO Connect to Gate of External Transistor 12 RFB2 AIO Connect to Source of External Transistor and to Resistor RSET 13 GATE4 AIO Connect to Gate of External Transistor 14 RFB4 AIO Connect to Source of External Transistor and to Resistor RSET 15 CURR_sense4 AIO Connect to Drain of external Transistor (input for Open and Short led detection) 16 GND AIO Connect to gnd 17 CURR_sense6 AIO Connect to Drain of external Transistor (input for Open and Short led detection) 18 RFB6 AIO Connect to Source of External Transistor and to Resistor RSET 19 GATE6 AIO Connect to Gate of External Transistor 20 CURR_sense7 AIO Connect to Drain of external Transistor (input for Open and Short led detection) 21 RFB7 AIO Connect to Source of External Transistor and to Resistor RSET 22 GATE7 AIO Connect to Gate of External Transistor 23 RFB9 AIO Connect to Source of External Transistor and to Resistor RSET 24 GATE9 AIO Connect to Gate of External Transistor 25 CURR_sense9 AIO 26 FBR AIO Connect to Drain of external Transistor (input for Open and Short led detection) Automatic supply regulation for RED led strings; if not used, leave open 27 VSYNC DI Video sync signal , NOTE: Connect to GND in ASYNC MODE 28 HSYNC DI Video sync signal or external clock input in ASYNC mode 29 CS DI SPI : CS – function, I2C: connect to GND 30 SCL DI SPI/ I2C: Serial interface clock input. 31 SDA DI SPI/ I2C: Serial interface data I/O. 32 SDO DO SPI: digital data output, I2C: leave open 33 FAULT DO FAULT PIN, open drain output. Connect pull up resistor to V2_5 34 GATE12 AIO Connect to Gate of External Transistor www.austriamicrosystems.com Revision 1.4 / 2009-08-13 26 - 30 AS3693C austriamicrosystems Table 5 – Pinlist Pin Name Type Description 35 RFB12 AIO Connect to Source of External Transistor and to Resistor RSET 36 CURR_sense12 AIO Connect to Drain of external Transistor (input for Open and Short led detection) 37 GATE13 AIO Connect to Gate of External Transistor 38 RFB13 AIO Connect to Source of External Transistor and to Resistor RSET 39 CURR_sense13 AIO Connect to Drain of external Transistor (input for Open and Short led detection) 40 GND AIO Connect to gnd 41 CURR_sense14 AIO Connect to Drain of external Transistor (input for Open and Short led detection) 42 RFB14 AIO Connect to Source of External Transistor and to Resistor RSET 43 GATE14 AIO Connect to Gate of External Transistor 44 RFB1 AIO Connect to Source of External Transistor and to Resistor RSET AIO…Analog pin DI…Digital input. Protected with clamp to 2.5V DO…Digital output. Protected with clamp to 2.5V S… VSS supply Note: Connect any unused output channel as follows: - GATEx = open, RFbx = CURR_senseX = GND www.austriamicrosystems.com Revision 1.4 / 2009-08-13 27 - 30 AS3693C austriamicrosystems 8.2 Package drawing LQFP44 www.austriamicrosystems.com Revision 1.4 / 2009-08-13 28 - 30 AS3693C www.austriamicrosystems.com austriamicrosystems Revision 1.4 / 2009-08-13 29 - 30 AS3693C austriamicrosystems 9 Ordering Information Table 6 – Ordering Information Part Number AS3693C- ZTQT Marking Package Type Delivery Form Description LQFP 44 Tape and Reel in Dry Pack Package size = 10x10mm, AS3693C Copyright Copyright © 1997-2006, austriamicrosystems AG, Schloss Premstaetten, 8141 Unterpremstaetten, AustriaEurope. Trademarks Registered ®. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. All products and companies mentioned are trademarks of their respective companies. Disclaimer Devices sold by austriamicrosystems AG are covered by the warranty and patent identification provisions appearing in its Term of Sale. austriamicrosystems AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with austriamicrosystems AG for current information. This product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by austriamicrosystems AG for each application. The information furnished here by austriamicrosystems AG is believed to be correct and accurate. However, austriamicrosystems AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of austriamicrosystems AG rendering of technical or other services. Contact Information Headquarters: austriamicrosystems AG Business Unit Communications A 8141 Schloss Premstätten, Austria T. +43 (0) 3136 500 0 F. +43 (0) 3136 5692 [email protected] For Sales Offices, Distributors and Representatives, please visit: www.austriamicrosystems.com austriamicrosystems www.austriamicrosystems.com – a leap ahead Revision 1.4 / 2009-08-13 30 - 30