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: ams_sales@ams.com
D a ta s h e e t
AS1117
64 LED Driver for Mobile Applications with Error Detection
1 General Description
2 Key Features
!
Interfaces
no
IC
Up to 4 devices cascadable
no
SPI
Package: TQFN(4x4)-24
lv
am
lc s
on A
te G
nt
st
il
Devices
al
id
RESET Input
AS1115
AS1116
AS1117
AS1118
yes
IC
yes
SPI
3 Applications
ca
ni
ch
VDD
2.7V to 5.5V
VDD
DIG0 to
DIG7
SEGA-DP
KEY0-7
Te
9.53k
SDA
SCL
IRQ
ISET
SDA
AS1117
SCL
KEY
IRQ
RESETN
GND
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
1 - 23
AS1117
Datasheet - P i n o u t
4 Pinout
Pin Assignments
18 SEG E
DIG3 2
17 SEGC
GND 3
DIG4 4
DIG5 5
15 SEGG
14 SEGB
Exposed
Pad
10 11 12
RESETN
ISET
SEGA
SCL
DIG7
am
lc s
on A
te G
nt
st
il
13 SEGF
KEY
DIG6 6
Pin Descriptions
16 VDD
AS1117
al
id
24 23 22 21 20 19
DIG2 1
lv
SEGDP
IRQ
SEGD
SDA
DIG0
DIG1
Pin Number
22
DIG0:DIG7
1, 2, 4, 5, 6, 7,
23, 24
GND
KEY
3
8
ca
RESETN
10
ISET
11
21
ni
SCL
IRQ
SEGA:SEGG,
SEGDP
Description
Serial-Data I/O. Open drain digital I/O IC data pin.
Digit Drive Lines. Eight digit drive lines that sink current from the display
common cathode. Keyscan detection optional, but must be polled by the
Prozessor.
Ground.
Keyscan Input. Keyscan lines for key readback. Can be used for self-adressing.
Reset Input. Pull this pin to low to resest all registers (set to default values) and
to put the device into shutdown. Connect this pin via a pull-up resistor to VDD for
normal operation.
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
External Drivers on page 19).
Serial-Clock Input. 3.4MHz maximum rate.
Interupt Request Output. Open drain pin.
Seven Segment and Decimal Point Drive Lines. 8 seven-segment drives and
decimal point drive that source current to the display.
Positive Supply Voltage. Connect to +2.7V to +5.5V supply. Bypass this pin to
GND with a 0.1F capacitor to avoid power supply ripple.
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.
ch
12-15, 17-20
VDD
16
Te
Exposed Pad
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
2 - 23
AS1117
Datasheet - A b s o l u t e M a x i m u m R a t i n g s
Units
VDD to GND
-0.3
-0.3
7 or
VDD + 0.3
500
mA
SEGA:SEGG, SEGDP
100
mA
85
Current
Humidity
Non-condensing
kV
100
mA
EIA/JESD78
30.5
C/W
on PCB
am
lc s
on A
te G
nt
st
il
Digital outputs
ESD
Notes
al
id
Min
lv
Parameter
Latch-Up Immunity
Thermal Resistance JA
Ambient Temperature
-40
+85
Storage Temperature
-55
150
+260
Te
ch
ni
ca
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
3 - 23
AS1117
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, RSET = 9.53k, TAMB = -40C to +85C, typ. values @ TAMB = +25C and VDD = 5.0V (unless otherwise specified).
Table 4. Electrical Characteristics
Conditions
Min
VDD
IDDSD
IDD
fOSC
8 digits scanned
0.48
IDIGIT
VOUT = 0.65V
320
ISEG
ISEG
2.7
All digital inputs at VDD or
GND, TAMB = +25C
0.2
0.35
335
-35
Max
Unit
5.5
0.6
mA
0.96
kHz
-47
mA
mA
-41
am
lc s
on A
te G
nt
st
il
ISEG
Typ
al
id
Parameter
lv
Symbol
Average Current
47
mA
Max
1
Unit
A
Parameter
Input Current SDA, SCL
Logic High Input Voltage
SDA, SCL, RESETN
Logic Low Input Voltage
SDA, SCL, RESETN
SDA Output Low Voltage
Keyscan Open Input Voltage
Conditions
VIN = 0V or VDD
Min
-1
Typ
1.26
ISINK = 3mA
0.54
0.4
V
V
0.7x VDD
0.4
V
V
V
0.8xVDD
0.7x
VDD
0.05x
VDD
ca
0.8x
VDD
0.15x
VDD
pF
V
V
Te
ch
ni
400
0.75x
VDD
0.1x
VDD
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
4 - 23
AS1117
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
tBUF
tHOLDSTART
tLOW
Parameter
SCL Frequency
Bus Free Time Between STOP and
START Conditions
Hold Time for Repeated
START Condition
SCL Low Period
Conditions
Min
MHz
160
ns
50
tHOLDDATA
tRISE(SCL)
10
tFALL(SCL)
tRISE(SDA)
tFALL(SDA)
50
100
10
75
ns
75
ns
ns
ns
70
ns
40
ns
am
lc s
on A
te G
nt
st
il
tRISE(SCL1)
Unit
3.4
tSETUPDATA
tSETUPSTART
Max
1.3
tHIGH
Typ
0.1
al
id
fSCL
lv
Symbol
10
80
ns
10
40
ns
20
80
ns
20
80
ns
160
ns
50
ns
20
ms
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.
ca
SDI
ni
tBUF
tHOLDSTART
tSPIKESUP
tSETUPDATA
tF
ch
tR
tLOW
tHOLDSTART
tHIGH
tSETUPSTOP
tSETUPSTART
SCL
Te
STOP START
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
tHOLDDATA
Repeated
START
Revision 1.00
5 - 23
AS1117
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
780
Vdd=2.7V
740
720
Vdd=5V
Vdd=5.5V
760
740
lv
fosc (Hz) .
fosc (Hz) .
al
id
Vdd=4V
780
760
720
700
Tamb=-40C
am
lc s
on A
te G
nt
st
il
700
Tamb=+25C
Tamb=+85C
680
2.7
3.1
3.5
3.9
4.3
4.7
5.1
680
-40
5.5
-15
10
Vdd (V)
Iseg (mA) .
20
Vseg
Vseg
Vseg
Vseg
10
Vseg
Vseg
Vseg
Vseg
30
20
-15
10
35
60
85
10
20
Tamb (C)
30
40
50
60
70
80
90
Rset (kOhm)
Figure 9. Segment Current vs. VDD; VRset = 2.8V
ni
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
10
ca
Iseg (mA) .
30
50
85
40
40
60
60
50
50
0
-40
35
Tamb (C)
30
20
25
20
15
Vseg = 1.7V
10
Vseg = 3V
10
30
Vseg = 4V
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/AS1117
3.3
3.6
3.9
4.2
Vdd (V)
Revision 1.00
6 - 23
AS1117
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
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
0.25
Idig (A)
0.3
40
3.5
5.5
50
= 10k
= 13k
= 18k
= 30k
= 56k
Rext
Rext
Rext
Rext
Rext
45
40
= 8k2
= 10k
= 13k
= 18k
= 30k
20
15
15
10
10
2.5
3.5
4.5
1.5
3.5
Rext
Rext
Rext
Rext
Rext
35
30
Te
25
20
50
Rext
Rext
Rext
Rext
Rext
45
40
= 4k7
= 5k6
= 6k8
= 10k
= 13k
35
Iseg (mA) .
ni
ch
2.5
Vseg (V)
ca
Vseg (V)
Iseg (mA) .
5.1
25
20
40
4.7
30
25
45
4.3
Vdd (V)
35
30
50
3.9
Iseg (mA) .
Iseg (mA) .
35
3.1
Rext
Rext
Rext
Rext
Rext
45
2.7
0.35
am
lc s
on A
te G
nt
st
il
lv
Vdd
Vdd
Vdd
Vdd
Vdd
0.1
al
id
Vih (V) .
Vdig (V) .
0.3
30
25
20
15
15
10
10
0
1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2
Vseg (V)
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
1.2
1.4
1.6
1.8
2.2
2.4
2.6
Vseg (V)
Revision 1.00
7 - 23
AS1117
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
VDD
Open/Short
Detection
16
100nF
lv
RESETN
VDD
VDD
al
id
RSET
Oszillator
am
lc s
on A
te G
nt
st
il
10
ISET
VDD
21
IRQ
SEGA-G,
SEGDP
Digital Control
Logic
1,2,4,5,6,7,23,24
DIG0 to DIG7
(PWM, Debounce,....)
VDD
12-15, 17-20
KEY
VDD
11
SCL
22
Registers
GND
Data - Registers
Control - Registers
Scan - Registers
AS1117
ni
ca
SDA
IC
Interface
ch
Te
VDD
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
VDD
valid for the pins:
- DIG0 to DIG7
Revision 1.00
8 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
IC Interface
The AS1117 supports the IC serial bus and data transmission protocol in high-speed mode at 3.4MHz. The AS1117
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.
A1
A0 R/W
D9
D8
lv
al
id
am
lc s
on A
te G
nt
st
il
MSB
SDI
ACK from
Receiver
Slave Address
R/W
Direction Bit
ACK from
Receiver
SCL
ACK
START
3-8
ACK
Repeat if More Bytes Transferred
STOP or
Repeated
START
- Data transfer may be initiated only when the bus is not busy.
ca
- 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:
ni
- 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.
ch
- 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.
Te
- 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/AS1117
Revision 1.00
9 - 23
AS1117
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 19 on page 9 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.
al
id
- 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.
lv
- 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.
am
lc s
on A
te G
nt
st
il
- 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 AS1117 while the serial clock is input on SCL. START and STOP conditions are recognized as the beginning and end of a serial transfer.
If this feature is used, 2 of the 8 key readback nodes can be left open or shorted for self-addressing. This is done with
KEY together with SEGG and SEGF. This two nodes cannot be used for key-readback in this case. After startup all
devices have the predefined adress 0000000. A single command for self-addressing will update all connected AS1117.
This command has to be done after startup or everytime the AS1117 gets disconnected from the supply. The IC
address definition must be done with fixed connection, since IC detection is excluded from debounce time of key registers.
The address byte (see Figure 20) is the first byte received following the START condition from the master device.
Figure 20. IC Device Address Byte
LSB
R/W
ca
predefined address:
MSB
LSB
A1
A0
R/W
ni
updated address:
MSB
Te
ch
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
10 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
Command Byte
The AS1117 operation, (see Table 7) is determined by a command byte (see Figure 21 on page 11).
MSB
LSB
D15
D14
D13
D12
D11
D10
D09
D08
AS1117 Registers
Slave Address
R/W A
D8
D7
D6
D5
Command Byte
D4
D3
D2
D1
D0
lv
al
id
Data Byte
1 Byte
Acknowledge
from AS1117
Acknowledge
from AS1117
am
lc s
on A
te G
nt
st
il
Acknowledge
from AS1117
Autoincrement
Memory Word
Address
Figure 23. Setting the Pointer to a Address Register to select a Data Register for a Read Operation
From Master to Slave
AS1117 Registers
Slave Address
R/W A
Acknowledge
from AS1117
D8
Command Byte
Acknowledge
from AS1117
ca
Autoincrement
Memory Word
Address
Slave Address
R/W A
Acknowledge
from Master
D6
D5
D4
D3
D2
D1
AS1117 Registers
D0
n Bytes
A
D7
Not Acknowledge
from Master
/A
D7
D6
D5
D4
D3
D2
D1
D0
Autoincrement
to next address
Te
ch
Acknowledge
from AS1117
ni
Stop reading
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
11 - 23
AS1117
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 AS1117 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) is set to the minimum values.
al
id
Shutdown Mode
The AS1117 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) or via pulling the pin RESTEN to logic low. When pin
RESETN is set to logic low an according write to the Shutdown Register is done internally. During shutdown mode the
Digit-Registers maintain their data.
lv
Note: When pin RESETN is pulled to logic high again, a write to the Shutdown Register in necessary to leave the
shutdown mode.
am
lc s
on A
te G
nt
st
il
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).
When entering or leaving shutdown mode, the Feature Register is reset to its default values (all 0s) when Shutdown
Register bit D7 (page 13) = 0.
Note: When Shutdown Register bit D7 = 1, the Feature Register is left unchanged when entering or leaving shutdown mode. If the AS1117 is used with an external clock, Shutdown Register bit D7 should be set to 1 when
writing to the Shutdown Register.
The AS1117 devices contain 8 Digit-Registers,11 control-registers and 10 diagnostic-registers, which are listed in Table
7. All registers are selected using a 8-bit address word, and communication is done via the IC 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.
Register
Digit 0
D12
D11
D10
D9
D8
D7:D0
Page
000
N/A
000
N/A
000
ni
Digit 2
D15:D13
N/A
(see Table 10 on page 14,
Table 11 on page 14 and
Table 12 on page 15)
Digit 3
000
Digit 4
000
Digit 5
000
N/A
Digit 6
000
N/A
Digit 7
000
N/A
N/A
N/A
Te
ch
Digit Register
Digit 1
Address
ca
Type
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
12 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
Address
Register
Page
D12
D11
D10
D9
D8
D7:D0
Decode-Mode
000
13
Global Intensity
000
17
Scan Limit
000
17
Shutdown
000
12
Self-Adressing
001
Feature
000
al
id
D15:D13
N/A
18
14
000
000
DIG2:DIG3 Intensity
000
DIG4:DIG5 Intensity
000
lv
DIG6:DIG7 Intensity
000
Diagnostic Digit 0
000
000
N/A
000
N/A
000
N/A
000
N/A
000
N/A
000
N/A
000
N/A
000
Diagnostic Digit 1
Diagnostic Digit 2
Diagnostic Digit 3
Diagnostic Digit 4
Diagnostic Digit 5
Diagnostic Digit 6
Diagnostic Digit 7
KEY
am
lc s
on A
te G
nt
st
il
Keyscan/Diagnostic Register
Control Register
Type
N/A
Register Data
D7
D6
D5
D4
D3
D2
D1
D0
0x00
0x80
0x01
0x81
ni
ca
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
HEX Code
Te
ch
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 18) 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 on page 14 lists some examples of the possible settings for the Decode Enable Register bits.
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 on page 14 lists the code-B font; Table 11 on page 14 lists the HEX font.
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
13 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
When no-decode mode is selected, data bits D7:D0 of the Digit-Registers correspond to the segment lines of the
AS1117. Table 12 on page 15 shows the 1:1 pairing of each data bit to the appropriate segment line.
Table 9. Decode Enable Register Format Examples
HEX Code
0x00
0x01
0x07
0x3F
D7
0
0
0
0
D6
0
0
0
0
0x25
Register Data
D5 D4 D3 D2
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
A
F
am
lc s
on A
te G
nt
st
il
D0
0
1
1
1
lv
Figure 25. Standard 7-Segment LED Intensity Control and Inter-Digit Blanking
D1
0
0
1
1
al
id
Decode Mode
DP
Register Data
Register Data
Register Data
CharCharCharacter D7 D6:D4 D3 D2 D1 D0 acter D7 D6: D4 D3 D2 D1 D0 acter D7 D6:D4 D3 D2 D1 D0
ni
ca
ch
The decimal point can be enabled with every character by setting bit D7 = 1.
Table 11. HEX Font
Te
Register Data
Register Data
Register Data
CharCharCharacter D7 D6:D4 D3 D2 D1 D0 acter D7 D6: D4 D3 D2 D1 D0 acter D7 D6:D4 D3 D2 D1 D0
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
14 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
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
IC Self Addressing
D6
A
D5
B
D4
C
D3
D
D2
E
D1
F
am
lc s
on A
te G
nt
st
il
D7
DP
al
id
lv
D0
G
If this feature is used, 2 of the 8 key readback nodes can be left open or shorted for self-addressing. This is done with
KEY together with SEGG and SEGF. This two nodes cannot be used for key-readback in this case. After startup all
devices have the predefined adress 0000000. A single command for selfaddressing will update all connected AS1117.
This command has to be done after startup or everytime the AS1117 gets disconnected from the supply. The IC
address definition must be done with fixed connection, since IC detection is excluded from debounce time of key registers.
Note: A short writes a logical 0 whereas an open writes a logical 1 as address bit.
Table 13. Self Addressing Register (Address (HEX) = 0x2D))
D7
X
X
Factory-set IC address
User-set IC address
Keyscan Register
D6
X
X
D5
X
X
D4
X
X
D3
X
X
D2
X
X
D1
X
X
D0
0
1
ca
These two registers contain the result of the keyscan input of the 8 keys. To ensure proper results the data in these
registers are updated only if the logic data scanned is stable for 20ms (debounce time). A change of the data stored
within these two registers is indicated by a logic low on the IRQ pin. The IRQ is high-impedance if a read operation on
the key scan registers is started.
ni
KEY
D6
A
D5
B
Segment
D4
D3
C
D
D2
E
D1
F
D0
G
ch
0x1C
D7
DP
Te
Note: If IC self addressing is used segment G&F of KEY is used for the two LSB of the IC address. In this case
these two nodes cannot be used as a key. Additionally the debounce time is disabled for these two bits.
The data within the keyscan register is updated continuously during every cycle (1/10 of refresh rate). Therefore, to get a valid readback of keys it is recommended to read out the keyscan registers immediately after the
IRQ is triggered. A short writes a logical 0 whereas an open writes a logical 1 as keyscan register bit.
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
15 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
Display-Test Mode
The AS1117 can detect open or shorted LEDs. Readout of either open LEDs or short LEDs is possible, as well as a OR
relation of open and short.
Note: All settings of the digit- and control-registers are maintained.
Table 15. Testmode Register Summary
D6
RSET_short
D5
RSET_open
D4
LED_global
D3
LED_test
D2
LED_open
D1
LED_short
Address
Bit Name
Default
Access
D0
DISP_test
al
id
D7
X
D7:D0
DISP_test
D1
LED_short
Starts a test for shorted LEDs. (Can be set together with D2)
0: Normal operation; 1: Activate testmode
D2
LED_open
Starts a test for open LEDs. (Can be set together with D1)
0: Normal operation; 1: Activate testmode
D3
LED_test
D4
LED_global
Indicates that the last open/short LED test has detected an error
0: No error detected; 1: Error detected
D5
RSET_open
D6
RSET_short
Not used
am
lc s
on A
te G
nt
st
il
lv
D0
D7
These eight registers contain the result of the LED open/short test for the individual LED of each digit.
Table 17. LED Diagnostic Register Address
Digit
ca
Segment
D7
ni
DIG0
DIG1
DP
DIG2
DIG3
D6 D5 D4 D3 D2 D1 D0
Register
HEX
Address
0x18
0x19
0x1A
0x1B
Segment
Digit
D7 D6 D5 D4 D3 D2 D1 D0
DIG4
DIG5
DP
DIG6
DIG7
ch
Register
HEX
Address
0x14
0x15
0x16
0x17
Note: If one or more short occures in the LED array, detection of individual LED fault could become ambiguous.
Te
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 19). 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.
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
16 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
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 18. Intensity Register Format
0xX0
0xX1
0xX2
0xX3
0xX4
0xX5
0xX6
0xX7
MSB
0
0
0
0
0
0
0
0
Register Data
D2
D1 LSB
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
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
Register Data
Register Data
D2
D1 LSB
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
am
lc s
on A
te G
nt
st
il
MSB
1
1
1
1
1
1
1
1
al
id
HEX Code
lv
Duty Cycle
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
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 700Hz. If the number of digits displayed is reduced, the update frequency is increased.
The frequency can be calculated using 10 x fOSC/(N+2), where N is the number of digits.
Note: To avoid differences in brightness this register should not be used to blank parts of the display (leading zeros).
Table 20. Scan-Limit Register Format (Address (HEX) = 0x0B))
Scan Limit
Scan Limit
Register Data
HEX
Code D7:D3 D2 D1 D0
0xX4
X
1
0
0
0xX5
X
1
0
1
0xX6
X
1
1
0
0xX7
X
1
1
1
Te
ch
ni
ca
Register Data
HEX
Code D7:D3 D2 D1 D0
0xX0
X
0
0
0
0xX1
X
0
0
1
0xX2
X
0
1
0
0xX3
X
0
1
1
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
17 - 23
AS1117
Datasheet - D e t a i l e d D e s c r i p t i o n
D7
D6
D5
D4
D3
D2
D1
blink_
start
sync
blink_
freq_sel
blink_en
NU
decode_sel
reg_res
D2
D3
D4
D5
D6
lv
Te
ch
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 14).
decode_sel
0 = Enable Code-B decoding (see Table 10 on page 14).
0
R/W
1 = Enable HEX decoding (see Table 11 on page 14).
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/CS. The multiplex
and blink timing counter is cleared on the rising edge of pin LD/CS. By
sync
0
R/W
setting this bit in multiple devices, the 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
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
18 - 23
AS1117
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 into 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 23 & Table 24. The maximum current the AS1117 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 16).
VLED
VLED
VLED
1.5V
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
2.0V
VDD = 3.3V
1.5V
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
40
30
20
10
VDD = 2.7V
ISEG (mA)
lv
Table 23. RSET vs. Segment Current and LED Forward Voltage, VDD = 2.7V & 3.3V & 3.6V
Table 24. RSET vs. Segment Current and LED Forward Voltage, VDD = 4.0V & 5.0V
VLED
VDD = 4.0V
40
30
20
10
1.5V
2.0V
8.6k
8.3k
11.6k 11.2k
17.7k 17.3k
36.89k 35.7k
2.5V
VLED
3.0V
3.5V
7.9k
7.6k 5.2k
10.8k 9.9k 7.8k
16.6k 15.6k 13.6k
34.5k 32.5k 29.1k
VDD = 5.0V
ISEG
(mA)
1.5V
2.0V
11.35k
15.4k
23.6k
48.9k
11.12k
15.1k
23.1k
47.8k
2.5V
3.0V
10.84k 10.49k
14.7k 14.4k
22.6k
22k
46.9k 45.4k
3.5V
4.0V
10.2k
13.6k
21.1k
43.8k
9.9k
13.1k
20.2k
42k
The upper limit for power dissipation (PD) for the AS1117 is determined from the following equation:
PD = (VDD x 5mA) + (VDD - VLED)(DUTY x ISEG x N)
Where:
(EQ 1)
ni
ca
(EQ 2)
(EQ 3)
ch
Te
Thus, for a TQFN(4x4)-24 package JA = +30.5C/W, the maximum allowed TAMB is given by:
TJ,MAX = TAMB + PD x JA = 150C = TAMB + 0.865W x 30.5C/W
(EQ 4)
In this example the maximum ambient temperature must stay below 123.61C.
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
19 - 23
AS1117
Datasheet - Ty p i c a l A p p l i c a t i o n
al
id
The Decode Enable Register (see page 13) must be set to 00000000 as described in Table 9 on page 14. Single
LEDs in a column can be addressed as described in Table 12 on page 15, where bit D0 corresponds to segment G and
bit D7 corresponds to segment DP.
VDD
2.7V to 5V
VDD
DIG0 to
DIG7
ISET
SEG A to G
SEP DP
Diode Arrangement
9.53k
SDA
SDA
IRQ
SCL
am
lc s
on A
te G
nt
st
il
SCL
AS1117
IRQ
GND
RESETN
Keyscan
lv
The key readback of the AS1117 can be used either for push buttons as well as switches. If only a single key is
pressed (shorted) at a time no additional diodes are required. If a detection of multiple simultaneous keystrokes is
required diodes within the keypath, as shown in Figure 27, are required. Pressing multiple keys without the diodes
would result in ambiguous results.
Figure 27. Keyscan Configuration
KEY
ch
ni
IRQ
SEGB
ca
SEGA
SEGC
SEGD
SEG E
SEGF
SEGG
SEGDP
Te
In order to achieve optimal performance the AS1117 should be placed very close to the LED display to minimize effects
of electromagnetic interference and wiring inductance.
Furthermore, it is recommended to connect a 10F and a 0.1F ceramic capacitor between pins VDD and GND to
avoid power supply ripple (see Figure 16 on page 8).
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
20 - 23
AS1117
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
20
21
22
23
24
al
id
19
18
17
16
14
lv
15
13
11
10
am
lc s
on A
te G
nt
st
il
12
m
m
Min
0.50
0.00
0.152REF
0.23
4.00BSC
4.00BSC
2.80
2.80
Max
0.60
0.05
0.28
ca
0.18
Typ
0.55
2.70
2.70
2.90
2.90
Symbol
e
L
L1
aaa
bbb
ccc
ddd
eee
Min
0.30
0.00
Typ
0.50BSC
0.35
Max
0.40
0.10
0.10
0.10
0.10
0.05
0.08
ch
ni
Symbol
A
A1
A3
b
D
E
D2
E2
Notes:Unilateral coplanarity zone applies to the exposed heat sink slug as well as the terminals.
Te
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
21 - 23
AS1117
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 25.
Table 25. Ordering Information
Marking
AS1117-BQFT
ASSU
Description
64 LED Driver for Mobile
Applications with Error Detection
Delivery Form
Package
TQFN(4x4)-24
al
id
Ordering Code
lv
Te
ch
ni
ca
am
lc s
on A
te G
nt
st
il
www.austriamicrosystems.com/LED-Driver-ICs/AS1117
Revision 1.00
22 - 23
AS1117
Datasheet
Copyrights
Copyright 1997-2010, 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
am
lc s
on A
te G
nt
st
il
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.
ni
ca
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.
ch
Contact Information
Headquarters
Te
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/AS1117
Revision 1.00
23 - 23