DALI slave, one to four channels PWM and I2C output

Similar documents
Intelligent 4 channel LED driver with bus interfaces

IS31FL CHANNEL FUN LED DRIVER July 2015

3-Channel Fun LED Driver

ICS CLOCK SYNTHESIZER FOR PORTABLE SYSTEMS. Description. Features. Block Diagram PRELIMINARY DATASHEET

Pin Configuration Pin Description PI4MSD5V9540B. 2 Channel I2C bus Multiplexer. Pin No Pin Name Type Description. 1 SCL I/O serial clock line

IS31FL CHANNELS LED DRIVER. February 2018

16 Channels LED Driver

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

IS31FL3235A 28 CHANNELS LED DRIVER. February 2017

IS31FL3190 IS31FL CHANNEL FUN LED DRIVER. Preliminary Information November 2015

IS31FL3209 IS31FL CHANNELS LED DRIVER; 1/24 DC SCALING WHITE BALANCE. December 2017

DS1803 Addressable Dual Digital Potentiometer

IS31FL3236A 36-CHANNEL LED DRIVER; SELECTABLE PWM FREQUENCY IS31FL3236A. February 2018

FEATURES DESCRIPTION APPLICATIONS BLOCK DIAGRAM. PT Channel Electronic Volume Controller IC

I2C Encoder. HW v1.2

IS31FL3206 IS31FL CHANNEL LED DRIVER; SELECTABLE PWM FREQUENCY. Preliminary Information May 2018

IS31FL3208A 18-CHANNEL LED DRIVER; SELECTABLE PWM FREQUENCY. August 2018

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

IS31FL CHANNEL LIGHT EFFECT LED DRIVER. November 2017

Features. Description PI6ULS5V9515A

SP26LV432 HIGH SPEED +3.3V QUAD RS-422 DIFFERENTIAL LINE RECEIVER

IS31FL3731 AUDIO MODULATED MATRIX LED DRIVER. May 2013

CAT bit Programmable LED Dimmer with I 2 C Interface DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION CIRCUIT

Description. Features. Pin Configuration. Pin Description PI4MSD5V9546A. 4 Channel I2C bus Switch with Reset

INTEGRATED CIRCUITS. PCA bit I 2 C LED dimmer. Product data sheet Supersedes data of 2004 Sep Oct 01. Philips Semiconductors

2.6GHz Bidirectional I 2 C BUS Controlled Synthesiser

I2C Demonstration Board I 2 C-bus Protocol

DATA SHEET. TSA5515T 1.3 GHz bi-directional I 2 C-bus controlled synthesizer INTEGRATED CIRCUITS

The CV90312T is a wireless battery charger controller working at a single power supply. The power

Mains LED Driver IC INDICE0101 KEY FEATURES. Datasheet - DS0101 Indice Semiconductor Inc

Features. Description. Pin Description. Pin Configuration PI6ULS5V9517A. MSOP-8 and SOIC-8. UQFN1.6x1.6-8L(Top view) DFN2x3-8L(Top view)

CAT bit Programmable LED Dimmer with I 2 C Interface FEATURES DESCRIPTION APPLICATIONS TYPICAL APPLICATION CIRCUIT

Functional description of BSD-01v2 Module

DS1065 EconOscillator/Divider

PART OBSOLETE - NO ALTERNATE PART

Built-in low voltage reset and thermal shutdown circuit Compact TSSOP-24 package

Applications. Tape and Reel Device Qualification Packaging AL5802LP4 Commercial X2-DFN ,000/Tape & Reel -7

INTEGRATED CIRCUITS. PCA bit I 2 C LED dimmer. Product data Supersedes data of 2003 May Oct 01. Philips Semiconductors

10-Channel LED Driver PR4010

LP3943/LP3944 as a GPIO Expander

AL5811. Description. Pin Assignments. Features. Applications. Typical Applications Circuit. (Top View) V CC LED GND R SET 3 U-DFN

SERIALLY PROGRAMMABLE CLOCK SOURCE. Features

Programming the Dallas/Maxim DS MHz I2C Oscillator. Jeremy Clark

LV8400V. Forward/Reverse Motor Driver. Bi-CMOS IC

