Datasheet AS1119 144-LED Cross-Plexing Driver with 320mA Charge-Pump 1 General Description 2 Key Features 1MHz IC-Compatible Interface The AS1119 is a compact LED driver for 144 (90) single LEDs. The devices can be programmed via an IC compatible interface. Open and Shorted LED Error Detection - Global Detection of Shorts - Global Detection of Opens The AS1119 offers two blocks driving each 72 LEDs (3 blocks each 30LEDs) with 1/9 (1/6) cycle rate. The required lines to drive all 144 (90 )LEDs are reduced to 18 by using the cross-plexing feature optimizing space on the PCB. Every block driving 72(30) LEDs can be analog dimmed from 1 to 30mA in 256 steps (8 bit). 144 LEDs in Dot Matrix Low-Power Shutdown Current Individual 8-bit LED PWM Control 8-bit Analog Brightness Control (1:1), 2:3, 1:2 320mA Charge Pump Additionally each of the 144 (90) LEDs can be dimmed individually with 8-bit allowing 256 steps of linear dimming. To reduce CPU usage up to 6 frames can be stored with individual time delays between frames to play small animations automatically. 6 Frames Memory for Animations Supply Voltage Range: 2.7V to 5.5V Minimum PCB space required 36-pin WL-CSP package The AS1119 operates from 2.7V to 5.5V and includes a 320mA charge-pump to drive also white LEDs. The charge-pump operates in 2:3 and 1:2 mode. 3 Applications The AS1119 features very low shutdown and operational current. The AS1119 is ideal for dot matrix displays in mobile phones, personal electronic and toys. The device is available in a ultrasmall 36-pin WL-CSP. Figure 1. AS1119 - Typical Application Diagram 9 VDD 4.7F 2.7V to 5.5V 9 9 VCP 4.7F 9 VCP VDD 2.2F 2.2F 4.7F 1F AS1119 1F 1F AS1119 1F SDA P SCL RSTN www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 1 - 31 AS1119 Datasheet - P i n o u t 4 Pinout Pin Assignments Figure 2. Pin Assignments (Top View) C2- GND3 CS2 CS1 CS0 VDD1 A1 A2 A3 A4 A5 A6 C1- CS5 CS4 CS3 GND1 SYNC_IN/ SYNC_OUT B1 B2 B3 B4 B5 B6 C1+ CS8 CS7 CS6 AD0 SDA C1 C2 C3 C4 C5 C6 C2+ CS11 CS10 CS9 AD1 SCL D1 D2 D3 D4 D5 D6 VDD3 CS14 CS13 CS12 VDD2 IRQ E1 E2 E3 E4 E5 E6 VCP CS17 CS16 CS15 GND2 RSTN F1 F2 F3 F4 F5 F6 Pin Descriptions Table 1. Pin Descriptions Pin Name VDD1, VDD2, VDD3 Pin Number VCP C1-, C1+ C2-, C2+ GND1 GND2 GND3 SDA SCL AD0 AD1 F1 B1, C1 A1, D1 B5 F5 A2 C6 D6 C5 D5 RSTN F6 SYNC_IN, SYNC_OUT IRQ B6 Synchronization Clock Input or Output E6 Interrupt Request. Open drain digital Output. A6, E5, E1 Description Positive Supply Voltage. Connect to a +2.7V to +5.5V supply. Bypass this pin with 10F capacitance to GND1, GND2, GND3. Charge-Pump Output Voltage. Connect a 2.2F capacitor to GND3. Flying Cap 1. Connect a 1F capacitor. Flying Cap 2. Connect a 1F capacitor. Ground for VDD1. Used for CS0-CS8 Ground for VDD2. Used for CS9-CS17 Ground for VDD3. Used for Charge-Pump Serial-Data I/O. Open drain digital I/O IC data pin. Serial-Clock Input. IC Address for bit 0. Put to GND or VDD to set IC addresses. IC Address for bit 1. Put to GND or VDD to set IC addresses. Reset Input. Pull this pin to logic low to reset all control registers (set to default values) and to put the device into power-down. For normal operation pull this pin to VDD. www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 2 - 31 AS1119 Datasheet - P i n o u t Table 1. Pin Descriptions CS0 - CS8 Pin Number A5-A3, B4-B2, C4-C2 CS9 - CS17 D4-D2, E4E2, F4-F2 CS0 - CS5 CS6 - CS11 A5-A3, B4-B2 C4-C2, D4-D2 CS12 - CS17 E4-E2, F4-F2 Description 3 Matrixes 2 Matrixes Pin Name Sinks and Sources for 72 LEDs each matrix. Sinks and Sources for 30 LEDs each matrix. www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 3 - 31 AS1119 Datasheet - A b s o l u t e M a x i m u m R a t i n g s 5 Absolute Maximum Ratings Stresses beyond those listed in Table 2 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 6 Electrical Characteristics on page 5 is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 2. Absolute Maximum Ratings Parameter Input Voltage Range Current Min Max Units VDD to GND -0.3 7 V All other pins to GND -0.3 7 or VDD + 0.3 V Notes Sink Current 500 mA Segment Current 100 mA 85 % Non-condensing kV HBM MIL 833 E method 3015 mA EIA/JESD78 Humidity 5 Electrostatic Discharge 1.5 Latch-Up Immunity Ambient Temperature 100 -40 Junction Temperature Storage Temperature Package Body Temperature www.austriamicrosystems.com/LED-Driver-ICs/AS1119 -55 +85 C +125 C +125 C +260 Revision 1.03 C The reflow peak soldering temperature (body temperature) specified is in accordance with IPC/ JEDEC J-STD-020 "Moisture/ Reflow Sensitivity Classification for Non-Hermetic Solid State Surface Mount Devices". 4 - 31 AS1119 Datasheet - E l e c t r i c a l C h a r a c t e r i s t i c s 6 Electrical Characteristics VDD = 2.7V to 5.5V, TAMB = -40C to +85C, typ. values are at TAMB = +25C (unless otherwise specified). Table 3. Electrical Characteristics Symbol Parameter VDD Operating Supply Voltage IDDSD Software Shutdown Supply Current All digital inputs at VDD or GND, VDD = 5.5V, TAMB = +25C 7 IDDFSD Full Shutdown Supply Current Pin RSTN = 0V, TAMB = +25C 0.1 CP disabled @ VDD = 5.5V 1.4 With CP in 2:3 mode @ VDD = 2.7V 3 With CP in 1:2 mode @ VDD = 2.7V 4 IDD ISTART IDIGIT Operating Supply Current (all current sources turned off) Min Typ 2.7 Max Unit 5.5 V A 1 A mA max. Peak Inrush Current 1.5 A max. DC Current 700 mA CP disabled Digit Drive Sink Current (Drive capability of all sources of one digit ISEG Conditions 1,2 ) CP enabled 500 VDD < 3.3V 160 VDD 3.3V 320 28 Segment Drive Source Current LED ISEG Segment Drive Current Matching VDSSAT Saturation Voltage RDSON(N) Resistance for NMOS LED 30 VOUT = 1.8V to VDD-400mV fOSC Oscillator Frequency fREFRESH Display Scan Rate 2 time 9x8 matrixes mA 2 % 100 mV 3 Current = 30mA, VDD = 5V 32 mA 0.5 1 0.9 1 1.1 MHz 0.39 0.43 0.48 kHz 1. Not all sources are allowed to be fully on at the same time. 2. guaranteed by design 3. I max - I min I SEG = --------------------------- x 100 I max + I min Table 4. Logic Inputs/Outputs Characteristics Symbol IIH, IIL Parameter Conditions Logic Input Current VIN = 0V or VDD VIH Logic High Input Voltage VIL Logic Low Input Voltage Min -1 Typ Max 1 Unit A 0.6 V 1.6 V VI Hysteresis Voltage VOL(SDA) SDA Output Low Voltage ISINK = 3mA 0.4 V VOL(IRQ) IRQ Output Low Voltage ISINK = 3mA 0.4 V VOL(SYNC Sync Clock Output Low Voltage ISINK = 1mA 0.4 V Sync Clock Output High Voltage ISOURCE = 1mA VDD-0.4 V _OUT) VOH(SYNC _OUT) 0.1 VDD-0.4 Open Detection Level Threshold Short Detection Level Threshold Capacitive Load for Each Bus Line www.austriamicrosystems.com/LED-Driver-ICs/AS1119 VDD0.1 0.9 V V 1.2 SCL Frequency = 400kHz 400 SCL Frequency = 1000kHz 100 Revision 1.03 V pF 5 - 31 AS1119 Datasheet - E l e c t r i c a l C h a r a c t e r i s t i c s Table 5. IC Timing Characteristics Symbol Parameter SCL Frequency Bus Free Time Between STOP and START Conditions Hold Time for Repeated START Condition SCL Low Period fSCL tBUF tHOLDSTART tLOW tSETUPDATA SCL High Period Setup Time for Repeated START Condition Data Setup Time tHOLDDATA Data Hold Time tRISE(SCL) tFALL(SCL) SCL Rise Time SCL Rise Time after Repeated START Condition and After an ACK Bit SCL Fall Time tRISE(SDA) tFALL(SDA) tHIGH tSETUPSTART Conditions Min Typ 100 Max Unit 1000 kHz 1.3 s 160 ns 50 75 ns 50 75 ns 100 ns 10 ns 70 ns 10 40 ns 10 80 ns 10 40 ns SDA Rise Time 20 80 ns SDA Fall Time 20 80 ns tSETUPSTOP STOP Condition Setup Time 160 tRISE(SCL1) tSPIKESUP Pulse Width of Spike Suppressed ns 50 ns Notes: 1. The Min / Max values of the Timing Characteristics are guaranteed by design. 2. All limits are guaranteed. The parameters with min and max values are guaranteed with production tests or SQC (Statistical Quality Control) methods. Figure 3. Timing Diagram SDI tBUF tHOLDSTART tHIGH tHOLDSTART tR tLOW tSPIKESUP tSETUPDATA tF tSETUPSTOP tSETUPSTART SCL STOP START www.austriamicrosystems.com/LED-Driver-ICs/AS1119 tHOLDDATA Repeated START Revision 1.03 6 - 31 AS1119 Datasheet - Ty p i c a l O p e r a t i n g C h a r a c t e r i s t i c s 7 Typical Operating Characteristics 31 30.5 30 29.5 29 +25C 28.5 Figure 5. Segment Drive Current vs. Temperature Segment Drive Source Current (mA) Segment Drive Source Current (mA) Figure 4. Segment Drive Current vs. Supply Voltage -45C +85C 28 2.7 2.9 3.1 3.3 3.5 3.7 31 30.5 30 29.5 29 Vdd = 2.7V Vdd = 3.0V 28.5 Vdd = 3.3V Vdd = 4.0V 28 -45 3.9 -25 Supply Voltage (V) 15 35 55 75 Temperature (C) Figure 6. Segment Drive Current vs. Output Voltage Figure 7. RONNMOS vs. Supply Voltage 1 31 0.9 30.5 0.8 30 Ron NMOS ( ) Segment Drive Source Current (mA) -5 29.5 29 0.7 0.6 0.5 0.4 0.3 Vdd = 2.7V 0.2 Vdd = 3.3V 28.5 Vdd = 4.0V -45C +25C 0.1 +85C Vdd = 5.5V 28 0 1.6 2 2.4 2.8 3.2 3.6 4 2.7 4.4 4.8 5.2 3.1 Output Voltage (V) 3.5 3.9 4.3 4.7 5.1 5.5 Supply Voltage (V) Figure 8. Open Detection Level vs. Supply Voltage Figure 9. Short Detection Level vs. Supply Voltage 1.1 300 +25C 250 Short Detection Level (V) Open Detection Level (mV) -45C +85C 200 150 100 50 1.05 1 0.95 0.9 0.85 0.8 -45C 0.75 +25C +85C 0 0.7 2.7 3.1 3.5 3.9 4.3 4.7 5.1 2.7 5.5 Supply Voltage (V) www.austriamicrosystems.com/LED-Driver-ICs/AS1119 3.1 3.5 3.9 4.3 4.7 5.1 5.5 Supply Voltage (V) Revision 1.03 7 - 31 AS1119 Datasheet - Ty p i c a l O p e r a t i n g C h a r a c t e r i s t i c s Figure 10. Efficiency vs. Supply Voltage Figure 11. Logic Input Voltage Levels 100 2 80 Efficiency (%) 70 60 50 40 30 20 PWM = 0x255 PWM = 0x128 10 Logic Input Voltage Level (V) 90 1:1 Mode 1:1.5 Mode 1:2 Mode 1.5 1 0.5 Logic High Logic Low PWM = 0x64 0 0 2.7 3.1 3.5 3.9 4.3 4.7 5.1 5.5 2.7 Supply Voltage (V) 3.1 3.5 3.9 4.3 4.7 5.1 5.5 Supply Voltage (V) Figure 12. Charge Pump Voltage vs. Supply Voltage Charge Pump Voltage (V) 7 6 5 4 3 PWM = 0x255 2 PWM = 0x128 PWM = 0x64 1 2.7 3.1 3.5 3.9 4.3 4.7 5.1 5.5 Supply Voltage (V) www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 8 - 31 AS1119 Datasheet - D e t a i l e d D e s c r i p t i o n 8 Detailed Description Block Diagram Figure 13. AS1119 - Block Diagram " ! % " 23 & '( & ')*$ ! (#6 ,- +, 1 ( (+,01 #$ 5 1+,- +,- +,- " # , % . / +, 1 5 , 7 ,1, + # 8 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 8 4 9 - 31 AS1119 Datasheet - D e t a i l e d D e s c r i p t i o n IC Interface The AS1119 supports the IC serial bus and data transmission protocol in fast mode at 1MHz. The AS1119 operates as a slave on the IC bus. The bus must be controlled by a master device that generates the serial clock (SCL), controls the bus access, and generates the START and STOP conditions. Connections to the bus are made via the open-drain I/O pins SCL and SDA. Figure 14. IC Interface Initialisation 1 8 9 1 8 9 SCL 0 SDA 1 1 1 0 A1 A0 R/W D15 D14 D13 D12 D11 D10 D9 D8 A0 and A1 are defined by the pins AD0 and AD1. Pin AD0 and AD1 must not be left floating. Figure 15. Bus Protocol MSB SDI ACK from Receiver Slave Address R/W Direction Bit ACK from Receiver 1 SCL 2 6 7 8 9 ACK START 1 2 3-8 8 9 ACK Repeat if More Bytes Transferred STOP or Repeated START The bus protocol (as shown in Figure 15) is defined as: - Data transfer may be initiated only when the bus is not busy. - During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in the data line while the clock line is HIGH will be interpreted as control signals. The bus conditions are defined as: - Bus Not Busy. Data and clock lines remain HIGH. - Start Data Transfer. A change in the state of the data line, from HIGH to LOW, while the clock is HIGH, defines a START condition. - Stop Data Transfer. A change in the state of the data line, from LOW to HIGH, while the clock line is HIGH, defines the STOP condition. - Data Valid. The state of the data line represents valid data, when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. There is one clock pulse per bit of data. Each data transfer is initiated with a START condition and terminated with a STOP condition. The number of data bytes transferred between START and STOP conditions is not limited and is determined by the master device. The information is transferred byte-wise and each receiver acknowledges with a ninth-bit. Within the IC bus specifications a high-speed mode (3.4MHz clock rate) is defined. - Acknowledge: Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each byte. The master device must generate an extra clock pulse that is associated with this acknowledge bit. A device that acknowledges must pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is stable LOW during the HIGH period of the acknowledge clock pulse. Of course, setup and hold times must be taken into account. A master must signal an end of data to the slave by not generating an www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 10 - 31 AS1119 Datasheet - D e t a i l e d D e s c r i p t i o n acknowledge bit on the last byte that has been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to generate the STOP condition. - Figure 15 on page 10 details how data transfer is accomplished on the IC bus. Depending upon the state of the R/W bit, two types of data transfer are possible: - Master Transmitter to Slave Receiver. The first byte transmitted by the master is the slave address, followed by a number of data bytes. The slave returns an acknowledge bit after the slave address and each received byte. - Slave Transmitter to Master Receiver. The first byte, the slave address, is transmitted by the master. The slave then returns an acknowledge bit. Next, a number of data bytes are transmitted by the slave to the master. The master returns an acknowledge bit after all received bytes other than the last byte. At the end of the last received byte, a not-acknowledge is returned. The master device generates all of the serial clock pulses and the START and STOP conditions. A transfer is ended with a STOP condition or a repeated START condition. Since a repeated START condition is also the beginning of the next serial transfer, the bus will not be released. The AS1119 can operate in the following slave modes: - Slave Receiver Mode. Serial data and clock are received through SDA and SCL. After each byte is received, an acknowledge bit is transmitted. START and STOP conditions are recognized as the beginning and end of a serial transfer. Address recognition is performed by hardware after reception of the slave address and direction bit. - Slave Transmitter Mode. The first byte (the slave address) is received and handled as in the slave receiver mode. However, in this mode the direction bit will indicate that the transfer direction is reversed. Serial data is transmitted on SDA by the AS1119 while the serial clock is input on SCL. START and STOP conditions are recognized as the beginning and end of a serial transfer. IC Device Address Byte The address byte (see Figure 16) is the first byte received following the START condition from the master device. Figure 16. IC Device Address Byte address: MSB 6 5 4 3 2 1 LSB 0 1 1 1 0 AD1 AD0 R/W - The bit 1 and bit 2 of the address byte are the device select pins AD0 and AD1, which must be set to VDD or to GND. A maximum of four devices with the same pre-set code can therefore be connected on the same bus at one time. - The last bit of the address byte (R/W) define the operation to be performed. When set to a 1 a read operation is selected; when set to a 0 a write operation is selected. Following the START condition, the AS1119 monitors the IC bus, checking the device type identifier being transmitted. Upon receiving the address code, and the R/W bit, the slave device outputs an acknowledge signal on the SDA line. www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 11 - 31 AS1119 Datasheet - D e t a i l e d D e s c r i p t i o n Command Byte The AS1119 operation, (see Table 15 on page 22) is determined by a command byte (see Table 17). Figure 17. Command Byte MSB 6 5 4 3 2 1 LSB A7 A6 A5 A4 A3 A2 A1 A0 Figure 18. Command and Single Data Byte received by AS1119 From Master to Slave AS1119 Registers From Slave to Master S 0 Slave Address A7 A6 R/W A A5 A4 A3 A2 A1 A0 D7 D6 D5 A Command Byte D4 D3 D2 D1 D0 A Data Byte P 1 Byte Acknowledge from AS1119 Acknowledge from AS1119 0 Acknowledge from AS1119 0 0 Autoincrement Memory Word Address Figure 19. Setting the Pointer to a Address Register to select a Data Register for a Read Operation From Master to Slave AS1119 Registers From Slave to Master S 0 Slave Address A7 A6 R/W A Acknowledge from AS1119 A5 A4 A3 A2 A1 A0 A Command Byte Acknowledge from AS1119 0 P 0 Figure 20. Reading n Bytes from AS1119 Autoincrement Memory Word Address From Master to Slave From Slave to Master Acknowledge from AS1119 Acknowledge from Master 0 Stop reading Not Acknowledge from Master 0 1 n Bytes S Slave Address R/W A 1 A First Data Byte D7 D6 D5 D4 D3 D2 D1 AS1119 Registers www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 D0 /A Second Data Byte D7 D6 D5 D4 D3 D2 D1 P D0 Autoincrement to next address 12 - 31 AS1119 Datasheet - D e t a i l e d D e s c r i p t i o n Initial Power-Up On initial power-up, the AS1119 registers are reset to their default values, the display is blanked, and the device goes into shutdown mode. At this time, all registers should be programmed for normal operation. Note: The default settings enable only scanning of one digit; the internal decoder is disabled and the Intensity Control Register (see page 17) and (see page 21) is set to the minimum values. Shutdown Mode The AS1119 device features two different shutdown modes. A software shutdown via shutdown register (see Shutdown Register (0x0A) on page 27) and a hardware shutdown via the RSTN pin. The software shutdown disables all LED's and stops the internal operation of the logic. A shutdown mode via the RSTN pin additionally powers down the power-on-reset (PO) of the device. In this shutdown mode the AS1119 consumes only 100nA (typ.). www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 13 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n 9 Register Description Register Selection Within this register the access to one of the RAM sections or to the Control register is selected. After one section is selected this section is valid as long as an other section is selected. Table 6. Register Selection Address Map Register Section Address Data HEX A7 A6 A5 A4 A3 A2 A1 A0 HEX D7 D6 D5 D4 D3 D2 D1 D0 NOP 0 0 0 0 0 0 0 0 0 Data Frame 0 1 0 0 0 0 0 0 0 1 Data Frame 1 2 0 0 0 0 0 0 1 0 Data Frame 2 3 0 0 0 0 0 0 1 1 Data Frame 3 253 1 1 1 1 1 1 0 1 4 0 0 0 0 0 1 0 0 Data Frame 4 5 0 0 0 0 0 1 0 1 Data Frame 5 6 0 0 0 0 0 1 1 0 Control Register 11 0 0 0 0 1 0 1 1 Description No operation Selection of RAM section for frame Selection of Control Register Data Definition of the single frames One frame consits of 2 blocks (a 8x9 LED-matrix) or 3 blocks (a 5x6 LED-matrix). This configuration is set in the AS1119 config register (see Table 20 on page 25). In the internal DPRAM of the device 6 frames can be stored. For each frame the following parameters have to be stored. - LED is ON or OFF. - LED is steady ON or blinking. - The intensity of every single LED can be set via a 8 bits PWM. Note: After power-up the data in the DPRAM is undefined (either `0' or `1'). 2 Blocks with 8x9 LED Matrix The AS1119 can be configured to control two seperated blocks of LEDs matrixes. This must be set via the bit D0 in the AS1119 config register (see AS1119 Config Register (0x04) on page 25). Figure 21. 8x9 LED Matrix with two blocks www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 14 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n The adress structure (as shown in Table 7) within on frame is always the same independent which frame was selected via the register selection (see Table 6 on page 14). Table 7. Dataframe Adress Structure for 2 Matrixes Adresses within frame (HEX code) Current Source Matrix A CS0 CS1 CS2 CS3 CS4 CS5 CS6 CS7 CS8 On / Off Matrix B CS9 CS10 CS11 CS12 CS13 CS14 CS15 CS16 CS17 Matrix A 0x00 0x02 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10 Blink Matrix B 0x01 0x03 0x05 0x07 0x09 0x0B 0x0D 0x0F 0x11 Matrix A 0x12 0x14 0x16 0x18 0x1A 0x1C 0x1E 0x20 0x22 Intensity Matrix B 0x13 0x15 0x17 0x19 0x1B 0x1D 0x1F 0x21 0x22 Matrix A 0x24-0x2B 0x34-0x3B 0x44-0x4B 0x54-0x5B 0x64-0x6B 0x74-0x7B 0x84-0x8B 0x94-0x9B 0xA4-0xAB Matrix B 0x2C-0x33 0x3C-0x43 0x4C-0x53 0x5C-0x63 0x6C-0x73 0x7C-0x83 0x8C-0x93 0x9C-0xA3 0xAC-0xB3 In Table 8 it's described which databit represents which LED in the matrix. Per default all databits are `0', meaning no LED is on. A `1' puts the LED on. Table 8. LEDs ON/OFF Register Format for 2 Matrixes Setup Adress Data Matrix Current Source HEX A CS0 0x00 0 0 0 0 0 0 0 0 B CS9 0x01 0 0 0 0 0 0 0 1 A CS1 0x02 0 0 0 0 0 0 1 0 B CS10 0x03 0 0 0 0 0 0 1 1 A CS2 0x04 0 0 0 0 0 1 0 0 B CS11 0x05 0 0 0 0 0 1 0 1 A CS3 0x06 0 0 0 0 0 1 1 0 B CS12 0x07 0 0 0 0 0 1 1 1 A CS4 0x08 0 0 0 0 1 0 0 0 B CS13 0x09 0 0 0 0 1 0 0 1 A CS5 0x0A 0 0 0 0 1 0 1 0 B CS14 0x0B 0 0 0 0 1 0 1 1 A CS6 0x0C 0 0 0 0 1 1 0 0 B CS15 0x0D 0 0 0 0 1 1 0 1 A CS7 0x0E 0 0 0 0 1 1 1 0 B CS16 0x0F 0 0 0 0 1 1 1 1 A7 A6 A5 A4 A3 A2 A1 A0 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 D7 LED 7 LED 15 LED 23 LED 31 LED 39 LED 47 LED 55 LED 63 LED 71 LED 79 LED 87 LED 95 LED 103 LED 111 LED 119 LED 127 D6 LED 6 LED 14 LED 22 LED 30 LED 38 LED 46 LED 54 LED 62 LED 70 LED 78 LED 86 LED 94 LED 102 LED 110 LED 118 LED 126 D5 LED 5 LED 13 LED 21 LED 29 LED 37 LED 45 LED 53 LED 61 LED 69 LED 77 LED 85 LED 93 LED 101 LED 109 LED 117 LED 125 D4 LED 4 LED 12 LED 20 LED 28 LED 36 LED 44 LED 52 LED 60 LED 68 LED 76 LED 84 LED 92 LED 100 LED 108 LED 116 LED 124 D3 LED 3 LED 11 LED 19 LED 27 LED 35 LED 43 LED 51 LED 59 LED 67 LED 75 LED 83 LED 91 LED 99 LED 107 LED 115 LED 123 D2 LED 2 LED 10 LED 18 LED 26 LED 34 LED 42 LED 50 LED 58 LED 66 LED 74 LED 82 LED 90 LED 98 LED 106 LED 114 LED 122 D1 LED 1 LED 9 LED 17 LED 25 LED 33 LED 41 LED 49 LED 57 LED 65 LED 73 LED 81 LED 89 LED 97 LED 105 LED 113 LED 121 D0 LED 0 LED 8 LED 16 LED 24 LED 32 LED 40 LED 48 LED 56 LED 64 LED 72 LED 80 LED 88 LED 96 LED 104 LED 112 LED 120 15 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Table 8. LEDs ON/OFF Register Format for 2 Matrixes Setup Adress Data Matrix Current Source HEX A CS8 0x10 0 0 0 1 0 0 0 0 B CS17 0x11 0 0 0 1 0 0 0 1 A7 A6 A5 A4 A3 A2 A1 A0 D7 LED 135 LED 143 D6 LED 134 LED 142 D5 LED 133 LED 141 D4 LED 132 LED 140 D3 LED 131 LED 139 D2 LED 130 LED 138 D1 LED 129 LED 137 D0 LED 128 LED 136 In the blink register (see Table 9) every single LED can be set to blink. The blink period is set in the display option register (see Display Option Register (0x03) on page 24). Table 9. LEDs Blink Register Format for 2 Matrixes Setup Adress Data Matrix Current Source HEX A CS0 0x12 0 0 0 1 0 0 1 0 B CS9 0x13 0 0 0 1 0 0 1 1 A CS1 0x14 0 0 0 1 0 1 0 0 B CS10 0x15 0 0 0 1 0 1 0 1 A CS2 0x16 0 0 0 1 0 1 1 0 B CS11 0x17 0 0 0 1 0 1 1 1 A CS3 0x18 0 0 0 1 1 0 0 0 B CS12 0x19 0 0 0 1 1 0 0 1 A CS4 0x1A 0 0 0 1 1 0 1 0 B CS13 0x1B 0 0 0 1 1 0 1 1 A CS5 0x1C 0 0 0 1 1 1 0 0 B CS14 0x1D 0 0 0 1 1 1 0 1 A CS6 0x1E 0 0 0 1 1 1 1 0 B CS15 0x1F 0 0 1 1 1 1 1 1 A CS7 0x20 0 0 1 0 0 0 0 0 B CS16 0x21 0 0 1 0 0 0 0 1 A CS8 0x22 0 0 1 0 0 0 1 0 B CS17 0x23 0 0 1 0 0 0 1 1 A7 A6 A5 A4 A3 A2 A1 A0 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 D7 LED 7 LED 15 LED 23 LED 31 LED 39 LED 47 LED 55 LED 63 LED 71 LED 79 LED 87 LED 95 LED 103 LED 111 LED 119 LED 127 LED 135 LED 143 D6 LED 6 LED 14 LED 22 LED 30 LED 38 LED 46 LED 54 LED 62 LED 70 LED 78 LED 86 LED 94 LED 102 LED 110 LED 118 LED 126 LED 134 LED 142 D5 LED 5 LED 13 LED 21 LED 29 LED 37 LED 45 LED 53 LED 61 LED 69 LED 77 LED 85 LED 93 LED 101 LED 109 LED 117 LED 125 LED 133 LED 141 D4 LED 4 LED 12 LED 20 LED 28 LED 36 LED 44 LED 52 LED 60 LED 68 LED 76 LED 84 LED 92 LED 100 LED 108 LED 116 LED 124 LED 132 LED 140 D3 LED 3 LED 11 LED 19 LED 27 LED 35 LED 43 LED 51 LED 59 LED 67 LED 75 LED 83 LED 91 LED 99 LED 107 LED 115 LED 123 LED 131 LED 139 D2 LED 2 LED 10 LED 18 LED 26 LED 34 LED 42 LED 50 LED 58 LED 66 LED 74 LED 82 LED 90 LED 98 LED 106 LED 114 LED 122 LED 130 LED 138 D1 LED 1 LED 9 LED 17 LED 25 LED 33 LED 41 LED 49 LED 57 LED 65 LED 73 LED 81 LED 89 LED 97 LED 105 LED 113 LED 121 LED 129 LED 137 D0 LED 0 LED 8 LED 16 LED 24 LED 32 LED 40 LED 48 LED 56 LED 64 LED 72 LED 80 LED 88 LED 96 LED 104 LED 112 LED 120 LED 128 LED 136 16 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n In the intensity register (see Table 10) the brightness of every single LED can bes set via a 8bit PWM (255 steps). Table 10. LEDs Intensity Register Format for 2 Matrixes Setup Matrix Adress Current Source A CS0 B CS9 A CS1 B CS10 LED0 LED1 LED2 LED3 LED4 LED5 LED6 LED7 LED8 LED9 LED10 LED11 LED12 LED13 LED14 LED15 LED16 LED17 LED18 LED19 LED20 LED21 LED22 LED23 LED24 LED25 LED26 LED27 LED28 LED29 LED30 LED31 Data HEX A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 0x24 0 0 1 0 0 1 0 0 0x25 0 0 1 0 0 1 0 1 0x26 0 0 1 0 0 1 1 0 0x27 0 0 1 0 0 1 1 1 0x28 0 0 1 0 1 0 0 0 0x29 0 0 1 0 1 0 0 1 0x2A 0 0 1 0 1 0 1 0 0x2B 0 0 1 0 1 0 1 1 255 steps for intensity each single LED 0x2C 0 0 1 0 1 1 0 0 0x2D 0 0 1 0 1 1 0 1 0x2E 0 0 1 0 1 1 1 0 0x2F 0 0 1 0 1 1 1 1 0x30 0 0 1 1 0 0 0 0 0x31 0 0 1 1 0 0 0 1 0x32 0 0 1 1 0 0 1 0 0x33 0 0 1 1 0 0 1 1 0x34 0 0 1 1 0 1 0 0 0x35 0 0 1 1 0 1 0 1 0x36 0 0 1 1 0 1 1 0 0x37 0 0 1 1 0 1 1 1 0x38 0 0 1 1 1 0 0 0 0x39 0 0 1 1 1 0 0 1 0x3A 0 0 1 1 1 0 1 0 0x3B 0 0 1 1 1 0 1 1 255 steps for intensity each single LED 0x3C 0 0 1 1 1 1 0 0 0x3D 0 0 1 1 1 1 0 1 0x3E 0 0 1 1 1 1 1 0 0x3F 0 0 1 1 1 1 1 1 0x40 0 1 0 0 0 0 0 0 0x41 0 1 0 0 0 0 0 1 0x42 0 1 0 0 0 0 1 0 0x43 0 1 0 0 0 0 1 1 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 17 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Table 10. LEDs Intensity Register Format for 2 Matrixes Setup Matrix Adress Current Source A CS2 B CS11 A CS8 B CS17 LED32 LED33 LED34 LED35 LED36 LED37 LED38 LED39 LED40 LED41 LED42 LED43 LED44 LED45 LED46 LED47 LED128 LED129 LED130 LED131 LED132 LED133 LED134 LED135 LED136 LED137 LED138 LED139 LED140 LED141 LED142 LED143 Data HEX A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 0x44 0 1 0 0 0 1 0 0 0x45 0 1 0 0 0 1 0 1 0x46 0 1 0 0 0 1 1 0 0x47 0 1 0 0 0 1 1 1 0x48 0 1 0 0 1 0 0 0 0x49 0 1 0 0 1 0 0 1 0x4A 0 1 0 0 1 0 1 0 0x4B 0 1 0 0 1 0 1 1 255 steps for intensity each single LED 0x4C 0 1 0 0 1 1 0 0 0x4D 0 1 0 0 1 1 0 1 0x4E 0 1 0 0 1 1 1 0 0x4F 0 1 0 0 1 1 1 1 0x50 0 1 0 1 0 0 0 0 0x51 0 1 0 1 0 0 0 1 0x52 0 1 0 1 0 0 1 0 0x53 0 1 0 1 0 0 1 1 ....................................... 0xA4 1 0 1 0 0 1 0 0 0xA5 1 0 1 0 0 1 0 1 0xA6 1 0 1 0 0 1 1 0 0xA7 1 0 1 0 0 1 1 1 0xA8 1 0 1 0 1 0 0 0 0xA9 1 0 1 0 1 0 0 1 0xAA 1 0 1 0 1 0 1 0 0xAB 1 0 1 0 1 0 1 1 255 steps for intensity each single LED 0xAC 1 0 1 0 1 1 0 0 0xAD 1 0 1 0 1 1 0 1 0xAE 1 0 1 0 1 1 1 0 0xAF 1 0 1 0 1 1 1 1 0xB0 1 0 1 1 0 0 0 0 0xB1 1 0 1 1 0 0 0 1 0xB2 1 0 1 1 0 0 1 0 0xB3 1 0 1 1 0 0 1 1 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 18 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n 3 Blocks with 5x6 LED Matrix The AS1119 can be configured to control three seperated blocks of LEDs matrixes. This must be set via the bit D0 in the AS1119 config register (see AS1119 Config Register (0x04) on page 25). Figure 22. 5x6 LED Matrix with 3 Matrixes Matrix B Matrix A Matrix C Table 11. Dataframe Adress Structure for 3 Matrixes Adresses (HEX code) Current Source On / Off Matrix A CS0 CS1 CS2 CS3 CS4 CS5 B CS6 CS7 CS8 CS9 CS10 CS11 Blink Matrix C CS12 CS13 CS14 CS15 CS16 CS17 A 0x00 0x02 0x04 0x06 0x08 0x0A B Intensity Matrix C 0x01 0x03 0x05 0x07 0x09 0x0B A 0x12 0x14 0x16 0x18 0x1A 0x1C B Matrix C 0x13 0x15 0x17 0x19 0x1B 0x1D A B C 0x24-0x2B 0x2C-0x33 0x34-0x3B 0x3C-0x43 0x44-0x4B 0x4C-0x53 0x54-0x5B 0x5C-0x63 0x64-0x6B 0x6C-0x73 0x74-0x7B 0x7C-0x83 In Table 12 it's described which databit represents which LED in the matrix. Per default all databits are `0', meaning no LED is on. A `1' puts the LED on. Note: LED A01 is the first LED of the Current Source 0 in the Matrix A. LED B01 is the first LED of the Current Source 6 in the Matrix B. and so on. Table 12. LEDs ON/OFF Register Format for 3 Matrixes Setup Current Source CS0, CS6, CS12 CS1, CS7, CS13 CS2, CS8, CS14 Adress HEX Data A7 A6 A5 A4 A3 A2 A1 A0 0x00 0 0 0 0 0 0 0 0 0x01 0 0 0 0 0 0 0 1 0x02 0 0 0 0 0 0 1 0 0x03 0 0 0 0 0 0 1 1 0x04 0 0 0 0 0 1 0 0 0x05 0 0 0 0 0 1 0 1 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 D7 D6 LED LED 7 6 LED X 14 LED LED 23 22 LED X 30 LED LED 39 38 LED X 46 Revision 1.03 D5 LED 5 LED 13 LED 21 LED 29 LED 37 LED 45 D4 LED 4 LED 12 LED 20 LED 28 LED 36 LED 44 D3 LED 3 LED 11 LED 19 LED 27 LED 35 LED 43 D2 LED 2 LED 10 LED 18 LED 26 LED 34 LED 42 D1 LED 1 LED 9 LED 17 LED 25 LED 33 LED 41 D0 LED 0 LED 8 LED 16 LED 24 LED 32 LED 40 19 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Table 12. LEDs ON/OFF Register Format for 3 Matrixes Setup Current Source CS3, CS9, CS15 CS4, CS10, CS16 CS5, CS11, CS17 Adress HEX Data A7 A6 A5 A4 A3 A2 A1 A0 0x06 0 0 0 0 0 1 1 0 0x07 0 0 0 0 0 1 1 1 0x08 0 0 0 0 1 0 0 0 0x09 0 0 0 0 1 0 0 1 0x0A 0 0 0 0 1 0 1 0 0x0B 0 0 0 0 1 0 1 1 D7 D6 LED LED 55 54 LED X 62 LED LED 71 70 LED X 78 LED LED 87 86 LED X 94 D5 LED 53 LED 61 LED 69 LED 77 LED 85 LED 93 D4 LED 52 LED 60 LED 68 LED 76 LED 84 LED 92 D3 LED 51 LED 59 LED 67 LED 75 LED 83 LED 91 D2 LED 50 LED 58 LED 66 LED 74 LED 82 LED 90 D1 LED 49 LED 57 LED 65 LED 73 LED 81 LED 89 D0 LED 48 LED 56 LED 64 LED 72 LED 80 LED 88 In the blink register (see Table 13) every single LED can be set to blink. The blink period is set in the display option register (see Display Option Register (0x03) on page 24). Table 13. LEDs Blink Register Format for 3 Matrixes Setup Current Source CS0, CS6, CS12 CS1, CS7, CS13 CS2, CS8, CS14 CS3, CS9, CS15 CS4, CS10, CS16 CS5, CS11, CS17 Adress HEX Data A7 A6 A5 A4 A3 A2 A1 A0 0x12 0 0 0 0 0 0 0 0 0x12 0 0 0 0 0 0 0 1 0x14 0 0 0 0 0 0 1 0 0x15 0 0 0 0 0 0 1 1 0x16 0 0 0 0 0 1 0 0 0x17 0 0 0 0 0 1 0 1 0x18 0 0 0 0 0 1 1 0 0x19 0 0 0 0 0 1 1 1 0x1A 0 0 0 0 1 0 0 0 0x1B 0 0 0 0 1 0 0 1 0x1C 0 0 0 0 1 0 1 0 0x1D 0 0 0 0 1 0 1 1 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 D7 D6 LED LED 7 6 LED X 14 LED LED 23 22 LED X 30 LED LED 39 38 LED X 46 LED LED 55 54 LED X 62 LED LED 71 70 LED X 78 LED LED 87 86 LED X 94 Revision 1.03 D5 LED 5 LED 13 LED 21 LED 29 LED 37 LED 45 LED 53 LED 61 LED 69 LED 77 LED 85 LED 93 D4 LED 4 LED 12 LED 20 LED 28 LED 36 LED 44 LED 52 LED 60 LED 68 LED 76 LED 84 LED 92 D3 LED 3 LED 11 LED 19 LED 27 LED 35 LED 43 LED 51 LED 59 LED 67 LED 75 LED 83 LED 91 D2 LED 2 LED 10 LED 18 LED 26 LED 34 LED 42 LED 50 LED 58 LED 66 LED 74 LED 82 LED 90 D1 LED 1 LED 9 LED 17 LED 25 LED 33 LED 41 LED 49 LED 57 LED 65 LED 73 LED 81 LED 89 D0 LED 0 LED 8 LED 16 LED 24 LED 32 LED 40 LED 48 LED 56 LED 64 LED 72 LED 80 LED 88 20 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n In the intensity register (see Table 14) the brightness of every single LED can be set via a 8bit PWM (255 steps). Table 14. LEDs Intensity Register Format for 3 Matrixes Setup Matrix Address Current Source A CS0 B CS6 C CS12 A CS1 B CS7 C CS13 A CS2 B CS8 C CS14 LED0 LED1 LED2 LED3 LED4 LED5 LED6 LED7 LED8 LED9 LED10 LED11 LED12 LED13 LED14 LED16 LED17 LED18 LED19 LED20 LED21 LED22 LED23 LED24 LED25 LED26 LED27 LED28 LED29 LED30 LED32 LED33 LED34 LED35 LED36 LED37 LED38 LED39 LED40 LED41 LED42 LED43 LED44 LED45 LED46 Data HEX A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 0x24 0 0 1 0 0 1 0 0 0x25 0 0 1 0 0 1 0 1 0x26 0 0 1 0 0 1 1 0 0x27 0 0 1 0 0 1 1 1 0x28 0 0 1 0 1 0 0 0 0x29 0 0 1 0 1 1 0 0 0x2A 0 0 1 0 1 1 0 1 255 steps for intensity each single 0x2B 0 0 1 0 1 1 1 0 LED 0x2C 0 0 1 0 1 1 1 1 0x2D 0 0 1 1 0 0 0 0 0x2E 0 0 1 0 1 1 0 0 0x2F 0 0 1 0 1 1 0 1 0x30 0 0 1 0 1 1 1 0 0x31 0 0 1 0 1 1 1 1 0x32 0 0 1 1 0 0 0 0 0x34 0 0 1 1 0 1 0 0 0x35 0 0 1 1 0 1 0 1 0x36 0 0 1 1 0 1 1 0 0x37 0 0 1 1 0 1 1 1 0x38 0 0 1 1 1 0 0 0 0x39 0 0 1 1 1 0 0 1 0x3A 0 0 1 1 1 0 1 0 255 steps for intensity each single 0x3B 0 0 1 1 1 0 1 1 LED 0x3C 0 0 1 1 1 1 0 0 0x3D 0 0 1 1 1 1 0 1 0x3E 0 0 1 1 1 1 1 0 0x3F 0 0 1 1 1 1 1 1 0x40 0 1 0 0 0 0 0 0 0x41 0 1 0 0 0 0 0 1 0x42 0 1 0 0 0 0 1 0 0x44 0 1 0 0 0 1 0 0 0x45 0 1 0 0 0 1 0 1 0x46 0 1 0 0 0 1 1 0 0x47 0 1 0 0 0 1 1 1 0x48 0 1 0 0 1 0 0 0 0x49 0 1 0 0 1 0 0 1 0x4A 0 1 0 0 1 0 1 0 255 steps for intensity each single 0x4B 0 1 0 0 1 0 1 1 LED 0x4C 0 1 0 0 1 1 0 0 0x4D 0 1 0 0 1 1 0 1 0x4E 0 1 0 0 1 1 1 0 0x4F 0 1 0 0 1 1 1 1 0x50 0 1 0 1 0 0 0 0 0x51 0 1 0 1 0 0 0 1 0x52 0 1 0 1 0 0 1 0 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 21 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Table 14. LEDs Intensity Register Format for 3 Matrixes Setup Matrix Address Current Source A CS5 B CS11 C CS17 HEX LED80 LED81 LED82 LED83 LED84 LED85 LED86 LED87 LED88 LED89 LED90 LED91 LED92 LED93 LED94 0xA4 0xA5 0xA6 0xA7 0xA8 0xA9 0xAA 0xAB 0xAC 0xAD 0xAE 0xAF 0xB0 0xB1 0xB2 Data A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 ............................... 1 0 1 0 0 1 0 0 1 0 1 0 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 0 0 1 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1 0 0 1 1 0 1 0 1 0 1 0 255 steps for intensity each single 1 0 1 0 1 0 1 1 LED 1 0 1 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1 1 1 0 1 1 0 0 0 0 1 0 1 1 0 0 0 1 1 0 1 1 0 0 1 0 Control-Registers The AS1119 devices contain 13 control-registers which are listed in Table 15. All registers are selected using a 8-bit address word, and communication is done via the serial interface. Select the Control Register via the Register Selection (see Table 6 on page 14). Table 15. Control Register Address Map Register Address Register Data Register Name HEX A7 A6 A5 A4 A3 A2 A1 A0 D7:D0 Frame Address 0x00 0 0 0 0 0 0 0 0 (see Table 16 on page 23) Frame Play 0x01 0 0 0 0 0 0 0 1 (see Table 17 on page 23) Frame Time 0x02 0 0 0 0 0 0 1 0 (see Table 18 on page 24) Display Option 0x03 0 0 0 0 0 0 1 1 (see Table 19 on page 24) AS1119 Config 0x04 0 0 0 0 0 1 0 0 (see Table 20 on page 25) Current Source Matrix A 0x05 0 0 0 0 0 1 0 1 Current Source Matrix B 0x06 0 0 0 0 0 1 1 0 Current Source Matrix C 0x07 0 0 0 0 0 1 1 1 Chare Pump Config 0x08 0 0 0 0 1 0 0 0 (see Table 22 on page 26) Open/Short Test 0x09 0 0 0 0 1 0 0 1 (see Table 23 on page 26) Shutdown 0x0A 0 0 0 0 1 0 1 0 (see Table 24 on page 27) IC Interface Monitoring 0x0B 0 0 0 0 1 0 1 1 (see Table 25 on page 27) Open/Short Status 0x0C 0 0 0 0 1 1 0 0 (see Table 26 on page 27) AS1119 Status 0x0D 0 0 0 0 1 1 0 1 (see Table 27 on page 28) www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 (see Table 21 on page 25) 22 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Frame Address Register (0x00) In this register it must be set if a picture or a movie is to display on the LED matrix. Also the start address of the the movie or the picture which should be displayed must be set within this register. The default setting of this register is 0x00. Table 16. Frame Address Register Format 0x00 Frame Address Register Bit Bit Name Default Access 7 Play Movie 0 R/W 0: no movie 1: play movie Bit Description 6 Display Picture 0 R/W 0: no picture 1: display picture 5:3 Start Address for movie 000 R/W 000: Frame 0 001: Frame 1 010: Frame 2 011: Frame 3 100: Frame 4 101: Frame 5 2:0 Address of Picture 000 R/W 000: Frame 0 001: Frame 1 010: Frame 2 011: Frame 3 100: Frame 4 101: Frame 5 Note: If bit 6 and 7 are set to `1' the AS1119 will play the movie first and than the picture will be displayed. Frame Play Register (0x01) Within this register two movie play obtions can be set. Per default this register is set to 0x00. - The number of frames which are displayed in one movie. - The number of loops to play in a movie. Table 17. Frame Play Register Format 0x01 Frame Play Register Bit Bit Name Default Access Bit Description 7:6 - 00 n/a 5:3 Number of loops played in one movie 000 R/W 000: no loop 001: 1 loop 010: 2 loops 011: 3 loops 100: 4 loops 101: 5 loops 110: 6 loops 111: play endless 2:0 Number of frames to played in a movie 000 R/W 000: 1 frame 001: 2 frames 010: 3 frames 011: 4 frames 100: 5 frames 101: 6 frames Note: To display a picture again after the play endless function D5:D3 has to be set to D5:D3 = 000 to 110. www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 23 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Frame Time Register (0x02) Every single frame in a movie is displayed for a certain time before the next frame is displayed. This time can be set within this register with 4 bits. The stated values in Table 18 are typical values. Per default this register is set to 0x00. Table 18. Frame Time Register Format 0x02 Frame Time Register Bit Bit Name Default Access 7:4 - 00 n/a 3:0 Delay between frame change in a movie 000 R/W Bit Description 0000:play frame only one time 0001: 32.5ms 0010: 65ms 0011: 97.5ms 0100: 130ms 0101: 162.5ms 0110: 195ms 0111: 227.5ms 1000: 260ms 1001: 292.5ms 1010: 325ms 1011:357.5ms 1100: 390ms 1101: 422.5ms 1110: 455ms 1111: 487.5ms Display Option Register (0x03) With the scan-limit it can be controled how many digits should be displayed. When all 18 digits are to display, the update frequency is typically 430Hz (typ). If the number of digits to display is reduced, the update frequency is increased. Per default this register is set to 0x07. Table 19. Display Option Register Format 0x03 Display Option Register Bit Bit Name Default Access 7 - 0 n/a 6 intensity setting 0 R/W 0: use intensity setting of frame 0 for all other frames 1: set the intensity of each frame independently 5 start with blink 0 R/W 0: start blinking with LED on 1: start blinking with LED off 4 blink period 0 R/W 0: 1.5s 1: 3s www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Bit Description Revision 1.03 24 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Table 19. Display Option Register Format 0x03 Display Option Register Bit Bit Name Default Access 3:0 number of displayed current sources in one frame (scan-limit) 0111 R/W Bit Description 2 Matrix setting Matrix A Matrix B 0000: CS0 0001: CS0 to CS1 0010: CS0 to CS2 0011: CS0 to CS3 0100: CS0 to CS4 0101: CS0 to CS5 0110: CS0 to CS6 0111: CS0 to CS7 1000: CS0 to CS8 0000: CS0 0001: CS0 to CS1 0010: CS0 to CS2 0011: CS0 to CS3 0100: CS0 to CS4 0101: CS0 to CS5 0110: CS0 to CS6 0111: CS0 to CS7 1000: CS0 to CS8 3 Matrixes setting Matrix A Matrix B Matrix C 0000: CS0 0001: CS0 to CS1 0010: CS0 to CS2 0011: CS0 to CS3 0100: CS0 to CS4 0101: CS0 to CS5 0000: CS6 0001: CS6 to CS7 0010: CS6 to CS8 0011: CS6 to CS9 0100: CS6 to CS10 0101: CS6 to CS11 0000: CS12 0001: CS12 to CS13 0010: CS12 to CS14 0011: CS12 to CS15 0100: CS12 to CS16 0101: CS12 to CS17 AS1119 Config Register (0x04) In this register the configuration of the charge pumps is set to 2 or 3 blocks. The direction of the SYNC_xxx pin (input or output) is also set. Per default this register is set to 0x00. Table 20. AS1119 Config Register Format 0x04 AS1119 Config Register Bit Bit Name Default Access Bit Description 7:3 - 00000 n/a 2:1 Sync 00 R/W 00: do not use 01: pin B6 is used as clk output for synchronization 10: pin B6 is used as clk input for synchronization 11: do not use 0 Matrix Configuration 0 R/W 0: 3 matrixes (a 5x6 LED-Matrix) 1: 2 matrixes (a 8x9 LED-Matrix) Current Source Block A, B, C Registers (0x05, 0x06, 0x07) Within this registers the current for one block of LEDs can be set from 0mA to 31mA in 255 steps (8 bits). Per default this register is set to 0x00. Table 21. Current Sourcer Register Format Current Source Registers Bit Bit Name Default Access Bit Description Address 0x05 7:0 Analog Current Matrix A 0000000 R/W 00000000: 0mA .......... 11111111: 31mA R/W 00000000: 0mA .......... 11111111: 31mA Address 0x06 7:0 Analog Current Matrix B 0000000 www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 25 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Table 21. Current Sourcer Register Format Current Source Registers Bit Bit Name Default Access Bit Description Address 0x07 7:0 Analog Current Matrix C 0000000 R/W 00000000: 0mA .......... 11111111: 31mA Charge Pump Config Register (0x08) In this register the characteristics of the Charge Pump can be set. If the supply of the AS1119 is strong enough the charge pump is turning off automatically. This option and also the timeframe for it can be set. The timeframe defines the period in which the control logic tries to switch off the charge pump. Per default this register is set to 0x1E. Table 22. AS1119 Config Register Format 0x08 Charge Pump Config Register Bit Bit Name Default Access Bit Description 7:5 - 000 n/a 4:2 Timeframe for reduce supply test 111 R/W 000: 0.3s 001: 0.5s 010: 0.8s 011: 1.0s 100: 1.3s 101: 1.6s 110: 1.8s 111: 2.1s 1 Reduce supply option 1 R/W 0: reduce supply option off 1: reduce supply option on 0 Charge Pump 0 R/W 0: Charge Pump disable 1: Charge Pump enable Open/Short Test Register (0x09) The AS1119 can detect open and shorted LEDs. To start this test the according bits have to be set. The result of the open/short test is written in the Open/Short staturs register (see Table 26). The default setting of this register is 0x00. Table 23. Open/Short Test Register Format 0x09 Open/Short Test Register Bit Bit Name Default Access Bit Description 7:2 - 000000 n/a 1 Full Matrix 0 R/W 0: all LED's are available in the matrixes 1: not all LED's are available in the matrixes 0 Error detection 0 R/W 0: start test 1: no test The Open/Short test is only checking LEDs which are defined as ON in the Data Frame Registers Table 8 on page 15 or Table 12 on page 19. With the bit1 (Full Matrix) all 144 LEDs will be defined as available and will be tested. If bit1 is set to `1', no LED will be turned ON. www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 26 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n Shutdown Register (0x0A) The default setting of this register is 0x00. To get the AS1119 operational the bit D0 has to be set to `1'. Table 24. Shutdown Register Format 0x0A Shutdown Register Bit Bit Name Default Access 7:1 - 0000000 n/a 0 shutdown 0 R/W Bit Description 0: shutdown 1: normal operation IC Interface Monitoring Register (0x0B) This register is used to monitor the activity on the IC bus. If a deadlock situation occurs (e.g. the bus SDA pin is pulled to low and no communication is possible) the chip will reset the IC interface and the master is able to start the communication again. The time window for the reset of the interface of the AS1119 can bes set via 7 bits from 256s to 33ms. The default setting of this register is 0xFF. Table 25. IC Interface Monitoring Register Format 0x0B IC Interface Monitoring Register Bit Bit Name Default Access Bit Description 7:2 Time out window 1111111 R/W 0 to 127 => 1 to 128x256s 0000000: 256s ........ 1111111: 32.7ms 0 IC Monitor 1 R/W 0: IC monitoring off 1: IC monitoring on Open/Short Status Register (0x0C) This is a read only register. Within this register the result of the open/short test can be read out. It's also stated if the test is completed or still running. The default setting of this register is 0x00. Table 26. Open/Short Status Register Format 0x0C Open/Short Status Register Bit Bit Name Default Access 7 - 0 n/a 6 status 0 R 0: no test 1: test ongoing 5 short test result Matrix C 0 R 0: no error detected 1: short in Matrix C 4 short test result Matrix B 0 R 0: no error detected 1: short in Matrix B 3 short test result Matrix A 0 R 0: no error detected 1: short in Matrix A 2 open test result Matrix C 0 R 0: no error detected 1: open in Matrix C 1 open test result Matrix B 0 R 0: no error detected 1: open in Matrix B 0 open test result Matrix A 0 R 0: no error detected 1: open in Matrix A www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Bit Description Revision 1.03 27 - 31 AS1119 Datasheet - R e g i s t e r D e s c r i p t i o n AS1119 Status Register (0x0D) This is a read only register. From this register the actual status of the AS1119 can be read out. The default setting of this register is 0x00. After an read command the bits are set to `0' again automatically. Table 27. AS1119 Status Register Register Format 0x0D AS1119 Status Register Bit Bit Name Default Access 7 - 0 n/a 6 Movie status 5:4 Interrupt 00 Bit Description R 0: no movie is playing 1: one movie is playing R 00: no Interrupt triggered 1 01: POR triggered an interrupt 10: IC monitor triggered an interrupt 11: both (IC and POR) triggered an interrupt 3:0 actual displayed frame 000 R 000: frame 0 001: frame 1 010: frame 2 011: frame 3 100: frame 4 101: frame 5 1. The power-on reset is part of the start sequence, hence after start-up this bit is also set. www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 28 - 31 AS1119 Datasheet - P a c k a g e D r a w i n g s a n d M a r k i n g s 10 Package Drawings and Markings Figure 23. 36-pin WL-CSP Marking Table 28. Packaging Code YYWWIZZ YY last two digits of the current year WW manufacturing week I ZZ plant identifier free choice / traceability code Figure 24. 36-pin WL-CSP www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 29 - 31 AS1119 Datasheet - O r d e r i n g I n f o r m a t i o n 11 Ordering Information The devices are available as the standard products shown in Table 29. Table 29. Ordering Information Ordering Code Marking AS1119-BWLT AS1119 Desciption 144-LED Cross-Plexing Driver with 320mA Charge-Pump Delivery Form Package Tape and Reel 36-pin WL-CSP Note: All products are RoHS compliant. Buy our products or get free samples online at ICdirect: http://www.austriamicrosystems.com/ICdirect Technical Support is found at http://www.austriamicrosystems.com/Technical-Support For further information and requests, please contact us mailto:sales@austriamicrosystems.com or find your local distributor at http://www.austriamicrosystems.com/distributor www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 30 - 31 AS1119 Datasheet Copyrights Copyright (c) 1997-2010, austriamicrosystems AG, Tobelbaderstrasse 30, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered (R). 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 or registered trademarks of their respective companies. Disclaimer Devices sold by austriamicrosystems AG are covered by the warranty and patent indemnification 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. For shipments of less than 100 parts the manufacturing flow might show deviations from the standard production flow, such as test flow or test location. 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 Tobelbaderstrasse 30 A-8141 Unterpremstaetten, Austria Tel: +43 (0) 3136 500 0 Fax: +43 (0) 3136 525 01 For Sales Offices, Distributors and Representatives, please visit: http://www.austriamicrosystems.com/contact www.austriamicrosystems.com/LED-Driver-ICs/AS1119 Revision 1.03 31 - 31