VEML6070
www.vishay.com
Vishay Semiconductors
Rev. 1.7, 05-Dec-16
6
Document Number: 84277
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Digital Interface
VEML6070 contains a 8-bit command register written via the I
2
C bus. All operations can be controlled by the command register.
The simple command structure enables users to easily program the operation setting and latch the light data from VEML6070.
In figure 9, VEML6070 I
2
C command format description for reading and writing operation between the host and VEML6070 are
shown. The white sections indicate host activity and the gray sections indicate VEML6070’s acknowledgement of the host
access activity.
Fig. 9 - VEML6070 Command Protocol
Slave Address and Function Description
The VEML6070 has one slave address used for write functions (command) and two slave addresses used for read functions
(UV data LSB and MSB).
The 7-bit address for write functions is 38h = 0111000x resulting in a 70h = 01110000 8-bit address. The 7-bit addresses
for read functions are 38h = 0111000x for the UV Data LSB and 39h = 0111001x for the UV data MSB. This results in a
71h = 01110001 and 73h = 01110011 8-bit address, respectively. The 7-bit address 39h should not be used for a write function.
Command Register Format
VEML6070 provides a command to set device operations and sensitivity adjustment. This command is 8-bit long and includes
4 parameter groups for programming. The command format descriptions and register setting explanations are shown in
tables 1 and 2.
TABLE 1 - COMMAND REGISTER BITS DESCRIPTION
COMMAND FORMAT
Reserved ACK ACK_THD IT Reserved SD
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
00ACKTHDIT1IT01SD
DESCRIPTION
Reserved Reserved
ACK Acknowledge activity setting
ACK_THD Acknowledge threshold window setting for byte mode usage
IT Integration time setting
SD Shutdown mode setting
S Slave address Rd A Light data (1 byte) A P
S Slave address Wr A Command (1 byte) A P
Send byte → write command to UVS
Receive byte → read data from UVS
S = start condition
P = stop condition
A = acknowledge
Shaded area = VEML6070 acknowledge