AP1506. Description. Pin Assignments. Features. Applications. 150kHz, 3A PWM BUCK DC/DC CONVERTER AP SD 4 FB 3 GND 2 Output

MD03-50Volt 20Amp H Bridge Motor Drive

ZLDO1117 1A LOW DROPOUT POSITIVE REGULATOR 1.2V, 1.5V, 1.8V, 2.5V, 3.3V, 5.0V and ADJUSTABLE OUTPUTS

EEPROM-Programmable TFT VCOM Calibrator

INTEGRATED CIRCUITS. PCA bit I 2 C LED dimmer. Product data Supersedes data of 2003 Feb May 02. Philips Semiconductors

DS1307ZN. 64 X 8 Serial Real Time Clock

ICS309 SERIAL PROGRAMMABLE TRIPLE PLL SS VERSACLOCK SYNTH. Description. Features. Block Diagram DATASHEET

AN1756 Application note

V OUT0 OUT DC-DC CONVERTER FB

DS1075 EconOscillator/Divider

ZLDO1117. Description. Pin Assignments. Features. Typical Applications Circuit ZLDO V 1.8V MLCC MLCC. A Product Line of. Diodes Incorporated

Two-/Four-Channel, I 2 C, 7-Bit Sink/Source Current DAC

Oscillator fail detect - 12-hour Time display 24-hour 2 Time Century bit - Time count chain enable/disable -

P1P Portable Gaming Audio/Video Multimedia. MARKING DIAGRAM. Features

DS4000 Digitally Controlled TCXO

Cold-Junction-Compensated K-Thermocoupleto-Digital Converter (0 C to +128 C)

GENERAL DESCRIPTION APPLICATIONS FEATURES TYPICAL APPLICATION DIAGRAM

Two-/Four-Channel, I 2 C, 7-Bit Sink/Source Current DAC

DS1075. EconOscillator/Divider PRELIMINARY FEATURES PIN ASSIGNMENT FREQUENCY OPTIONS

Description. Features. Pin Assignment. Function Block Diagram. Pin Description PI4ULS5V102

AL5816Q. Description. Pin Assignments. Applications. Features VCC PWM GND AUTOMOTIVE COMPLIANT 60V LINEAR LED CONTROLLER AL5816Q

INTEGRATED CIRCUITS. PCA9515 I 2 C bus repeater. Product data Supersedes data of 2002 Mar May 13

DS1807 Addressable Dual Audio Taper Potentiometer

DS1307ZN. 64 X 8 Serial Real Time Clock PIN ASSIGNMENT FEATURES

MAX6675. Cold-Junction-Compensated K-Thermocoupleto-Digital Converter (0 C to C) Features

ADM6823. Low Voltage, Supervisory Circuit with Watchdog and Manual Reset in 5-Lead SOT-23. Data Sheet FUNCTIONAL BLOCK DIAGRAM FEATURES APPLICATIONS

AL8811. Description. Pin Assignments. Features. Applications. Typical Application Diagram. Boost/Buck/Inverting DC-DC CONVERTER AL8811

Programmable Low Voltage 1:10 LVDS Clock Driver ADN4670

TDA7316 FOUR BANDS DIGITAL CONTROLLED GRAPHIC EQUALIZER

LD /07/ Channel LED Backlight Driver. General Description. Features. Applications. Typical Application REV: 05

I2C Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551

DS1307/DS X 8 Serial Real Time Clock

RXˍ024ˍ GHz Highly Integrated IQ Receiver in Silicon Germanium Technology

DS90C032B LVDS Quad CMOS Differential Line Receiver

PROGRAMMABLE OUTPUT 3.8V TO 5.2V UP TO 400mA* PART

Pin Pin. 1 A0 Input address input 0 2 A1 Input address input 1. 4 INT0 Input active LOW interrupt input 0

CoolEx User Manual 2008 XDIMAX LTD. Revision 1.0

INTEGRATED CIRCUITS. PCA9544A 4-channel I 2 C multiplexer with interrupt logic. Product data sheet Supersedes data of 2004 Jul 28.

M41T0 SERIAL REAL-TIME CLOCK

