CYW954907AEVAL1F
Evaluation Kit User Guide
Doc. No. 002-22338 Rev. **
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
www.cypress.com
Страница 1: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 www cypress com...
Страница 2: ...ABILITY 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 li...
Страница 3: ...n 18 3 2 On board programmer Debugger and Serial Interface Chip 18 3 3 CYW954907AEVAL1F Kit Connection 19 3 3 1 Verifying Driver Installation 19 3 3 2 Troubleshooting 20 3 3 3 External Power Supply 20...
Страница 4: ...ctions 45 5 2 3 Verify Output 46 5 3 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 5 4 ADC_measure 51 5 4 1 5 4 1 Project De...
Страница 5: ...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 b...
Страница 6: ...07AEVAL1F EVK supports only 3 3 V as the operating voltage WICED Studio 6 0 or later supports application development using a WICED development board CYW954907AEVAL1F The development system is compati...
Страница 7: ...t your nearest Cypress sales office for assistance www cypress com support Hardware Not Included with the Kit The CYW954907AEVAL1F EVK does not come with all the hardware needed to perform the demon s...
Страница 8: ...CED Header J6 6 Arduino Header J13 7 User Switch 1 SW3 8 User Switch 2 SW1 9 Arduino Header J9 10 PCB Antenna Main ANT1 11 Connector for External Antenna 1 J1 12 CYW54907 Type 1PS Module Murata U14 13...
Страница 9: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 9 Introduction Figure 1 3 CYW954907AEVAL1F Evaluation Board Back View...
Страница 10: ...their location in the WICED IDE are as shown in Figure 1 4 Figure 1 4 illustrates the following 1 Edit your application firmware 2 Help Window that contains instructions on building and downloading ap...
Страница 11: ...nstrate 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...
Страница 12: ...k Start Guide inside the kit box This user guide will help you get acquainted with CYW954907AEVAL1F EVK The Software Installation chapter describes the installation of the kit software This includes e...
Страница 13: ...website https community cypress com For assistance go to www cypress com support 1 8 Additional Learning Resources Visit CYW954907AEVAL1F EVK and CYW54907 for additional learning resources including d...
Страница 14: ...nt Kit WICED Wireless Internet Connectivity for Embedded Devices JTAG Joint Test Action Group I2 C Inter Integrated Circuit MQTT Message Queue Telemetry Transport POR Power on Reset PMU Power Manageme...
Страница 15: ...l installation Before you install the kit software close any other Cypress software that is currently running Ensure you have installed WICED Studio 6 0 or later 2 2 Install Software Follow these step...
Страница 16: ...regular serial communication Figure 2 1 WICED SDK Directory 6 Copy the CY954907AEVAL1F_KitPackage zip file and extract to a temporary location such as temp The zip file will extract two directories ca...
Страница 17: ...s three code examples which add to the existing set of examples available in WICED Studio 6 0 or later Unzipping creates the kits directory under apps and adc_measure in the resources apps directory A...
Страница 18: ...rom Murata This board also contains a USB Serial interface JTAG programmer debugger This board features Arduino form factor compatible headers which enables Arduino shields to be plugged on top extend...
Страница 19: ...for the CYW954907AEVAL1F 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 in Fi...
Страница 20: ...nstallation process the driver may be manually installed from the following directory WICED SDK Drivers Windows wiced_uart If the CYW954907AEVAL1F EVK does not appear in the Device Manager verify that...
Страница 21: ...get 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 b...
Страница 22: ...nip scan CYW954907AEVAL1F Board platform name download Indicates download to target run Resets the target and starts execution 5 Double click alternately right click and select Build Target the Clean...
Страница 23: ...rogram b You will see the following window Click on Serial and select corresponding COM Port for your WICED device Then click on OK c In the Terminal Emulator go to Setup Serial port Select the correc...
Страница 24: ...t Operation 8 The output of the Terminal Emulation program should be similar to what is shown in Figure 3 6 Figure 3 6 Console Output 3 4 2 Troubleshooting If a download_dct error message is displayed...
Страница 25: ...away many breakpoints might not get hit It should be noted that Breakpoints must be placed after starting a debug session in WICED Studio 5 0 or later If there are any breakpoints that were created pr...
Страница 26: ...3 8 4 From the main menu click Run Resume Execution will stop at the breakpoint that you added To continue after hitting the breakpoint click Resume again 5 To disable the breakpoint press the Ctrl Sh...
Страница 27: ...oints in the current thread associate the properties from the Breakpoints window with the current thread Note If you do not see any breakpoints in the Breakpoints window click the Show Breakpoints Sup...
Страница 28: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 28 Kit Operation Figure 3 9 Show Breakpoints Icon Figure 3 10 Enabling Breakpoint for Current Execution...
Страница 29: ...After the POR each pin assumes the GPIO or alternative function specified in CYW54907 Alternate GPIO function table in the CYW54907 Datasheet s 002 19312 Care should be taken to ensure SPI mode and S...
Страница 30: ...ble XTAL clock for DAP sub system 0 Disable Use Test clock TCK for DAP sub sys tem 0 0 RF_SW_CTRL_7 PMU resource initialization mode selection 1 Mode 1 0 Mode 2 0 0 RF_SW_CTRL_9 LPO Low Power oscillat...
Страница 31: ...named LED_1 and LED_2 Table 4 3 shows the Pin name and Enumeration used in WICED for these LEDs Figure 4 2 User LED Circuit Diagram Table 4 3 User LED Available on the Board Switch CYW54907 Pin Name W...
Страница 32: ...ger and serial interface chip as shown in Figure 4 3 The CYW54907 BCM54907 datasheet states that HIB_REG_ON_IN needs to be delayed by at least 2 cycles of the 32 768 kHz clock after VBAT and VDDIO hav...
Страница 33: ...4 CYW54907 EMAC to PHY Chip Connection SL NO CYW54907 Pin Name Net Name in Schematic BCM5241 Pin Name 1 RMII_G_RXC MII_RXC RXC 2 RMII_G_COL MII_COL COL ENERGYDET 3 RMII_G_CRS MII_CRS CRS STANDBY 4 RM...
Страница 34: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 34 Hardware Figure 4 5 Ethernet MAC Controller to External PHY Connection...
Страница 35: ...ost and device modes Figure 4 6 shows the interface between Micro SD connector and CYW54907 Same signals are also listed in Table 4 5 Figure 4 6 Micro SD Connector Circuit Diagram Table 4 5 Micro SD C...
Страница 36: ...closed and connect your external JTAG debugger Ensure the drivers for the debugger hardware are installed in the same PC where WICED Studio is installed When using Olimex connectors for example Olimex...
Страница 37: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 37 Hardware Figure 4 8 JTAG to Olimex Connection...
Страница 38: ...7 PWM_3 WICED_GPIO_16 WICED_LED1 J6 8 GND N A N A J6 9 SPI_1_CLK WICED_GPIO_38 WICED_SPI_2 J6 10 I2S1_SD_OUT WICED_GPIO_37 WICED_I2S_3 J6 11 SPI_1_MISO WICED_GPIO_39 WICED_SPI_2 J6 12 SPI_0_CLK WICED...
Страница 39: ...IO_46 N A J6 36 RF_SW_C TRL_6_UART1_RXD WICED_PERIPHER AL_PIN_1 WICED_UART_1 J6 37 UART1_TXD WICED_PERIPHER AL_PIN_2 WICED_UART_1 J6 38 RF_SW_C TRL_8_UART2_RXD WICED_PERIPHER AL_PIN_7 WICED_UART_3 J6...
Страница 40: ...ached to CYW54907 helps to achieve Analog functionality on the Arduino headers Table 4 8 Arduino Header Pinout Eval Board Header CYW54907 Pin Name Kit Signal Name ARDUINO Header Name WICED Enumeration...
Страница 41: ...N A J9 6 GND GND N A J9 7 GND GND N A J9 8 VIN_EXT VIN N A WICED Peripheral Enumeration ID Pin Name on CYW54907 MURATA Module Pin Name Header Pin Number WICED Enumeration WICED_PERIPHERAL_PIN_2 RF_SW...
Страница 42: ...an external ADC chip MAX11615 connected to CYW54907 through an I2C interface I2C_0 module Slave Address 0x33 Table 4 9 lists the connections between CYW54907 and the external ADC Circuit diagram is sh...
Страница 43: ...D_PWM_1 Combinations Pin MUX Selection Header Pin Header Name PIN_GPIO_10 DEFAULT J12 4 Arduino D11 MOSI PIN_GPIO_0 J10 1 Arduino D0 PIN_GPIO_8 PIN_GPIO_12 J12 5 Arduino D12 MISO PIN_GPIO_14 PIN_GPIO_...
Страница 44: ..._PWM_3 Table 4 14 WICED_PWM_5 Combinations Pin MUX Selection Header Pin Header Name PIN_PWM_4 DEFAULT J6 1 Arduino A1 PIN_GPIO_0 J10 1 Arduino D0 PIN_GPIO_8 PIN_GPIO_10 J12 4 Arduino D11 MOSI PIN_GPIO...
Страница 45: ...dio 6 0 or later snip gpio CYW954907AEVAL1F download run for the gpio example which is already present in WICED Studio kits CYW954907AEVAL1F config_join_ping CYW954907AEVAL1F download run for the conf...
Страница 46: ...6 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 W...
Страница 47: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 47 Code Examples 5 3 3 Flow Chart Figure 5 1 illustrates the config_join_ping flow chart Figure 5 1 config_join_ping Flow Chart...
Страница 48: ...D Studio IDE Open a Termi nal Emulation program and connect to the WICED serial port as detailed in step 8 in the section UART Port Configuration on CYW954907AEVAL1F Kit After initialization of the pl...
Страница 49: ...emory on the board Type the command print_config to validate if the SSID and password match and are appropri ately written in the DCT Type the command join The join command joins the network specified...
Страница 50: ...de Doc No 002 22338 Rev 50 Code Examples Figure 5 4 Join and Ping To disconnect from the access point use the command disconnect The console component maintains a history of commands typed which can b...
Страница 51: ...adc_measure mk This is the makefile which adds the sources components in this application component HTTP_server device_configuration Xively SNTP and Gedday are used and the name of the application It...
Страница 52: ...onnected to channel 1 of the ADC pin A1 in the Arduino header as shown in Figure 5 5 If you do not have a potentiometer to test then you can connect a wire between VCC and ADC channel 2 to simulate fu...
Страница 53: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 53 Code Examples 5 4 3 Flow Chart Figure 5 6 illustrates the adc_measure flow chart Figure 5 6 adc_measure Flow Chart...
Страница 54: ...e provided in Building and Programming a Project for CYW954907AEVAL1F in WICED Studio IDE If connection to the Wi Fi access point is successful then wait for NTP time request to complete Output of the...
Страница 55: ...s file contains the main application function application_start which is the entry point and execution of the firmware application It also contains the function definitions for initializing publishing...
Страница 56: ...Kit User Guide Doc No 002 22338 Rev 56 Code Examples 5 5 2 Hardware Connections No specific hardware connections are required for this project because all connections are hard wired on the CYW954907A...
Страница 57: ...ion about AWS IOT see the help pages of AWS here To set up a new account perform these steps 1 Open https aws amazon com and choose Create an AWS Account 2 Follow the online instructions Part of the s...
Страница 58: ...in the Name field and click the Create thing button For example 54907_aws Note It is possible to exchange messages without a need to create a thing by having a certificate with an attached policy but...
Страница 59: ...st 1 xxxxxxxxxxxx topic replaceWithATopic to arn aws iot us east 1 xxxxxxxxxxxx Notes Use the region that you selected when you set up your account Replace xxxxxxxxxxxx with the appropriate value for...
Страница 60: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 60 Code Examples Figure 5 10 Create policy...
Страница 61: ...te Certificate 3 On the Certificate created page click the Download button for the certificate and private key to save each of them to your PC Notes The certificate and private key cannot be revisited...
Страница 62: ...nt to choose and then click the Done button as shown in Figure 5 13 Figure 5 13 Select policy 6 In the created policy window click to navigate back to the AWS IoT Console window 7 Go to Security Certi...
Страница 63: ...naws com 15 The created Thing policy and certificate are used to interact with the AWS IoT 5 5 4 2 Access Point Credentials Enter your credentials SSID and pass phrase key in the wifi_config_dct h fil...
Страница 64: ...ribe to the specified topic After that if you press switch USER _1 it will turn LED_1 on and off alternatively as shown in Figure 5 15 Note that this is being done over the cloud That is pushing the s...
Страница 65: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 65 Code Examples You will see the message published as follows in Monitor section...
Страница 66: ...CYW954907AEVAL1F Evaluation Kit User Guide Doc No 002 22338 Rev 66 Code Examples Figure 5 16 Messages Published...
Страница 67: ...No 002 22338 Rev 67 Revision History Document Revision History Document Title CYW954907AEVAL1F Evaluation Kit User Guide Document Number 002 22338 Revision ECN Issue Date Origin of Change Description...