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 th is 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 harml ess 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 thereo f, WICED, PSo C, CapSense, EZ-USB, FRAM, 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.
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.
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 measur es. 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 ve rified 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 surf ac e.
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
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 C
■ 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
■ 5-V operation
®
Cortex®-M0+ microcontroller on a single chip. The programmable analog and digital
, C
MOD
TANK
®
PRoC™ Module
, C
intA
and C
capacitors to enable CapSense development
intB
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.
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.
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 a nd character ized PSoC Compon ents™, 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
Introduction
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 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 cod e 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. Th is 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-6. Code Example Projects with Sample Code
Introduction
1.3.2Kit Code Examples
You can access the installed kit code examples from the PSoC Creator Start Page. To access these
examples, expand the Kits under the section Examples and Kits; then, expand the specific kit to
see the code examples. Refer to the Code Examples chapter on page 25 for a list of code examples
that you can use on this kit.
1.3.3PSoC Creator Help
Launch PSoC Creator and navigate to the following items:
■ Quick Start Guide: Choose Help > Documentation > Quick Start G uide . This guide gives you
demonstrate how to configure and use PSoC Crea to r Co mp one nt s. To access examples related
to a specific Component, right-click on the Component in the schematic or in the Component
Catalog. Select the Find Code Example option in the context menu that appears.
■ System Reference Guide: Choose Help > System Reference Guides. This guide lists and
describes the system functions provided by PSoC Creator.
■ Component Datasheets: Right-click a Component and select Open Datasheet. Visit the
PSoC 4 Component Datasheets page for a list of all PSoC 4 Component datasheets.
■ Document Manager: PSoC Creator provides a document manager to help you easily find and
access the document resources. To open the document manager, choose the menu item Help > Document Manager.
This guide will help you be acquainted with the CY8CKIT-145-40XX PSoC 4000S Prototyping Kit:
■ The Software Installation chapter on page 15 chapter describes the installation of the kit
software. This includes the PSoC Creator IDE to develop and debug the applications, and PSoC
Programmer to program the .hex files on to the device.
■ The Kit Operation chapter on page 19 chapter describes the major features of the PSoC 4000S
Prototyping Kit and functionalities such as programming, debugging, and the USB-UART and
USB-I2C bridges.
■ The Code Examples chapter on page 25 chapter describes PSoC 4000S code examples that will
help you understand how to create your own PSoC 4000S projects.
■ The Appendix chapter on page 28 provides the detailed hardware description, kit schematics,
and the bill of materials (BOM).
1.5Additional Learning Resources
Cypress provides a wealth of data at www.cypress.com to help you to select the right PSoC device
for your design, and to help you to quickly and effectively integrate the device into your de sign. For a
comprehensive list of resources, see KBA86521, How to Design with PSoC 3, PSoC 4, and
PSoC 5LP. The following is an abbreviated list for PSoC 4:
■ Overview: PSoC Portfolio and PSoC Roadmap.
■ Product Selectors: PSoC 4 Product Selector. In addition, PSoC Creator includes a device
selection tool.
■ Datasheets: Describe and provide electrical specifications for the PSoC 4000, PSoC 4100, PSoC
■ CapSense Design Guide: Learn how to design capacitive touch-sensing applications with the
PSoC 4 family of devices.
■ Application Notes and Code Examples: Cover a broad range of topics, from basic to advanced.
Many of the application notes include code examples. Visit the PSoC 3/4/5 Code Examples web
page for a list of all available PSoC Creator code examples. To access code examples from
within PSoC Creator - see PSoC Creator Code Examples on page 10.
■ Technical Reference Manuals (TRM): Provide detailed descriptions of the architecture and
registers in each PSoC 4 device family.
■ Development Kits:
❐ CY8CKIT-041, CY8CKIT-046, CY8CKIT-044, CY8CKIT-042 and CY8CKIT-040 are easy-to-
use and inexpensive development pla tf or ms . These kits includ e co nn e c to rs for Arduino
compatible Shields and Digilent Pmod Peripheral Modules.
❐ CY8CKIT-043, CY8CKIT-049, and CY8CKIT-145 are very low-cost protot yp ing plat fo rm for
sampling PSoC 4 devices.
❐ CY8CKIT-001 is a common development platform for all PSoC family devices.
❐ The MiniProg3 device provides an interface for flash programming and debug.
■ Knowledge Base Articles (KBA): Provide design and application tips from experts on using the
device.
■ PSoC Creator Training: Visit www.cypress.com/go/creatorstart/creatortraining for a
comprehensive list of video trainings on PSoC Creator.
■ Learning from Peers: Visit www.cypress.com/forums to meet enthusiastic PSoC developers
discussing the next generation embedded systems on Cypress Developer Community Forums.
This chapter describes the steps to install the software tools and packages on a PC for using the
PSoC 4000S Prototyping Kit. This includes the IDE on which the projects will be built and used for
programming.
2.1Before You Begin
To install Cypress software, you will require administrator privileges. However, they are not required
to run software that is already installed. Before you install the kit software, close any other Cypress
software that is currently running.
2.2Install Software
Follow these steps to install the PSoC 4000S Prototyping Kit software:
1. Download the PSoC 4000S Prototyping Kit software from www.cypress.com/CY8CKIT-145. The
kit software is available in three different formats for download.
a. CY8CKIT-145-40XX Kit Only: This executable file installs only the kit contents, which include
kit code examples, hardware files, and user documents. This package can be used if all the
software prerequisites (listed in step 5) are installed on your PC.
b. CY8CKIT-145-40XX Kit Complete Setup: This installation package contains the file s rela ted
to the kit along with Cypress prerequisite software such as PSoC Creator and PSoC
Programmer . However, it does not include the Windows Installer or Microsoft .NET framework
packages. If these packages are not on your computer, the installer directs you to download
and install them from the Internet.
c. CY8CKIT-145-40XX DVD ISO: This file is a complete package, stored in a DVD-ROM image
format, which you can use to create a DVD or extract using an ISO extraction program such
as WinZip or WinRAR. The file can also be mounted like a virtual CD/DVD using virtual drive
programs such as Virtual CloneDrive and MagicISO. This file includes all the required
software, utilities, drivers, hardware files, and user documents.
2. If you have downloaded the ISO file, mount it on a virtual drive. Extract the ISO contents if you do
not have a virtual drive to mount. Double-click cyautorun.exe in the root directory of th e extracted
content or the mounted ISO if “Autorun from CD/DVD” is not enabled on the computer. The
installation window will appear automatically.
Note: If you are using the “Kit Complete Setup” or “Kit Only” file, then go to step 4 for installation.