CLOCK DISTRIBUTION CIRCUIT. Features

RT8457A. Isolated Secondary-Side LED Lighting Dimmable Current Controller. Features. General Description. Applications. Marking Information

Multiphase Spread-Spectrum EconOscillator

Low current peripheral driver Control of IC inputs Replaces general-purpose transistors in digital applications Mobile applications

PCA bit I 2 C LED driver with programmable blink rates INTEGRATED CIRCUITS May 05. Product data Supersedes data of 2003 Feb 20

Complementary Switch FET Drivers

This data sheet is only valid in association with the IL SYS INST UM E user manual.

FAH4830 Haptic Driver for DC Motors (ERMs) and Linear Resonant Actuators (LRAs)

±50V Isolated, 3.0V to 5.5V, 250kbps, 2 Tx/2 Rx, RS-232 Transceiver MAX3250

AL-DALI-010v 0-10v Dimmer 3-Way switch with DALI

PWM Step-Up DC/DC Converter for Panel Backlight. Features. Fig. 1

AP8802. General Description. Features. Applications. Typical Application Circuit. 1A LED Step-down Converter. Figure 1: Typical Application Circuit

High Accuracy Ambient Light Sensor with I 2 C Interface

INTEGRATED CIRCUITS DATA SHEET. TDA8425 Hi-fi stereo audio processor; I 2 C-bus. Product specification File under Integrated Circuits, IC02

Multiphase Spread-Spectrum EconOscillator

INTEGRATED CIRCUITS. PCA channel I 2 C hub. Product data Supersedes data of 2000 Dec 04 File under Integrated Circuits ICL03.

Temperature Sensor and System Monitor in a 10-Pin µmax

Transcription:

DALI slave, one to four channels PWM and I2C output 1. Features DALI to PWM and I2C controller Pin selectable 1 to 4 channels Access to raw arc power values via I2C Access to mapped brightness values via I2C According to DIN EN 62386-101/-102/-207 All protocol elements implemented Minimal external circuitry 4 PWM outputs at 730 Hz PWM ranging from 0.1% to 100% Logarithmic and linear dimming curves DALI configuration can be read/written via I2C 5 V supply (chip) 1.1 Variants LED-Warrior12 is available in SSOP28 packages. 1.2 Custom variants Custom variants are possible. 2. Functional overview LED-Warrior12 is a multichannel DALI slave device identifying as LED luminaires (type 6). It shows up on the DALI bus as 1 to 4 DALI devices. The number of active channels is selected at power up by setting two pins. The arc power values are translated into 730 Hz PWM signals that can be used to control LED power supplies. Alternatively the arc power values or 16 bit brightness values may be read out via I2C to be used by an external controller. I2C allows to read and write the complete configuration data for all four DALI channels. This can be used to factory program luminaires to a certain DALI mode. The complete DALI command set is implemented in LED-Warrior12. 3. Pin Descriptions /PWM3 /PWM2 /PWM1 /PWM0 A1 Chan1 SCL SDA Test1 GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Vcc 5 V supply voltage positive input. GND Supply voltage negative input. 28 27 26 25 24 23 22 21 20 19 18 17 16 Vcc PWM3 PWM2 PWM1 PWM0 /Select A0 Chan0 Test3 DALItx DALIrx Test2 /Select Input for physical selection. A switch closing to ground may be connected here to perform the physical selection in DALI addressing. Input with internal pull up resistor. PWM0, PWM1, PWM2, PWM3 730 Hz PWM signal outputs. Positive logic. high = power on to lamps. Duty cycle 0.1% to 100%, constant low for off, constant high for maximum. CMOS level output. /PWM0, /PWM1, /PWM2, /PWM3 Inverted PWM signals. Negative logic. high = power off on lamps. Duty cycle 0.1% to 100%, constant high for off, constant low for maximum. CMOS level output. 1

