Cypress PSoC 4 S Series Manuale utente

Copyrights
PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 2
Copyrights
© Cypress Semiconductor Corporation, 2016–2019. This document is the property of Cypress Semiconductor Corporation
and its subsidiaries (“Cypress”). This document, including any software or firmware included or referenced 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 specifically stated in this para-
graph, 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 subli-
cense) (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 organization, 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. No computing device can be absolutely secure. Therefore, despite security measures implemented in Cypress hard-
ware or software products, Cypress shall have no liability arising out of any security breach, such as unauthorized access to
or use of a Cypress product. CYPRESS DOES NOT REPRESENT, WARRANT, OR GUARANTEE THAT CYPRESS PROD-
UCTS, OR SYSTEMS CREATED USING CYPRESS PRODUCTS, WILL BE FREE FROM CORRUPTION, ATTACK,
VIRUSES, INTERFERENCE, HACKING, DATA LOSS OR THEFT, OR OTHER SECURITY INTRUSION (collectively, “Secu-
rity Breach”). Cypress disclaims any liability relating to any Security Breach, and you shall and hereby do release Cypress
from any claim, damage, or other liability arising from any Security Breach. In addition, the products described in these mate-
rials may contain design defects or errors known as errata which may cause the product to deviate from published specifica-
tions. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further
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 pro-
vided 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. “High-Risk Device” means
any device or system whose failure could cause personal injury, death, or property damage. Examples of High-Risk Devices
are weapons, nuclear installations, surgical implants, and other medical devices. “Critical Component” means any compo-
nent of a High-Risk Device whose failure to perform can be reasonably expected to cause, directly or indirectly, the failure of
the High-Risk Device, 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 any use of a Cypress product as a Critical
Component in a High-Risk Device. You shall indemnify and hold Cypress, its directors, officers, employees, agents, affiliates,
distributors, and assigns harmless from and against all claims, costs, damages, and expenses, arising out of any claim,
including claims for product liability, personal injury or death, or property damage arising from any use of a Cypress product
as a Critical Component in a High-Risk Device. Cypress products are not intended or authorized for use as a Critical Compo-
nent in any High-Risk Device except to the limited extent that (i) Cypress’s published data sheet for the product explicitly
states Cypress has qualified the product for use in a specific High-Risk Device, or (ii) Cypress has given you advance written
authorization to use the product as a Critical Component in the specific High-Risk Device and you have signed a separate
indemnification agreement.
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® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 3
Contents
Safety Information 4
1. Introduction 5
1.1 Kit Contents .................................................................................................................5
1.2 Board Details ...............................................................................................................6
1.3 PSoC Creator ............................................................................................................11
1.4 Getting Started...........................................................................................................14
1.5 Additional Learning Resources..................................................................................14
1.6 Technical Support......................................................................................................15
1.7 Documentation Conventions......................................................................................15
1.8 Acronyms...................................................................................................................15
2. Software Installation 17
2.1 Before You Begin.......................................................................................................17
2.2 Install Software ..........................................................................................................17
2.3 Uninstall Software......................................................................................................19
3. Kit Operation 20
3.1 Theory of Operation...................................................................................................20
3.2 KitProg2 .....................................................................................................................29
4. Code Examples 32
4.1 Using the Kit Code Examples ....................................................................................32
4.2 Code Examples .........................................................................................................34
A. Appendix 36
A.1 Schematics ................................................................................................................36
A.2 Hardware Functional Description...............................................................................36
A.3 Using the FM24V10 F-RAM.......................................................................................44
A.4 Using EZ-BLE PRoC Module.....................................................................................46
A.5 Migrating Projects Across Different Pioneer Series Kits............................................48
A.6 Bill of Materials ..........................................................................................................52
Revision History 53

PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 4
Safety Information
Regulatory Compliance
The CY8CKIT-041-40XX PSoC® 4 S-Series 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. This may cause interference to other electrical or
electronic devices in close proximity. In a domestic environment, this product may cause radio
interference. In such cases, you may be required to take adequate preventive measures. In addition,
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 4 S-Series Pioneer Kit, as shipped from the factory, has been verified to meet with the
requirements of CE as a Class A product.
General Safety Instructions
ESD Protection
ESD can damage boards and associated components. Cypress recommends that you 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 4 S-Series Pioneer Kit is sensitive to ESD. Hold the board only by its edges. After removing
the board from its box, place it on a grounded, static-free surface. Use a conductive foam pad if
available. Do not slide the board over any surface.
The PSoC 4 S-Series Pioneer Kit contains electrostatic discharge (ESD) sensitive
devices. Electrostatic charges readily accumulate on the human body and any
equipment, and can discharge without detection. Permanent damage may occur on
devices subjected to high-energy discharges. Proper ESD precautions are
recommended to avoid performance degradation or loss of functionality. Store unused
PSoC 4 S-Series Pioneer kit in the protective shipping package.
End-of-Life/Product Recycling
The end-of life for this kit is five years from the date of manufacture mentioned as bar
code on the back of the box. Contact your nearest recycler for discarding the kit.

PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 5
1. Introduction
Thank you for your interest in the CY8CKIT-041-40XX PSoC® 4 S-Series Pioneer Kit. This kit
enables you to evaluate and develop your application using the PSoC 4000S device family.
The PSoC 4000S device family is an expansion to the PSoC 4 device family. PSoC 4000S device is
a true programmable embedded system-on-chip, integrating custom analog and digital peripheral
functions, memory, and an ARM® Cortex®-M0+ microcontroller on a single chip. The programmable
analog and digital peripheral functions allow higher flexibility, in-field tuning of the design, and faster
time-to-market.
The PSoC 4 S-Series Pioneer Kit offers footprint-compatibility with Arduino™ shields. This kit
features a CapSense® trackpad, two CapSense buttons, a CapSense proximity sensor that lets you
evaluate Cypress’s fourth-generation CapSense technology, an RGB LED, two user-configurable
push-button switches, potentiometer, an onboard programmer/debugger with USB-UART/I2C bridge
functionality block (KitProg2), a Cypress F-RAM™, an EZ-BLE™ PRoC™ Module, and a
rechargeable battery. This kit supports operating voltages of 1.9 V, 3 V (battery), 3.3 V or 5 V.
You will use PSoC Creator™ to develop and debug your PSoC 4000S device projects. PSoC
Creator is Cypress’s standard integrated design environment (IDE). If you are new to PSoC Creator,
see the documentation on the PSoC Creator home page. You can also refer the application note
AN79953 – Getting Started with PSoC 4, which gives an introduction to the PSoC 4 device.
1.1 Kit Contents
The CY8CKIT-041-40XX PSoC 4 S-Series Pioneer Kit contains the following, as shown in
Figure 1-1.
■PSoC 4 S-Series Pioneer Kit
■USB Standard-A to Micro-B cable
■Water dropper
■Four press-fit connectors (one 8x2, one 10x1, two 8x1)
■Four jumper wires
■Quick Start Guide

PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 6
Introduction
Figure 1-1. Kit Contents
Inspect the contents of the kit; if you find any part missing, contact your nearest Cypress sales office
for help: www.cypress.com/support.
1.2 Board Details
As shown in Figure 1-2, the PSoC 4 S-Series Pioneer Kit features a CapSense trackpad, two
CapSense buttons, and a proximity sensor loop (not visible on the case) that lets you evaluate
Cypress’s fourth-generation CapSense technology. The kit has two user buttons, an RGB LED and a
potentiometer that can be used in your applications. It also has a reset button and three status LEDs.
The kit can be powered from three power sources: USB connector, rechargeable battery or external
power supply. The kit can operate at 1.9 V, 3.3 V, and 5 V when powered from the USB connector or
external power supply and will operate at 3 V when powered from the battery. The USB connector is
also used for programming and debugging your application on PSoC 4000S.

PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 7
Introduction
Figure 1-2. PSoC 4 S-Series Pioneer Kit

PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 8
Introduction
Figure 1-3. PSoC 4 S-Series Pioneer Kit without Overlay

PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 9
Introduction
Figure 1-4. PSoC 4 S-Series Pioneer board (Top View)

PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D 10
Introduction
Figure 1-5. PSoC 4 S-Series Pioneer board (Bottom View)
Figure 1-6. PSoC 4 S-Series Pioneer Board Pinout
Altri manuali per PSoC 4 S Series
1
Questo manuale è adatto per i seguenti modelli
1
Indice
Altri manuali Cypress Semiconduttore
Manuali Semiconduttore popolari di altre marche

Philips
Philips AN10369 Istruzioni per l'installazione e il funzionamento
GigaDevice Semiconductor
GigaDevice Semiconductor AN055 Istruzioni per l'installazione e il funzionamento

Hotenda
Hotenda MPC8349EA Manuale di istruzioni

Fujitsu
Fujitsu F2MC-8FX Series Manuale utente
NXP Semiconductors
NXP Semiconductors AN10365 Istruzioni per l'installazione e il funzionamento

Fujitsu
Fujitsu F2MC-16L Series Manuale utente












