CY8CKIT-048
PSoC
®
Analog Coprocessor Pioneer
Kit Guide
Doc. # 002-11190 Rev. *B
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
www.cypress.com
Copyrights
© Cypress Semiconductor Corporation, 2016-2017. This document is the property of Cypress Semiconductor Corporation
and its subsidiaries, including Spansion LLC (“Cypress”). This document, including any software or firmware included or ref-
erenced in this document (“Software”), is owned by Cypress under the intellectual property laws and treaties of the United
States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as spe-
cifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property
rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with
Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable
license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code
form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organi-
zation, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through
resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress’s patents
that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software
solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the
Software is prohibited.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR-
POSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without fur-
ther notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in
this document. Any information provided in this document, including any sample design information or programming code, is
provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test
the functionality and safety of any application made of this information and any resulting product. Cypress products are not
designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weap-
ons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including
resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where
the failure of the device or system could cause personal injury, death, or property damage (“Unintended Uses”). A critical
component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure
of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and
hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress
products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities,
including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-
RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more
complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respec-
tive owners.
PSoC Analog Coprocessor Pioneer Kit Guide, Doc. # 002-11190 Rev. *B
2
Contents
Safety Information
1. Introduction
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
4
5
Kit Contents .................................................................................................................6
Board Details ...............................................................................................................7
PSoC Creator ..............................................................................................................9
Getting Started...........................................................................................................12
Additional Learning Resources..................................................................................12
Technical Support......................................................................................................13
Documentation Conventions......................................................................................13
Acronyms...................................................................................................................13
2. Software Installation
2.1
2.2
2.3
15
Before You Begin.......................................................................................................15
Install Software ..........................................................................................................15
Uninstall Software......................................................................................................17
3. Kit Operation
3.1
3.2
3.3
18
Theory of Operation...................................................................................................18
Flexible Prototyping ...................................................................................................32
KitProg2 Functions ....................................................................................................34
4. Code Examples
4.1
4.2
36
Using the Kit Code Example ......................................................................................36
Code Examples .........................................................................................................38
A. Appendix
A.1
A.2
A.3
A.4
A.5
39
Schematics ................................................................................................................39
Hardware Functional Description...............................................................................39
Using the FM24V10 F-RAM.......................................................................................44
Migrating Projects Across Different Pioneer Series Kits ............................................47
Bill of Materials ..........................................................................................................51
Revision History
52
PSoC Analog Coprocessor Pioneer Kit Guide, Doc. # 002-11190 Rev. *B
3
Safety Information
The CY8CKIT-048 PSoC
®
Analog Coprocessor Pioneer Kit is intended for use as a development
platform for hardware or software in a laboratory environment. The board is an open system design,
which does not include a shielded enclosure. For this reason, the board may cause interference with
other electrical or electronic devices in close proximity. In a domestic environment, this product may
cause radio interference. In such cases, the user may be required to take adequate preventive
measures. Also, this board should not be used near any medical equipment or RF devices.
Attaching additional wiring to this product or modifying the product operation from the factory default
may affect its performance and cause interference with other apparatus in the immediate vicinity. If
such interference is detected, suitable mitigating measures should be taken.
The PSoC Analog Coprocessor Pioneer Kit, as shipped from the factory, has been verified to meet
with the requirements of CE as a Class A product.
The PSoC Analog Coprocessor Pioneer Kit contains ESD-sensitive devices.
Electrostatic charges readily accumulate on the human body and any
equipment which can cause a discharge without detection. Permanent damage
may occur to devices subjected to high-energy discharges. Proper ESD
precautions are recommended to avoid performance degradation or loss of
functionality. Store unused PSoC Analog Coprocessor Pioneer Kit in the
protective shipping package.
End-of-Life/Product Recycling
The end-of-life cycle for this kit is five years from the date of manufacture mentioned
on the back of the box. Contact the nearest recycler to discard the kit.
General Safety Instructions
ESD Protection
ESD can damage boards and associated components. Cypress recommends that the user perform
procedures only at an ESD workstation. If an ESD workstation is not available, use appropriate ESD
protection by wearing an antistatic wrist strap attached to a grounded metal object.
Handling Boards
PSoC Analog Coprocessor Pioneer Kit is sensitive to ESD. Hold the board only by its edges. After
removing the board from the box, place it on a grounded, static-free surface. Use a conductive foam
pad if available. Do not slide the board over any surface.
PSoC Analog Coprocessor Pioneer Kit Guide, Doc. # 002-11190 Rev. *B
4
1.
Introduction
Thank you for your interest in the CY8CKIT-048 PSoC
®
Analog Coprocessor Pioneer Kit. This kit
enables you to evaluate and develop your application using the PSoC Analog Coprocessor device
family. The PSoC Analog Coprocessor simplifies the design of sensor-based systems by delivering a
scalable and reconfigurable architecture that integrates programmable Analog Front Ends (AFEs). It
has a signal processing engine (32-bit ARM® Cortex®-M0+) to calibrate and tune the AFE in
software. Additionally, the PSoC Analog Coprocessor enables applications to send aggregated, pre-
processed, and formatted sensor data over serial communication interfaces to host processors.
Systems that use multiple analog sensors usually require multiple specialized ICs to implement the
AFE, which increases BOM cost and PCB size. Systems designed for IoT applications must
combine data from multiple sensors to enable new sensing capabilities, commonly known as sensor
fusion. Sensor fusion solutions often require custom AFEs. The PSoC Analog Coprocessor reduces
the need for specialized ICs, offering the ability to create custom AFEs in a single-chip solution.
Figure 1-1
shows the analog sensors interface on PSoC Analog Coprocessor Pioneer Kit.
The PSoC Analog Coprocessor Pioneer Kit offers footprint-compatibility with Arduino™ shields and
baseboards. This kit features five analog sensors. They are pyroelectric infrared (PIR) motion
sensor, thermistor, humidity sensor, ambient light sensor (ALS), and inductive proximity sensor
(IPS). It has an RGB LED, two user-configurable push-button switches, one reset push-button
switch, an onboard programmer/debugger with USB-UART/I2C bridge, and a Cypress F-RAM™.
This kit supports operating voltages of 1.8 V, 3.0 V, 3.3 V, or 5 V.
If you are new to PSoC Creator, see the documentation on the
PSoC Creator home page.
You can
also refer the application note,
AN211293 – Getting Started with PSoC Analog Coprocessor,
which
gives an introduction to the PSoC Analog Coprocessor.
Figure 1-1. Analog Sensors
PSoC Analog Coprocessor Pioneer Kit Guide, Doc. # 002-11190 Rev. *B
5