AMS AS1115 Power Management Datasheet
Werbung
Werbung
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
D a ta s h e e t
A S 111 5
6 4 L E D s , I ²C I n t e r f a c e d L E D D r i v e r w i t h K e y s c a n
1 General Description 2 Key Features
The AS1115 is a compact LED driver for 64 single LEDs or 8 digits of
7-segments. The devices can be programmed via an I²C compatible
2-wire interface. up to 1MHz I²C-Compatible Interface
Individual LED Segment Control
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.
All outputs of the AS1115 can be configured for key readback. Keyswitch status is obtained by polling for up to 64 keys while 16 keys can be used to trigger an interrupt.
The AS1115 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.
Readback for 16 Keys plus Interrupt
Every segment can be individually addressed and updated separately. Only one external resistor (R
SET
) is required to set the current. LED brightness can be controlled by analog or digital means.
Additionally the AS1115 offers a diagnostic mode for easy and fast production testing.
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)
Digital and Analog Brightness Control
valid
Display Blanked on Power-Up
Drive Common-Cathode LED Displays
Supply Voltage Range: 2.7 to 5.5V
Software Reset
AG
- TQFN(4x4)-24
still
The device is available in a QSOP-24 and the TQFN(4x4)-24 package.
Figure 1. AS1115 - Typical Application Diagram
ams
3 Applications
The AS1115 is ideal for seven-segment or dot matrix user interface
content
V
DD
2.7 to 5.5V
9.53k
Ω
µP
SDA
ISET
SDA
SCL
AS1115
DIG0 to
DIG7
SEGA-DP
KEY0-7
KEYA
KEYB
8
8
8
1 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
Datasheet - P i n o u t
4 Pinout
Pin Assignments
Figure 2. Pin Assignments (Top View)
24 23 22 21 20 19
Pin Descriptions
Table 1. Pin Descriptions
Pin Name
SDA
DIG0:DIG7
GND
KEYA
KEYB
ISET
SCL
QSOP-24
1
2-5, 7-10
6
11
12
13
14
AS1115
DIG2
1
DIG3
2
GND
3
DIG4
4
DIG5
5
DIG6
6
7 8
AS1115
AG
Description
9 10
Pad
11
Exposed
18
17
16
15
14
13
SEG E
SEGC
VDD
SEGG
SEGB
SEGF
12
still valid
TQFN(4x4)-24
22
1, 2, 4, 5, 6, 7, 23,
24
3
8
9
10
Serial-Data I/O
. Open drain digital I/O I²C data pin.
Digit Drive Lines
. Eight digit drive lines that sink current from the display common
Ground
.
Keyscan Input.
Keyscan Input.
Keyscan lines for key readback. Can be used for self-addressing.
content
Serial-Clock Input
. 3.4MHz maximum rate.
SET
to set the
Selecting RSET Resistor Value and Using External
11
IRQ
SEGA:SEGG,
SEGDP
VDD
24
15-18,
20-23
19
-
21
12-15, 17-20
16
Exposed Pad
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.7 to +5.5V supply.
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.
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
2 - 25
AS1115
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
is not implied.
Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Table 2. Absolute Maximum Ratings
Min Max Units Comments Parameter
Electrical Parameters
VDD to GND -0.3
7 V
All other pins to GND
DIG0:DIG7 Sink Current
SEGA:SEGG, SEGDP Sink Current
Input Current (latch-up immunity)
Electrostatic Discharge
Electrostatic Discharge HBM
Thermal Information
Thermal Resistance
Θ
JA
Temperature Ranges and Storage Conditions
Junction Temperature
Storage Temperature Range
Package Body Temperature
Humidity non-condensing
Moisture Sensitive Level
-0.3
-55
5
-100
1
+/- 1
7 or
V
DD
+ 0.3
500
100
100
88
30.5
+150
+150
V mA mA mA kV
Norm: JEDEC 78
Norm: MIL 883 E method 3015
still valid
°C/W
°C/W
ºC
ºC
AG
º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”.
The lead finish for Pb-free leaded packages is matte tin
(100% Sn).
85
content
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
3 - 25
AS1115
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
V
DD
= 2.7V to 5.5V, R
SET
= 9.53k
Ω
, typ. values @ T
AMB
= +25ºC, V
DD
= 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
Symbol
T
AMB
Parameter
Operating Temperature Range
T
J
V
DD
Operating Junction Temperature Range
Operating Supply Voltage
I
DDSD
Shutdown Supply Current
I
DD
Operating Supply Current
Display Scan Rate
All digital inputs at V
DD
or GND,
T
AMB
= +25ºC single digit, T
AMB
= +85ºC
R
SET
= open circuit.
All segments and decimal point on;
I
SEG
= -40mA.
8 digits scanned f
OSC
I
DIGIT
Digit Drive Sink Current
I
SEG
Segment Drive Source Current
∆
I
SEG
Segment Drive Current Matching
I
SEG
Segment Drive Source Current
Table 4. Logic Inputs/Outputs Characteristics
V
OUT
= 0.65V
V
DD
= 5.0V, V
OUT
Average Current
AG
Symbol
Parameter
I
IH
, I
IL
Input Current SDA, SCL
V
IH
V
IL
Logic High Input Voltage SDA, SCL
Logic Low Input Voltage SDA, SCL
V
OL(SDA)
SDA Output Low Voltage
ams
Conditions
V
IN
= 0V or V
DD
I
SINK
= 3mA
V
KEYopen
Keyscan Open Input Voltage
V
KEYshort
Keyscan Short Input Voltage
V
OL(IRQ)
Interrupt Output Low Voltage
∆
V
I
Hysteresis Voltage
C
B
Capacitive Load for each Bus Line
I
SINK
= 3mA
DIN, CLK, LD/CS
Min
-1
0.7xV
DD
Open Detection Level Threshold
Short Detection Level Threshold
Conditions
0.7x
V
DD
0.05x
V
DD
Min
-40
-40
2.7
0.48
320
-35
Typ
0.2
0.35
335
3
Typ
1
0.75x
V
DD
0.1x
V
DD
Max
+85
+125
5.5
2
4
0.6
47
Max
1
0.3xV
DD
0.4
0.7x V
DD
0.4
550
0.8x
V
DD
0.15x V
DD
V
V
V pF
Unit
µA
V
V
V
V
V
V mA mA
% mA
Unit
°C
°C kHz
V
µA
µA mA
valid
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
4 - 25
AS1115
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. Timing Characteristics (C
B
= 550pF (max) on each Bus Line)
Conditions
t t
Symbol
HOLDSTART t t f t
SCL
BUF
LOW
HIGH
SETUPSTART
Parameter
SCL Frequency
Bus Free Time Between STOP and START
Conditions
Hold Time for Repeated
START Condition
SCL Low Period
SCL High Period
Setup Time for Repeated
START Condition t
SETUPDATA
Data Setup Time t t
RISE
FALL
SDA + SCL Rise Time
SDA + SCL Fall Time t
SETUPSTOP
STOP Condition Setup Time t
SPIKESUP
Pulse Width of Spike Suppressed
Key Readback
Debounce Time
Note:
AG
Figure 3. Timing Diagram
SDI
SCL
Min
500
260
500
260
260
50
260
Typ Max
1
Unit
MHz ns ns ns ns
120
120
50
20
still
ms ns ns ns ns ns ns
valid
t
BUF t
R t
LOW t
HOLDSTART
ams
t
SETUPDATA t
F t
HIGH t t
HOLDSTART t
SPIKESUP t
SETUPSTOP
STOP START Repeated
START t
HOLDDATA
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
5 - 25
AS1115
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
R
SET
= 9.53k
Ω,
V
Rset
=
V
DD
;
Figure 4. Display Scan Rate vs. Supply Voltage;
780
Figure 5. Display Scan Rate vs. Temperature;
800
760
780
V dd=2.7V
V dd=4V
V dd=5V
V dd=5.5V
760
740
720
700
740
720
700
Tamb=-40°C
Tamb=+25°C
Tamb=+85°C
680
60
50
40
30
20
10
0
2.7
3.1
3.5
3.9
4.3
4.7
5.1
5.5
Vdd (V)
Figure 6. Segment Current vs. Temperature;
V seg = 1.7V ; Vdd = 2.7V
V seg = 1.7V ; Vdd = 5V
V seg = 3V ; Vdd = 5V
10
680
50
-40
AG
-15
Figure 7. Segment Current vs. R
SET
;
40
Tamb (°C)
Vseg = 4V; V dd = 5V
Vseg = 3V; V dd = 5V
Vseg = 2V; V dd = 5V
Vseg = 1.7V; V dd = 2.7V
85
ams
30
20
content
0
V seg = 4V ; Vdd = 5V
-40 -15 10 35
Tamb (°C)
60 85 0 10 20 30 40 50 60 70 80 90
Rset (kOhm)
valid
Figure 8. Segment Current vs. Supply Voltage;
60
50
40
30
20
10
Technical
Vseg = 3V
Vseg = 4V
0
2.7
3.1
3.5
3.9
4.3
4.7
5.1
5.5
Vdd (V)
Figure 9. Segment Current vs. V
DD
; V
Rset
= 2.8V
50
45
40
Vseg = 1.7V
Vseg = 2V
Vseg = 2.3V
Vseg = 3.1V
35
30
25
20
15
10
5
0
2.7
3 3.3
3.6
Vdd (V)
3.9
4.2
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
6 - 25
AS1115
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. V
DIGIT
vs. I
DIGIT
0.4
0.3
0.2
0.1
0
0
Vdd = 2.7V
Vdd = 3.3V
Vdd = 4V
Vdd = 5V
Vdd = 5.5V
0.05
0.1
0.15
0.2
0.25
0.3
0.35
Idig (A)
Figure 11. Input High Level vs. Supply Voltage
3.5
3
2.5
2
1.5
1
0.5
0
2.7
3.1
3.5
3.9
4.3
4.7
5.1
5.5
valid
Vdd (V)
Figure 12. I
SEG
vs. V
SEG
; V
DD
= 5V
50
45
40
35
30
25
20
15
10
5
0
2 2.5
3 3.5
Vseg (V)
4
Rext = 10k
Rext = 13k
Rext = 18k
Rext = 30k
Rext = 56k
ams
25
20
15
10
5
Figure 13. I
SEG
vs. V
SEG
; V
DD
= 4V
50
45
40
35
30
AG
4.5
1 1.5
2 2.5
Vseg (V)
3
Rext = 10k
Rext = 13k
Rext = 18k
Rext = 30k
3.5
4
Figure 14. I
SEG
vs. V
SEG
; V
DD
= 3.3V
50
45
40
35
Rext = 6k8
Rext = 8k2
Rext = 10k
Rext = 13k
Rext = 18k
30
25
20
15
10
5
0
Technical
1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2
Vseg (V)
Figure 15. I
SEG
vs. V
SEG
; V
DD
= 2.7V
50
45
40
35
30
25
20
15
Rext = 4k7
Rext = 5k6
Rext = 6k8
Rext = 10k
Rext = 13k
10
5
0
1 1.2
1.4
1.6
1.8
2 2.2
2.4
2.6
Vseg (V)
Revision 1.08
7 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115
AS1115
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 16. AS1115 - Block Diagram (QSOP-24 Package)
VDD
VDD
VDD
14
SCL
1
SDA
24
IRQ
Oszillator
I²C
Interface
Open/Short
Detection
+
–
+
–
Digital Control
Logic
AG
8
8
2-5, 7-10
2
(PWM, Debounce,....)
ams
Registers
Data - Registers
Control - Registers
Scan - Registers
content
AS1115
6
GND
DIG0 to DIG7
11, 12
KEYA, KEYB
19
13
VDD
R
SET
VDD
ISET
still
15-18, 20-23
SEGA-G,
valid
SEGDP
Figure 17. ESD Structure
VDD valid for the pins:
- IRQ
- SCL
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
VDD valid for the pins:
- DIG0 to DIG7
8 - 25
AS1115
Datasheet - D e t a i l e d D e s c r i p t i o n
I²C Interface
The AS1115 supports the I²C serial bus and data transmission protocol in high-speed mode at 3.4MHz. The AS1115 operates as a slave on the
I²C 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 18.
I²C
Interface Initialization
1 8 9 1 8 9
0
0 0 0 0 A1 A0 R/W
Default values at power up: A1 = A0 = 0
Figure 19. Bus Protocol
SDI
MSB
Slave Address
R/W
Direction Bit
D15 D14 D13 D12 D11 D10 D9 D8
ACK from
Receiver
still valid
Receiver
1 2
SCL
START
6 7
ams
The bus protocol (as shown in Figure 19 ) is defined as:
- Data transfer may be initiated only when the bus is not busy.
8
ACK
9 1 2 3-8 8 9
ACK
Repeat if More Bytes Transferred
STOP or
Repeated
START
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 Transfe
r. 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 I²C 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
Technical
9 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
Datasheet - D e t a i l e d D e s c r i p t i o n ing an 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.
-
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 AS1115 can operate in the following slave modes:
-
-
Slave Receiver Mode
hardware after reception of the slave address and direction bit.
Slave Transmitter Mode valid
the direction bit will indicate that the transfer direction is reversed. Serial data is transmitted on SDA by the AS1115 while the serial clock is input on SCL. START and STOP conditions are recognized as the beginning and end of a serial transfer.
I²C Device Address Byte
The address byte
AG
Figure 20. I²C Device Address Byte
still
predefined address:
MSB 3 2 1 LSB updated address:
0
MSB
0
6
0
6
0
5
0
5
0
- The default slave address is factory-set to 0000000.
4
0
4
0
3
0
0
2
A1
0
1
A0
content
R/W
LSB
R/W
- The two LSB bits of the address byte are the device select bits, A0 to A1, which can be set by the self address command after startup. 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 AS1115 monitors the I²C 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.
I²C Device Self Addressing
If this feature is used, 2 of the 16 key readback nodes can be left open or shorted for self-addressing. This is done with KEYA together with
SEGG (A0) and SEGF (A1). This two nodes cannot be used for key-readback in this case. After startup all devices have the predefined address
Technical
10 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
Datasheet - D e t a i l e d D e s c r i p t i o n
Command Byte
The AS1115 operation, (see Table 6) is determined by a command byte ( see Figure 21 on page 11 ).
Figure 21. Command Byte
MSB
D15
6
D14
5
D13
4
D12
3
D11
2
D10
1
D09
LSB
D08
Figure 22. Command and Single Data Byte Received
S
From Master to Slave
From Slave to Master
Slave Address
0
R/W A
AS1115 Registers
D15 D14 D13 D12 D11 D10 D9 D8
Command Byte A
Acknowledge from AS1115
0
Acknowledge from AS1115
AG
0
Figure 23. Setting the Pointer to a Address Register to select a Data Register for a Read Operation
D7 D6 D5 D4 D3 D2 D1 D0
A P
valid
Data Byte
1 Byte
0
Autoincrement
Memory Word
Address
S
From Master to Slave
From Slave to Master
Slave Address
0
Acknowledge from AS1115
R/W
0
AS1115 Registers
A
ams
D9 D8
Acknowledge from AS1115
Figure 24. Reading nBytes from AS1115
From Master to Slave
From Slave to Master Acknowledge from AS1115
0
Auto increment
Memory Word
Address
Acknowledge from Master
0
Stop reading n Bytes
Not Acknowledge from Master
1
Second Data Byte
S R/W A First Data Byte A
Slave Address
Technical
D5 D4 D3 D2 D1 D0
Auto increment to next address
D7 D6 D5 D4 D3 D2 D1 D0
/A P
11 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
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 AS1115 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:
17 ) is set to the minimum values.
Shutdown Mode
The AS1115 devices feature a shutdown mode, where they consume only 200nA (typ) current. Shutdown mode is entered via a write to the Shut-
down Register (see Table 7 ). 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 V
DD
(CMOS logic level).
0.
Note:
When
valid
is used with an external clock, Shutdown Register bit D7 should be set to 1 when writing to the Shutdown Register.
Digit- and Control-Registers
The AS1115 devices contain 8 Digit-Registers,11 control-registers and 10 diagnostic-registers, which are listed in
. All registers are selected using a 8-bit address word, and communication is done via the I²C interface.
whole register contents.
AG
tures selection registers.
still
Table 6. Register Address Map
Register
Digit 0
Digit 1
Digit 2
Digit 3
000
000
000
000
D15:D13 D12
000
000
0
0
ams
D10
0
0
0
0
Address
D9 D8 D7:D0
0
0
0
1
1
0
1
1
0
0
1
0
1
0
1
(see
,
and
0 0
0 0 1 1 0
Digit 4
Digit 5
Digit 6
Digit 7
Decode-Mode
Global Intensity
Scan Limit
Shutdown
DIG4:DIG5 Intensity
DIG6:DIG7 Intensity
000
000
000
000
000
000
000
000
0
0
0
0
0
0
Self Addressing 001 0 1
Feature
Display Test Mode
DIG0:DIG1 Intensity
DIG2:DIG3 Intensity
000
000
000
000
0
0
1
1
1
1
0
0
1
1
1
1
0
0
1
1
0
1
0
0
1
0
0
1
1
0
1
0
0
1
0
0
1
1
0
1
0
1
1
0
0
1
1
0
1
0
1
0
1
1
0
1
0
1
0
1
0
Page
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
12 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
Datasheet - D e t a i l e d D e s c r i p t i o n
Table 6. Register Address Map
Register
Diagnostic Digit 0
Diagnostic Digit 1
Diagnostic Digit 2
Diagnostic Digit 3
Diagnostic Digit 4
Diagnostic Digit 5
Diagnostic Digit 6
Diagnostic Digit 7
KEYA
KEYB
D15:D13 D12
000
000
1
1
000
000
000
000
1
1
1
1
000
000
000
000
1
1
1
1
1
1
0
0
D11
0
0
1
1
1
1
0
0
1
1
D10
1
1
1
1
0
0
Address
0
0
1
1
D9
0
0
0
0
1
1
0
1
0
1
D8
0
1
0
1
0
1
D7:D0
The Shutdown Register controls AS1115 shutdown mode.
Table 7. Shutdown Register Format (Address (HEX) = 0x0C))
Mode
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
0x00
0x80
AG
D6
X
X
D5
X
X
D4
X
X
D3
X
X
D2
X
X
D1
X
X
D0
0
0x01 0 X X X X X X
0
1
0x81 1 X X X X X X 1
Decode Enable Register (0x09)
bit D1 corresponds to digit 1 and so on).
Note:
content
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.
lists the code-B font;
shows the
1:1 pairing of each data bit to the appropriate segment line.
Table 8. Decode Enable Register Format Examples
Decode Mode
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
Technical
HEX Code
0x00
0x01
0x07
0x3F
0x25
Register Data
D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 0 0 0 0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
1
1
0
1
1
1
1
1
0 0 1 0 0 1 0 1
Page
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
valid
13 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
Datasheet - D e t a i l e d D e s c r i p t i o n
Figure 25. Standard 7-Segment LED Intensity Control and Inter-Digit Blanking
A
F
G
B
E
D
C
DP
Table 9. Code-B Font
Character
D7
Register Data
D6:D4 D3 D2 D1 D0
Character
D7
X
X
X
X
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
Register Data
D6: D4 D3 D2 D1 D0
Character
X
X
X
X
X
0 1 1 0
0 1 1 1
1 0 0 0
1
AG
1
1 0 1 0
1
*
D7
X
X
Register Data
D6:D4 D3
1
D2
1
D1
0
valid
1 1 0 1
X
X
still
1 1 0
1 1 1 1
X X X X X X 0 1 0 0
Table 10. HEX Font
X 0 1 0 1
Register Data ams
D7
X 1 0 1 1
*
The decimal point can be enabled with every character by setting bit D7 = 1.
Register Data
Character
D7
D6:D4 D3 D2 D1 D0
Character
D6: D4 D2 D1 D0
Character
D7
Register Data
D6:D4 D3 D2 D1 D0
X 0 0 0 0 X 0 1 1 0 X 1 1 0 0
X 0 0 0 1
X 0 0 1 0
X 0 1 1 1
X 1 0 0 0
X 0 0 1 1 X 1 0 0 1
X 1 0 1 0
X 1 0 1 1
*
The decimal point can be enabled with every character by setting bit D7 = 1.
X 1 1 0 1
X 1 1 1 0
X
1
*
X
1 1 1 1
X X X X
14 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
Datasheet - D e t a i l e d D e s c r i p t i o n
Table 11. 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
I²C Self Addressing
If this feature is used, 2 of the 16 key readback nodes can be left open or shorted for self-addressing. This is done with KEYA together with
SEGG (A0) and SEGF (A1). This two nodes cannot be used for key-readback in this case. After startup all devices have the predefined address
0000000. A single command for self addressing will update all connected AS1115. This command has to be done after startup or every time the
AS1115 gets disconnected from the supply. The I²C address definition must be done with fixed connection, since I²C detection is excluded from debounce time of key registers.geht
Note:
A short writes a logical “0” whereas an open writes a logical “1” as address bit
.
Table 12. Self Addressing Register (Address (HEX) = 0x2D))
Factory-set IC address
User-set IC address
Figure 26. Address Coding
D7
X
X
D6
X
X
D5
X
X
D4
X
X
AG
D3
X
X
D2
X
X
D1
X
X
still
D0
0
1
valid
Keyscan Register ams
These two registers contain the result of the keyscan input of the 16 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.
Table 13. LED Diagnostic Register Address
Register HEX Address
D4
Segment
D3
C D
0x1C
0x1D
Key
KEYA
KEYB
D7
DP
D6
A
D5
B
D2
E
D1
F
D0
G
Note:
If I²C self addressing is used segment G&F of KEYA is used for the two LSB of the I²C address. In this case these two nodes cannot be
Note:
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 read-
Technical
15 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
Datasheet - D e t a i l e d D e s c r i p t i o n
Display-Test Mode
The AS1115 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 14.
Testmode Register
Summary
D7
X
D6
RSET_short
D5
RSET_open
D4
LED_global
D3
LED_test
D2
LED_open
D1
LED_short
D0
DISP_test
Table 15. Testmode Register Bit Description (Address (HEX) = 0x0F))
Addr: 0x0F Address
Bit Bit Name Default Access D7:D0
Optical display test. (Testmode for external visual test.)
D0 DISP_test 0 W
D1
D2
D3
D4
D5
LED_short
LED_open
LED_test
LED_global
RSET_open
0
0
0
0
0
W
W
R
R
R from scan limit & shutdown register.)
Starts a test for shorted LEDs. (Can be set together with D2)
0: Normal operation; 1: Activate testmode
Starts a test for open LEDs. (Can be set together with D1)
0: Normal operation; 1: Activate testmode
Indicates an ongoing open/short LED test
AG
Checks if external resistor R
SET
is open
0: R
SET
correct; 1: R
SET
is open
still
Indicates that the last open/short LED test has detected an error
D6
D7
RSET_short
LED Diagnostic Registers
These eight registers contain the result of the LED open/short test for the individual LED of each digit.
Table 16. LED Diagnostic Register Address
Register
0
0
Segment
R
-
Checks if external resistor R
SET
is shorted
0: R
SET
correct; 1: R
SET
is shorted
Not used
Digit D7 D6 D5 D4 D3 D2 D1 D0 content
Register
HEX
Address
Segment
Digit D7 D6 D5 D4 D3 D2 D1 D0
HEX
Address
DIG0 DIG4
0x14 0x18
DIG1 DIG5
0x15
DP A B C D E F G
0x19
DP A B C D E F G
0x16
DIG2
0x1A
DIG6
DIG3 DIG7
0x17 0x1B
Note:
If one or more short occures in the LED array, detection of individual LED fault could become ambiguous.
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 R
SET
(see
Technical
). 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 intensity command will only write to the associated individual intensity register.
16 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
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 R
SET
.
Table 17. Intensity Register Format
Duty Cycle
1/16 (min on)
2/16
3/16
4/16
5/16
6/16
7/16
8/16
HEX Code
Register HEX Address
0x0A
0x10
0x11
0x12
0x13
0xX0
0xX1
0xX2
0xX3
0xX4
0xX5
0xX6
0xX7
Table 18. Intensity Register Address
0
0
0
0
Register Data
MSB D2 D1 LSB
0
0
0
0
0
0
0
1
0
0
0
0
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
1
Type
Global
Digit
Digit
Digit
Digit
Duty Cycle
9/16
10/16
11/16
12/16
13/16
14/16
15/16
15/16 (max on)
D7:D4
X
Digit 5 Intensity
Digit 7 Intensity
HEX Code
0xX8
0xX9
0xXA
0xXB
Register Data
MSB D2 D1 LSB
1
1
0
0
0
0
0
1
1
1
0
0
1
1
0
1
0xXC
0xXD
0xXE
0xXF
1
1
1
1
1
1
1
1
Register Data
D3:D0 still
0
0
1
1
Digit 6 Intensity
0
1
0
1
valid
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
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:
Table 19. Scan-Limit Register Format (Address (HEX) = 0x0B))
Scan Limit
Display digit 0 only
Display digits 0:1
HEX
Code
0xX0
0xX1
ams
Register Data
D7:D3 D2 D1 D0
X
X
0
0
0
0
0
1
content
Display digits 0:4
Display digits 0:5
HEX
Code
0xX4
0xX5
Register Data
D7:D3 D2 D1 D0
X
X
1 0 0
1 0 1
Display digits 0:2
Display digits 0:3
0xX2
0xX3
X
X
0
0
1
1
0
1
Display digits 0:6
Display digits 0:7
0xX6
0xX7
X
X
1 1
1 1
0
1
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
17 - 25
AS1115
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, setting the blinking rate, and resetting the blink timing.
Note:
At power-up the Feature Register is initialized to 0.
Table 20. Feature Register Summary
D7
blink_ start
D6
sync
D5
blink_ freq_sel
D4
blink_en
D3
NU
D2
decode_sel
D1
reg_res
D0
clk_en
D4
D3
Table 21. Feature Register Bit Descriptions (Address (HEX) = 0xXE)
Bit
D0
D1
D2
Addr: 0xXE
Bit Name
clk_en reg_res decode_sel
Feature Register
Enables and disables various device features.
Default
0
0
0
Access
R/W
R/W
R/W
External clock active.
Bit Description
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.
1 = All control registers are reset to default state (except the Feature Register)
Note: still
Selects display decoding for the selected digits (
).
1 = Enable HEX decoding (see
).
Not used
AG
).
valid
NU blink_en
D5 blink_freq_sel
D6
D7 sync blink_start
0
0
0
0 R/W
R/W
R/W
R/W
Enables blinking.
0 = Disable blinking. 1 = Enable blinking.
ams
counter is cleared on the rising edge of pin LD/CS. By setting this bit in multiple devices,
Start Blinking with display enabled phase. When bit D4 (blink_en) is set, bit D7 determines how blinking starts.
0 = Blinking starts with the display turned off.
1 = Blinking starts with the display turned on.
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
18 - 25
AS1115
Datasheet - Ty p i c a l A p p l i c a t i o n
9 Typical Application
Selecting R
SET
Resistor Value and Using External Drivers
Brightness of the display segments is controlled via R
SET
. The current that flows into I
SET
defines the current that flows through the LEDs.
Segment current is about 200 times the current in I
SET
. Typical values for R
SET
for different segment currents, operating voltages, and LED voltage drop (V
LED
nal drivers must be used, in which case it is no longer necessary that the devices drive high currents.
Note:
Table 22. R
SET
vs. Segment Current and LED Forward Voltage, V
DD
= 2.7V & 3.3V & 3.6V
V
LED
V
LED
V
LED
I
SEG
(mA)
1.5V
2.0V
1.5V
2.0V
2.5V
1.5V
2.0V
2.5V
40
30
20
5k
Ω
6.9k
Ω
10.7k
Ω
4.4k
Ω
5.9k
Ω
9.6k
Ω
6.7k
Ω
9.1k
Ω
13.9k
Ω
6.4k
Ω
8.8k
Ω
13.3k
Ω
5.7k
Ω
8.1k
Ω
12.6k
Ω
7.5k
Ω
10.18k
Ω
15.6k
Ω
7.2k
Ω
9.8k
Ω
15k
Ω
6.6k
Ω
9.2k
Ω
14.3k
Ω
7.5k
Ω
13k
Ω
I
SEG
(mA)
40
30
20
10
10
1.5V
8.6k
Ω
22.2k
Ω
2.0V
8.3k
Ω
20.7k
Ω
V
LED
2.5V
7.9k
Ω
28.8k
Ω
3.0V
27.7k
Ω
17.7k
Ω
17.3k
Ω
16.6k
Ω
15.6k
Ω
13.6k
Ω
36.89k
Ω
35.7k
Ω
34.5k
Ω
32.5k
Ω
29.1k
Ω
26k
Ω
Table 23. R
SET
vs. Segment Current and LED Forward Voltage, V
DD
= 4.0V & 5.0V
3.5V
7.6k
Ω
5.2k
Ω
11.6k
Ω
11.2k
Ω
10.8k
Ω
9.9k
Ω
7.8k
Ω
AG
2.0V
15.1k
Ω
Ω
31.9k
Ω
2.5V
10.84k
14.7k
Ω
Ω
23.6k
Ω
23.1k
Ω
22.6k
Ω
31k
Ω
V
LED
3.0V
29.5k
Ω
27.3k
Ω
still
10.49k
14.4k
Ω
Ω
10.2k
13.6k
Ω
Ω
4.0V
9.9k
13.1k
Ω
Ω
22k
Ω
21.1k
Ω
20.2k
Ω
48.9k
Ω
47.8k
Ω
46.9k
Ω
45.4k
Ω
43.8k
Ω
42k
Ω
Calculating Power Dissipation
Where:
V
DD
is the supply voltage.
PD = (V
DD
x 5mA) + (V
DD
content
DUTY
is the duty cycle set by intensity register
N
is the number of segments driven (worst case is 8)
V
LED
is the LED forward voltage
I
SEG
= segment current set by RSET
Dissipation Example:
I
SEG
= 40mA, N = 8, DUTY = 15/16, V
LED
= 2.2V at 40mA, V
DD
= 5V
PD = 5V(5mA) + (5V - 2.2V)(15/16 x 40mA x 8) = 0.865W
Thus, for a TQFN(4x4)-24 package
Θ
JA
= +30.5°C/W, the maximum allowed T
AMB
is given by:
T
J,MAX
= T
AMB
+ PD x
Θ
JA
= 150°C = T
AMB
+ 0.865W x 30.5°C/W
(EQ 1)
(EQ 2)
(EQ 3)
(EQ 4)
19 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
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 27 shows the AS1115 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
.
. Single LEDs in a column can
Figure 27. Application Example as LED Dot Matrix Driver
V
DD
2.7 to 5V
9.53k
Ω
SDA
I
SET
SDA
SCL
AS1115
DIG0 to
DIG7
SEG A to G
SEP DP
Diode Arrangement valid
µP
SCL
IRQ
IRQ
Keyscan
GND
AG still
The key readback of the AS1115 can be used either for push buttons as well as switches. If only a single key is pressed (shorted) at a time no
, are required. Pressing multiple keys without the diodes would result in ambiguous results. Since KEYA and KEYB have independent inputs only keys on the same path are affected.
Figure 28. Keyscan Configuration
SEGA
KEYA
SEGC SEGD SEG E SEGF
content
SEGG SEGDP
KEYB
IRQ
Diodes are optional and only required if multiple keystrokes must be detected simultaneously.
If I²C Self-Addressing is used these two keys cannot be used for readback and must be either hard wired opened or shorted.
A short writes a logical “0” whereas an open writes a logical “1” as address bit.
Note:
If the blink_en bit (bit D4 in the Feature Register 0x0E) is set to ‘1’, the keyscan is not returning a valid value.
In order to achieve optimal performance the AS1115 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 10µF and a 0.1µF ceramic capacitor between pins V
DD
and GND to avoid power supply ripple
.
20 - 25 www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
AS1115
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 29. QSOP-24 Marking
Figure 30. TQFN(4x4)-24 Marking
Table 24. Packaging Code
YY
last two digits of the current year
AG still ams
WW
manufacturing week plant identifier
ZZ
free choice / traceability code
valid
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
21 - 25
AS1115
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
Figure 31. QSOP-24 Package
AG still valid
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
22 - 25
AS1115
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
Figure 32. TQFN(4x4)-24 Package
AG still valid
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
23 - 25
AS1115
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. Ordering Information
Ordering Code
AS1115-BSST
AS1115-BQFT
Marking
AS1115
AS1115
Description
64 LEDs, I²C Interfaced LED Driver with
Keyscan
Delivery Form
Tape and Reel
Tape and Reel
Package
QSOP-24
TQFN(4x4)-24
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
For further information and requests, please contact us mailto:[email protected]
or find your local distributor at http://www.austriamicrosystems.com/distributor
AG still valid
Technical
www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
24 - 25
AS1115
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.
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 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
valid
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.
AG still
Contact Information
Headquarters austriamicrosystems AG
Tobelbaderstrasse 30
A-8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
Fax: +43 (0) 3136 525 01 http://www.austriamicrosystems.com/contact www.austriamicrosystems.com/LED-Driver-ICs/AS1115 Revision 1.08
25 - 25
Herunterladen
Werbung