As7263 DS000476 1-00
As7263 DS000476 1-00
As7263 DS000476 1-00
Figure 1:
Added Value of Using AS7263
Benefits Features
Applications
The AS7263 applications include:
• Product authentication
• Bank note/document validation
• Chemical analysis
• Food/beverage safety
Block Diagram
The functional blocks of this device are shown below:
Figure 2:
AS7263 NIR Spectral_ID System
3V
100nF 10uF
3V
VDD1 VDD2
3V
RX / SCL_S
uP
TX / SDA_S LED_IND
INT LED_DRV
AS7263 Light
MOSI 6-channel
Source
Flash MISO NIR
Memory SCK Sensor Light in
CSN_EE Reflective
GND Surface
Figure 3:
Pin Diagram (Top View)
20 16
1 15
5 11
6 10
Figure 4:
Pin Description
6 CSN_EE Chip Select for External Serial Flash Memory, Active LOW
16 GND Ground
Absolute Maximum Ratings Stresses beyond those listed under Absolute Maximum Ratings
may cause permanent damage to the device. These are stress
ratings only. Functional operation of the device at these or any
other conditions beyond those indicated under
Electrical Characteristics is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability. The device is not designed for high energy UV
(ultraviolet) environments, including upward looking outdoor
applications, which could affect long term optical performance.
Figure 5:
Absolute Maximum Ratings
Electrical Parameters
Input/Output Pin
VDD_IO -0.3 VDD+0.3 V Input/Output Pin to GND
Voltage
Input Current
ISCR ± 100 mA JESD78D
(latch-up immunity)
Electrostatic Discharge
Electrostatic Discharge
ESDHBM ± 1000 V JS-001-2014
HBM
Electrostatic Discharge
ESDCDM ± 500 V JSD22-C101F
CDM
Storage Temperature
TSTRG -40 85 °C
Range
IPC/JEDEC J-STD-020
The reflow peak soldering
temperature (body
temperature) is specified
according to IPC/JEDEC
Package Body
TBODY 260 °C J-STD-020
Temperature
“Moisture/Reflow
Sensitivity Classification
for Non-hermetic Solid
State Surface Mount
Devices.”
Relative Humidity
RHNC 5 85 %
(non-condensing)
Electrical Characteristics All limits are guaranteed with VDD = VDD1 = VDD2 = 3.3V,
TAMB=25°C. The parameters with min and max values are
guaranteed with production tests or SQC (Statistical Quality
Control) methods.
Figure 6:
Electrical Characteristics of AS7263
VDD1
Voltage Operating Supply UART Interface 2.97 3.3 3.6 V
/VDD2
VDD1
/VDD2
Voltage Operating Supply I2C Interface 2.7 3.3 3.6 V
Internal RC Oscillator
Internal RC Oscillator
FOSC 15.7 16 16.3 MHz
Frequency
Temperature Sensor
Indicator LED
Voltage Range of
VLED Vds of current sink 0.3 VDD V
Connected LED
LED_DRV
Voltage Range of
VLED Vds of current sink 0.3 VDD V
Connected LED
0.7*
VIH CMOS Logic High Input VDD V
VDD
0.3*
VIL CMOS Logic Low Input 0 V
VDD
VDD -
VOH CMOS Logic High Output I=1mA V
0.4
Note(s):
1. 15μA over temperature
2. Guaranteed, not tested in production
Timing Characteristics
Figure 7:
AS7263 I²C Slave Timing Characteristics
I²C Interface
Hold Time
tHS:STA 0.6 μs
(Repeated) START
I/O Capacitance
CI/O 10 pF
(SDA, SCL)
Figure 8:
I²C Slave Timing Diagram
tLOW
tR tF
SCL
P S tHIGH S P
tHD:STA tHD:DAT tSU:DAT t SU:STA tSU:STO
VIH
SDA
tBUF VIL
Stop Start
Figure 9:
AS7263 SPI Timing Characteristics
SPI Interface
Note(s):
1. Guaranteed, not tested in production
Figure 10:
SPI Master Write Timing Diagram
tCSN_DIS
CSN
SCK
t DO_S tDO_H
HI-Z HI-Z
MISO
Figure 11:
SPI Master Read Timing Diagram
CSN_xx
tSCK_H tSCK_L
SCK
tDI_V
Dont care
MOSI
Optical Characteristics
Figure 12:
Optical Characteristics of AS7263 (Pass Band)(1)
Channel
Symbol Parameter Test Conditions Min Typ Max Unit
(nm)
counts/
R Channel R Incandescent (2), (4) 610 35 (3),(4)
(μW/cm2)
counts/
S Channel S Incandescent (2), (4) 680 35 (3),(4)
(μW/cm2)
counts/
T Channel T Incandescent (2), (4) 730 35 (3),(4)
(μW/cm2)
counts/
U Channel U Incandescent (2), (4) 760 35 (3),(4)
(μW/cm2)
counts/
V Channel V Incandescent (2), (4) 810 35 (3),(4)
(μW/cm2)
counts/
W Channel W Incandescent (2), (4) 860 35 (3),(4)
(μW/cm2)
Full Width
FWHM 20 20 nm
Half Max
Wavelength
Wacc ±5 nm
Accuracy
Dark
GAIN=64,
dark Channel 5 counts
TAMB=25°C
Counts
Angle of
f On the sensors ±20.0 deg
Incidence
Note(s):
1. Calibration & measurements are made using diffused light.
2. Each channel is tested with GAIN = 16x, Integration Time (INT_T) = 166ms and VDD = VDD1 = VDD2 = 3.3V, TAMB=25°C.
3. The accuracy of the channel counts/μW/cm 2 is ±12%.
4. The light source is an incandescent light with an irradiance of ~1500μW/cm 2 (300-1000nm). The energy at each channel (R, S, T, U,
V, W) is calculated with a ±33nm bandwidth around the center wavelengths (610, 680, 730, 760, 810, 860nm).
Typical Operating
Characteristics
Figure 13:
Spectral Responsivity
AS7263
1
0.9
Normalized Responsivity
0.8
0.7
R
0.6
S
0.5
T
0.4
U
0.3 V
0.2 W
0.1
0
550 600 650 700 750 800 850 900 950
λ - Wavelength (nm)
Detailed Description
Figure 14:
Internal Block Diagram
VDD1 VDD2
INT LED_IND
RX / SCL_S 2
UART / I C LED_DRV
TX / SDA_S
I2C_ENB
°C
MISO
Spectral_ID SPI
MOSI
Engine Master
SCK
Multi CSN_SD
Spectral
Sensor
R S T U V W SYNC / RESN
RC Osc
16MHz
GND
Figure 15:
Photo Diode Array
T U S
R V W
Figure 16:
Bank Mode and Data Conversion
BANK Mode 0
One Conversion S, T, U, V
Integration Time
BANK Mode 1
One Conversion R, T, U, W
Integration Time
BANK Mode 2
1st Conversion S, T, U, V
Integration Time
RC Oscillator
The timing generation circuit consists of an on-chip 16MHz,
temperature compensated oscillator, which provides the mas-
ter clock for the AS7263.
Temperature Sensor
The Temperature Sensor is constantly measuring the on-chip
temperature and enables temperature compensation proce-
dures.
Reset
Pulling down the RESN pin for longer than 100ms resets the
AS7263.
Figure 17:
Reset Circuit
RESN
CLE
Reset
Push > 100ms
AS7263
Indicator LED
The LED, connected to pin LED_IND, can be used to indicate
programming progress of the device.
While programming the AS7263 via the external SD card the
indicator LED starts flashing (500ms pulses). When program-
ming is completed the indicator LED is switched off. The LED
(LED0) can be turned ON/OFF via AT commands or via I²C reg-
ister control. The LED sink current is programmable from 1mA,
2mA, 4mA and 8mA.
Interrupt Operation
If BANK is set to Mode 0 or Mode 1 then the data is ready after
the 1 st integration time. If BANK is set to Mode 2 or Mode 3 then
the data is ready after two integration times. If the interrupt is
enabled (INT = 1) then when the data is ready, the INT line is
pulled low and DATA_RDY is set to 1. The INT line is released
(returns high) when the control register is read. DATA_RDY is
cleared to 0 when any of the sensor registers R, S, T, U, V, W are
read. Since each sensor value is 2 bytes, after the 1 st byte is read
the 2 nd byte is shadow-protected in case an integration cycle
completes just after the 1 st byte is read.
In continuous spectral conversion mode (BANK setting of Mode
0, Mode 1, or Mode 2), the sensors continue to gather informa-
tion at the rate of the integration time, hence if the sensor reg-
isters are not read when the interrupt line goes low, it will stay
low and the next cycle’s sensor data will be available in the
registers at the end of the next integration cycle. When the con-
trol register BANK bits are written with a value of Mode 3,
One-Shot Spectral Conversion mode is entered. When a single
set of contemporaneous sensor readings is desired, writing
BANK Mode 3 to the control register immediately triggers ex-
actly two spectral data conversion cycles. At the end of these
two conversion cycles, the DATA_RDY bit is set as for the other
BANK modes. To perform a new One-Shot sequence, the control
register BANK bits should be written with a value of Mode 3
again. This process may continue until the user writes a different
value into the BANK bits.
Figure 18:
I²C Slave Device Address and Physical Registers
Figure 19:
I²C Virtual Register Byte Write
Pseudocode
Poll I²C slave STATUS register;
If TX_VALID bit is 0, a write can be performed on the interface;
Send a virtual register address and set the MSB of the register address to 1 to indicate the pending write;
Poll I²C slave STATUS register;
If TX_VALID bit is 0, the virtual register address for the write has been received and the data may now be written;
Write the data.
Sample Code:
#define I2C_AS72XX_SLAVE_STATUS_REG0x00
#define I2C_AS72XX_SLAVE_WRITE_REG0x01
#define I2C_AS72XX_SLAVE_READ_REG0x02
#define I2C_AS72XX_SLAVE_TX_VALID0x02
#define I2C_AS72XX_SLAVE_RX_VALID0x01
while (1)
{
// Read slave I²C status to see if the write buffer is ready.
status = i2cm_read(I2C_AS72XX_SLAVE_STATUS_REG);
while (1)
{
// Read the slave I2C status to see if the write buffer is ready.
status = i2cm_read(I2C_AS72XX_SLAVE_STATUS_REG) ;
Figure 20:
I²C Virtual Register Byte Read
Pseudocode
Poll I²C slave STATUS register;
If TX_VALID bit is 0, the virtual register address for the read may be written;
Send a virtual register address;
Poll I²C slave STATUS register;
If RX_VALID bit is 1, the read data is ready;
Read the data.
Sample Code:
uint8_t i2cm_AS72xx_read(uint8_t virtualReg)
{
volatile uint8_t status, d ;
while (1)
{
// Read slave I2C status to see if the read buffer is ready.
status = i2cm_read(I2C_AS72XX_SLAVE_STATUS_REG) ;
while (1)
{
// Read the slave I²C status to see if our read data is available.
status = i2cm_read(I2C_AS72XX_SLAVE_STATUS_REG) ;
Figure 21:
I²C Register Set Overview
Addr Name <D7> <D6> <D5> <D4> <D3> <D2> <D1> <D0>
Version Registers
0x00:
HW_Version Hardware Version
0x01
0x02:
FW_Version Firmware Version
0x03
Control Registers
DATA_
0x04 Control_Setup RST INT GAIN Bank RSVD
RDY
LED_
0x07 LED_Control RSVD ICL_DRV ICL_IND LED_IND
DRV
Addr Name <D7> <D6> <D5> <D4> <D3> <D2> <D1> <D0>
0x14:
R_Cal Channel R Calibrated Data (float)
0x17
0x18:
S_Cal Channel S Calibrated Data (float)
0x1B
0x1C:
T_Cal Channel T Calibrated Data (float)
0x1F
0x20:
U_Cal Channel U Calibrated Data (float)
0x23
0x24:
V_Cal Channel V Calibrated Data (float)
0x27
0x28:
W_Cal Channel W Calibrated Data (float)
0x2B
Figure 22:
HW Version Registers
Figure 23:
FW Version Registers
Minor
7:6 R Minor Version [1:0]
Version
Major
7:4 R Major Version
Version
Minor
3:0 R Minor Version [5:2]
Version
Figure 24:
Control Setup Register
Figure 25:
Integration Time Register
Integration time =
7:0 INT_T 0xFF R/W
<value> * 2.8ms
Figure 26:
Device Temperature Register
Device temperature
7:0 Device_Temp R
data byte (°C)
Figure 27:
LED Control Register
Enable LED_DRV
3 LED_DRV 0 R/W
1: Enabled; 0: Disabled
Enable LED_IND
0 LED_IND 0 R/W
1: Enabled; 0: Disabled
Figure 28:
Sensor Raw Data Registers
Figure 29:
Sensor Calibrated Data Registers
Figure 30:
Example of the IEEE 754 Standard
23
sign –i ( e – 127 )
FPvalue = ( – 1 ) 1 + ( b 23 – i ) ( 2 ) x2
i=1
23
FPvalue = ( – 1 ) 1 + ( b 23 – i ) ( 2 ) x2
0 –i ( 124 – 127 )
i=1
–2 ( –3 )
FPvalue = ( 1 )x ( 1 + 2 )x2 = 0.15625
UART Interface
If selected by the I2C_ENB pin setting, the UART module imple-
ments the TX and RX signals as defined in the RS-232 / V.24
standard communication protocol.
It has on both, receive and transmit path, a 16 entry deep FIFO.
It can generate interrupts as required.
Theory of Operation
Transmission
If data is available in the transmit FIFO, it will be moved into the
output shift register and the data will be transmitted at the
configured Baud Rate, starting with a Start Bit (logic zero) and
followed by a Stop Bit (logic one).
Reception
At any time, with the receiver being idle, if a falling edge of a
start bit is detected on the input, a byte will be received and
stored in the receive FIFO. The following Stop Bit will be checked
to be logic one.
1. With UART operation, min VDD of 2.97V is required as shown in Electrical Characteristics Figures.
Figure 31:
UART Protocol
Data Bits
TX D0 D1 D2 D3 D4 D5 D6 D7 P D0
RX D0 D1 D2 D3 D4 D5 D6 D7 P D0
AT Command Interface
The microprocessor interface to control the NIR Spectral_ID
Sensor is via the UART, using the AT Commands across the UART
interface.
The 6-channel Spectral _ID sensor provides a text-based serial
command interface borrowed from the “AT Command” model
used in early Hayes modems.
For example:
• Read DATA value: ATDATA → <data>OK
• Set the gain of the sensor to 1x: ATGAIN =0 → OK
The “AT Command Interface Block Diagram”, shown below be-
tween the network interface and the core of the system, pro-
vides access to the Spectral_ID engine’s control and configura-
tion functions.
Figure 32:
AT Command Interface Block Diagram
RX
AT Commands AT
Spectral_ID
uP Command
Engine
TX Interface
AT Command Interface
AS726x
Figure 33:
AT Commands
<R_value>,
<S_value>,
<T_value>, Read R, S, T, U, V & W data. Returns comma-separated 16-bit
ATDATA
<U_value>, integers.
<V_value>,
<W_value> OK
<Cal_R_value>,
<Cal_S_value>,
<Cal_T_value>, Read calibrated R, S, T, U, V & W data. Returns comma-separated
ATCDATA
<Cal_U_value>, 32-bit floating point values.
<Cal_V_value>,
<Cal_W_value> OK
Sensor Configuration
<value>= # of samples
ATBURST=<value> OK (ATBURST=1 means run until ATBURST=0 is received (a special
case for continuous output)
ATLEDC <value>OK Reads LED_IND and LED_DRV current settings as shown above
OK → Success
AT NOP
ERROR → Failure
<SWversion#>→OK
ATVERSW Returns the system software version number
ERROR → Failure
Returns the system hardware revision and product ID, with bits
<HWversion#>→ OK
ATVERHW 7:4 containing the part ID, and bits 3:0 yielding the chip revision
ERROR → Failure
value.
Firmware Update
Application Information
Figure 34:
AS7263 Typical Application Circuit
3V3
3V3
17 VDD1 CSN_SD 7 1uF
8
VCC
100nF 10uF 14 VDD2 CSN_EE 6 1 /CS
10K
RST
2 RESN MISO 5 2 DO
16 GND MOSI 4 5 DI
Flash
3V3 Vled Memory
SCK 3 6 CLK
GND
18 LED_IND 7 /HOLD
DNP
4
RX
11 RX/SCL_S NC 19
NC 20 0R
TX
12 TX/SDA_S NC 1
NC 10
INT
13 INT NC 9
Figure 35:
Package Drawing LGA
RoHS
Green
Note(s):
1. XXXXX = tracecode
PCB Pad Layout Suggested PCB pad layout guidelines for the LGA device are
shown.
Figure 36:
Recommended PCB Pad Layout
0.30
Unit: mm 0.65
1.10
1
4.60
4.40
Mechanical Data
Figure 37:
Tape & Reel Information
Note(s):
1. Each reel contains 2000 parts.
2. Measured from centreline of sprocket hole to centreline of pocket.
3. Cumulative tolerance of 10 sprocket holes is ±0.20.
4. Other material available.
5. All dimensions in millimeters unless otherwise stated.
Figure 38:
Solder Reflow Profile
Figure 39:
Solder Reflow Profile Graph
T2
T1
Temperature (5C)
Time (s) t3
t2
tsoak t1
Note(s):
1. Not to scale - for reference only.
Storage Information
Moisture Sensitivity
Optical characteristics of the device can be adversely affected
during the soldering process by the release and vaporization of
moisture that has been previously absorbed into the package.
To ensure the package contains the smallest amount of
absorbed moisture possible, each device is baked prior to being
dry packed for shipping.
Devices are dry packed in a sealed aluminized envelope called
a moisture-barrier bag with silica gel to protect them from
ambient moisture during shipping, handling, and storage
before use.
Shelf Life
The calculated shelf life of the device in an unopened moisture
barrier bag is 12 months from the date code on the bag when
stored under the following conditions:
• Shelf Life: 12 months
• Ambient Temperature: <40°C
• Relative Humidity: <90%
Rebaking of the devices will be required if the devices exceed
the 12 month shelf life or the Humidity Indicator Card shows
that the devices were exposed to conditions beyond the
allowable moisture region.
Floor Life
The module has been assigned a moisture sensitivity level of
MSL 3. As a result, the floor life of devices removed from the
moisture barrier bag is 168 hours from the time the bag was
opened, provided that the devices are stored under the
following conditions:
• Floor Life: 168 hours
• Ambient Temperature: <30°C
• Relative Humidity: <60%
If the floor life or the temperature/humidity conditions have
been exceeded, the devices must be rebaked prior to solder
reflow or dry packing.
Rebaking Instructions
When the shelf life or floor life limits have been exceeded,
rebake at 50°C for 12 hours.
Note(s):
1. Required companion serial flash memory (must be ams verified) is ordered from the flash memory supplier (e.g. AT25SF041-SSHD-B
from Adesto Technologies)
2. AS7263 flash memory software is available from ams.
Headquarters
ams AG
Tobelbader Strasse 30
8141 Premstaetten
Austria, Europe
RoHS Compliant & ams Green RoHS: The term RoHS compliant means that ams AG products
fully comply with current RoHS directives. Our semiconductor
Statement products do not contain any chemicals for all 6 substance
categories, including the requirement that lead not exceed
0.1% by weight in homogeneous materials. Where designed to
be soldered at high temperatures, RoHS compliant products are
suitable for use in specified lead-free processes.
ams Green (RoHS compliant and no Sb/Br): ams Green
defines that in addition to RoHS compliance, our products are
free of Bromine (Br) and Antimony (Sb) based flame retardants
(Br or Sb do not exceed 0.1% by weight in homogeneous
material).
Important Information: The information provided in this
statement represents ams AG knowledge and belief as of the
date that it is provided. ams AG bases its knowledge and belief
on information provided by third parties, and makes no
representation or warranty as to the accuracy of such
information. Efforts are underway to better integrate
information from third parties. ams AG has taken and continues
to take reasonable steps to provide representative and accurate
information but may not have conducted destructive testing or
chemical analysis on incoming materials and chemicals. ams AG
and ams AG suppliers consider certain information to be
proprietary, and thus CAS numbers and other limited
information may not be available for release.
Copyrights & Disclaimer Copyright ams AG, Tobelbader Strasse 30, 8141 Premstaetten,
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.
Devices sold by ams AG are covered by the warranty and patent
indemnification provisions appearing in its General Terms of
Trade. ams AG makes no warranty, express, statutory, implied,
or by description regarding the information set forth herein.
ams AG reserves the right to change specifications and prices
at any time and without notice. Therefore, prior to designing
this product into a system, it is necessary to check with ams AG
for current information. This product is intended for use in
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 ams AG for
each application. This product is provided by ams AG “AS IS”
and any express or implied warranties, including, but not
limited to the implied warranties of merchantability and fitness
for a particular purpose are disclaimed.
ams 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 ams AG rendering of technical or other services.
Document Status
Revision Information
Note(s):
1. Page and figure numbers for the previous version may differ from page and figure numbers in the current revision.
2. Correction of typographical errors is not explicitly mentioned.
3 Pin Assignment
5 Absolute Maximum Ratings
6 Electrical Characteristics
8 Timing Characteristics
11 Optical Characteristics
13 Detailed Description
13 6-Channel NIR Spectral_ID Detector
14 Data Conversion Description
15 RC Oscillator
16 Temperature Sensor
16 Reset
16 Indicator LED
16 Electronic Shutter with LED_DRV Driver Control
17 Interrupt Operation
17 I²C Slave Interface
17 I²C Feature List
18 I²C Virtual Register Write Access
20 I²C Virtual Register Read Access
21 I²C Virtual Register Set
22 Detailed Register Description
27 4-Byte Floating-Point (FP) Registers
28 UART Interface
28 UART Feature List
28 Theory of Operation
28 Transmission
28 Reception
29 AT Command Interface
32 Application Information
33 Package Drawings & Markings
34 PCB Pad Layout
35 Mechanical Data