RPR-0521RS [ROHM]

RPR-0521RS是将光学式接近传感器和红外LED(IrLED)、数字照度传感器整合在1chip中的模块。接近传感器 (PS)通过对IrLED发射光线的接近物产生的反射光,检测出人及物体的接近。另外,照度传感器(ALS)可测量从昏暗光线到直射日光的广泛照度。根据照度数据调整LCD显示器及按键的亮度,从而提高组件的节电性能和画面的可视性。;
RPR-0521RS
型号: RPR-0521RS
厂家: ROHM    ROHM
描述:

RPR-0521RS是将光学式接近传感器和红外LED(IrLED)、数字照度传感器整合在1chip中的模块。接近传感器 (PS)通过对IrLED发射光线的接近物产生的反射光,检测出人及物体的接近。另外,照度传感器(ALS)可测量从昏暗光线到直射日光的广泛照度。根据照度数据调整LCD显示器及按键的亮度,从而提高组件的节电性能和画面的可视性。

CD 传感器 接近传感器 显示器
文件: 总25页 (文件大小:926K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
Optical Proximity Sensor and  
Ambient Light Sensor with IrLED  
RPR-0521RS  
Datasheet  
General Description  
RPR-0521RS is a module which integrates optical proximity, digital ambient light sensor IC, and infrared LED  
(IrLED). Proximity sensor (PS) part detects the human or object approaching by the reflection of IrLED light.  
Ambient light sensor (ALS) part detects the wide range of illumination; from the dark environment to the direct  
sun light. The illuminant intensity of LCD display and keypad can be adjusted by using RPR-0521RS. It enables  
lowering current consumption and/or improving the visibility under the bright environment.  
Features  
1) Compatible to I2C bus interface ( f/s mode support )  
2) Compatible to 1.8V logic interface  
3) Low Current consumption by power down function/mode  
4) There are two ALS outputs; peaks of spectrum responses are in visible light (Data0) and in infrared light  
(Data1) for calculating illuminance.  
5) Correspond to very wide range of light intensity  
6) Rejecting 50Hz/60Hz light noise (ALS function)  
7) Detection range of proximity sensor is around 1 - 100mm (adjustable by I2C)  
8) Built-in current configurable IrLED driver  
Application  
Smart phone, Mobile phone, Digital Still Camera, Portable game, Camcoder, PDA, LCD display etc.  
Absolute maximum ratings ( Ta = 25)  
Parameter  
VDD Supply Voltage  
Symbol  
Vddmax  
Limits  
4.5  
Units  
V
SDA, SCL Terminal Voltage  
LEDA,LDR, INT Terminal Voltage  
Operating Temperature  
Storage Temperature  
Vsdamax, Vsclmax  
Vledamax, Vldrmax, Vintmax  
4.5  
7
-2585  
-3085  
7
V
V
Topr  
Tstg  
Imax  
mA  
INT, SDA Sink Current  
Operating conditions  
Parameter  
VDD Supply Voltage  
VLEDA Voltage  
Symbol  
Vdd  
Vleda  
Min.  
2.5  
2.8  
Typ.  
3.0  
3.0  
Max.  
3.6  
5.5  
Units  
V
V
Vint  
INT Terminal Voltage  
5.5  
V
www.rohm.com  
1/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Electrical characteristics  
( VDD= 3.0V, Ta = 25, and all registers are default unless otherwise noted. )  
Parameter  
Symbol  
Min.  
Typ.  
Max.  
Units  
Conditions  
EV = 10 lx*1  
MODE_CONTROL(41h) =89h  
Supply current for ALS  
Icc1  
10  
90  
300  
uA  
Supply current for PS  
Standby mode current  
Icc2  
Icc3  
10  
90  
200  
2.0  
uA  
uA  
MODE_CONTROL(41h) =49h  
MODE_CONTROL(41h)=00h,  
No input light  
0.1  
1.0  
EV = 10 lx*1  
Calculated Lx  
Lx  
6
10  
14  
5
lx  
MODE_CONTROL(41h)=89h  
ALS_PS_CONTROL(42h)=02h  
No input light  
MODE_CONTROL(41h)=89h  
ALS_PS_CONTROL(42h)=02h  
Dark ( 0 lx ) Sensor out in  
TYPE0  
S0_0  
count  
count  
No input light  
MODE_CONTROL(41h)= 89h  
ALS_PS_CONTROL(42h)=02h  
Dark ( 0 lx ) Sensor out in  
TYPE1  
S0_1  
PS50  
5
PS sensor out ( d=50mm*2)  
48  
80  
112  
10  
count  
count  
MODE_CONTROL(41h)=49h  
LED current =100mA  
Ambient irradiance = 0uW/cm2  
MODE_CONTROL(41h)=49h  
LED current =100mA  
PS sensor out  
(No proximity object)  
PS0  
MODE_CONTROL(41h)=49h  
MODE_CONTROL(41h)=69h  
ILED pulse duration 1  
ILED pulse duration 2  
twILED 1  
80  
200  
330  
300  
500  
us  
us  
twILED 2 110  
LDR terminal sink current at  
LDR terminal voltage = 1.3V  
ALS_PS_CONTROL  
(42h) <1:0> = “00”  
ILED  
22  
25  
28  
mA  
INT output 'L' Voltage  
SCL SDA input 'H' Voltage  
SCL SDA input 'L' Voltage  
VINTL  
VIH  
0
0.4  
V
V
V
Iint = 3mA  
1.26  
VIL  
0.54  
SCL SDA input 'H'/'L'Current  
I2C SDA Output 'L' Voltage  
IIHL  
-10  
10  
uA  
VOL  
0
0.4  
V
Iol = 3mA  
*1 White LED is used as optical source. “Lx” is calculated from ADC count valus.  
Object  
*2 Measuring Condition  
(90% reflective white sheet)  
d=50mm  
Product  
Object: 90% reflective white sheet (50×50mm Kodak Gray Card Plus)  
Distance between the object and the product is 50mm. No glass or apertures is above the product.  
www.rohm.com  
2/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Transmitter Electrical characteristics ( Ta = 25, unless otherwise noted. )  
Parameter  
Symbol  
VF  
Min.  
Typ.  
1.6  
Max.  
1.95  
Units  
V
Conditions  
LED current =100mA  
LED Forward Voltage  
LED Peak Emission Wavelength  
λp  
940  
nm  
I2C bus timing characteristics ( VDD= 3.0V, Ta = 25, unless otherwise noted. )  
Parameter  
I2C SCL Clock Frequency  
I2C START Condition Hold Time  
Symbol  
fSCL  
Min.  
0
Typ.  
Max. Units  
Conditions  
400  
kHz  
us  
tHD;STA  
0.6  
I2C 'L' Period of the SCL Clock  
I2C 'H' Period of the SCL Clock  
tLOW  
tHIGH  
1.3  
0.6  
us  
us  
I2C S START Condition Set up time  
tSU;STA  
0.6  
us  
I2C Data Hold Time  
I2C Data Setup Time  
I2C STOP Condition Set up Time  
tHD;DAT  
tSU;DAT  
tSU;STO  
0
us  
ns  
us  
100  
0.6  
I2C Bus Free Time  
tBUF  
1.3  
us  
I2C Data Vaild Time  
tVD;DAT  
tVD;ACK  
us  
us  
0.9  
0.9  
I2C Data Vaild Acknowledge Time  
I2C bus F/S-mode timing diagram  
www.rohm.com  
3/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Package outlines  
(φ1.1)  
(1.13)  
(1.22)  
Detector  
Emitter  
(0.87)  
3.94  
S
tamp (For the control of our company)  
S
tamp (Month, Day)  
1PIN  
PIN  
1
2
3
4
1-VDD  
2-SCL  
3-GND  
4-LEDA  
5-LEDK  
6-LDR  
7-INT  
8-SDA  
1.025  
0.425  
5 U 8 1 0 4  
0.425  
1.025  
8
7
6
5
1) Unit: mm  
2) Tolerance shall be ±0.2mm unless otherwise noted.  
PIN  
Number  
Symbol  
Description  
1
2
3
4
5
6
VDD  
SCL  
GND  
LEDA  
LEDK  
LDR  
Supply Voltage  
I2C Clock, Input  
Ground  
LED Supply Voltage  
LED Cathode  
LED Driver  
7
8
INT  
PS or ALS Interrupt Pin, Open Drain  
I2C Serial Data, Input/Output  
SDA  
www.rohm.com  
4/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Block diagram and block explanation  
I2C Interface  
I2C bus interface. f/s mode. 1.8V interface.  
POR  
Power on reset function.  
OSC  
Internal oscillator.  
Timing Controller  
Internal management block for proximity sensor and ambient light sensor.  
PS Control Logic  
This block controls proximity sensor ADC.  
LED Pulse Gen  
LED current generator. LED current can be adjusted by ALS_PS_CONTROL (42h) register.  
IrLED Driver.  
IrLED driver block.  
PD_Visible + Infrared, PD_Infrared  
Photo diodes for ambient light sensor.  
16bit ADC  
AD converter for ALS.  
ALS Control Logic  
This block controls ambient light sensor ADC.  
PD_PS  
Photo diode for proximity sensor.  
DC Light Rejection Amp  
DC light is rejected in this block.  
Linear ADC  
AD converter for proximity sensor.  
www.rohm.com  
5/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Terminal description  
PIN  
No.  
1
Terminal Name  
Equivalent Circuit  
Function  
VDD  
SCL  
Power supply terminal  
2
I2C bus Interface SCL terminal  
3
4
5
GND  
LEDA  
LEDK  
GND terminal  
LED supply voltage  
LED Cathode, Please connect to LDR  
PIN when using internal LED driver  
circuit.  
6
7
8
LDR  
Nch open drain LED terminal. LED  
current and emitting pulse width can be  
defined by internal register.  
INT  
Nch open drain output.  
Interrupt setting is defined by internal  
register.  
SDA  
C bus Interface SDA terminal  
www.rohm.com  
6/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Structure figure  
NO.  
Name  
LSI  
Material  
Si  
Ir LED  
GaAlAs  
Au  
Au wire  
Insulating bonding paste  
Conductive bonding paste  
Transparent mold resin  
Light-resistant mold resin  
Epoxy resin  
Ag + Epoxy resin  
Epoxy resin  
Epoxy resin  
Epoxy resin  
Cu,Ni,Au(Electrode)  
PCB  
www.rohm.com  
7/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Unit:mm  
Taping standard  
Note1.Unspecified tolerance shall be ±0.2.  
2.Dimensions and marking of reels are in accordance with  
JEITA’s standard ET-7103A.  
+0.1  
0
φ1.5  
±0.1  
4
±0.05  
2
1pin  
±0.1  
1.55  
φ1.5±0.1  
2.75±0.05  
Pull direction  
±1  
15.4  
Pull direction  
Packaging quantity: 2,500 pcs/reel  
www.rohm.com  
8/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Packaging requirements  
1. Packaging  
(1)Quantity per reel is 2,500pcs  
(2)Each reel are packed in aluminum bag.  
The size of aluminum bag is 240(a)×240(b)mm.  
(3)Aluminum bag is pressure sealed on all four directions.  
a
2. Label indication  
The following information shall be described on a aluminum bag label; ROHM type number, packaging  
quantity, and lot number  
Example】  
TYPE NO.  
QR code  
Bar code  
Packaging  
quantity  
Bar code  
Country of origin  
Inspection stamp  
Example of lot number marking】  
Factory mark  
14 16  
00820  
Serial number of lot  
Manufacture week  
Manufacture year  
3. Factory (Country of origin)  
ROHM ELECTRONICS DALIAN CO., LTD. (CHINA)  
www.rohm.com  
9/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Attention points in handling  
This product is developed as an optical proximity sensor and ambient light sensor with IrLED; suitable for  
reflow soldering. Please take care of following points when using this device.  
1. Storage  
There will be the possibility that the moisture influences the reliability of this product during the reflow  
soldering process. Hence, the product is packed in the anti-moisture bag. When using the product,  
please keep following conditions.  
Storage condition ・ ・ ・ ・Storage Temperature 5 ~ 30℃  
Storage Humidity less than 70%RH  
Process after opening the bag Please storage the product at the temperature between 5 30℃  
and the moisture less than 70% RH within 168 hours.  
Baking (dry) process  
・ ・ ・If the above conditions aren’t kept, please apply the  
baking process. The baking process should be executed  
under the reel condition at 60±5for 1224 hours. During  
the baking process, the reel and emboss tape should be  
handled with care.  
2. Designing of PCB  
The figure below is the recommended solder pattern. This pattern may need to be adjusted to mounting  
conditions and solder paste.  
P0.97×3=2.91  
8
7
6
5
1
2
3
4
0.72  
0.25  
3.63  
3. Reflow soldering  
Number of reflow process shall be less than 2 times. When the second reflow process is performed, the  
interval between the first and the second reflow process shall be as short as possible to prevent absorption of  
moisture into the resin of the product. Cooling process to the room temperature shall be required between the  
first and the second reflow process.  
The following temperature condition is recommended for the reflow soldering. We would like you to evaluate  
your reflow condition because the condition is affected by the PCB size, the product heat-resistivity or the  
mount density  
www.rohm.com  
10/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
4. Reflow temperature profile  
Package surface temperature )  
www.rohm.com  
11/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Command set  
Address  
40h  
41h  
42h  
43h  
44h  
45h  
46h  
47h  
48h  
49h  
4Ah  
4Bh  
4Ch  
4Dh  
4Eh  
4Fh  
50h  
51h  
52h  
53h  
54h  
92h  
TYPE  
default  
Register name  
SYSTEM_CONTROL  
MODE_CONTROL  
ALS_PS_CONTROL  
PS_CONTROL  
Register function  
System control  
RW  
RW  
RW  
RW  
R
0Ah  
00h  
02h  
01h  
00h  
00h  
00h  
00h  
00h  
00h  
00h  
FFh  
0Fh  
00h  
00h  
FFh  
FFh  
00h  
00h  
00h  
00h  
E0h  
ALS, PS function setting  
ALS Gain, PS LED Driver  
PS Gain, PS interrupt persistence  
PS data low byte  
PS_DATA_LSBs  
PS data high byte  
R
PS_DATA_MSBs  
ALS_DATA0_LSBs  
ALS_DATA0_MSBs  
ALS_DATA1_LSBs  
ALS_DATA1_MSBs  
INTERRUPT  
ALS DATA0 low byte  
R
ALS DATA0 high byte  
R
ALS DATA1 low byte  
R
ALS DATA1 high byte  
R
Interrupt control  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
R
PS upper threshold low byte  
PS upper threshold high byte  
PS lower threshold low byte  
PS lower threshold high byte  
ALS DATA0 upper threshold low byte  
ALS DATA0 upper threshold high byte  
ALS DATA0 lower threshold low byte  
ALS DATA0 lower threshold high byte  
PS offset low byte  
PS_TH_LSBs  
PS_TH_MSBs  
PS_TL_LSBs  
PS_TL_MSBs  
ALS_DATA0_TH_LSBs  
ALS_DATA0_TH_MSBs  
ALS_DATA0_TL_LSBs  
ALS_DATA0_TL_MSBs  
PS_OFFSET_LSBs  
PS_OFFSET_MSBs  
MANUFACT_ID  
PS offset high byte  
MANUFACT ID  
SYSTEM_CONTROL ( 40h )  
Field  
Description  
Bit  
7
TYPE  
RW  
0 : initial reset is not started  
1 : initial reset is started  
SW reset  
0 : INT pin status is not initialized  
1 : INT pin become inactive ( high impedance )  
001010  
INT reset  
Part ID  
6
RW  
R
5 : 0  
default value 0Ah  
www.rohm.com  
12/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
MODE_CONTROL ( 41h )  
Field  
Bit  
TYPE  
RW  
Description  
0 : ALS Standby  
1 : ALS Enable  
0 : PS Standby  
1 : PS Enable  
ALS_EN  
7
6
5
4
PS_EN  
RW  
RW  
0 : PS LED pulse width is typ 200us  
1 : PS LED pulse width is typ 330us (PS sensor out is doubled)  
PS_PULSE  
PS Operating  
mode  
0 : normal mode  
1 : twice measurement mode  
RW  
RW  
Measurement time 3 : 0  
Shown in table below  
default value 00h  
Value  
0000  
0001  
0010  
0011  
0100  
0101  
0110  
0111  
ALS  
PS  
standby  
10ms  
Value  
1000  
1001  
1010  
1011  
1100  
1101  
1110  
1111  
ALS  
400ms *1  
400ms *1  
400ms *2 standby  
400ms *2  
50ms *3  
PS  
50ms  
100ms  
standby  
standby  
standby  
standby  
standby  
100ms  
100ms  
100ms  
40ms  
100ms  
400ms  
50ms  
100ms  
400ms  
400ms  
50ms  
Forbidden  
Forbidden  
Forbidden  
*1 Measurement time is 100ms, sleep time is 300ms.  
*2 High sensitivity mode, measurement time is 400ms.  
*3 Additional software process is necessary. Please refer to P.18  
ALS_PS_CONTROL ( 42h )  
Field  
Bit  
TYPE  
RW  
Description  
Reserved  
7 : 6  
Write 00  
Gain control of ALS DATA 0  
00 : x1 Gain mode  
01 : x2 Gain mode  
10 : x64 Gain mode  
11 : x128 Gain mode  
Gain control of ALS DATA 1  
00 : x1 Gain mode  
01 : x2 Gain mode  
10 : x64 Gain mode  
11 : x128 Gain mode  
00 : 25mA  
ALS DATA0 GAIN  
5 : 4  
RW  
ALS DATA1 GAIN  
LED CURRENT  
3 : 2  
1 : 0  
RW  
RW  
01 : 50mA  
10 : 100mA  
11 : 200mA  
default value 02h  
www.rohm.com  
13/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
PS_CONTROL ( 43h )  
Field  
Bit  
TYPE  
R
Description  
00: Ambient infrared level is low  
01: Ambient infrared level is high  
Ambient_Ir_Flag 7 : 6  
11: Ambient infrared level is too high  
00: PS GAIN ×1  
01: PS GAIN ×2  
10: PS GAIN ×4  
PS_GAIN  
5 : 4  
RW  
11: Forbidden  
PS interrupt persistence setting  
0000:Interrupt becomes active at each measurement end  
0001:Interrupt status is updated at each measurement end  
PERSISTENCE 3 : 0  
RW 0010:Interrupt status is updated if two consecutive threshold  
judgments are the same  
0011 or more: Interrupt status is updated if threshold judgments  
are the same over consecutive set times  
default value 01h  
PS_DATA_LSBs ( 44h )  
Register  
TYPE  
R
7
27  
6
26  
5
25  
4
24  
3
23  
2
22  
1
21  
0
20  
PS_DATA_LSBs  
default value 00h  
PS_DATA_MSBs ( 45h )  
Register  
TYPE  
7
0
6
0
5
0
4
0
3
211  
2
210  
1
29  
0
28  
PS_DATA_MSBs  
R
default value 00h  
ALS_DATA 0_LSBs( 46h )  
Register  
TYPE  
R
7
27  
6
26  
5
25  
4
24  
3
23  
2
22  
1
21  
0
20  
ALS_DATA0_LSBs  
default value 00h  
ALS_DATA 0_MSBs( 47h )  
Register  
TYPE  
R
7
215  
6
214  
5
213  
4
212  
3
211  
2
210  
1
29  
0
28  
ALS_DATA0_MSBs  
default value 00h  
ALS_DATA 1_LSBs( 48h )  
Register  
TYPE  
R
7
27  
6
26  
5
25  
4
24  
3
23  
2
22  
1
21  
0
20  
ALS_DATA1_ LSBs  
default value 00h  
ALS_DATA 1_MSBs( 49h )  
Register  
TYPE  
R
7
215  
6
214  
5
213  
4
212  
3
211  
2
210  
1
29  
0
28  
ALS_DATA1_MSBs  
default value 00h  
www.rohm.com  
14/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
INTERRUPT ( 4Ah )  
Field  
Bit  
7
TYPE  
R
Description  
0 : PS interrupt signal inactive  
1 : PS interrupt signal active  
PS INT STAUTS  
0 : ALS interrupt signal inactive  
1 : ALS interrupt signal active  
00 : Only PS_TH_H is effective  
01 : PS_TH_H and PS_TH_L are effective as hysteresis  
10 : PS_TH_H and PS_TH_L are effective as outside detection  
11 : Forbidden  
ALS INT STATUS  
INT MODE  
6
R
5 : 4  
RW  
0 : Interrupt output ‘L’ is stable if newer measurement result is  
also interrupt active  
1 : Interrupt output ‘L’ is de-assert and re-assert if newer  
measurement result is also interrupt active  
INT ASSERT  
INT LATCH  
INT TRIG  
3
2
RW  
0 : INT pin is latched until INTERRUPT register is read or  
RW initialized  
1 : INT pin is updated after each measurement  
00 : INT pin is inactive  
01 : Triggered by only PS measurement  
10 : Triggered by only ALS measurement  
11 : Triggered by PS and ALS measurement  
1 : 0  
RW  
default value 00h  
1. In case of PS/ALS outside detection mode, interrupt signal inactive means that measurement result is  
within registered threshold level; interrupt signal active means measurement result is out of registered  
threshold level.  
2. In case of PS hysteresis mode, once interrupt signal becomes active, INT status is kept until mea  
surement result  
becomes less than PS_TH_L register value.  
3. Persistence is for PS only.  
4. INT Pin become inactive (high impedance) if INTERRUPT register is read, initialized, or SW reset  
is started.  
PS_TH_LSBs ( 4Bh )  
Register  
TYPE  
RW  
7
27  
6
26  
5
25  
4
24  
3
23  
2
22  
1
21  
0
20  
PS_TH_LSBs  
default value FFh  
PS_TH_MSBs ( 4Ch )  
Register  
TYPE  
RW  
7
0
6
0
5
0
4
0
3
211  
2
210  
1
29  
0
28  
PS_TH_MSBs  
default value 0Fh  
PS_TL_LSBs ( 4Dh )  
Register  
TYPE  
RW  
7
27  
6
26  
5
25  
4
24  
3
23  
2
22  
1
21  
0
20  
PS_TL_LSBs  
default value 00h  
PS_TL_MSBs ( 4Eh )  
Register  
TYPE  
RW  
7
0
6
0
5
0
4
0
3
211  
2
210  
1
29  
0
28  
PS_TL_MSBs  
default value 00h  
www.rohm.com  
15/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
ALS_DATA0_TH_LSBs ( 4Fh )  
Register  
TYPE  
RW  
7
27  
6
26  
5
25  
4
24  
3
23  
2
22  
1
21  
0
20  
ALS_DATA0_TL_ LSBs  
default value FFh  
ALS_DATA0_TH_MSBs ( 50h )  
Register  
ALS_DATA0_TH_MSBs  
TYPE  
RW  
7
6
5
4
3
2
1
0
215  
214  
213  
212  
211  
210  
29  
28  
default value FFh  
ALS_DATA0_TL_LSBs ( 51h )  
Register  
ALS_DATA0_TH_LSBs  
TYPE  
RW  
7
6
5
4
3
2
1
0
27  
26  
25  
24  
23  
22  
21  
20  
default value 00h  
ALS_DATA0_TL_MSBs ( 52h )  
Register  
ALS_DATA0_TL_ MSBs  
TYPE  
RW  
7
6
5
4
3
2
1
0
215  
214  
213  
212  
211  
210  
29  
28  
default value 00h  
PS _OFFSET_LSBs ( 53h )  
Register  
PS_OFFSET_LSBs  
TYPE  
RW  
7
6
5
4
3
2
1
0
27  
26  
25  
24  
23  
22  
21  
20  
default value 00h  
PS _OFFSET_MSBs ( 54h )  
Field  
Bit  
TYPE  
R
Description  
Ignored  
Resereved  
7 : 2  
Shown below  
PS_OFFSET_MSBs  
1 : 0  
RW  
default value 00h  
Register  
PS_OFFSET_MSBs  
TYPE  
RW  
7
-
6
-
5
-
4
-
3
-
2
-
1
0
29  
28  
default value 00h  
When changed these registers, PS_DATA (44h,45h) becomes  
([PS measured value])- ([PS offset value]) offset value])  
MANUFACT_ID ( 92h )  
Field  
MANUFACT_ID  
Bit  
7 : 0  
TYPE  
R
Description  
11100000  
default value E0h  
www.rohm.com  
16/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
I2C bus communication  
1) Slave address “0111000” (38h)  
2) Main write format  
1. Case of “Indicating register address”  
Slave Address  
Indicate register address  
010XXXXX  
W
0
ST  
ACK  
ACK SP  
0111000  
2. Case of "writing data register after indicating register address"  
Indicate register address  
010XXXXX  
Slave Address  
0111000  
W
0
ST  
ACK  
ACK  
Data specified at register address  
field  
Data specified at register  
ACK  
ACK  
address  
field + N  
ACK SP  
RPR-0521RS continues to write data with address increments until master issues stop condition.  
Write cycle is 40h - 41h - 42h - 43h - 44h - 45h - 46h ……… 53h – 54h - 40h ………  
Ex) If register address field is 42h, then RPR-0521RS writes data like below.  
42h - 43h - 44h - 45h - 46h ……… 53h - 54h - 40h…….  
Register writing continues until master issues stop condition.  
3) Main read format  
1. Case of “Reading data after indicating register address” (Master issues restart condition)  
Slave Address  
0111000  
Indicate register address  
010XXXXX  
W
0
ST  
ST  
ACK  
ACK  
ACK  
Slave Address  
0111000  
R
1
Data specified at register address  
field  
ACK  
Data specified at register  
address field + 1  
Data specified at register  
ACK  
ACK  
NACK SP  
address field + N  
2. Case of “Reading data from specified register address”  
Slave Address  
0111000  
R
1
Data specified at register address  
field  
ST  
ACK  
ACK  
Data specified at register  
address field + 1  
Data specified at register  
ACK  
ACK  
NACK SP  
address field + N  
RPR-0521RS continues to read data from specified address field until master issues stop condition.  
Read cycle is 40h - 41h - 42h - 43h - 44h - 45h - 46h ……… 53h - 54h - 40h ………  
Ex) If register address field is 53h, then RPR-0521RS reads data like below.  
53h - 54h - 40h ………  
Register reading continues until master issues stop condition.  
from master to slave  
from slave to master  
RPR-0521RS operates as I2C bus slave device.  
Please refer formality I2C bus specification of NXP semiconductors.  
www.rohm.com  
17/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Notice in case of using ALS 50ms measurement mode  
At 50msec mode (MODE_CONTROL (41h) <3:0>:"1100"), full scale count of ALS_DATA0 (46h, 47h) and  
ALS_DATA1 (48h, 49h) become half of other modes.  
ALS_DATA0<15> or ALS_DATA1<15> is a flag indicating the data overflow.  
Consequently, additional function as follows is necessary in software at 50msec mode.  
<Necessary software function>  
if (DATA0<15>==1){DATA0<15:0>=7FFFh}  
if (DATA1<15>==1){DATA1<15:0>=7FFFh}  
*This function is necessary at 50msec mode only.  
*This function must be executed before Lux calculation given  
PS twice measurement mode  
RPR-0521RS has two PS operating modes that can be selected by MODE_CONTROL(41h).  
At normal mode, PS measurement is done only once in each measurement period.  
At twice measurement mode, PS measurement is done twice in each measurement period.  
By using twice measurement mode, quicker response of interrupt is available than normal mode  
when persistence function is active.  
Measurement interval  
Normal  
mode  
Twice
measurement  
mode  
www.rohm.com  
18/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Notice in case of changing register value  
When master changes a value of ALS_PS_CONTROL(42h) (For example, ALS gain), it is necessary to stop the  
ALS/PS measurement in progress and re-start the measurement from the beginning (“Interrupt & Re-start”  
sequence). The way to “Interrupt & Re-start” is to write some data to MODE CONTROL(41h). By writing both  
MODE_CONTROL(41h) and ALS_PS_CONTROL(42h) with address increments access, it is possible to change  
the register setting and “Interrupt & Re-start” the measurement at the same time.  
Power on reset function  
RPR-0521RS series have power on reset function. By operating this function, all of registers are reset when the  
power is supplied.  
Please note followings and design the application.  
Power on time : t1  
t1 > 2ms  
RPR-0521RS series become operational after 2ms since VDD voltage crosses 2.0V from being less  
than 0.4V.  
Power off time :t2  
t2 > 1ms  
Before the power is supplied, VDD voltage should be less than 0.4V at least for 1ms.  
VCC  
* “active  
“active” means that RPR-0521RS series are correctly operational.  
INT terminal is high impedance when VDD is supplied.  
When VDD voltage become less than 2.0V, the power should be supplied again in accordance with the  
above sequence.  
www.rohm.com  
19/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Interrupt function  
Interrupt function compares ALS and PS measurement result to preset interrupt threshold level. Interrupt status  
can be monitored by INT pin. Interrupt function is able to be controlled by INTTERRUPT register ( 4Ah ).  
Interrupt persistence is defined at PERSIST register ( 43h ). Persistence function is for PS only. There are two  
output modes about interrupt function ( latched mode and unlatched mode ).  
INT pin is Nch open drain terminal, so this terminal should be pull-up to some kind of voltage source by an  
external resistance. INT terminal is high impedance when VCC is supplied.  
INT terminal keeps previous state when power down command is sent. So it is recommended to set INT terminal  
to high impedance before sending power down command. VDD current (approximately 25uA at VDD=2.5V) is  
consumed during INT terminal is active. INT terminal can be changed to high impedance by writing INT reset  
command, reading INTERRUPT register ( 4Ah ), or resetting software.  
ex1 ) In case of using PS ‘H’ threshold INTERRUPT register 4Ah<5:4> : ”00”)  
In case of unlatched mode, if the measurement value exceeds the PS interrupt threshold ‘H’ value, the interrupt  
becomes active. And if the measurement value is below the threshold ‘H’ value, the interrupt becomes inactive.  
In case of latched mode, once the interrupt becomes active, it keeps the status until INT reset command is sent  
or interrupt register is read.  
In case of persistence function is set to active, if the INT is inactive, it keeps inactive status until the measurement  
value exceeds the threshold ‘H’ value continuously. If the interrupt is active, it keeps active status until INT reset  
command is sent, interrupt register is read, or the measurement value is below threshold ‘H’ value continuously  
( case of unlatched mode ).  
INT pin reset command is sent or master reads INTERRUPT  
Latched mode  
Unlatched mode  
Unlatched mode  
Persistence = 2  
Active  
Inactive  
PS interrupt threshold level  
Sequential measurement result  
time  
www.rohm.com  
20/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
ex2 ) In case of using PS hysteresis mode INTERRUPT register 4Ah<5:4> : ” 01”)  
In case of unlatched mode, if the measurement value exceeds the PS interrupt threshold ‘H’ value, the interrupt  
becomes active. And if the measurement value is below the threshold ‘L’ value, the interrupt becomes inactive.  
In case of latched mode, once the interrupt becomes active, it keeps the status until INT reset command is sent  
or interrupt register is read.  
In case of persistence function is set to active, if the INT is inactive, it keeps inactive status until the measurement  
value exceeds the threshold ‘H’ value continuously. If the interrupt is active, it keeps active status until INT reset  
command is sent, interrupt register is read, or the measurement value is below threshold ‘L’ value continuously.  
INT pin reset command is sent or master reads INTERRUPT  
Latched mode  
Unlatched mode  
Unlatched mode  
Persistence = 2  
Active  
Inactive  
PS interrupt threshold ‘H’ level  
PS interrupt threshold ‘L’ level  
Sequential measurement result  
time  
www.rohm.com  
21/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
ex3 ) In case of using PS outside threshold mode INTERRUPT register 4Ah<5:4> : ” 10”)  
In case of unlatched mode, if the measurement value is within the range set by PS interrupt threshold ‘H’ and ‘L’  
value, the interrupt becomes inactive. And if the measurement value is out of the range set by threshold ‘H’ and  
‘L’ value, the interrupt becomes active.  
In case of latched mode, once the interrupt becomes active, it keeps active status until INT reset command is  
sent, or interrupt register is read.  
INT pin reset command is sent or master reads INTERRUPT  
Latched mode  
Unlatched mode  
Active  
Inactive  
PS interrupt threshold ‘H’ level  
PS interrupt threshold ‘L’ level  
Sequential measurement result  
time  
www.rohm.com  
22/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
ex4 ) Ambient light sensor interrupt function  
In case of unlatched mode, if the measurement value (ALS_DATA0) is within the range set by ALS interrupt  
threshold ‘H’ and ‘L’ value, the interrupt becomes inactive. And if the measurement value (ALS_DATA0) is out of  
the range set by threshold ‘H’ and ‘L’ value, the interrupt becomes active.  
In case of latched mode, once the interrupt becomes active, it keeps active status until INT reset command is  
sent, or interrupt register is read.  
INT pin reset command is sent or master reads INTERRUPT  
Latched mode  
Unlatched mode  
Active  
Inactive  
ALS interrupt threshold ‘H’ level  
ALS interrupt threshold ‘L’ level  
Sequential measurement result  
time  
www.rohm.com  
23/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Datasheet  
RPR-0521RS  
Cautions for using this product  
1) Absolute Maximum Ratings  
An excess in the absolute maximum ratings, such as supply voltage, temperature range of  
operating conditions ( Topr ), etc., can break down devices, and make impossible to identify  
breaking mode such as short circuit or open circuit. If any special mode exceeding the absolute  
maximum ratings is assumed, consideration should be given to take physical safety measures  
including the use of fuses.  
2) GND voltage  
It is necessary to keep the potential of the GND terminal at the minimum potential of all terminals  
at any time.  
3) Short circuit between terminals and erroneous mounting  
In order to mount products on the set PCB, pay thorough attention to the direction and offset of the  
products. Erroneous mounting can break down the products. Furthermore, if a short circuit occurs  
due to foreign matters entering between terminals or between the terminal and the power supply or  
the GND terminal, the products can break down.  
4) Operation in strong electromagnetic field  
Be noted that using products in the strong electromagnetic field can malfunction.  
5) Inspection with set PCB  
In order to mount or dismount the set PCB to/from the jig for the inspection process, be sure to turn  
OFF the power supply. In addition, pay attention to protection against static electricity.  
6) Dust or scratch  
Dusts or scratch on the photo detector may affect the optical characteristics. Please handle it with  
care.  
7) Rush current  
When power is supplied to the product, it is possible that the internal logic may be unstable and  
rush current may flow instantaneously. Therefore, give special consideration to power coupling capacitance,  
power supply, and circuit design.  
www.rohm.com  
24/24  
c
2016 ROHM Co., Ltd. All rights reserved.  
2016.01.28 - Rev.001  
Notice  
N o t e s  
1) The information contained herein is subject to change without notice.  
2) Before you use our Products, please contact our sales representative and verify the latest specifica-  
tions :  
3) Although ROHM is continuously working to improve product reliability and quality, semicon-  
ductors can break down and malfunction due to various factors.  
Therefore, in order to prevent personal injury or fire arising from failure, please take safety  
measures such as complying with the derating characteristics, implementing redundant and  
fire prevention designs, and utilizing backups and fail-safe procedures. ROHM shall have no  
responsibility for any damages arising out of the use of our Poducts beyond the rating specified by  
ROHM.  
4) Examples of application circuits, circuit constants and any other information contained herein are  
provided only to illustrate the standard usage and operations of the Products. The peripheral  
conditions must be taken into account when designing circuits for mass production.  
5) The technical information specified herein is intended only to show the typical functions of and  
examples of application circuits for the Products. ROHM does not grant you, explicitly or implicitly,  
any license to use or exercise intellectual property or other rights held by ROHM or any other  
parties. ROHM shall have no responsibility whatsoever for any dispute arising out of the use of  
such technical information.  
6) The Products are intended for use in general electronic equipment (i.e. AV/OA devices, communi-  
cation, consumer systems, gaming/entertainment sets) as well as the applications indicated in  
this document.  
7) The Products specified in this document are not designed to be radiation tolerant.  
8) For use of our Products in applications requiring a high degree of reliability (as exemplified  
below), please contact and consult with a ROHM representative : transportation equipment (i.e.  
cars, ships, trains), primary communication equipment, traffic lights, fire/crime prevention, safety  
equipment, medical systems, servers, solar cells, and power transmission systems.  
9) Do not use our Products in applications requiring extremely high reliability, such as aerospace  
equipment, nuclear power control systems, and submarine repeaters.  
10) ROHM shall have no responsibility for any damages or injury arising from non-compliance with  
the recommended usage conditions and specifications contained herein.  
11) ROHM has used reasonable care to ensur the accuracy of the information contained in this  
document. However, ROHM does not warrants that such information is error-free, and ROHM  
shall have no responsibility for any damages arising from any inaccuracy or misprint of such  
information.  
12) Please use the Products in accordance with any applicable environmental laws and regulations,  
such as the RoHS Directive. For more details, including RoHS compatibility, please contact a  
ROHM sales office. ROHM shall have no responsibility for any damages or losses resulting  
non-compliance with any applicable laws or regulations.  
13) When providing our Products and technologies contained in this document to other countries,  
you must abide by the procedures and provisions stipulated in all applicable export laws and  
regulations, including without limitation the US Export Administration Regulations and the Foreign  
Exchange and Foreign Trade Act.  
14) This document, in part or in whole, may not be reprinted or reproduced without prior consent of  
ROHM.  
Thank you for your accessing to ROHM product informations.  
More detail product informations and catalogs are available, please contact us.  
ROHM Customer Support System  
http://www.rohm.com/contact/  
www.rohm.com  
© 2015 ROHM Co., Ltd. All rights reserved.  
R1102  
A

相关型号:

RPR-06-B

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-06-K

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-06-R

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-08-B

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-08-K

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-08-R

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-10-B

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-10-K

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-10-R

PIANO TYPE DIP SWITCH
DBLECTRO

RPR-220

Reflective photosensor (photoreflector)
ROHM

RPR-220PC30N

Reflective photosensor (photoreflector)
ROHM

RPR-220PC30N_10

Reflective photosensor (photoreflector)
ROHM