DALIrx Receive data input from DALI bus. Connect a DALI bus receiver to this pin. Positive logic, high = high level on bus. High impedance input. DALItx Transmit data output to DALI bus. Connect a DALI bus driver to this pin. Positive logic, high = high level on bus. Open drain output with internal pull up resistor for high. SDA, SCL I2C slave interface. Connect to I2C bus. Open drain output, high impedance input. A0, A1 Lower address bits for I2C. The status of these two pins replaces the lower two bits of the I2C address. This allows to directly assign LED-Warrior12 to four different I2C addresses by hardware. Inputs, internal pull up. Chan0, Chan1 Select pins for number of DALI channels. The value on these pins plus one is the number of DALI channels that will be active: 00 = channel 0 only 01 = channel 0 and 1 10 = channel 0, 1, and 2 11 = all 4 channels Leave both pins open for 4 channel operation. Inputs, internal pull up. Unused pins, do not connect. May be used in future version of the chip. Test1, Test2 Used during production of the chip, do not connect. 4. I2C Addressing The I2C address of LED-Warrior12 is defined by the upper five bits of the base address plus the value of the A0, A1 pins for the lowest two bits. The factory default I2C address is $20 (7 bit value, will be shifted and extended by R/W bit and combined with the address pins: 0100 0A1A0R). Depending on the status of the A0, A1 pins the LED-Warrior12 will respond to the adresses $20, $21, $22, or $23. Reassigning a different base address is possible via I2C commands. 4.1 I2C Commands Commands are implemented via register addresses that are transmitted as the first byte following the I2C address byte. Reading from registers is done by first doing a write transaction transmitting the I2C address and the register number, then a restart and a read transaction. Register $00 R/W R Function Status Data 1 Byte $04 R Raw Data 4 Bytes $05 $08 R R Lin/log PWM Values 4 Bytes 8 Bytes $10 R/W DALI Config 136 Bytes $F0 R Signature 6 Bytes $FE W Set Addr 2 Bytes 4.2 Status register The status register reports the number of active DALI channels: 7 - not used 6 - not used 5 - not used 4 - not used 3 - not used 2 - not used 1 - Chan1 0 - Chan0 4.3 Raw Data The Raw Data register reports the "actual level" values. Fading is handled by the LED-Warrior12. A driver only needs to follow the values reported by LED-Warrior12 to provide the fading functions of DALI. One byte for each channel represents the output power: 0 = off 254 = maximum output 255 = don't care, should never be reported Mapping these values to a linear or logarithmic curve as indicated by the Lin/Log register is required. 4.4 Lin/Log Contains the linear / logarithmic dimming flags as set by the Select Dimming Curve DALI command. One byte for each channel, 0 = log, 1 = linear. 2

4.5 PWM Values The LED Values register provides 16 bit power values for each channel. Linear and logarithmic mapping is already included in this data depending on the mode set via DALI: 0 = off 65535 = maximum output 4.6 DALI Config This register allows to read and write the complete DALI configuration data in one block. The data block covers DALI memory bank 1 (16 bytes) and the 30 bytes of persistent data for each of the four channels. By reading and writing the data block it is possible to factory set LW12 to a certain DALI configuration to simplify installation in the field. 4.7 Signature register The signature register can be used to identify LED- Warrior12 and get the revision information for the chips firmware. The content of the signature is fixed and can not be changed. It contains 6 bytes with the following content: 0 - Vendor MSB 1 - Vendor LSB 2 - Product MSB 3 - Product LSB 4 - Version MSB 5 - Version LSB The 16 bit VendorID allows us to differentiate standard and custom chips. Standard chips use 0 as our ID. Product is a 16 bit product code, LED-Warrior12 has 12 as its product code value. Version is the four digit BCD version number identifying the chips firmware version. I.e. V1.0.3.5 would be stored as $1035. 4.8 SetAddress register With the SetAddress register it is possible to move LW12 to a different I2C address. To prevent address reprogramming by mistake the address has to be send in normal and inverted format to register $FE. The address is transmitted in 7 bit right aligned format (i.e. values range from 1 to 127), 0. Values of 128 and more are not accepted. 5. Implemented DALI commands LW12 implements all IEC62386-102:2009 commands. It also implements the relevant commands for type 6 control gear according to IEC62386-207:2009. Command 149: Query Reset State Returns the information if any settings have been changed since the last reset command. It does not verify if the settings have individually been set to their factory default values (as suggested by the test sequences in the standard). Since LED-Warrior12 can not measure the lamp current, power, or temperature the following commands have no effect: Command 224: Reference System Power Command 225: Enable Current Protector Command 226: Disable Current Protector Since the corresponding functions are not implemented the following commands always return a negative answer: Command 241: Query Failure Status Command 242: Query Short Circuit Command 243: Query Open Circuit Command 244: Query Load Decrease Command 245: Query Load Increase Command 246: Query Current Protector Active Command 247: Query Thermal Shut Down Command 248: Query Thermal Overload Command 249: Query Reference Running Command 250: Query Ref Measurement Fail Command 251: Query Current Protector Enabled Command 237: Query Gear Type Returns DC supply possible, all other flags negative (=0) Command 239: Query Possible Operating Modes Returns PWM possible, all other flags negative (=0) since the actual implementation of the driver stage is unknown to the LW12. Command 240: Query Features Returns zero flags for all features, except physical selection, which is supported via the /Select input. 5.1 DALI memory banks LED-Warrior12 implements DALI memory banks 0 and 1. Both banks use the default length with no vendor or OEM specific additional information. Bank 1 can be written by the OEM as defined by the DALI standard. There is only a single copy of memory bank 1 for all four channels. 3

