PDF

The following document contains information on Cypress products.
S6AL211A94
ASSP
4ch LED Driver IC for Intelligent Lighting
UART interface, Input Voltage 24V, Dimming type C
S6AL211 Series
HARDWARE MANUAL
Publication Number S6AL211A94_MN405-00002
CONFIDENTIAL
Revision 1.0
Issue Date February 10, 2015
H A R D W A R E
M A N U A L
Preface
Thank you for your continued use of Spansion semiconductor products.
Read this manual and "Data Sheet" thoroughly before using products in this series.
Purpose of this manual and intended readers
This manual explains the functions and operations of this product and describes how it is used. The manual
is intended for engineers engaged in the actual development of products using this product.
Note:
− This manual explains the configuration and operation, but does not cover the specifics of each device
in the series.
Users should refer to the respective data sheets of devices for device-specific details.
2
CONFIDENTIAL
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
M A N U A L
Table of Contents
1.
2.
3.
Product Overview ........................................................................................................................... 4
About Corresponded UART Interface ............................................................................................. 4
2.1
Terminal Connection ........................................................................................................... 5
2.2
Description of Functions ...................................................................................................... 7
2.2.1
Data Format and Timing ..................................................................................... 7
2.2.2
Control Command .............................................................................................. 8
2.2.3
Memory Map ...................................................................................................... 9
2.3
Dimming Curve ................................................................................................................. 11
2.3.1
Logarithm Curve ................................................................................................ 11
2.3.2
Linear Curve ..................................................................................................... 12
2.4
Trigger Input Dimming ....................................................................................................... 13
2.4.1
Trigger Signal ................................................................................................... 13
2.4.2
Dimming Control............................................................................................... 13
Major Changes ............................................................................................................................. 15
Figures
Figure 2-1 UART Data Format and Timing ................................................................................................. 7
Figure 2-2 Formula of Logarithm Dimming Curve ..................................................................................... 11
Figure 2-3 Logarithm Dimming Curve ....................................................................................................... 11
Figure 2-4 Formula of Linear Dimming Curve .......................................................................................... 12
Figure 2-5 Linear Dimming Curve ............................................................................................................ 12
Figure 2-6 Trigger Iput Dimming ............................................................................................................... 14
Tables
Table 2-1 Terminal Connection ................................................................................................................... 5
Table 2-2 Control Commands ..................................................................................................................... 8
Table 2-3 Memory Map ............................................................................................................................... 9
Table 2-4 Trigger Signal ........................................................................................................................... 13
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
3
H A R D W A R E
M A N U A L
1. Product Overview
S6AL211A94 corresponds to these specifications.
−
−
−
−
Communication Interface : UART
VIN voltage
: 24V
Dimming type
:C
Sensor input
: motion sensor, ambient light sensor
2. About Corresponded UART Interface
This product corresponds to UART communication interface for dimming and color control function.
−
−
−
−
−
4
CONFIDENTIAL
Baud rate : 115.2kbps ±5%
Asynchronous transfer mode, LSB first, NRZ format
Data length : 8-bit
Stop bit : 1-bit
Parity error : no parity
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
2.1
M A N U A L
Terminal Connection
Table 2-1 Terminal Connection
Pin No.
Pin Name
I/O
1
DGND
-
Ground
Terminal Connection Place
2
BIAS2
O
Connect By-pass capacitor. ( Do not connect external load )
3
BIAS
O
Connect By-pass capacitor. ( Do not connect external load )
4
VIN
-
DC 24V Power supply
5
DRV_1
O
Connect external switching FET1 gate of current control.
6
DRV_2
O
Connect external switching FET2 gate of current control.
7
VIN
-
DC 24V Power supply
8
DRV_3
O
Connect external switching FET3 gate of current control.
9
DRV_4
O
Connect external switching FET4 gate of current control.
10
DIN1
I
11
DIN2
I
12
SCL
I/O
13
SDA
I/O
14
SH_1
O
Connect external switching FET1 gate of PWM dimming control.
15
SH_2
O
Connect external switching FET2 gate of PWM dimming control.
16
AGND
-
Ground
17
SH_3
O
Connect external switching FET3 gate of PWM dimming control.
18
SH_4
O
Connect external switching FET4 gate of PWM dimming control.
19
TEMP1
I
Connect Temperature sensor 1.
20
TEMP2
I
Connect Temperature sensor 2.
21
TEMP3
I
Connect Temperature sensor 3.
22
TEMP4
I
Connect Temperature sensor 4.
23
AGND
-
Ground
24
CS_1P
I
Connect LED current sense 1 of High side.
25
CS_1N
I
Connect LED current sense 1 of Low side.
26
CS_2P
I
Connect LED current sense 2 of High side.
27
CS_2N
I
Connect LED current sense 2 of Low side.
28
CS_3P
I
Connect LED current sense 3 of High side.
29
CS_3N
I
Connect LED current sense 3 of Low side.
30
CS_4P
I
Connect LED current sense 4 of High side.
31
CS_4N
I
Connect LED current sense 4 of Low side.
32
PCNT
O
IC status output Pin
33
TEST
I
34
IF1
I
UART Communication interface data input Pin
35
IF2
O
UART Communication interface data output Pin
36
AGND
-
Ground
37
SENSE1
I
38
SENSE2/ADD2
I
39
SENSE3/ADD3
I
Unused Pin
Input to VO pin output level.
Unused Pin
Connect to GND level.
Unused Pin
Input to VO pin output level.
Unused Pin
Input to VO pin output level.
Exclusive use of the Test
Connect to BIAS3 Pin.
Unused Pin
Connect to GND level.
Unused Pin
Connect to GND level.
Ambient light sensor connection Pin
Please connect to GND level if you do not use the function.
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
5
H A R D W A R E
M A N U A L
Pin No.
Pin Name
I/O
Terminal Connection Place
40
SENSE4/ADD4
I
41
ADD5
I
42
ADD6
I
43
ADD7
I
44
ADD8
I
45
SP
I
46
BIAS3
O
Connect By-pass capacitor. ( Do not connect external load )
47
AGND
-
Ground
Motion sensor connection Pin
Please connect to GND level if you do not use the function.
Unused Pin
Connect to GND level.
Unused Pin
Connect to GND level.
Unused Pin
Connect to GND level.
Unused Pin
Connect to GND level.
Exclusive use of the Test
Connect to BIAS3 Pin.
3V LDO output Pin
48
VO
O
Connect Temperature sensor of power supply side.
Connect Other 3V loads.
6
CONFIDENTIAL
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
M A N U A L
2.2 Description of Functions
2.2.1
Data Format and Timing
The data format and timing of the UART communication is shown below.
Figure 2-1 UART Data Format and Timing
Data to be transmitted and received, all are treated as ASCII character code.
Valid send and receive data is numbers and uppercase and control characters.
Received data length is within 24byte. When continuous reception <CR>(ASCII code:0Dh) and <LF>(ASCII
code:0Ah) within 24byte, it is interpreted as the delimiter of receive data. Next received data of continuous
reception of <CR>, <LF> are treated as1st byte data.
If there is no delimiter is within 24byte, received data of 24byte will be discarded. And 25th received byte
data are treated as1st byte data.
If the received string is a valid control commands, this device output response.
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
7
H A R D W A R E
2.2.2
M A N U A L
Control Command
First six characters of the received string are treated as a control command.
The argument is only valid ASCII character code A, B, C, D, E, F and 0-9. When it received an invalid value
will be treated as receiving a "0".
Please send a space character in front of the argument.
Table 2-2 Control Commands
Command
Argument
1st : ch1 dimming level
DIMSET
2nd : ch2 dimming level
3rd : ch3 dimming level
Function
Response
Set the dimming level on each channel.
ex. ) DIMSET FF AA FF 93<CR><LF>
OK<CR><LF>
4th : ch4 dimming level
MEMSET
QUERYS
1st : write address
Write data to the memory. (*1)
2nd : write data
ex. ) MEMSET 30 55<CR><LF>
1st : read address
OK<CR><LF>
Read from memory.
Read Data or "TRUE" or
ex. ) QUERYS 24<CR><LF>
"FALSE" +<CR><LF>
Return to the normal dimming operation state from the
WAKEUP
No argument
standby state. (*2)
OK<CR><LF>(*3)
This command is ignored when the state is not the standby.
Initialize the device when the light is off bye protection.
PRESET
No argument
This command is ignored when the light is not off bye
OK<CR><LF>
protection.
Select the slave device.
When the argument matches the parameter "SLAVE
ADDRESS", all commands is accepted.
SELECT
1st : slave address
When the argument don't match the parameter "SLAVE
ADDRESS", it is accepted only command of WAKEUP and
SELECT.
If the received argument is "FF", regardless of the setting
If the received argument
is "FF" or the value of
"SLAVE ADDRESS",
output the response
"OK<CR><LF>".
value of "SLAVE ADDRESS", all commands is accepted.
(Others)
-
It is determined that the invalid command, input is ignored.
No response
*1: Write data to excluding the address "0x10" is stored in non-volatile memory. Therefore, please do not
power-off from the transmission of the MEMSET command within 5 seconds. If power is lost within 5
seconds, the write data is not guaranteed.
*2: Unless setting to illuminate within 3 seconds after receiving the WAKEUP command, it moves again to
the standby state.
*3: When receive at standby state, this device outputs the response within 4ms from the first character.
8
CONFIDENTIAL
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
2.2.3
M A N U A L
Memory Map
Table 2-3 Memory Map
Address
Bit
R/W
Initial Value
0x00
[7:0]
POWER ON LEVEL1
Parameter Name
R/W
00h
Power-on Dimming level of ch.1
Feature Description
0x01
[7:0]
POWER ON LEVEL2
R/W
00h
Power-on Dimming level of ch.2
0x02
[7:0]
POWER ON LEVEL3
R/W
00h
Power-on Dimming level of ch.3
0x03
[7:0]
POWER ON LEVEL4
R/W
00h
Power-on Dimming level of ch.4
Fade time
0x04
[7:0]
FADE TIME
R/W
00h
00h
: no fade
01h
: 0.5s
02h
: 1s
03h
: 2s
Others
[7:4]
0x05
[3]
DIMMING CURVE4
[2]
DIMMING CURVE3
[1]
DIMMING CURVE2
[0]
DIMMING CURVE1
[7:4]
0x06
reserved
DIMMING ENABLE4
[2]
DIMMING ENABLE3
[1]
DIMMING ENABLE2
[0]
[7:1]
1
R/W
Dimming curve of each channel
1
0 : Log curve
1
1 : Linear curve
1
reserved
[3]
: invalid
0000
0000
1
R/W
1
1
DIMMING ENABLE1
1
reserved
Dimming of each channel
0 : Disable
1 : Enable
(Note) Please set to "0" to not use channel.
0000000
Dimming by the trigger input
0x10
[0]
MOTION SENSOR SWITCH
R/W
1
0 : Disable
1 : Enable
(Note) This setting is not written to non-volatile memory.
[7:4]
[3]
0x11
[2]
reserved
0000
Time to move to the standby state
MOTION SENSOR CHECK
0
TIME
0 : 10s
1 : 5min
Illumination sensor input
ILLUMINANCE SENSOR
ENABLE
-
R/W
0
0 : no input
1 : input
Select the trigger input
2'b00 : trigger input disable
[1:0]
MOTION SENSOR MODE
00
2'b01 : trigger input by motion sensor (SENSE4-pin input)
2'b1* : trigger input by UART communication (*1)
(motion sensor input disable)
0x12
[7:0]
[7:2]
0x13
[1:0]
ILLUMINANCE SENSOR
LOWER DATA
R
reserved
ILLUMINANCE SENSOR
000000
R
UPPER DATA
-
Illumination sensor Lower 8bit data
[0-5V input, 10bit A/D convert]
Illumination sensor upper 2bit data
[0-5V input, 10bit A/D convert]
0x20
[7:0]
ACTUAL LEVEL1
R
-
Current dimming level of ch.1
0x21
[7:0]
ACTUAL LEVEL2
R
-
Current dimming level of ch.2
0x22
[7:0]
ACTUAL LEVEL3
R
-
Current dimming level of ch.3
0x23
[7:0]
ACTUAL LEVEL4
R
-
Current dimming level of ch.4
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
9
H A R D W A R E
Address
Bit
Parameter Name
R/W
M A N U A L
Initial Value
Feature Description
Protection status 1
[Output over current, Input low voltage, External over
temperature, Internal over temperature]
0x24
[7:0]
LAMP FAILURE LEVEL1
R
-
Protection state: Output the response "TRUE", when
read this address.
Not protection state: Output the response " FALSE ",
when read this address.
Protection status 2
[Light out protection excluding Protection status 1]
0x25
[7:0]
LAMP FAILURE LEVEL2
R
-
Protection state: Output the response "TRUE", when
read this address.
Not protection state: Output the response " FALSE ",
when read this address.
0x30
[7:0]
COMMENT0
R/W
00h
For free use
0x31
[7:0]
COMMENT1
R/W
00h
For free use
0x32
[7:0]
COMMENT2
R/W
00h
For free use
0x33
[7:0]
COMMENT3
R/W
00h
For free use
0x34
[7:0]
COMMENT4
R/W
00h
For free use
0x35
[7:0]
COMMENT5
R/W
00h
For free use
0x36
[7:0]
COMMENT6
R/W
00h
For free use
0x37
[7:0]
COMMENT7
R/W
00h
For free use
0x40
[7:0]
SLAVE ADDRESS
R/W
FFh
Slave address
0xFE
[7:0]
reserved
R
-
-
*1: Please refer to the chapter "2.4 Trigger Input Dimming".
10
CONFIDENTIAL
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
M A N U A L
2.3 Dimming Curve
2.3.1
Logarithm Curve
Figure 2-2 Formula of Logarithm Dimming Curve
n -1
X(n) = 10
254/3
-1
(%)
Figure 2-3 Logarithm Dimming Curve
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
11
H A R D W A R E
2.3.2
M A N U A L
Linear Curve
Figure 2-4 Formula of Linear Dimming Curve
X(n) =
n
255
・100
(%)
Figure 2-5 Linear Dimming Curve
12
CONFIDENTIAL
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
2.4
M A N U A L
Trigger Input Dimming
It controls the lights on and off by a trigger signal input.
2.4.1
Trigger Signal
By the parameter setting values of "MOTION SENSOR MODE" and "MOTION SENSOR SWITCH", can be
selected a trigger signal.
"MOTION SENSOR SWITCH" setting is not stored in non-volatile memory. It can switch to enable or disable
temporarily control.
Table 2-4 Trigger Signal
Parameter Name
Setting
MOTION
MOTION
SENSOR
SENSOR
MODE
SWITCH
bit0
0
0
-
Control by the trigger input is invalid
0
1
0
Control by the trigger input is invalid
1
SENSE4 pin trigger input
0
Control by the trigger input is invalid
1
UART communication (valid received string)
1
2.4.2
Select the trigger signal
bit1
-
bit0
Dimming Control
<Control by SENSE4 pin trigger input>
 This device return to the normal dimming operation state from standby state when it detects the input "H",
