Cypress CY8CKIT-145-40XX Manual de usuario

CY8CKIT-145-40XX
PSoC®4000S Prototyping Kit Guide
Doc. # 002-11504 Rev. *A
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
www.cypress.com

Copyrights
PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 2
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
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 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
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
PURPOSE. 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
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
weapons, 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
respective owners.

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 3
Contents
Safety Information 4
1. Introduction 5
1.1 Kit Contents.................................................................................................................6
1.2 Board Details ...............................................................................................................7
1.3 PSoC Creator ..............................................................................................................9
1.4 Getting Started...........................................................................................................12
1.5 Additional Learning Resources..................................................................................12
1.6 Technical Support......................................................................................................13
1.7 Documentation Conventions......................................................................................13
1.8 Acronyms...................................................................................................................14
2. Software Installation 15
2.1 Before You Begin.......................................................................................................15
2.2 Install Software ..........................................................................................................15
2.3 Uninstall Software......................................................................................................18
3. Kit Operation 19
3.1 Theory of Operation...................................................................................................19
3.2 KitProg2.....................................................................................................................22
4. Code Examples 25
4.1 Using the Kit Example Projects .................................................................................25
A. Appendix 28
A.1 Hardware Functional Description...............................................................................28
A.2 Schematics ................................................................................................................47
A.3 Bill of Materials ..........................................................................................................47
A.4 Programming the PSoC 4000S Prototyping Kit Using Miniprog3/KitProg2 ...............48
Revision History 49

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 4
Safety Information
Regulatory Compliance
The CY8CKIT-145-40XX PSoC®4000S Prototyping 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 4000S Prototyping 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 4000S Prototyping 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 4000S Prototyping 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 4000S Prototyping kits in the protective shipping package.
End-of-Life/Product Recycling
This kit has an end-of life five years from the date of manufacture which is
encoded in bar code placed on the pack. Contact your nearest recycler for
discarding the kit.

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 5
1. Introduction
Thank you for your interest in the CY8CKIT-145-40XX PSoC®4000S Prototyping Kit. The
PSoC 4000S Prototyping Kit enables customers to evaluate and develop projects using the
PSoC 4000S device family.
PSoC 4000S device family is an expansion to the PSoC 4000 device family that offers more flash,
GPIOs, and programmable analog and digital blocks. PSoC 4000S device is a 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 4000S Prototyping Kit offers an open footprint breakout board to maximize the end utility
of the PSoC 4000S device. This kit provides a low-cost alternative to device samples while providing
a platform to easily develop and integrate the PSoC 4000S device into your end-system.
The board includes the following features:
■3 CapSense buttons
■5-Segment CapSense slider
■LEDs to provide feedback
■Onboard CMOD, CTANK, CintA and CintB capacitors to enable CapSense development
■Bypass capacitor to ensure high-quality analog-to-digital conversions (No Load by default)
■A push button to provide a simple user input
■Load capacitors to connect the 32-kHz external crystal oscillator
■Cypress EZ-BLE®PRoC™ Module
■5-V operation
The PSoC 4000S Prototyping Kit also integrates Cypress KitProg2, which enables onboard
programming, debugging, and bridging functionality such as USB-UART and USB-I2C. KitProg2 is
used to program and debug the target PSoC 4000S/EZ-BLE PRoC device. The PSoC 4000S
Prototyping kit is designed to snap away the KitProg2 board from the PSoC 4000S target board.
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.

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 6
Introduction
1.1 Kit Contents
The PSoC 4000S Prototyping Kit contains PSoC 4000S Prototyping board and Quick Start Guide.
The PSoC 4000S Prototyping board is as shown in Figure 1-1.
Figure 1-1. PSoC 4000S Prototyping Board

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 7
Introduction
1.2 Board Details
The PSoC 4000S Prototyping board consists of the blocks as shown in Figure 1-2. Also, Figure 1-3
shows the pin mapping for kit headers.
Figure 1-2. PSoC 4000S Prototyping Board Block Diagram

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 8
Introduction
Figure 1-3. PSoC 4000S Prototyping Board Pin Details

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 9
Introduction
1.3 PSoC Creator
PSoC Creator is a state-of-the-art, easy-to-use IDE. It introduces revolutionary hardware and
software co-design, powered by a library of fully verified and characterized PSoC Components™, as
shown in Figure 1-4. With PSoC Creator, you can:
1. Drag and drop Components to build your hardware system design in the main design workspace
2. Co-design your application firmware with the PSoC hardware
3. Configure Components using configuration tools
4. Explore the library of 100+ Components
5. Access Component datasheets
Figure 1-4. PSoC Creator Features
PSoC Creator also enables you to tap into an entire tool ecosystem with integrated compiler chains
and production programmers for PSoC devices.
For more information, visit www.cypress.com/psoccreator.

PSoC® 4000S Prototyping Kit Guide, Doc. # 002-11504 Rev. *A 10
Introduction
1.3.1 PSoC Creator Code Examples
PSoC Creator includes a large number of code examples. These examples are accessible from the
PSoC Creator Start Page, as shown in Figure 1-5.
Code examples can speed up your design process by starting you off with a complete design,
instead of a blank page. The example projects also show how to use PSoC Creator Components for
various applications. Code examples and documentation are included as shown in Figure 1-6.
In the Find Example Project dialog shown in Figure 1-6, you have several options:
■Filter for examples based on a device family or keyword.
■Select from the list of examples offered based on the Filter Options.
■View the project documentation for the selection (on the Documentation tab).
■View the code for the selection on the Sample Code tab. You can also copy and paste code from
this window to your project, which can help speed up code development.
■Create new workspace for the code example or add to your existing workspace. This can speed
up your design process by starting you off with a complete, basic design. You can then adapt that
design to your application.
Figure 1-5. Code Examples in PSoC Creator
Tabla de contenidos
Otros manuales de Semiconductor de Cypress
Manuales populares de Semiconductor de otras marcas

Philips
Philips AN10369 Instrucciones de instalación y funcionamiento
GigaDevice Semiconductor
GigaDevice Semiconductor AN055 Instrucciones de instalación y funcionamiento

Hotenda
Hotenda MPC8349EA Manual de instrucciones

Fujitsu
Fujitsu F2MC-8FX Series Manual de usuario
NXP Semiconductors
NXP Semiconductors AN10365 Instrucciones de instalación y funcionamiento

Fujitsu
Fujitsu F2MC-16L Series Manual de usuario











