AS726x-iSPI Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 1
[v2-00] 2017-Feb-23
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 2
[v2-00] 2017-Feb-23
Document Feedback
Content Guide
1 Introduction .......................................................................................................................... 3
1.1 Kit Content ........................................................................................................................... 3
1.2 Connection ........................................................................................................................... 3
2 Getting Started ..................................................................................................................... 4
3 Hardware Description........................................................................................................... 4
3.1 Hardware Architecture ......................................................................................................... 4
3.2 Power Supply ....................................................................................................................... 5
3.3 UART/ I2C Interface ............................................................................................................. 5
3.4 LEDs .................................................................................................................................... 6
3.5 Others .................................................................................................................................. 7
4 Software Description ............................................................................................................ 7
5 AS726x-iSPI Schematics ..................................................................................................... 8
6 Ordering & Contact Information ........................................................................................... 9
7 Copyrights & Disclaimer ..................................................................................................... 10
8 Revision Information .......................................................................................................... 11
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 3
[v2-00] 2017-Feb-23
Document Feedback
1 Introduction
AS726x-iSPI Evaluation Kit provides a platform to evaluate ams AS726x products with AS726x
Spectral Sensing iSPI software running on Windows based personal computer. This user guide
describes the features and functions of AS726x-iSPI evaluation kit.
1.1 Kit Content
The following items are delivered with this Demo Kit.
Pos.
Item
Comment
AS726x-iSPI Board
Evaluation Board
2
USB Memory Stick
Documents and Software
Cable
FTDI USB-MPSSE Cable
Figure 1. Kit Content
1.2 Connection
Figure 2. AS726x-iSPI and Cable Connection
J2’s Pin 1 (the pin with square pad) needs to be connected to Red wire of the cable.
1
2
3
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 4
[v2-00] 2017-Feb-23
Document Feedback
2 Getting Started
The evaluation kit requires one time installation of FTDI CDM Driver for the USB-MPSSE cable if it
is not already installed on the computer. The installation file can be found in the USB Memory Stick.
If there is an issue about the installations, please refer to www.ftdichip.com for more information.
The AS726x Spectral Sensing iSPI software does not need extra installation. Please copy the
following files to any folder you would like to work with and run the .exe file to start the GUI.
#
File
Comment
1
AS726x_Spectral_Sensing_iSPI_GUI.exe
Excutable file
2
FTD2XX_NET.dll
DLL file
Figure 3. AS726x Spectral Sensing iSPI GUI Software Files
3 Hardware Description
The AS726x-iSPI design consists of AS726x device with associated flash memory, LED circuit, and
jumper configuration for UART/I2C interface.
3.1 Hardware Architecture
AS726x
flash
6 Pin
Header
3V3
SPI
I2C/UART
PC
AS726x-iSPI
GUI
USB-MPSSE Cable
AS726x-iSPI
Module LEDs
V
Jumper
Figure 3. Board Block Diagram
A
B
C
D
C
E
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 5
[v2-00] 2017-Feb-23
Document Feedback
Pos.
Designator
Comment
A
U1
AS726x Device
B
J3, J4
Headers for UART or I2C interface Selection;
C
D6, D7
Place Holders for LEDs;
D
J2
Six Pins Header; Connect to PC with USB-MPSSE cable;
E
V
Test Point for External Supply for LEDs;
F
U2
Flash memory;
Figure 4. Devices, Connectors and LEDs
3.2 Power Supply
The AS726x-iSPI module is powered by FTDI C232HM-DDSHL-0 USB-MPSSE cable that connects
to a personal computer. The voltage of the supply is 3.3V.
3.3 UART/ I2C Interface
AS726x device supports either UART or I2C interface as the communication path. By default,
AS726x-iSPI demo kit is shipped as using I2C interface. AS726x Spectral Sensing iSPI GUI
software can be used to evaluate AS726x features.
If the UART interface is desired, please adjust the jumper setting as below. Any terminal software
configured as 115200 Baud Rate, 8-Bit Data, No Plarity, 1-Bit Stop would be fine.
J3
J4
UART Interface
OFF
ON
I2C Interface
ON
OFF
Figure 5. Jumper Setting
Please note that you may need to reset the USB-MPSSE cable by plug-out/plug-in when you switch
UART and I2C interface during your evaluation.
F
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 6
[v2-00] 2017-Feb-23
Document Feedback
3.4 LEDs
AS726x-iSPI module has two place holders for LED light sources. By default there are no LEDs
populated onboard.
100nF
RX / SCL_S
GND
LED_DRV
SCK
CSN_EE
MISO
MOSI
VDD1 VDD2
AS726x
uP
10uF
3V
3V
TX / SDA_S LED_IND
3V
Flash
6-channel
NIR
Sensor
Light
Source
Light in Target
Reflective
Surface
INT
Figure 6. Generic Application
A generic application of AS726x is to shine light rays to a target and AS726x produces outputs
based on the reflected light rays as Figure 6. So LED selection is determined by the spectral
responsivity of reflected light and characteristics of the target. For example, if the target is expected
to absorb 680nm light and the application needs to distinguish the target from others, a broadband
white LED might be used as the light source with AS7263 and the 680nm channel should be
checked. Various applications may require different light sources.
LEDs can be powered either by onboard 3.3V rail or by an external supply. If 3.3V rail is used,
please populate LEDs on D6/D7 and install a zero ohms resistor on R5. If 3.3V supply is not high
enough for some higher forward voltage LEDs, an external supply can be connected to the test
point, V and the current limit resistor R11 should be installed. Please note that R5 has to be
removed when connect external supply to the module.
The AS726x can drive LEDs with 12.5mA, 25mA, 50mA, or 100mA. There is also an indicator LED,
D5, onboard. The LEDs can be controlled and configured with the vitual I2C register, 0x07 (the
register address 0x87 for write).
Addr: 0x07/0x87
LED Control
Bit
Bit Name
Default
Access
Bit Description
7:6
RSVD
0
R
Reserved
5:4
ICL_DRV
00
R/W
LED_DRV current limit
‘b00=12.5mA; ‘b01=25mA; ‘b10=50mA;
‘b11=100mA;
3
LED_DRV
0
R/W
Enable LED_DRV
1: Enabled; 0: Disabled
2:1
ICL_IND
00
R/W
LED_IND current limit
‘b00=1mA; ‘b01=2mA; ‘b10=4mA; ‘b11=8mA;
0
LED_IND
0
R/W
Enable LED_IND
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 7
[v2-00] 2017-Feb-23
Document Feedback
Addr: 0x07/0x87
LED Control
1: Enabled; 0: Disabled
Figure 7. Register for LED Configuration
For UART interface, AT command ATLED1 = 100/0 to turn the LEDs D6/D7 ON/OFF and ATLEDC
= 0xXY (one byte) configures the LED current. X sets the LED current and Y configures the
indicator LED current. ATLED0 and ATLEDC controls/configures the indicator LED, D5.
AT Commands
LED (D6/D7)
LED (D5)
ATLED0 = 100/0
-
ON/OFF
ATLED1 = 100/0
ON/OFF
-
ATLEDC = 0xXY
Set LED Current
Set LED Current
X = 0000b, Y = 0000b
12.5mA
1mA
X = 0001b, Y = 0001b
25mA
2mA
X = 0010b, Y = 0010b
50mA
4mA
X = 0011b, Y = 0011b
100mA
8mA
Figure 8. AT Commands for LED Control
When ever the board is powered, the LED should be on for a short time and off. If the LED keeps
flashing, it implys something wrong in the communication between AS726x device and the flash
memory.
3.5 Others
AS726x-iSPI module can be wired to customer controller for development/evaluation. The test
points, SDA/SCL, can be used for monitoring UART/I2C bus transaction. Also pin 6 of J2 provides
the connection to INT. If interrupt is required to get the sensor data, this pin will be convienient for
watching interrupt signal.
4 Software Description
This evaluation kit comes with the Spectral Sensor dashboard software running on a Windows
computer for evaluating AS726x features. The USB Data Stick has the application notes for the
Spectral Sensor software. Please refer to the document for more information to use the software.
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 8
[v2-00] 2017-Feb-23
Document Feedback
5 AS726x-iSPI Schematics
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 9
[v2-00] 2017-Feb-23
Document Feedback
6 Ordering & Contact Information
Ordering Code
Description
Demo/Eval Kit AS726x-iSPI
AS726x-iSPI Evaluation Kit
Buy our products or get free samples online at:
www.ams.com/ICdirect
Technical Support is available at:
www.ams.com/Technical-Support
Provide feedback about this document at:
www.ams.com/Document-Feedback
For further information and requests, e-mail us at:
ams_sales@ams.com
For sales offices, distributors and representatives, please visit:
www.ams.com/contact
Headquarters
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten
Austria, Europe
Tel: +43 (0) 3136 500 0
Website: www.ams.com
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 10
[v2-00] 2017-Feb-23
Document Feedback
7 Copyrights & Disclaimer
Copyright ams AG, Tobelbader Strasse 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.
Demo Kits, Evaluation Kits and Reference Designs are provided to recipient on an “as is” basis for
demonstration and evaluation purposes only and are not considered to be finished end-products
intended and fit for general consumer use, commercial applications and applications with special
requirements such as but not limited to medical equipment or automotive applications. Demo Kits,
Evaluation Kits and Reference Designs have not been tested for compliance with electromagnetic
compatibility (EMC) standards and directives, unless otherwise specified. Demo Kits, Evaluation Kits
and Reference Designs shall be used by qualified personnel only.
ams AG reserves the right to change functionality and price of Demo Kits, Evaluation Kits and
Reference Designs at any time and without notice.
Any express or implied warranties, including, but not limited to the implied warranties of
merchantability and fitness for a particular purpose are disclaimed. Any claims and demands and any
direct, indirect, incidental, special, exemplary or consequential damages arising from the inadequacy
of the provided Demo Kits, Evaluation Kits and Reference Designs or incurred losses of any kind (e.g.
loss of use, data or profits or business interruption however caused) as a consequence of their use
are excluded.
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.
AS726x-iSPI
Evaluation Kit User Guide
ams AS726x-iSPI User Guide
Page 11
[v2-00] 2017-Feb-23
Document Feedback
8 Revision Information
Changes from previous version to current revision 2-00 (2017-Feb-23)
Page
Updated with AS726x-iSPI Board Version 2.0
Updated LED Section
Note: Page numbers for the previous version may differ from page numbers in the current revision.
Correction of typographical errors is not explicitly mentioned.