and it lights in the brightness of before the lights off.
− After the change input to "L", lighting is continued until over time that has been set "MOTION SENSOR
CHECK TIME".
− After the set time the light turn off, and this device moves to the standby state to reduce the power
consumption.
 When it detects the input "H" again during the set time, the timer that counts the set time is cleared.
 Because immediately after the power is turned on unstable output of the motion sensor, ignores the trigger
input for 30 seconds.
− When the power is turned on, it lights in the brightness of the "POWER ON LEVEL" setting.
− In addition to the 30 seconds, lighting is continued until over time that has been set "MOTION
SENSOR CHECK TIME".
<Control by UART communication>
 This device return to the normal dimming operation state from standby state when it receives the
command "WAKEUP<CR><LF>", and it lights in the brightness of before the lights off.
− If there is a valid received string within the set time (="MOTION SENSOR CHECK TIME"), the lighting
is continued. (Recommend the "WAKEUP<CR><LF>" as a valid received string)
− If there is no valid received string until over the set time, the light turn off and this device moves to the
standby state to reduce the power consumption.
 30 seconds from power-on, it lights if there is no valid received string.
− When the power is turned on, it lights in the brightness of the "POWER ON LEVEL" setting.
− In addition to the 30 seconds, lighting is continued until over time that has been set "MOTION
SENSOR CHECK TIME".
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
13
H A R D W A R E
M A N U A L
Figure 2-6 Trigger Iput Dimming
14
CONFIDENTIAL
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
M A N U A L
3. Major Changes
Page
Section
Change Results
Revision 1.0
-
-
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
Initial release
15
H A R D W A R E
16
CONFIDENTIAL
M A N U A L
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
M A N U A L
17
H A R D W A R E
18
CONFIDENTIAL
M A N U A L
S6AL211A94_MN405-00002-1v0-E, February 10, 2015
H A R D W A R E
M A N U A L
MN405-00002-1v0-E
Spansion • HARDWARE MANUAL
S6AL211A94
ASSP
4ch LED Driver IC for Intelligent Lighting
UART interface, Input Voltage 24V, Dimming type C
S6AL211 Series
February 2015 Rev. 1.0
Published: Spansion Inc.
Edited:
Communications
February 10, 2015, S6AL211A94_MN405-00002-1v0-E
CONFIDENTIAL
Communicatio
19
H A R D W A R E
M A N U A L
Colophon
The products described in this document are designed, developed and manufactured as contemplated for general use,
including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not
designed, developed and manufactured as contemplated (1) for any use that includes fatal risks or dangers that, unless
extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury,
severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control,
mass transport control, medical life support system, missile launch control in weapon system), or (2) for any use where
chance of failure is intolerable (i.e., submersible repeater and artificial satellite). Please note that Spansion will not be liable
to you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products.
Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such
failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and
prevention of over-current levels and other abnormal operating conditions. If any products described in this document
represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law
of Japan, the US Export Administration Regulations or the applicable laws of any other country, the prior authorization by the
respective government entity will be required for export of those products.
Trademarks and Notice
The contents of this document are subject to change without notice. This document may contain information on a Spansion
product under development by Spansion. Spansion reserves the right to change or discontinue work on any product without
notice. The information in this document is provided as is without warranty or guarantee of any kind as to its accuracy,
completeness, operability, fitness for particular purpose, merchantability, non-infringement of third-party rights, or any other
warranty, express, implied, or statutory. Spansion assumes no liability for any damages of any kind arising out of the use of
the information in this document.
®
®
®
TM
Copyright © 2015 Spansion
All rights reserved. Spansion , the Spansion logo, MirrorBit , MirrorBit Eclipse ,
TM
TM
TM
ORNAND , Easy DesignSim , Traveo and combinations thereof, are trademarks and registered trademarks of Spansion
LLC in the United States and other countries. Other names used are for informational purposes only and may be trademarks
of their respective owners.
20
CONFIDENTIAL
S6AL211A94_MN405-00002-1v0-E, February 10, 2015