ams AS1116 64 led dr iver wi th detai led er ror detect ion Datasheet

austriamicrosystems AG
is now
ams AG
The technical content of this austriamicrosystems datasheet is still valid.
Contact information:
Headquarters:
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
e-Mail: [email protected]
Please visit our website at www.ams.com
Datas h eet
A S111 6
6 4 L E D Dr iv e r w i th De t a ile d E r r o r D et e c tio n
2 Key Features
Every segment can be individually addressed and updated separately. Only one external resistor (RSET) is required to set the current. LED brightness can be controlled by analog or digital means.
The devices include an integrated BCD code-B/HEX decoder, multiplex scan circuitry, segment and display drivers, and a 64-bit memory. Internal memory stores the shift register settings, eliminating the
need for continuous device reprogramming.
Additionally the AS1116 offers a diagnostic mode for easy and fast
production testing and allows the use of the AS1116 for critical applications. The diagnostic allows to detect individual open or shorted
LEDs.
am
lc s
on A
te G
nt
st
il
10MHz SPI-Compatible Interface
Open and Shorted LED Error Detection
- Global or Individual Error Detection
Hexadecimal- or BCD-Code for 7-Segment Displays
200nA Low-Power Shutdown Current (typ; data retained)
Individual Digit Brightness Control
Digital and Analog Brightness Control
Display Blanked on Power-Up
Drive Common-Cathode LED Displays
Supply Voltage Range: 2.7 to 5.5V
Software Reset
Optional External Clock
Package:
- QSOP-24 and TQFN(4x4)-24
al
id
The AS1116 is a compact LED driver for 64 single LEDs or 8 digits of
7-segments. The devices can be programmed via an SPI compatible
3-wire interface.
lv
1 General Description
The AS1116 features a low shutdown current of typically 200nA, and
an operational current of typically 350µA. The number of digits can
be programmed, the devices can be reset by software, and an external clock is also supported.
3 Applications
The AS1116 is ideal for seven-segment or dot matrix displays in public information displays at subway, train or bus stations, at airports
and also at displays in public transportation like buses or trains
mobile phones, personal electronic and toys.
The device is available in a QSOP-24 and TQFN(4x4)-24 package.
ca
Figure 1. AS1116 - Typical Application Diagram
ni
8
SEGA to G,
SEG DP
ch
VDD
2.7V to 5.5V
DIG0 to
DIG7
9.53kΩ
Te
ISET
I/O
µP
8
8
8
8
GND
AS1116
SDO SDI
SDI
SCL
LD
AS1116
SDO
LD
SCL
SDI
SCL
AS1116
SDO
LD
I/O
I/O
I/O
Diagnostic readback: open & shorted LEDs
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
1 - 23
AS1116
Datasheet - P i n o u t
4 Pinout
Pin Assignments
DIG3 2
17 SEGC
AS1116
DIG4 4
15 SEGG
14 SEGB
13 SEGF
7
8
9
10 11 12
DIG7
LD
ISET
6
DIG6
N/C 12
LD 11
DIG7 10
DIG6 9
DIG5 8
DIG4 7
N/C
16 VDD
lv
3
Table 1. Pin Descriptions
Pin Name
QSOP-24
TQFN(4x4)-24
SDI
1
22
DIG0:DIG7
2-5, 7-10
GND
6
LD
11
N/C
12
ISET
13
SCL
14
SCL
SEGA
am
lc s
on A
te G
nt
st
il
GND 6
DIG3 5
DIG2 4
DIG1 3
DIG0 2
SDI 1
Pin Descriptions
Description
Serial-Data Input. Data is loaded into the internal 16-bit shift register on the rising edge
of pin SCL.
ca
1, 2, 4, 5, 7, 8, 23, Digit Drive Lines. Eight digit drive lines that sink current from the display cathode.
24
3
Ground.
Load. Serial Data is loaded into the shift register while this pin is low. The last 16 bits of
9
serial data are latched on the rising edge of this pin.
6
Not Connected.
Set Segment Current. Connect to VDD or a reference voltage through RSET to set the
peak segment current (see Selecting RSET Resistor Value and Using
10
External Drivers on page 17).
Serial-Clock Input. 10MHz maximum rate. Data is shifted into the internal shift register
11
on the rising edge of this pin. Data is clocked out of pin SDO on the rising edge of this
pin.
Seven Segment and Decimal Point Drive Lines. 8 seven-segment drives and
12-15,
17-20
decimal point drive that source current to the display.
16
Positive Supply Voltage. Connect to +2.7 to +5.5V supply.
ni
15-18,
20-23
19
ch
VDD
al
id
18 SEG E
DIG5 5
SEGA:SEGG,
SEGDP
SEGDP
SEGD
SDI
SDO
24 23 22 21 20 19
DIG2 1
GND
AS1116
DIG0
DIG1
13 ISET
14 SCL
15 SEGA
16 SEGF
17 SEGB
18 SEGG
19 VDD
20 SEGC
21 SEG E
22 SEGDP
23 SEGD
24 SDO
Figure 2. Pin Assignments (Top View)
24
21
-
Exposed Pad
Te
SDO
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Serial-Data Output. The data into pin SDI is valid at pin SDO 16 clock cycles later. This
pin is used to daisy-chain several devices and is never high-impedance.
Exposed Pad. This pin also functions as a heat sink. Solder it to a large pad or to the
circuit-board ground plane to maximize power dissipation.
Revision 1.08
2 - 23
AS1116
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 4 is not implied.
Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Table 2. Absolute Maximum Ratings
Max
Units
-0.3
7
V
-0.3
7 or
VDD + 0.3
V
DIG0:DIG7 Sink Current
500
mA
SEGA:SEGG, SEGDP
100
mA
Electrical Parameters
VDD to GND
Input Voltage Range
Current
All other pins to GND
Input Current (latch-up immunity)
±100
mA
Electrostatic Discharge
Thermal Information
Norm: JEDEC 78
am
lc s
on A
te G
nt
st
il
Electrostatic Discharge
Notes
al
id
Min
lv
Parameter
Digital outputs
1000
V
All other pins
1000
V
88
ºC/W
on PCB, QSOP-24 package
30.5
ºC/W
on PCB, TQFN(4x4)-24 package
+150
°C
+150
ºC
Thermal Resistance ΘJA
Norm: MIL 833 E method 3015
Temperature Ranges and Storage Conditions
Junction Temperature
Storage Temperature
-55
Package Body Temperature
Humidity non-condensing
ºC
85
%
QSOP-24 package
1
%
Represents a max. floor life time of unlimited
TQFN(4x4)-24 package
3
%
Represents a max. floor life time 168h
Te
ch
ni
ca
Moisture Sensitive Level
5
+260
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”.
The lead finish for Pb-free leaded packages
is matte tin (100% Sn).
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
3 - 23
AS1116
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.7 to 5.5V, RSET = 9.53kΩ, Typical values are at TAMB = +25°C, VDD = 5.0V (unless otherwise specified). All limits are guaranteed. The
parameters with min and max values are guaranteed with production tests or SQC (Statistical Quality Control) methods.
Table 3. Electrical Characteristics
Parameter
Conditions
Min
TAMB
Operating Temperature Range
-40
TJ
Operating Junction Temperature
-40
VDD
Operating Supply Voltage
2.7
IDDSD
Shutdown Supply Current
IDD
Operating Supply Current
All segments and decimal point on;
ISEG = -40mA.
fOSC
Display Scan Rate
8 digits scanned
Typ
0.2
RSET = open circuit.
0.35
Unit
+85
°C
+125
°C
5.5
V
2
µA
0.6
lv
All digital inputs at VDD or GND,
TAMB = +25ºC
Max
al
id
Symbol
mA
1.2
kHz
am
lc s
on A
te G
nt
st
il
335
mA
IDIGIT
Digit Drive Sink Current
ISEG
Segment Drive Source Current
∆ISEG
Segment Drive Current Matching
ISEG
Segment Drive Source Current
VOUT = 0.65V
VDD = 5.0V, VOUT = (VDD -1V)
0.6
0.8
320
-37
-42
-47
3
Average Current
mA
%
47
mA
Max
1
Unit
µA
Table 4. Logic Inputs/Outputs Characteristics
Symbol
IIH, IIL
Parameter
Input Current SDI, SCL, LD
VIH
Logic High Input Voltage
VIL
Logic Low Input Voltage
VOH
Output High Voltage
∆VI
Min
-1
Typ
4.5V < VDD < 5.5V
0.6 x VDD
V
2.7V < VDD < 4.5V
0.7 x VDD
V
VDD = 5.0V
0.8
VDD = 3.0V
0.6
SDO, ISOURCE = -1mA,
VDD = 5.0V
VDD - 1
SDO, ISOURCE = -1mA,
VDD = 3.0V
VDD - 0.5
Output Low Voltage
SDO, ISINK = 1mA
Hysteresis Voltage
SDI, SCL, LD
ca
VOL
Conditions
VIN = 0V or VDD
0.4
0.7x
VDD
ni
Open Detection Level Threshold
0.05x VDD
V
V
V
0.8x
VDD
0.15x
VDD
V
V
Te
ch
Short Detection Level Threshold
1
0.75x
VDD
0.1x
VDD
V
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
4 - 23
AS1116
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. SPI Timing Characteristics
Conditions
Min
100
20
20
25
10
0
5
CLOAD = 50pF
Typ
Max
25
20
20
2.25
Te
ch
ni
ca
am
lc s
on A
te G
nt
st
il
See Figure 19 on page 10 for more information.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ms
al
id
Parameter
SCL Clock Period
SCL Pulse Width High
SCL Pulse Width Low
LD to SCL Rise Setup Time
SCL Rise to LD Rise Hold Time
SDI Setup Time
SDI Hold Time
Output Data Propagation Delay
LD Rising Edge to SCL Rising Edge
Minimum LD Pulse High
Data-to-Segment Delay
lv
Symbol
tCP
tCH
tCL
tCSS
tCSH
tDS
tDH
tDO
tLDCK
tCSW
tDSPD
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
5 - 23
AS1116
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
RSET = 9.53kΩ, VRset = VDD;
980
960
960
940
940
900
880
920
900
880
Vdd = 2.7V
Vdd = 4V
Tamb = - 40°C
860
Tamb = + 25°C
Vdd = 5V
am
lc s
on A
te G
nt
st
il
860
Vdd = 5.5V
Tamb = + 85°C
840
2.7
3.1
3.5
3.9
4.3
4.7
5.1
840
-40
5.5
-15
10
Vdd (V)
Iseg (mA) .
20
Vseg = 1.7V; Vdd = 2.7V
Vseg = 1.7V; Vdd = 5V
10
Vseg
Vseg
Vseg
Vseg
30
20
10
0
-15
10
35
60
85
0
10
20
Tamb (°C)
30
40
50
60
70
80
90
Rset (kOhm)
Figure 8. Segment Current vs. VDD; VRset = 2.8V
ni
Figure 7. Segment Current vs. Supply Voltage;
50
Vseg
Vseg
Vseg
Vseg
ch
45
40
= 1.7V
= 2V
= 2.3V
= 3.1V
35
Iseg (mA) .
40
Te
Iseg (mA) .
= 4V; Vdd = 5V
= 3V; Vdd = 5V
= 2V; Vdd = 5V
= 1.7V; Vdd = 2.7V
Vseg = 3V; Vdd = 5V
Vseg = 4V; Vdd = 5V
ca
Iseg (mA) .
30
50
85
Figure 6. Segment Current vs. RSET;
40
40
60
60
50
50
0
-40
35
Tamb (°C)
Figure 5. Segment Current vs. Temperature;
60
lv
920
al
id
Figure 4. Display Scan Rate vs. Temperature;
980
fosc (Hz) .
fosc (Hz) .
Figure 3. Display Scan Rate vs. Supply Voltage;
30
20
25
20
15
Vseg = 1.7V
10
Vseg = 3V
10
30
Vseg = 4V
5
0
0
2.7
3.1
3.5
3.9
4.3
4.7
5.1
5.5
2.7
Vdd (V)
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
3
3.3
3.6
3.9
4.2
Vdd (V)
Revision 1.08
6 - 23
AS1116
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 9. VDIGIT vs. IDIGIT
Figure 10. Input High Level vs. Supply Voltage
0.4
3.5
3
2.5
0.2
1.5
1
= 2.7V
= 3.3V
= 4V
= 5V
= 5.5V
0.5
0
0
0.05
0.1
0.15
0.2
Idig (A)
0.25
0.3
Figure 11. ISEG vs. VSEG; VDD = 5V
50
40
3.5
4.3
4.7
5.1
5.5
Vdd (V)
50
= 10k
= 13k
= 18k
= 30k
= 56k
Rext
Rext
Rext
Rext
Rext
45
40
= 8k2
= 10k
= 13k
= 18k
= 30k
Iseg (mA) .
30
30
25
25
20
20
15
15
10
10
5
5
0
0
2
2.5
3
3.5
4
4.5
5
1
1.5
2
ca
ni
45
ch
40
3
3.5
4
Rext
Rext
Rext
Rext
Rext
Figure 14. ISEG vs. VSEG; VDD = 2.7V
= 6k8
= 8k2
= 10k
= 13k
= 18k
35
30
Te
25
20
50
Rext
Rext
Rext
Rext
Rext
45
40
= 4k7
= 5k6
= 6k8
= 10k
= 13k
35
Iseg (mA) .
Figure 13. ISEG vs. VSEG; VDD = 3.3V
50
2.5
Vseg (V)
Vseg (V)
Iseg (mA) .
3.9
35
35
Iseg (mA) .
3.1
Figure 12. ISEG vs. VSEG; VDD = 4V
Rext
Rext
Rext
Rext
Rext
45
2.7
0.35
am
lc s
on A
te G
nt
st
il
0
lv
Vdd
Vdd
Vdd
Vdd
Vdd
0.1
2
al
id
Vih (V) .
Vdig (V) .
0.3
30
25
20
15
15
10
10
5
5
0
0
1
1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2
1
Vseg (V)
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
1.2
1.4
1.6
1.8
2
2.2
2.4
2.6
Vseg (V)
Revision 1.08
7 - 23
AS1116
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
al
id
Figure 15. Block Diagram (QSOP-24 Package)
Open/Short
Detection
+
–
lv
VDD
RSET
19
am
lc s
on A
te G
nt
st
il
+
VDD
–
Oszillator
13
ISET
8
SEGA-G,
SEGDP
Digital Control
Logic
11
LD
1
SDI
14
SCL
24
8
2-5, 7-10
DIG0 to DIG7
(PWM, Debounce,....)
Registers
SPI
Interface
Data - Registers
Control - Registers
Scan - Registers
6
GND
AS1116
ni
ca
SDO
15-18, 20-23
ch
Figure 16. ESD Structure
Te
VDD
valid for the pins:
- SDI
- SCL
- SDO
- LD
- ISET
- SEGA-G, SEGDP
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
VDD
valid for the pins:
- DIG0 to DIG7
Revision 1.08
8 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
Serial Interface
The AS1116 contains a 16bit SPI interface to access the internal data and control registers of the device (see Digit- and Control-Registers
on page 11). The SPI interface is driven with the rising edge of SCL. A falling edge on LD signal indicates the beginning of an access on the
SPI interface, the rising edge on LD determines an access on SPI. An access must consist of exactly 16bits for write operation and 8bits for read
operation. Timing restrictions on the SPI interface pins are defined in Figure 19.
Table 6 shows the structure of the 16bit command word for writing data. The bits D0 to D7 are the data information, bits D8 to D12 are the
address bits, D13 is set to ‘0’, bit D14 is defining the read (D14 = ‘1’) or the write (D14 = ‘0’) configuration and bit D15 is a don’t care bit.
al
id
In Table 7 on page 11 the 8bit command word for the read operation can be found.
Bit D0 (write operation) or bit D8 (read operation) is the first bit to shift into the SPI interface after the falling edge of LD. Bit D15 is the last bit to
write to SPI before rising edge of LD.
lv
At a read operation an 8bit operation is executed (see Figure 18). At the first rising edge of SCL after the rising edge of LD D7 of addressed
register is written to SDO pin. At the next rising edge of SCL D6 is written to SDO pin. LD must be kept high during reading data from a internal
data or control register of AS1116.
Table 6. 16-Bit Serial Data Format
D1
D2
D3
D4
Data
Figure 17. Write operation
1
SCL
LD
D0
D1
SDO
D0
D1
1
SCL
LD
SDI
D7
MSB
D8
D9
D10
D11
D12
Register Address (see Table 7)
D13
0
D14
R/W
8
9
D15
X
16
D2
D3
D4
D5
D6
D7
D8
D9 D10 D11 D12 D13 D14 D15
D2
D3
D4
D5
D6
D7
D8
D9 D10 D11 D12 D13 D14 D15
8
9
16
ni
D9 D10 D11 D12 D13 D14 D15
D7
D6
D5
D4
D3
D2
D1
D0
Te
ch
SDO
D8
D6
ca
SDI
Figure 18. Read operation
D5
am
lc s
on A
te G
nt
st
il
D0
LSB
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
9 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
Figure 19. Interface Timing
LD
tCSW
tLDCK
tCH
tDH
tDS
D0
D1
D14
D15
tDO
Initial Power-Up
am
lc s
on A
te G
nt
st
il
SDO
lv
SDI
al
id
tCL
SCL
tCSH
tCP
tCSS
On initial power-up, the AS1116 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
15) is set to the minimum values.
Shutdown Mode
The AS1116 devices feature a shutdown mode, where they consume only 200nA (typ) current. Shutdown mode is entered via a write to the Shutdown Register (see Table 8). For the AS1116, at that point, all segment current sources and digital drivers are switched off, so that all segments
are blanked.
Note: During shutdown mode the Digit-Registers maintain their data.
Shutdown mode can either be used as a means to reduce power consumption or for generating a flashing display (repeatedly entering and leaving shutdown mode). For minimum supply current in shutdown mode, logic input should be at GND or VDD (CMOS logic level).
ca
When entering or leaving shutdown mode, the Feature Register is reset to its default values (all 0s) when Shutdown Register bit D7 (page 12) =
0.
Te
ch
ni
Note: When Shutdown Register bit D7 = 1, the Feature Register is left unchanged when entering or leaving shutdown mode. If the AS1116
is used with an external clock, Shutdown Register bit D7 should be set to 1 when writing to the Shutdown Register.
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
10 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
Digit- and Control-Registers
The AS1116 devices contain 8 Digit-Registers,11 control-registers and 8 diagnostic-registers, which are listed in Table 7. All registers are
selected using a 8-bit address word, and communication is done via the serial interface.
Digit Registers – These registers are realized with an on-chip 64-bit memory. Each digit can be controlled directly without rewriting the
whole register contents.
Control Registers – These registers consist of decode mode, display intensity, number of scanned digits, shutdown, display test and features selection registers.
Address
D15
D14
D13
D12
D11
D10
D9
D8
No-Op
X
0
0
0
0
0
0
0
Digit 0
X
0
0
0
0
0
0
1
Digit 1
X
0
0
0
0
0
1
0
Digit 2
X
0
0
0
0
0
1
1
Digit 3
Digit 4
Digit 5
Digit 6
Digit 7
Decode-Mode
Global Intensity
Control Register
Scan Limit
Shutdown
Not Used
Feature
Display Test Mode
DIG0:DIG1 Intensity
DIG2:DIG3 Intensity
DIG4:DIG5 Intensity
Diagnostic Digit 1
Diagnostic Digit 2
16
N/A
N/A
N/A
(see Table 10 on page 12,
Table 11 on page 13 and
Table 12 on page 13)
0
0
0
0
1
0
0
X
0
0
0
0
1
0
1
X
0
0
0
0
1
1
0
N/A
X
0
0
0
0
1
1
1
N/A
X
0
0
0
1
0
0
0
X
0
0
0
1
0
0
1
(see Table 9 on page 12)
12
X
0
0
0
1
0
1
0
(see Table 16 on page 15)
15
X
0
0
0
1
0
1
1
(see Table 18 on page 15)
15
N/A
(see Table 8 on page 12)
N/A
N/A
X
0
0
0
1
1
0
0
X
0
0
0
1
1
0
1
X
0/1
0
0
1
1
1
0
(see Table 19 on page 16)
16
X
0
0
0
1
1
1
1
(see Table 13 on page 14)
12
X
0
0
1
0
0
0
0
(see Table 17 on page 15)
X
0
0
1
0
0
0
1
(see Table 17 on page 15)
X
0
0
1
0
0
1
0
(see Table 17 on page 15)
X
0
0
1
0
0
1
1
(see Table 17 on page 15)
X
1
0
12
N/A
1
0
1
0
0
N/A
X
1
0
1
0
1
0
1
N/A
X
1
0
1
0
1
1
0
N/A
X
1
0
1
0
1
1
1
N/A
ni
Diagnostic Digit 3
Diagnostic Digit 4
X
1
0
1
1
0
0
0
N/A
Diagnostic Digit 5
X
1
0
1
1
0
0
1
N/A
Diagnostic Digit 6
X
1
0
1
1
0
1
0
N/A
Diagnostic Digit 7
X
1
0
1
1
0
1
1
N/A
ch
Diagnostic Register
Diagnostic Digit 0
Page
X
ca
DIG6:DIG7 Intensity
D7:D0
lv
Register
am
lc s
on A
te G
nt
st
il
Digit Register
Type
Table 7. Register Address Map
al
id
Te
Note: Write operation: D14=0; Read operation: D14=1.
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
11 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
The Shutdown Register controls AS1116 shutdown mode.
Table 8. Shutdown Register Format (Address (HEX) = 0x0C))
Register Data
HEX
Code D7 D6 D5 D4 D3 D2 D1 D0
0x00
0
X
X
X
X
X
X
0
0x80
1
X
X
X
X
X
X
0
0x01
0
X
X
X
X
X
X
1
0x81
1
X
X
X
X
X
X
1
Mode
al
id
Shutdown Mode, Reset Feature Register to Default Settings
Shutdown Mode, Feature Register Unchanged
Normal Operation, Reset Feature Register to Default Settings
Normal Operation, Feature Register Unchanged
Decode Enable Register (0x09)
lv
The Decode Enable Register sets the decode mode. BCD/HEX decoding (either BCD code – characters 0:9, E, H, L, P, and -, or HEX code –
characters 0:9 and A:F) is selected by bit D2 (page 16) of the Feature Register. The Decode Enable Register is used to select the decode mode
or no-decode for each digit. Each bit in the Decode Enable Register corresponds to its respective display digit (i.e., bit D0 corresponds to digit 0,
bit D1 corresponds to digit 1 and so on). Table 10 lists some examples of the possible settings for the Decode Enable Register bits.
am
lc s
on A
te G
nt
st
il
Note: A logic high enables decoding and a logic low bypasses the decoder altogether.
When decode mode is used, the decoder looks only at the lower-nibble (bits D3:D0) of the data in the Digit-Registers, disregarding bits D6:D4.
Bit D7 sets the decimal point (SEG DP) independent of the decoder and is positive logic (bit D7 = 1 turns the decimal point on). Table 10 lists
the code-B font; Table 11 lists the HEX font.
When no-decode mode is selected, data bits D7:D0 of the Digit-Registers correspond to the segment lines of the AS1116. Table 12 shows the
1:1 pairing of each data bit to the appropriate segment line.
Table 9. Decode Enable Register Format Examples
Decode Mode
HEX
Code
No decode for digits 7:0
Code-B/HEX decode for digit 0. No decode for digits 7:1
Code-B/HEX decode for digit 0:2. No decode for digits 7:3
Code-B/HEX decode for digits 0:5. No decode for digits 7:6
Code-B/HEX decode for digits 0,2,5. No decode for digits 1, 3, 4, 6, 7
0x00
0x01
0x07
0x3F
0x25
Table 10. Code-B Font
Register Data
D7
D6:D4
X
D3 D2 D1 D0
Character
ca
Character
D6: D4
D3 D2 D1 D0
Register Data
D5 D4 D3 D2
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
1
D1
0
0
1
1
0
D0
0
1
1
1
1
Register Data
D7
D6:D4
D3 D2 D1 D0
0
0
0
X
0
1
1
0
X
1
1
0
0
0
0
0
1
X
0
1
1
1
X
1
1
0
1
X
0
0
1
0
X
1
0
0
0
X
1
1
1
0
X
0
0
1
1
X
1
0
0
1
X
1
1
1
1
X
0
1
0
0
X
1
0
1
0
X
X
X
X
X
X
0
1
0
1
X
1
0
1
1
ni
ch
Te
D7
Character
D6
0
0
0
0
0
0
X
*
Register Data
D7
0
0
0
0
0
*
1
The decimal point can be enabled with every character by setting bit D7 = 1.
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
12 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
Table 11. HEX Font
*
Register Data
D6:D4
D3 D2 D1 D0
Register Data
D7
D6: D4
D3 D2 D1 D0
Character
Register Data
D7
D6:D4
D3 D2 D1 D0
0
0
0
0
X
0
1
1
0
X
1
1
0
0
X
0
0
0
1
X
0
1
1
1
X
1
1
0
1
X
0
0
1
0
X
1
0
0
0
X
1
1
1
0
X
0
0
1
1
X
1
0
0
1
X
1
1
1
1
X
0
1
0
0
X
1
0
1
0
X
X
X
X
X
X
0
*
1
al
id
X
lv
D7
Character
am
lc s
on A
te G
nt
st
il
Character
1
0
1
X
1
0
1
1
The decimal point can be enabled with every character by setting bit D7 = 1.
Table 12. No-Decode Mode Data Bits and Corresponding Segment Lines
Corresponding Segment Line
D7
DP
D6
A
D5
B
D4
C
D3
D
D2
E
D1
F
D0
G
Figure 20. Standard 7-Segment LED
F
D
B
C
DP
Te
ch
ni
ca
E
A
G
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
13 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
Display-Test Mode
The AS1116 can detect open or shorted LEDs. Readout of either open LEDs (D2=1) or short LEDs (D1=1) is possible, as well as a OR relation of
open and short (D1=D2=1). After a diagnostic run bit D4 can be read to clarify if an error occurred before reading out detailed diagnostic data.
Note: All settings of the digit- and control-registers are maintained.
Table 13. Testmode Register Summary
D6
REXT_short
D5
REXT_open
D4
LED_global
D3
LED_test
D2
LED_open
D1
LED_short
D0
DISP_test
al
id
D7
X
Table 14. Testmode Register Bit Description (Address (HEX) = 0x0F))
Addr: 0x0F
Address
Bit Name
Default
Access
D7:D0
D0
DISP_test
0
W
Optical display test. (Testmode for external visual test.)
0: Normal operation; 1: Run display test (All digits are tested independently
from scan limit & shutdown register.)
D1
LED_short
0
W
Starts a test for shorted LEDs. (Can be set together with D2)
0: Normal operation; 1: Activate testmode
D2
LED_open
0
W
Starts a test for open LEDs. (Can be set together with D1)
0: Normal operation; 1: Activate testmode
D3
LED_test
0
R
Indicates an ongoing open/short LED test
0: No ongoing LED test; 1: LED test in progress
D4
LED_global
0
R
Indicates that the last open/short LED test has detected an error
0: No error detected; 1: Error detected
D5
REXT_open
0
R
Checks if external resistor REXT is open
0: REXT correct; 1: REXT is open
D6
REXT_short
0
R
Checks if external resistor REXT is shorted
0: REXT correct; 1: REXT is shorted
0
-
Not used
am
lc s
on A
te G
nt
st
il
lv
Bit
D7
LED Diagnostic Registers
These eight registers contain the result of the LED open/short test for the individual LED of each digit.
Table 15. LED Diagnostic Register Address
Digit
D7
DP
D6
A
D5
B
D4
C
D3
D2
D
ni
DIG0
DIG1
DIG2
DIG3
ca
Segment
E
D1
F
D0
G
Register
HEX
Address
0x18
0x19
0x1A
0x1B
Segment
Digit
D7
D6
D5
D4
D3
D2
D1
D0
DIG4
DIG5
DIG6
DIG7
DP
A
B
C
D
E
F
G
ch
Register
HEX
Address
0x14
0x15
0x16
0x17
Te
Note: If more than 2 shorts occure in the LED array, detection of individual LED fault could become limited to blocs.
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
14 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
Intensity Control Register (0x0A)
The brightness of the display can be controlled by digital means using the Intensity Control Registers and by analog means using RSET (see
Selecting RSET Resistor Value and Using External Drivers on page 17). The intensity can be controlled globally for all digits, or
for each digit individually. The global intensity command will write intensity data to all four individual brightness registers, while the individual
intesity command will only write to the associated individual intensity register.
Table 16. Intensity Register Format
1/16 (min on)
2/16
3/16
4/16
5/16
6/16
7/16
8/16
0xX0
0xX1
0xX2
0xX3
0xX4
0xX5
0xX6
0xX7
MSB
0
0
0
0
0
0
0
0
Register Data
D2
D1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
LSB
0
1
0
1
0
1
0
1
Duty Cycle
HEX Code
9/16
10/16
11/16
12/16
13/16
14/16
15/16
15/16 (max on)
0xX8
0xX9
0xXA
0xXB
0xXC
0xXD
0xXE
0xXF
MSB
1
1
1
1
1
1
1
1
Register Data
D2
D1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
LSB
0
1
0
1
0
1
0
1
lv
HEX Code
am
lc s
on A
te G
nt
st
il
Duty Cycle
al
id
Display brightness is controlled by an integrated pulse-width modulator which is controlled by the lower-nibble of the Intensity Control Register.
The modulator scales the average segment-current in 16 steps from a maximum of 15/16 down to 1/16 of the peak current set by RSET.
Table 17. Intensity Register Address
Register HEX Address
0x0A
0x10
0x11
0x12
0x13
Register Data
Type
Global
Digit
Digit
Digit
Digit
D7:D4
X
Digit 1 Intensity
Digit 3 Intensity
Digit 5 Intensity
Digit 7 Intensity
D3:D0
Global Intensity
Digit 0 Intensity
Digit 2 Intensity
Digit 4 Intensity
Digit 6 Intensity
Scan-Limit Register (0x0B)
The Scan-Limit Register controls which of the digits are to be displayed. When all 8 digits are to be displayed, the update frequency is typically
0.8kHz. If the number of digits displayed is reduced, the update frequency is increased. The frequency can be calculated using 8fOSC/N, where
N is the number of digits. Since the number of displayed digits influences the brightness, RSET should be adjusted accordingly.
Note: To avoid differences in brightness this register should not be used to blank parts of the display (leading zeros).
Scan Limit
HEX
Code
0xX0
0xX1
0xX2
0xX3
Register Data
D7:D3 D2 D1 D0
X
0
0
0
X
0
0
1
X
0
1
0
X
0
1
1
Scan Limit
HEX
Code
Display digits 0:4
Display digits 0:5
Display digits 0:6
Display digits 0:7
0xX4
0xX5
0xX6
0xX7
Register Data
D7:D3 D2 D1 D0
X
1
0
0
X
1
0
1
X
1
1
0
X
1
1
1
Te
ch
ni
Display digit 0 only
Display digits 0:1
Display digits 0:2
Display digits 0:3
ca
Table 18. Scan-Limit Register Format (Address (HEX) = 0x0B))
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
15 - 23
AS1116
Datasheet - D e t a i l e d D e s c r i p t i o n
Feature Register (0x0E)
The Feature Register is used for enabling various features including switching the device into external clock mode, applying an external reset,
selecting code-B or HEX decoding, enabling or disabling blinking, enabling or disabling the SPI-compatible interface, setting the blinking rate,
and resetting the blink timing.
Note: At power-up the Feature Register is initialized to 0.
D7
D6
D5
D4
D3
D2
D1
blink_start
sync
blink_freq_sel
blink_en
NU
decode_sel
reg_res
Table 20. Feature Register Bit Descriptions (Address (HEX) = 0xXE)
D2
D3
D4
D5
D6
lv
ni
D7
am
lc s
on A
te G
nt
st
il
D1
clk_en
ca
D0
D0
Feature Register
Enables and disables various device features.
Bit Name
Default
Access
Bit Description
External clock active.
clk_en
0
R/W
0 = Internal oscillator is used for system clock.
1 = Pin CLK of the serial interface operates as system clock input.
Resets all control registers except the Feature Register.
0 = Reset Disabled. Normal operation.
reg_res
0
R/W
1 = All control registers are reset to default state (except the Feature Register)
identically after power-up.
Note: The Digit Registers maintain their data.
Selects display decoding for the selected digits (Table 9 on page 12).
decode_sel
0 = Enable Code-B decoding (see Table 10 on page 12).
0
R/W
1 = Enable HEX decoding (see Table 11 on page 13).
NU
Not used
Enables blinking.
blink_en
0
R/W
0 = Disable blinking. 1 = Enable blinking.
Sets blink with low frequency (with the internal oscillator enabled):
blink_freq_sel
0 = Blink period typically is 1 second (0.5s on, 0.5s off).
0
R/W
1 = Blink period is 2 seconds (1s on, 1s off).
Synchronizes blinking on the rising edge of pin LD. The multiplex and blink timing
sync
counter is cleared on the rising edge of pin LD. By setting this bit in multiple devices, the
0
R/W
blink timing can be synchronized across all the devices.
Start Blinking with display enabled phase. When bit D4 (blink_en) is set, bit D7
determines how blinking starts.
blink_start
0
R/W
0 = Blinking starts with the display turned off.
1 = Blinking starts with the display turned on.
Addr: 0xXE
Bit
al
id
Table 19. Feature Register Summary
No-Op Register (0xX0)
ch
The No-Op Register is used when multiple AS1116 devices are cascaded in order to support displays with more than 8 digits. The cascading
must be done in such a way that all SDO pins are connected to SDI of the next AS1116 (see Figure 21 on page 18). The LD and SCL signals are connected to all devices.
Te
For example, if five devices are cascaded, in order to perform a write operation to the fifth device, the write-command must be followed by four
no-operation commands. When the LD signal goes high, all shift registers are latched. The first four devices will receive no-operation commands
and only the fifth device will receive the intended operation command, and subsequently update its register.
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
16 - 23
AS1116
Datasheet - Ty p i c a l A p p l i c a t i o n
9 Typical Application
Selecting RSET Resistor Value and Using External Drivers
Brightness of the display segments is controlled via RSET. The current that flows between VDD and ISET defines the current that flows through
the LEDs.
al
id
Segment current is about 200 times the current in ISET. Typical values for RSET for different segment currents, operating voltages, and LED voltage drop (VLED) are given in Table 21 & Table 22. The maximum current the AS1116 can drive is 47mA. If higher currents are needed, external drivers must be used, in which case it is no longer necessary that the devices drive high currents.
Note: The display brightness can also be logically controlled (see Intensity Control Register (0x0A) on page 15).
Table 21. RSET vs. Segment Current and LED Forward Voltage, VDD = 2.7V & 3.3V & 3.6V
VLED
2.0V
2.5V
1.5V
5kΩ
6.9kΩ
10.7kΩ
22.2kΩ
4.4kΩ
5.9kΩ
9.6kΩ
20.7kΩ
6.7kΩ
9.1kΩ
13.9kΩ
28.8kΩ
6.4kΩ
8.8kΩ
13.3kΩ
27.7kΩ
5.7kΩ
8.1kΩ
12.6kΩ
26kΩ
7.5kΩ
10.18kΩ
15.6kΩ
31.9kΩ
VDD = 3.6V
1.5V
VDD = 3.3V
2.0V
2.0V
2.5V
3.0V
7.2kΩ
9.8kΩ
15kΩ
31kΩ
6.6kΩ
9.2kΩ
14.3kΩ
29.5kΩ
5.5kΩ
7.5kΩ
13kΩ
27.3kΩ
am
lc s
on A
te G
nt
st
il
VDD = 2.7V
40
30
20
10
VLED
1.5V
lv
VLED
ISEG (mA)
Table 22. RSET vs. Segment Current and LED Forward Voltage, VDD = 4.0V & 5.0V
VLED
VLED
2.0V
2.5V
3.0V
3.5V
1.5V
2.0V
2.5V
3.0V
3.5V
4.0V
40
30
20
10
8.6kΩ
11.6kΩ
17.7kΩ
36.89kΩ
8.3kΩ
11.2kΩ
17.3kΩ
35.7kΩ
7.9kΩ
10.8kΩ
16.6kΩ
34.5kΩ
7.6kΩ
9.9kΩ
15.6kΩ
32.5kΩ
5.2kΩ
7.8kΩ
13.6kΩ
29.1kΩ
11.35kΩ
15.4kΩ
23.6kΩ
48.9kΩ
11.12kΩ
15.1kΩ
23.1kΩ
47.8kΩ
10.84kΩ
14.7kΩ
22.6kΩ
46.9kΩ
10.49kΩ
14.4kΩ
22kΩ
45.4kΩ
10.2kΩ
13.6kΩ
21.1kΩ
43.8kΩ
9.9kΩ
13.1kΩ
20.2kΩ
42kΩ
VDD = 5.0V
1.5V
VDD = 4.0V
ISEG
(mA)
Calculating Power Dissipation
The upper limit for power dissipation (PD) for the AS1116 is determined from the following equation:
PD = (VDD x 5mA) + (VDD - VLED)(DUTY x ISEG x N)
Where:
(EQ 1)
ni
ca
VDD is the supply voltage.
DUTY is the duty cycle set by intensity register (page 15).
N is the number of segments driven (worst case is 8)
VLED is the LED forward voltage
ISEG = segment current set by RSET
Dissipation Example:
ch
ISEG = 40mA, N = 8, DUTY = 15/16, VLED = 2.2V at 40mA, VDD = 5V
PD = 5V(5mA) + (5V - 2.2V)(15/16 x 40mA x 8) = 0.865W
(EQ 2)
(EQ 3)
Te
Thus, for a QSOP-24 package ΘJA = +88°C/W, the maximum allowed TAMB is given by:
TJ,MAX = TAMB + PD x ΘJA = 150°C = T AMB + 0.865W x 88°C/W
(EQ 4)
In this example the maximum ambient temperature must stay below 73.88°C.
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
17 - 23
AS1116
Datasheet - Ty p i c a l A p p l i c a t i o n
8x8 Dot Matrix Mode
The application example in Figure 21 shows the AS1116 in the 8x8 LED dot matrix mode.
The LED columns have common cathodes and are connected to the DIG0:7 outputs. The rows are connected to the segment drivers. Each of
the 64 LEDs can be addressed separately. The columns are selected via the digits as listed in Table 7 on page 11.
Figure 21. Application Example as LED Dot Matrix Driver
DIG0 to
DIG7
VDD
2.7 to 5V
9.53kΩ
SEG A to G
SEP DP
I/O
I/O
µP
I/O
am
lc s
on A
te G
nt
st
il
ISET
lv
Note: For a multiple-digit dot matrix, multiple AS1116 devices can be cascaded easily.
al
id
The Decode Enable Register (see page 12) must be set to ‘00000000’ as described in Table 9 on page 12. Single LEDs in a column can
be addressed as described in Table 12 on page 13, where bit D0 corresponds to segment G and bit D7 corresponds to segment DP.
SDI
AS1116
SCL
Diode Arrangement
LD
SDO
I/O
Diagnostic
readback: open
& shorted LEDs
GND
Supply Bypassing and Wiring
In order to achieve optimal performance the AS1116 should be placed very close to the LED display to minimize effects of electromagnetic interference and wiring inductance.
Te
ch
ni
ca
Furthermore, it is recommended to connect a 10µF electrolytic and a 0.1µF ceramic capacitor between pins VDD and GND to avoid power supply ripple (see Figure 21 on page 18).
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
18 - 23
AS1116
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
lv
al
id
Figure 22. QSOP-24 Marking
Table 23. Packaging Code
YY
am
lc s
on A
te G
nt
st
il
Figure 23. TQFN(4x4)-24 Marking
R/X
ZZ
plant identifier
free choice / traceability code
Te
ch
ni
ca
last two digits of the current year
WW
manufacturing week
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
19 - 23
AS1116
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
Te
ch
ni
ca
am
lc s
on A
te G
nt
st
il
lv
al
id
Figure 24. QSOP-24 Package
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
20 - 23
AS1116
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
Te
ch
ni
ca
am
lc s
on A
te G
nt
st
il
lv
al
id
Figure 25. TQFN(4x4)-24 Package
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
21 - 23
AS1116
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 24.
Table 24. Ordering Information
Description
64 LED Driver with Detailed Error Detection
64 LED Driver with Detailed Error Detection
Delivery Form
Tape and Reel
Tape and Reel
Note: All products are RoHS compliant and austriamicrosystems green.
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
Te
ch
ni
ca
am
lc s
on A
te G
nt
st
il
For further information and requests, please contact us mailto:[email protected]
or find your local distributor at http://www.austriamicrosystems.com/distributor
Package
QSOP-24
TQFN(4x4)-24
al
id
Marking
AS1116
ASR9
lv
Ordering Code
AS1116-BSST
AS1116-BQFT
www.austriamicrosystems.com/LED-Driver-ICs/AS1116
Revision 1.08
22 - 23
AS1116
Datasheet
Copyrights
Copyright © 1997-2012, austriamicrosystems AG, Tobelbaderstrasse 30, 8141 Unterpremstaetten, Austria-Europe. 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 or registered trademarks of their respective companies.
al
id
Disclaimer
lv
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.
ca
am
lc s
on A
te G
nt
st
il
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.
Headquarters
ni
Contact Information
ch
austriamicrosystems AG
Tobelbaderstrasse 30
A-8141 Unterpremstaetten, Austria
Te
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/AS1116
Revision 1.08
23 - 23
Similar pages