6. Absolute maximum ratings Supply voltage (Vcc relative to GND):... -0.5V to +6V Input voltage into any pin (relative to GND):... GND - 0.5V to Vcc + 0.5V Input current into any pin:... -25 to +50mA Storage temperature:... -55 C to +100 C ESD:... 2000V human body model Absolute maximum ratings must not be exceeded or permanent damage to the LED-Warrior12 may result. 6.1 Operating specifications Supply voltage (Vcc relative to GND):... 4.5V to 5.25V Operating temperature:... -40 C to +85 C Supply current:... 40mA max. Internal pull up resistors:... min. 4kΩ max. 8kΩ typ. 5.6kΩ Input low voltage:... max. 0.8V Input high voltage:... min. 2.1V PWM, /PWM low maximum sink current:... min. 25mA PWM, /PWM high maximum source current:... min. 10mA 4

7. Application circuit 5

8. Package dimensions SSOP28 6

9. Ordering information Partname Order Code Package MOQ Description LED-Warrior12-S LW12-S SSOP28 47 Single chip DALI to PWM and I2C controller The chips and modules listed here are standard products. Customized chips and modules are available on request. 9.1 Packaging info SSOP28 chips are packaged in tubes of 47 units each. The SSOP28 chips are not individually marked and are sold only in full tubes. The modules are packaged in single units. 9.2 Shipping version V1.0.0.4 is the current shipping version. 9.2.1 Version Info V1.0.0.4 - Bugfix - Reset Command did clear the short address. Signature register added to I2C to simplify identification of the LW12. V1.0.0.1 - V1.0.0.3 were not generally released. V1.0.0.0 - Initial shipping version. 9.3 FCC / CE The LED-Warrior12 is sold as a chip to be integrated into a device. As such it can not be FCC or CE approved. has excerted greatest care in designing this chip to minimize RF emission and assure safe and stable operation. Though the use of proper cable materials and correct integration into a device is crucial to assure product safety and interference free operation. The integrator who assembles the module into a device has to take care for appropriate construction and testing. Legal Stuff This document is 1999-2018 by Code Mercenaries. The information contained herein is subject to change without notice. makes no claims as to the completeness or correctness of the information contained in this document. assumes no responsibility for the use of any circuitry other than circuitry embodied in a product. Nor does it convey or imply any license under patent or other rights. products may not be used in any medical apparatus or other technical products that are critical for the functioning of lifesaving or supporting systems. We define these systems as such that in the case of failure may lead to the death or injury of a person. Incorporation in such a system requires the explicit written permission of the president of. Trademarks used in this document are properties of their respective owners. DALI is a regsietred trademark of DIIA. Hard- und Software GmbH Karl-Marx-Str. 147a 12529 Schönefeld Germany Tel: +49-3379-20509-20 Mail: support@codemercs.com Web: www.codemercs.com HRB 9868 CB Geschäftsführer: Guido Körber, Christian Lucht 7