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. No computing device can be absolutely secure. Therefore, despite security measures implemented in Cypress
hardware or software products, Cypress does not assume any liability arising out of any security breach, such as
unauthorized access to or use of a Cypress product. In addition, the products described in these materials may contain
design defects or errors known as errata which may cause the product to deviate from published specifications. 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, ari
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.
sing from or related to any Unintended Uses of Cypress products.
The PSoC 6 WiFi-BT 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 6 WiFi-BT Pioneer Kits 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 a bar code on the back of the kit box. Contact your nearest recycler for
information on discarding the kit.
Regulatory Compliance
The CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT 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.
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 unavailable, use appropriate ESD
protection by wearing an anti-static wrist strap attached to a grounded metal object.
Handling Boards
The PSoC 6 WiFi-BT 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.
Thank you for your interest in the CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT Pioneer Kit. The PSoC 6
WiFi-BT Pioneer Kit enables you to evaluate and develop your applications using the PSoC 6 MCU.
The PSoC 6 MCU is Cypress’ latest, ultra-low-power PSoC specifically designed for wearables and
IoT products. It is a programmable embedded system-on-chip, integrating a 150-MHz Arm
Cortex®-M4 as the primary application processor, a 100-MHz CM0+ that supports low-power
operations, up to 1 MB Flash and 288 KB SRAM, CapSense
analog and digital peripherals that allow higher flexibility, in-field tuning of the design, and faster
time-to-market.
The PSoC 6 WiFi-BT Pioneer board offers compatibility with Arduino™ shields. The board features a
PSoC 6 MCU, a 512-Mb NOR flash, an onboard programmer/debugger (KitProg2), a 2.4-GHz
WLAN and Bluetooth functionality module (CYW4343W), a USB Type-C power delivery system (EZPD™ CCG3), a five-segment CapSense slider, two CapSense buttons, one CapSense proximity
sensing header, an RGB LED, two user LEDs, USB host and device features, and one push button.
The board supports operating voltages from 1.8 V to 3.3 V for the PSoC 6 MCU.
The CY8CKIT-062-WiFi-BT package includes a CY8CKIT-028-TFT Display Shield that contains a
2.4-inch TFT display, a motion sensor, ambient light sensor, a 32-bit audio codec, and a PDM
microphone.
This is the first kit that enables development of PSoC 6 MCU + WiFi applications. To develop a
PSoC 6 MCU + WiFi application, WICED™ Studio 6.1 or later must be used. WICED Studio is
Cypress' integrated development environment (IDE) for developing WiFi applications. If you are not
adding WiFi to your design then you can develop and debug PSoC 6 MCU project using PSoC
Creator™. PSoC Creator supports exporting your designs to other third-party firmware development
tools.
Figure 1-2 shows the Pioneer board, which has the following features:
■ PSoC 6 MCU
■ Expansion headers that are compatible with Arduino Uno 3.3-V shields
modules
■ Type 1DX ultra-small 2.4-GHz WLAN and Bluetooth functionality module
■ 512-Mbit external quad-SPI NOR flash that provides a fast, expandable memory for data and
code
■ KitProg2 onboard programmer/debugger with mass storage programming, USB to UART/I2C/
SPI bridge functionality, and custom applications support
■ EZ-PD CCG3 USB Type-C power delivery (PD) system with rechargeable lithium-ion polymer
(Li-Po) battery support
■ CapSense touch-sensing slider (five elements) and two buttons, all of which are capable of both
self-capacitance (CSD) and mutual-capacitance (CSX) operation, and a CSD proximity sensor
that allows you to evaluate Cypress’ fourth-generation CapSense technology
■ 1.8-V to 3.3-V operation of PSoC 6 MCU is supported. An additional 330-mF super-capacitor is
provided for backup domain supply (VBACKUP)
■ Two user LEDs, an RGB LED, a user button, and a reset button for PSoC 6 MCU.
■ Two buttons and three LEDs for KitProg2.
2
Introduction
1
and Digilent® Pmod™
1. 5-V shields are not supported.
2. Battery and power-delivery capable USB Type-C to Type-C cable are not included in the kit package and should be purchased separately.
PSoC Creator is a state-of-the-art, easy-to-use IDE. It uses revolutionary hardware and software co-
design, powered by a library of fully verified and characterized PSoC Components™ and peripheral
driver libraries (PDL), 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 or PDL.
4. Explore the library of 100+ Components.
5. Access Component datasheets.
6. Export your design to third-party firmware development tools.
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. Use PSoC Creator for all PSoC 6 MCU designs that
do not require WiFi connectivity. If WiFi connectivity is required, use WICED Studio 6.1 or higher.
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 or from the menu File > Code Example.
Code examples can speed up your design process by starting you off with a complete design. The
code examples also show how to use PSoC Creator Components for various applications. Code
examples and documentation are included.
In the Find Code Example dialog, you have several options:
■ Filter for examples based on 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 a 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
Introduction
1.3.1.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. To work with the code examples using this kit, see PSoC Creator chapter on
page 18.
1.3.1.3PSoC Creator Help
Launch PSoC Creator and navigate to the following items:
■ Quick Start Guide: Choose Help > Documentation > Quick Start Guide. This guide gives you
strate how to configure and use PSoC Creator Components. To access examples related to a
specific Component, right-click 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 Guide. This guide lists and
describes the system functions provided by PSoC Creator.
■ Component Datasheets: Right-click a Component and select Open Datasheet.
WICED Studio 6.1 (or later) supports WiFi and Bluetooth application development using the
CY8CKIT-062-WiFi-BT kit. Tabs and their location in the WICED IDE are as shown in Figure 1-6.
Figure 1-6 illustrates the following:
1. Edit your application firmware.
2. Help Window that contains instructions on building and downloading applications.
3. Explore existing applications/firmware and library of the Software Development Kit (SDK).
4. View Build messages in the Console window.
5. Create and edit Make Targets for the platform to build your application/project.
WICED Studio includes libraries and code examples supporting both Bluetooth and WiFi platforms.
Selecting the 43xxx_Wi-fi Filter will show only WiFi platform related files in the project explorer as
shown in Figure 1-7.
Application examples can speed up the design process by serving as templates for development.
Code examples are located under the apps category (in the Project Explorer window), as shown in
Figure 1-8. Code examples under apps are further grouped into demo, snip, test, waf (WICED
application framework), and wwd (WICED WiFi Driver Application) directories.
The demo directory contains applications that combine various WICED features into a single application. The snip directory contains application snippets that demonstrate how to use various WICED
libraries and API functions. The test directory contains applications that are used for simple test
and utility. The waf directory contains applications that are part of WICED application framework, for
instance, the bootloader. The wwd directory contains applications that are developed using the low
level wwd API calls and do not rely on higher level WICED APIs. Located within each subdirectory in
the apps folder is a README.txt that lists and summarizes the applications located within the folder.
Note that not all applications are supported in all platforms. The snip directory contains a
README.txt with a matrix on what applications are supported in what platforms. For more details on
the WICED software stack and APIs, review the application notes and documents available in the
doc folder <WICED SDK installation folder>/WICED-Studio-6.1/43xxx_Wi-Fi/doc.WICED-QSG.pdf,
available in the same path, is a good document to start with.
Introduction
Figure 1-7. Filter for WiFi Code Example in WICED Studio
This guide will help you to get acquainted with the PSoC 6 WiFi-BT Pioneer Kit:
■ The PSoC Creator chapter on page 18 describes the installation of the kit software. The kit
software includes the PSoC Creator IDE and PDL to develop and debug the applications, the
PSoC Programmer to program the .hex files on to the device.
■ The WICED chapter on page 24 describes the installation of WICED and getting started guide-
lines of the WICED-based example project of the kit.
■ The Kit Hardware chapter on page 38 describes the CY8CKIT-062-WiFi-BT base board and
CY8CKIT-028-TFT shield hardware features and functionalities.
■ The Appendix on page 58 provides a detailed hardware description, methods to use the onboard
components, kit schematics, the bill of materials (BOM), and an FAQ.
1.5Additional Learning Resources
Cypress provides a wealth of data at www.cypress.com/psoc6 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
design.
1.6Technical Support
For assistance, visit Cypress Support or contact customer support at +1(800) 541-4736 Ext. 3 (in the
USA) or +1 (408) 943-2600 Ext. 3 (International).
You can also use the following support resources if you need quick assistance:
This chapter describes the steps to install PSoC Creator and the packages required to use the
PSoC 6 WiFi-BT Pioneer Kit, for non WiFi applications. This includes the IDE on which the projects
will be built and used for programming. For developing WiFi applications, WICED Studio 6.1 or later
must be used (see the WICED chapter on page 24).
2.1Before You Begin
To install Cypress software, you will require administrator privileges. However, they are not required
to run the software that is already installed. Before you install the kit software, close any other
Cypress software that is currently running.
2.2Install Kit Software
Follow these steps to install the PSoC 6 WiFi-BT Pioneer Kit software:
1. Download and run the CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT Pioneer Kit software from
www.cypress.com/CY8CKIT-062-WiFi-BT. The kit software is available in two different formats for
download.
a. CY8CKIT-062-WiFi-BT Kit Complete Setup: This installation package contains the files
related to the kit including PSoC Creator, PSoC Programmer, and PDL. However, it does not
include the Windows Installer or Microsoft .NET framework packages. If these packages are
not on your computer, the installer will direct you to download and install them from the
Internet.
b. CY8CKIT-062-WiFi-BT 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 3) are installed on your PC.
2. Select the folder in which you want to install the PSoC 6 WiFi-BT Pioneer Kit-related files.
Choose the directory and click Next.
Figure 2-1. Kit Installer Screen
3. When you click Next, the installer automatically installs the required software, if it is not present
on your computer. Following are the required software:
a. PSoC Creator 4.2: This software is available for download separately at
www.cypress.com/psoccreator. PSoC Creator 4.2 installer automatically installs the following
4. Choose the Typ ical, Custom, or Complete installation type (select Ty pical if you do not know
which one to select) in the Product Installation Overview window, as shown in Figure 2-2. Click
Next after selecting the installation type.
Figure 2-2. Product Installation Overview
5. Read the License agreement and select I accept the terms in the license agreement to continue with installation. Click Next.
6. When the installation begins, a list of packages appears on the installation page. A green check
mark appears next to each package after successful installation.
7. Enter your contact information or select the check box Continue Without Contact Information.
Click Finish to complete the CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT Pioneer Kit software installation.
8. After the installation is complete, the kit contents are available at the following location:
Windows 7 (64-bit): C:\Program Files (x86)\Cypress\CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT Pio-
neer Kit
Windows 7 (32-bit): C:\Program Files\Cypress\CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT Pioneer
Kit
Note: For Windows 7/8/8.1/10 users, the installed files and the folder are read-only. To use the
installed code examples, create an editable copy of the example in a path that you choose, so that
the original installed example is not modified. These steps will create an editable copy of the example in a path that you choose, so the original installed example is not modified.
1. Connect the PSoC 6 WiFi-BT Pioneer Kit to the PC using the USB cable, as shown in Figure 2-3.
The kit enumerates as a composite device if you are connecting it to your PC for the first time.
See section 4.3.3 Kit Enumeration and Programming Modes of KitProg2 to know whether the kit
is successfully enumerated or not.
Figure 2-3. Connect USB Cable to USB Connector on the Kit
PSoC Creator
2. Open the desired project in PSoC Creator. To do this, go to File > Open > Project/Workspace.
This provides the option to browse and open your saved project.
3. Select the option Build > Build Project or pressing [Shift] [F6] to build the project.
4. If there are no errors during build, select Debug > Program or press [Ctrl] [F5]. This programs
the device on the PSoC 6 WiFi-BT Pioneer Kit.
PSoC Creator has an integrated debugger. You can start the debugger by selecting Debug > Debug
or by pressing [F5]. For more details, see the “Debugging Using PSoC Creator” section in the Kit-
Prog2 User Guide.
2.4Kit Code Examples
The PSoC 6 WiFi-BT Pioneer Kit includes two code examples. One of these two code examples is
developed in PSoC Creator. To access this code example, first download and install the PSoC 6
WiFi-BT Pioneer Kit setup file from www.cypress.com/CY8CKIT-062-WiFi-BT. After the kit package
is installed on your PC, the PSoC Creator-based code examples will be available from Start > Kits
on the PSoC Creator Start Page. This code example can be accessed in the following directory:
2. On the Start Page, click CY8CKIT-062-WiFi-BT under Start > Kits. A list of code examples
appears, as shown in Figure 2-4.
3. Click the desired code example, select a location to save the project, and click OK.
Figure 2-4. Open Code Example from PSoC Creator
4. Build the code example by choosing Build > Build <Project Name>. After the build process is
successful, a .hex file is generated.
5. Connect PSoC 6 WiFi-BT Pioneer Kit to the PC using the USB cable, as shown in Figure 2-3 on
page 21, to program the kit with the code example.
6. Choose Debug > Program in PSoC Creator.
7. If the device is already acquired, programming will complete automatically – the result will appear
in the PSoC Creator status bar at the bottom left side of the screen. If the device is yet to be
acquired, the Select Debug Target window will appear. Select KitProg2/<serial_number> and
click Port Acquire, as shown in Figure 2-5.
8. After the device is acquired, it is shown in a tree structure below the KitProg2/<serial_number>.
Click Connect and then OK to exit the window and start programming, as shown in Figure 2-6.
Note: PSoC 6 MCUs have both CM0+ and CM4 CPUs. To program, select one of them and click
Connect. To debug, select the CPU that needs to be debugged.
Figure 2-6. Connect Device from PSoC Creator and Program
9. After programming is successful, the code example is ready to use.
Ta bl e 2 - 1 shows the code example, developed in PSoC Creator, which can be used with this kit.
Table 2-1. Code Example in PSoC Creator
ProjectDescription
This code example shows how PSoC 6 MCU can be used to
record audio data, store it, and play it back. It uses a digital
microphone with the PDM/PCM hardware block. All the audio
data captured by the microphone is stored in an external flash
CE222221_TFT_VoiceRecorder
memory. After the recording is completed, you can play the audio
data over I2S, which interfaces with an audio codec. You can
record/play/pause/resume with CapSense buttons. You control
the audio volume with a CapSense slider. The TFT LCD displays
the current state of the voice recorder, the volume, and the time of
the record/play.
This chapter describes the steps to install the WICED software tools and packages required to use
the PSoC 6 WiFi-BT Pioneer Kit for developing WiFi applications. This chapter describes basic quick
start guidelines of the WICED-based example project that can be used for further development
purposes.
3.2Before You Begin
To install Cypress software, you will require administrator privileges. However, they are not required
to run the software that is already installed. Before you install the kit software, close any other
Cypress software that is currently running.
3.3Install WICED
The CY8CKIT-062-WiFi-BT kit needs the WICED 6.1 (or later) software to be installed in your system. WICED 6.1 needs separate download and installation.
1. Download and install WICED Studio 6.1 (or later) from www.cypress.com/products/wiced-soft-
ware.
2. Select two folders, one for the IDE and the other for the SDK. The SDK folder contains the
Framework for developing WiFi applications.
3. The installer will ask to select between WiFi and Bluetooth platforms. Select 43xxx_Wi-Fi as the
default.
Figure 3-1. Installer Window Screenshot
3.4Programming and Debugging in WICED
3.4.1Building and Programming a Project for CY8CKIT-062-WiFi-BT in WICED Studio
IDE
To build and program a project for CY8CKIT-062-WiFi-BT, perform the following steps:
1. To open the WICED IDE on the Windows PC, go to Start > All Programs > Cypress > WICED-
Studio.
2. Select 43xxx_Wi-Fi in the WICED Target selector drop-down box as shown in Figure 1-7. Build-
ing a project requires a corresponding make target, located in the Make Target window. All applications go under the apps directory. The make target path will contain the directory hierarchy
starting from apps with directory names separated by a period. The project name is followed by a
hyphen and then the platform name. Finally, the actions to be performed after the build are specified, such as download and run. For example, to build, download, and run the application scan
which exists in apps\snip\scan, create the following make target:
snip.scan-CY8CKIT_062 download_apps download run
This project will periodically scan for Wi-Fi access points and will list them using the serial-to-USB
connection on the kit.
Perform these steps to create the make target, build, program, and test application scan:
3. Right-click 43xxx_Wi-Fi in the Make Target window as shown in Figure 3-2 and click New.
Figure 3-2. Creating New Make Target
WICED
4. Enter snip.scan-CY8CKIT_062 download_apps download run in the Target name field
and click OK.
Note: The list of all commands that can be provided in the Make target is listed in <WICED-SDK
installation directory>/ 43xxx_Wi-Fi/Makefile.
snip.scan-CY8CKIT_062 download_apps download run indicates the following:
a. snip = Directory inside apps folder
b. scan = Sub-directory and name of the application to be built. For example, to build the con-
sole application under test directory in apps, then use test.console instead of snip.scan.
c. CY8CKIT_062 = Board/platform name
d. download_apps = Download application resources into QSPI Flash
e. download = Indicates download to target
f. run = Resets the target and starts execution
5. Double-click (alternately, right-click and select Build Target) the Clean Make Target to remove
any output from the previous build. It is recommended to do Make clean when any new files are
added or removed to the corresponding Target.
Note: Before executing the next step, ensure that you connect the CY8CKIT-062-WiFi-BT kit to
the same PC through the Type-C USB cable connected to the J10 port. See 4.3.3 Kit Enumera-
tion and Programming Modes of KitProg2 to ensure that the kit is successfully enumerated and