Advertisement

Quick Links

WirelessUSB™ N:1 Development Kit
User's Guide
Cypress Semiconductor Corporation
3901 North First Street
• San Jose • CA 95134 • 408-943-2600

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WirelessUSB CY3635 N:1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress WirelessUSB CY3635 N:1

  • Page 1 WirelessUSB™ N:1 Development Kit User’s Guide Cypress Semiconductor Corporation • 3901 North First Street • San Jose • CA 95134 • 408-943-2600...
  • Page 2: Table Of Contents

    Table of Contents 1. Introduction ......................3 2. Quick Start......................4 3. Product Overview ....................4 4. N:1 Software Application ...................5 4.1 Detail Pane ........................ 6 4.1.1 Sensor Properties Group Box ..................6 4.1.2 Create Message Group Box ..................6 4.2 Sensor Status Table ....................7 4.3 Graph Pane .......................
  • Page 3: Introduction

    INTRODUCTION The CY3635 N:1 development kit was designed to demonstrate a “many to one” protocol using the WirelessUSB™ family of radios. This DVK will support up to 512 Sensor nodes connected to a single Hub. The N:1 protocol has been designed to operate in noisy environment and uses a combination of frequency agility, coding gain, and packet error detection and correction in order to provide reliable wireless communication.
  • Page 4: Quick Start

    5V DC Power Adapter Serial Cables (2) Power Cable Radio Modules (5) USB Serial Proto Board Adapter Magnet Hub Node Board 24-pin Expansion Ribbon Cable CD-ROM Serial Adapter Boards (2) Set of three AAA batteries (4) 10-pin Serial Ribbon Cables (2) Sensor Node Boards (4) Figure 1: WirelessUSB N:1 DVK Contents QUICK START...
  • Page 5: N:1 Software Application

    N:1 SOFTWARE APPLICATION With the network up and running, the N:1 Application screen should look similar to the following screen capture. Figure 2: Software Application Screen Capture The Sensors initiate communication with the Hub. This allows for the Sensors to optimize their power conservation. When they are not communicating, they are in a low-power state waiting for a hardware wake-up event or the sleep timer to expire.
  • Page 6: Detail Pane

    Detail Pane Selecting a Sensor from the Sensor Status Table will cause its settings to appear in the Detail pane. Each element in the pane is described below. 4.1.1 Sensor Properties Group Box The Sensor ID field shows the Device ID assigned to the selected Sensor. The Sensor Name edit control displays a user-definable friendly name for the Sensor (e.g.
  • Page 7: Sensor Status Table

    Pressing S1 or activating the reed switch with the magnet will generate an immediate report. • Payload data, change the Payload Data Length to the number of bytes to be sent (max 5) and type in a message in the Payload Data field.
  • Page 8 It is recommended that this number is printed on each unit to assist user identification of each physical node during setup of the application. • Battery, Potentiometer, Temperature, Y_LED, R_LED, S1_SW, Reed_SW, DIP1, DIP2, DIP3, and DIP4 – Displays the last reading from the Sensor.
  • Page 9: Graph Pane

    Graph Pane This area of the application is used to graphically display temperature or potentiometer voltage for up to 10 devices. From the Graphs menu, select either Temperature or Potentiometer. To change the scale, select X Axis Scale Setting… from the Graphs menu in order to change the amount of time shown on the screen at once.
  • Page 10: Toolbar

    Toolbar Figure 5: Toolbar • Connect to Hub – Initiates communication between the Host PC and Hub via an RS-232 connection. When communication is established the button will change to the Connected state. • Capture Message Log to File – When enabled, all output to the Message Log Pane is also written to a file.
  • Page 11 a Hub before it can successfully transmit data again. In the N:1 DVK, a Factory Reset will need to be performed. • Bind On/Off – When Bind is on, the Hub spends half of its time servicing the Bind channels which removes bandwidth from servicing normal network traffic.
  • Page 12: Control Dialog

    Control Dialog In addition to the main application window, a special Control Dialog is provided that is designed to monitor temperature Sensors and turn an actuator on and off. We will use an HVAC control system as our example when describing the Control Dialog. Air conditioners, heaters, and electronic dampers will be controlled based on the wireless temperature information collected by the N:1 Application.
  • Page 13: Actuator Functions

    delta function. An appropriate name can also be assigned for each delta function. 4.7.3 Actuator Functions The average and delta functions are then used to create up to four actuator functions. The user specifies the On temperature and the Off temperature.
  • Page 14: Timer/Stopwatch

    environment and allow their readings to settle. Then select the Sensors to be calibrated and then click the Calibrate button. This process takes all of the current temperature readings for the Sensors and computes an average temperature. That average temperature is then compared to each existing Sensor reading and an offset is created and stored in the Windows registry.
  • Page 15: N:1 Firmware And Hardware

    User Button (“S1 BTN”) Power Jumpers Magnetic Reed Switch UART Header Thermistor ISSP Header Cypress PSoC™ Microcontroller DIP Switch LEDs Figure 7: Node Board Overview 5.1.1 Hub and Sensor Jumper Settings The Hub and Sensor use the same physical board assembly and differ only in the jumper settings.
  • Page 16 The Sensor is typically configured to be powered by batteries, but it can also be configured to operate at 5 volts as well. The following table outlines the jumper settings for various power configurations. Jumper J7 Selects node board power source Wall powered (5v) Battery powered Table 3: Node Board J7 Power Jumper Settings...
  • Page 17: Dip Switch Configuration

    5.1.2 DIP Switch Configuration The DIP Switches can be used as general purpose switches during run- time. If S1 is pressed during Reset, the DIP switches are used to access special modes as noted in the following table: The kit is shipped with the DIP Switches set to 0000. DIP Switch Sensor Select Seeded Bind network...
  • Page 18 Hub Automatic Bind Procedure Note that using the Clear Non-Volatile Storage operation on the Hub will erase all prior bound Sensors and start a brand new network. To add a new Sensor to an existing network using Automatic Bind, skip to the Sensor Automatic Bind Procedure below.
  • Page 19: Seeded Bind (Select Seeded Bind Network)

    The “Clear Non-Volatile Storage” function is used to erase the bind parameters stored in FLASH on the Hub and Sensor. On the Hub, this function also clears the non-volatile FRAM that contains the Device ID table. When the Erase Bind parameters is complete, the firmware will flash the red LED indicating that the procedure has been completed and will need to be reset by pressing the Reset Button to resume normal operation.
  • Page 20 Sensor Seeded Bind Procedure Use the following procedure to add a new Sensor to a new or existing network via the Seeded Bind method: Step Device Description Sensor Set the DIP Switches to desired network from Table Sensor Press and hold both the S2 “RESET” button and the S1 “BTN”...
  • Page 21: Clock Out Enable

    The subset was chosen to fit in three DIP switches and work with both 64cpb and 32cpb. To perform a Seeded Bind, set the first three DIP switches to the desired setting based on the table below. S1 needs to be depressed when the PSoC comes out of reset in order for the firmware to perform a Seeded Bind based on the dipswitch setting.
  • Page 22: Serial Adapter Board Jumper Settings

    5.2.1 Serial Adapter Board Jumper Settings The following tables describe the jumper setting options for the Serial Adapter Board. Jumper J2 Selects 3.3V power source On-board regulator From Node Board (via J1 header) Table 13: Serial Adapter Board J2 Jumper Settings Jumper J3 Selects power source of RS232 Transceiver 3.3V...
  • Page 23: Network Latency Tools (Test Mode 1&2)

    Note: Serial debug output may change the PSoC radio timing. Adding extensive debug output is not recommended as it may alter the system timing causing devices to timeout before data can be transmitted. Network Latency Tools (Test Mode 1&2) By default, the Sensor firmware supports two 100 packet latency tests. Both tests will transmit 100 packets to the Hub while recording the total number of packet retries and the latency from when the packet was sent to when an acknowledgement is received from the Hub.
  • Page 24: Parameter Selection Tool

    Parameter Selection Tool The purpose of this tool is to allow you to estimate the network quality and battery life of an application based on several basic parameters. This Tool is located on the CD in the \Docs folder, and is called CY3635 Parameter Selection Tool.xls.
  • Page 25: Wirelessusb Listener Tool

    WirelessUSB Listener Tool To assist developers in debugging WirelessUSB N:1 systems, Cypress has created the WirelessUSB Listener Tool which is available separately (CY3632L). The Listener Tool works by listening to WirelessUSB traffic on a given channel and PN code. It passes the captured packets to a Host computer through a full-speed USB connection.
  • Page 26 The following figure shows a sample screen capture of the WirelessUSB Listener Tool. Figure 12: WirelessUSB Listener Tool Screen Capture WirelessUSB N:1 Development Kit User’s Guide Page 26 of 30...
  • Page 27: Development Environment

    Hub and Sensor Firmware Development For firmware development of the Hub or Sensor nodes, the PSoC development kit is required. Please refer to the table below for detailed requirements. These kits are available for order from the Cypress Online Store at www.cypress.com Development...
  • Page 28: Index

    INDEX ACK ..............23 Graph ...........5, 7, 9, 10 Actuator ............12, 13 Asynchronous ............9 Average ..........12, 13, 14 Hardware ...........3, 5, 10, 15 Average Function ..........12 Header ............. 22 Host......4, 5, 9, 10, 18, 19, 20, 21, 25 Battery ............8, 16, 24 Baud ..............22 Interface .............
  • Page 29 Registry ............6, 7, 14 Serial Adapter ........8, 15, 21, 22 Reset ......10, 14, 17, 18, 19, 20, 21 Serial Port ............22 Response ............20 Sleep............5, 10, 19 Retry..............23 Software........3, 4, 5, 7, 25, 27 Rseponse ............19 Status........5, 6, 7, 8, 9, 10, 25 Storage Rate..........
  • Page 30 Document History Page Revision Date Changes 10/19/04 Initial Release WirelessUSB and is a trademark of Cypress Semiconductor. PSoC and “PSoC Designer” are trademarks of Cypress MicroSystems, a subsidiary of Cypress Semiconductor. WirelessUSB N:1 Development Kit User’s Guide Page 30 of 30...

Table of Contents