CYW954907AEVAL1F
Evaluation Kit User Guide
Doc. No. 002-22338 Rev. **
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
www.cypress.com
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2018. 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 respec-
tive owners.
CYW954907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-22338 Rev. **
2
Contents
1. Introduction
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
6
CYW954907AEVAL1F EVK Contents .........................................................................6
CYW954907AEVAL1F Board Details ..........................................................................8
WICED Studio Development System Overview ........................................................10
WICED Studio Code Examples .................................................................................11
Kit Code Examples ....................................................................................................12
Getting Started...........................................................................................................12
IoT Resources and Technical Support ......................................................................13
Additional Learning Resources..................................................................................13
Document Conventions .............................................................................................13
Acronyms...................................................................................................................14
2. Software Installation
2.1
2.2
15
Before You Begin.......................................................................................................15
Install Software ..........................................................................................................15
3. Kit Operation
3.1
3.2
3.3
18
3.4
Theory of Operation...................................................................................................18
On-board programmer/Debugger and Serial Interface Chip......................................18
CYW954907AEVAL1F Kit Connection ......................................................................19
3.3.1 Verifying Driver Installation.............................................................................19
3.3.2 Troubleshooting..............................................................................................20
3.3.3 External Power Supply..................................................................................20
Building, Programming, and Debugging CYW954907AEVAL1F EVK.......................21
3.4.1 Building and Programming a Project for CYW954907AEVAL1F
in WICED Studio IDE .....................................................................................21
3.4.2 Troubleshooting..............................................................................................24
3.4.3 Debugging a Project using Breakpoints .........................................................25
4. Hardware
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
29
Bootstrap ...................................................................................................................29
User Switches............................................................................................................30
LED............................................................................................................................31
Reset Control.............................................................................................................32
Ethernet .....................................................................................................................33
Micro SD Connector/Slot ...........................................................................................35
JTAG Connector ........................................................................................................36
4.7.1 On-board Programmer/Debugger and Serial Interface Chip..........................36
4.7.2 External JTAG ................................................................................................36
Connectors ................................................................................................................38
4.8.1 WICED Header ..............................................................................................38
4.8.2 Arduino-Compatible Headers.........................................................................40
CYW954907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-22338 Rev. **
3
Contents
4.9 UART Port Configuration on CYW954907AEVAL1F Kit............................................41
4.10 External ADC .............................................................................................................42
4.11 PWM ..........................................................................................................................43
5. Code Examples
5.1
5.2
45
5.3
5.4
5.5
Using Code Examples ...............................................................................................45
GPIO..........................................................................................................................45
5.2.1 Project Description .........................................................................................45
5.2.2 Hardware Connections...................................................................................45
5.2.3 Verify Output ..................................................................................................46
Config_join_ping ........................................................................................................46
5.3.1 Project Description .........................................................................................46
5.3.2 Hardware Connections...................................................................................46
5.3.3 Flow Chart......................................................................................................47
5.3.4 Verify Output ..................................................................................................48
ADC_measure ...........................................................................................................51
5.4.1 5.4.1 Project Description ...............................................................................51
5.4.2 Hardware Connections...................................................................................52
5.4.3 Flow Chart......................................................................................................53
5.4.4 Access Point Credentials ...............................................................................54
5.4.5 Verify Output ..................................................................................................54
Publish_subscribe_aws .............................................................................................55
5.5.1 Project Description .........................................................................................55
5.5.2 Hardware Connections...................................................................................56
5.5.3 Flow Chart......................................................................................................56
5.5.4 Verify Output ..................................................................................................57
Revision History
67
CYW954907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-22338 Rev. **
4
Safety Information
The CYW954907AEVAL1F EVK is intended for use as a development platform for hardware or soft-
ware in a laboratory environment. The board is an open-system design, which does not include a
shielded enclosure. Due to 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 inter-
ference. In such cases, take adequate preventive measures. Also, do not use this board 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 must be taken.
The CYW954907AEVAL1F 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 CYW954907AEVAL1F in the protective
shipping package.
End-of-Life/Product Recycling
This kit has an end-of-life cycle of five years from the year of manufacturing mentioned
on the back of the box. Contact your nearest recycler for discarding 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 the chassis ground (any unpainted metal
surface) on the board when handling parts.
Handling Boards
CYW954907AEVAL1F boards are sensitive to ESD. Hold the board only by its edges. After remov-
ing 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. Any physical action on CYW954907AEVAL1F
such as changing wires, jumper settings, or measuring voltages can cause stress on the
CYW954907AEVAL1F printed circuit board assembly (PCBA). You must ensure that the PCBA has
proper support on the bottom side to avoid stress on the PCBA when the EVK is in operation.
CYW954907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-22338 Rev. **
5