Page 2
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.
3.3.3 External Power Supply ........................... 20 Building, Programming, and Debugging CYW943907AEVAL1F EVK ..............21 3.4.1 Building and Programming a Project for CYW943907AEVAL1F in WICED Studio IDE ......21 3.4.2 Troubleshooting ............................24 3.4.3 Debugging a Project using Breakpoints ....................25 Hardware ..................................
Safety Information The CYW943907AEVAL1F EVK 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. Due to this reason, the board may cause interference with other electrical or electronic devices in close proximity.
1. Introduction Thank you for your interest in the CYW943907AEVAL1F Evaluation Kit (EVK). The CYW943907AEVAL1F EVK enables customers to evaluate and develop single-chip Wi-Fi applications using CYW43907 devices. The CYW943907AEVAL1F EVK uses WICED Studio 5.0 (or later) to develop and debug your CYW43907 project.
Page 7
Introduction Figure 1-1. CYW943907AEVAL1F Kit Contents Inspect the contents of the kit. If you find any part missing, contact your nearest Cypress sales office for assistance: www.cypress.com/support. Hardware Not Included With the Kit The CYW943907AEVAL1F EVK does not come with all the hardware needed to perform the demonstrations documented in this guide.
Figure 1-3. CYW943907AEVAL1F Evaluation Board (Back View) 1.3 WICED Studio Development System Overview WICED Studio 5.0 (or later) supports application development using the WICED Evaluation Board (CYW943907AEVAL1F EVK). Tabs and their location in the WICED IDE are as shown in Figure 1-4.
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-5.0/43xxx_Wi- Fi/doc. WICED-QSG204 available in the same path is a good document to start with. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 11
Introduction Figure 1-5. Filter for Wi-Fi Code Example in WICED Studio Figure 1-6. Code Examples under apps Category CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
IoT device for your design, and quickly and effectively integrate the device into your design. Cypress provides customer access to a wide range of information, including technical documentation, schematic diagrams, product bill of materials, PCB layout information, and software updates. Customers can acquire technical documentation and software from the Cypress Support Community website (https://community.cypress.com).
Power-on-Reset Power Management Unit VTRIM Voltage Trimming Low Power Oscillator GPIO General Purpose Input Output UART Universal Asynchronous Receiver/Transmitter Amazon Web Services Integrated Development Environment WLAN Wireless Local Area Network CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
2. Software Installation This chapter describes the steps to install the software tools and packages on a PC for using the CYW943907AEVAL1F EVK. This includes the WICED IDE in which the projects will be built and used for programming. 2.1 Before You Begin All Cypress software installations require administrator privileges.
Page 15
5. Locate the WICED Wi-Fi-SDK directory in your PC. The default location is C:\Users\<user name>\Documents\WICED-Studio-5.0\43xxx_Wi-Fi, as shown in Figure 2-1. However, it may be in a different location depending on the path you choose when installing WICED Studio. Figure 2-1. WICED SDK Directory CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 16
After unzipping, if the projects are not visible in WICED Studio 5.0 (or later), then right-click the top most folder (43xxx_Wi-Fi) and click Refresh, as shown in Figure 2-3. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 17
Software Installation Figure 2-3. Refresh Top Folder CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
3. Kit Operation This chapter introduces you to the CYW943907AEVAL1F EVK and the features that will be used as part of Kit operation. Features such as Wi-Fi connection and programming/debugging are discussed in this chapter. The chapter also describes the USB-UART that can be used to communicate with the CYW43907 device on this EVK.
When powered from USB, there are two logical USB devices: a USB-JTAG device and a USB- UART device. Drivers for the CYW943907AEVAL1F EVK are automatically installed during the WICED SDK installation process. When you connect the kit for first time to your PC, it will initiate the driver search as shown Figure 3-2.
If an error occurred during the automatic driver installation process, the driver may be manually installed from the following directory: <WICED-SDK>\Drivers\Windows\wiced_uart. If the CYW943907AEVAL1F EVK does not appear in the Device Manager, verify that the +3V3 LED is turned ON and check the USB cable.
To build and program a project for CYW943907AEVAL1F EVK, perform the following steps: 1. To open the WICED IDE on 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 .
Page 22
It is recommended to do Make clean when any new files are added or removed to the corresponding Target. Note: Ensure that you have connected CYW943907AEVAL1F EVK to the same PC via USB prior to executing the build target.
Page 23
Figure 1-1) on the CYW943907AEVAL1F EVK to view the application start- up messages. 8. The output of the Terminal Emulation program should be similar to what is shown in Figure 3-6. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Kit Operation Figure 3-6. Console Output 3.4.2 Troubleshooting If a download_dct error message is displayed despite connecting the board, follow the steps outlined in this post. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Kit Operation 3.4.3 Debugging a Project using Breakpoints After programming a project, it is possible to debug it in CYW943907AEVAL1F EVK using the built in debugger. Note that the scan example used in Building and Programming a Project for CYW943907AEVAL1F in WICED Studio IDE section is also used here.
Page 26
6. To terminate the Debugging session, click Run > Terminate, or click on the red Square icon. Once you terminate the session, click on “C/C++” in the upper right corner to return to the C/C++ perspective. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 27
8. Right-click the desired breakpoint checkbox and click Breakpoint Properties…. Click the last_built.elf check box, as shown in Figure 3-10. The check mark appears before the actual breakpoint indicating its association with the current execution. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 28
Kit Operation Figure 3-9. Show Breakpoints Icon Figure 3-10. Enabling Breakpoint for Current Execution CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
4. Hardware This chapter describes the CYW943907AEVAL1F EVK hardware and its different blocks, such as Bootstrap, reset control, Arduino-compatible headers, and module connectors. The schematic is available at the following location after installing the software from Software Installation. <WICED_SDK_Directory>\43xx_Wifi\platforms\CYW943907AEVAL1F\schematics. 4.1 Bootstrap...
WICED for these LEDs. Table 4-3. User LED Available on the Board Switch CYW43907 Pin Name WICED_ENUM_ID Alternate Enumeration in WICED LED_1 PWM_3 WICED_GPIO_16 WICED_LED1 LED_2 GPIO_9 WICED_GPIO_5 WICED_LED2 CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
VDDIO have reached 90% of their final values. To ensure proper boot up, the RC delay circuit for HIB_REG_ON_IN is essential as shown in Figure 4-4. Figure 4-3. Reset Circuit Diagram Figure 4-4. HIB_REG_ON_IN RC Delay Circuit CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
4.8 Connectors 4.8.1 WICED Header J6 is the WICED header available on CYW943907AEVAL1F EVK. This is a 44-pin header containing I2C, SDIO, UART, SPI, PWM lines, and I/Os. Note that some signals are shared with Arduino header (UART0 Tx/Rx) and On-board Programmer/debugger chip (UART1).
Hardware 4.8.2 Arduino-Compatible Headers J9, J13, J12 and J10 are the Arduino headers available in the CYW943907AEVAL1F EVK. Table 4-8 shows the pinout of the Arduino Header. Note the following points while connecting an Arduino shield to the board: ...
There are six dedicated PWM outputs available on CYW43907. These PWMs can be multiplexed onto different pins. You can find their definitions in platforms/CYW943907AEVAL1F/platform.c inside WICED Studio. The PWMs can be re-assigned to other pins by changing the first argument of the platform_pwm_t platform_pwm_peripherals structure in platform.c...
5. Code Examples This chapter demonstrates the functionality of CYW43907 devices using the CYW943907AEVAL1F EVK code examples. Download and extract the zip file from the CYW943907AEVAL1F EVK web page as specified in Install Software section. The code examples once un-zipped can be viewed in WICED Studio 5.0 (or later). In addition to the added examples there are already many apps (snip.gpio, test.console, and so on) that are available in...
5.3 Config_join_ping 5.3.1 Project Description The config_join_ping project demonstrates connectivity between CYW943907AEVAL1F EVK and a Wi-Fi access point. This example is based on existing examples available in the WICED Studio 5.0 (or later) SDK namely, apps/snip/scan, apps/snip/dct_read_write and test/console. On startup, this application shows a console through which the user can enter commands to scan, configure, join, and ping Wi-Fi access points.
Figure 5-1. config_join_ping Flow Chart System Initialized Initialize Command Console to STDIO UART Add New Commands to the Console Commands List Wait for Command from Console Execute Corresponding Function from Command Table CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Type the command help to see the list of available commands as shown in Figure 5-2. Figure 5-2. Initial Console Output Type the command scan to find the list of available Wi-Fi access points as shown in Figure 5-3. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 46
DCT. Ping the Access point (usually 192.168.1.1) or 8.8.8.8 (IP address of Google, if your AP is connected to internet) and check if the network is up and responding. The message “Ping Reply 11ms” is displayed as shown in Figure 5-4. Figure 5-4. Join and Ping CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
VCC and ADC channel 2 (to simulate full scale) or a wire between GND and ADC channel 1 (to simulate zero scale). Alternately, you can connect an adjustable DC power supply to ADC channel Figure 5-5. Potentiometer Connection CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Use the received time from NTP and build Use 00:00:00 UTC time and build the web the web page page Add 1 sec timed event (for measuring ADC output and updating web page) and start web page CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
5-8. It should be noted that the PC and CYW943907AEVAL1F EVK should be connected to the same access point. Rotate the potentiometer and verify that the value shown on web page changes accordingly. One easy way to validate the correct functioning is to rotate the potentiometer to one of the extremes and observe if the full scale value appears.
WPA2 security. The Wi-Fi access point must have access to the internet to connect with AWS. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Bring-up WLAN Interface and Connect to MQTT Broker Error? Open Connection, Subscribe to messages and Publish messages when switch is pressed Error Publishing Exceed Retry Count? Throw Error Message and Exit CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
AWS to create the same. 3. In the created Thing window, click the left arrow to navigate back to the AWS IoT Console window. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 53
Select the check box Allow Effect and then click the Create button as shown in Figure 5-10. 6. In the created policy window, click to navigate back to the AWS IoT Console window. Figure 5-10. Create policy CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 54
<WICED-SDK>\43xxx_Wi- Fi\resources\apps\aws_iot\. 4. Click the Activate button and then click the Attach a policy button as shown in Figure 5-12. The Add authorization to certificate window appears (see Figure 5-13). CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 55
Figure 5-12. Activate and Attach policy 5. Select the check box next to the policy you want to choose and then click the Attach policy button, as shown in Figure 5-13. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 56
11. Click the specific Thing. The Thing ARN window appears. 12. In left navigation pane, choose Interact. 13. Copy the Endpoint from the HTTPS tab as shown in Figure 5-14. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Page 57
AWS console itself. In the AWS IoT Console window, go to Dashboard > Messages published and you should be able to see the number of messages exchanged as shown in Figure 5-15. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Document Revision History Document Title: CYW943907AEVAL1F Evaluation Kit User Guide Document Number: 002-18703 Origin of Revision Issue Date Description of Change Change 06/22/2017 KAVS Initial version of the kit guide. CYW943907AEVAL1F Evaluation Kit User Guide, Doc. No. 002-18703 Rev. **...
Need help?
Do you have a question about the CYW943907AEVAL1F and is the answer not in the manual?
Questions and answers