Cypress CY3273 User Manual

CY3273
Cypress Low Voltage Powerline
Communication Evaluation Kit Guide
Doc. # 001-55382 Rev. *C
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
http://www.cypress.com
[+] Feedback
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2009-2011. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsib ility for the use of any circu itry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control o r safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom soft­ware and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as speci­fied in the applicable agreement. Any reproduction, modification, transla tion, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATE­RIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. C yp ress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the applica tion or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems whe re a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support sys­tems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement. PSoC® is a registered trademark of Cypress Semiconductor Corporation. All products and company names mentioned in this
document may be the trademarks of their respective holders. Purchase of I2C components from Cypress or one of its sublicensed Associated Companies conveys a license under the
Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. As from October 1st, 2006 Philips Semiconductors has a new trade name - NXP Semicon­ductors.
Flash Code Protection
Cypress products meet the specifications contained in their particular Cypress PSoC Data Sheets. Cypress believes that its family of PSoC products is one of the most secure families of its kind on the market today, regardless of how they are used. There may be methods, unknown to Cypress, that can breach the code protecti on features. Any of these methods, to our knowledge, would be dishonest and possibly illegal. Neither Cypress nor any other semiconductor manufacturer can guaran­tee the security of their code. Code protection does not mean that we are guaranteeing the prod uct as "unbreakable."
Cypress is willing to work with the customer who is concerned about the inte grity of their code. Co de prot ection i s constantly evolving. We at Cypress are committed to continuously improving the code protection features of our products.
2 CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C
[+] Feedback

Contents

1. Introduction 5
1.1 Introduction to the Cypress PLC Solution....................................................................5
1.2 Using the Cypress PLC Solution .................................................................................5
1.3 Kit Contents..................................................................... ... ... .... ... ... ............................7
1.4 Additional Learning Resources........................................................ ... ... .... ... ... ... .... ... ..7
1.5 Additional Requirements........ ... ... .... ... ... ... .... ... ... ....................................... ... ... ... .... ... ..8
1.6 Document Revision History ........................................................................................9
1.7 Documentation Conventions .......................................................................................9
2. Getting Started 11
2.1 Kit Installation .................................. ... ... ... .... ...................................... ... .... ................11
2.2 Software Installation ........................... ... ....................................... ... ... .......................15
2.2.1 Before You Begin ...........................................................................................15
2.2.2 Prerequisites..................................................................................................15
2.2.3 Installing PLC Control Panel Software. ... ... ... .... ... ... ... .... ... ... ... ... .... ... ... ... .... ...15
3. PLC LV Evaluation Board 17
3.1 Features.....................................................................................................................17
3.2 Functional Overview .................... .... ... ... ... .... ... ... ... ... .... ...................................... .... ...17
3.2.1 Operating Conditions . ....................................................................................17
3.3 Hardware Description ................................................................................................18
3.3.1 Power Supply Circuit......................................................................................19
3.3.2 Transmit Amplifier Circuit...............................................................................20
3.3.3 Transmit and Receive Coupling Circuit..........................................................21
3.3.4 Cypress Powerline Communication Transceiver and User Controls..............22
3.4 Setting Up the PLC LV Board....................................................................................23
3.4.1 I2C Header Settings.......................................................................................23
3.4.2 Setting Up Manual Addressing on PLC Boards.............................................24
3.4.3 Setting Up the I2C Address of the Node........................................................25
3.4.4 Jumper Settings for the PLC LV Boards ........................................................25
3.5 Code Example ...........................................................................................................26
3.6 Technical Reference..................................................................................................26
A. Appendix 27
A.1 Schematics ................................................................................................................27
A.1.1 Board Overview.................... ... ... ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... ....................27
A.1.2 User Interface.................................................................................................28
A.1.3 Transmit Amplification and Receive Filter..... .... ...................................... .... ...29
A.1.4 Power Supply.................................................................................................30
A.2 Layout........................................................................................................................31
A.2.1 Top Layer.......................................................................................................31
A.2.2 Ground Layer....................................... ... ... ... .... ... ... .......................................32
CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C 3
[+] Feedback
Contents
A.2.3 Power Layer...................................................................................................33
A.2.4 Bottom Layer .................................................................................................34
A.2.5 Top Silkscreen...............................................................................................35
A.2.6 Bottom Silkscreen..........................................................................................36
A.3 Bill of Materials..........................................................................................................37
4 CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C
[+] Feedback

1. Introduction

1.1 Introduction to the Cypress PLC Solution

Cypress’s Powerline Communication Solution (PLC) enables transmission of command and control data over high voltage and low voltage powerlines. This solution is developed for low bandwidth powerline communication.
The CY3273 PLC Low Voltage (LV) Evaluation Board demonstrates the ability of the Cypress CY8CPLC10 to transmit data at 2400 bps over low voltage (12 V to 24 V AC/DC) powerlines.
This guide includes the following chapters:
Chapter 1 provides a brief overview of the Cypress PLC solution. It describes the contents of the
CY3273 evaluation kit and lists additional requirements to run the code examples, which are included as part of the kit.
Chapter 2 gives the functional and high level hardw ar e descr ip tion of th e Cyp re ss PLC LV
boards. It also describes the setup and operating procedure of the PLC LV board. It describes features such as manual addressing, connection of USB-I2C bridge, and jumper settings with examples.
The Appendix contains the schematics, layout, and bill of materials.

1.2 Using the Cypress PLC Solution

Powerlines are one of the most widely available communication media in the world. The pervasiveness of powerlines makes it difficult to predict its characteristics and noise. Becaus e o f th e variable quality of powerline, implementing robust communication over powerline has been an engineering challenge for years. With this in mind, the Cypress PLC solution is designed to enable
secure, reliable, and robust communication over powerline. Some of the features of Cypress PLC are:
Integrated powerline PHY modem with optimized amplifiers to work with rugged low voltage
powerlines.
Powerline optimized network protocol that supports bidirectional communication with
acknowledgement based signaling and multiple retries.
Support for 8-bit packet CRC and 4-bit header CRC for error detection and data packet
retransmission.
Carrier Sense Multiple Access (CSMA) scheme that minimizes collisions between packet
transmissions on the powerline.
The Cypress PLC solution consists of three key elements as shown in Figure 1-1.
Powerline network protocol layer
Physical layer frequency shift keying (FSK) modem
Power amplification and coupling circuits
CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C 5
[+] Feedback
Introduction
CY8CPLC10
Application
Circuitry
PSoC/
External µC
Powerline
Network Protocol
Powerline FSK
Modem PHY
AC/DC Powerline
Coupling Circuit (110 V-
240 V AC, 12 V-24 V
AC/DC, etc)
Host System
Powerline Communication Solution
I2C Packet
Powerline
Figure 1-1. Cypress PLC Solution Block Diagram
The powerline network protocol layer and physical layer FSK modem are implemented on the CY8CPLC10 device. The power amplification and coupling circuits are built using discrete components. The CY3273 board contains the CY8CPLC10 device along with the power amplification and coupling circuit for communicating on low voltage (12 to 24 V AC/DC) powerlines. For a detailed description of the design parameters for the circuit, refer to application note Cypress
Powerline Communication Board Design Analysis - AN55427.
The CY8CPLC10 device is controlled by an external host microcontroller through an I To evaluate this kit, an external host must be created.
The first option is to use a PC to install and run the Cypress PLC Control Panel GUI, which is
The second option is to use an external microcontroller that runs a host application. The applica-
Note To evaluate this kit, a second low voltage PLC kit is required. The compatible kits are CY3273 (this kit) and CY3275 Low Voltage PLC Development Kit. For information on these kits , visit
http://www.cypress.com/go/CY3273 and http://www.cypress.com/go/CY3275. For details on how to
program CY3275 boards with an I2C-PLC interface, refer to appendix A.2 of PLC Control Panel GUI User Guide.
2
C interface.
included with this kit. The PC interfaces to the CY3273 board through the CY3240-I2USB Bridge that is included with this kit. Steps for setting up this system are provided in the quick start guide that is provided in the kit.
tion note, “AN52478 - Designing an external Host Application for Cypress's Powerline Communi-
cation IC CY8CPLC10, provides a code example that can be programmed on a PSoC
microcontroller board (in this case, the CY3210-PSoCEVAL1) and explains how to interface it to the CY3273 board. This application note is provided with this kit.
6 CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C
[+] Feedback

1.3 Kit Contents

The PLC LV evaluation kit consists of the following:
CY3273 quick start guide
CY3273 PLC LV evaluation board
Five CY8CPLC10-PVXI samples
CD containing:CY8CPLC10 data sheetPacket test softwa re – PLC control panel applicationPLC Control Panel Release NotesCY3273 Release NotesCY3273 evaluation board user guideCY3273 board Altium design projectCY3273 board schematics, layout, and BOMApplication note – Designing an external Host Application for Cypress's Powerline Communi-
cation IC CY8CPLC10 - AN52478
12 V power supply
Daisy chain cable
USB-I2C Bridge
Ribbon cable for I
Retractable USB cable
2
C communication, external reset, and po we rin g exte rn al bo a rd
Introduction

1.4 Additional Learning Resources

Visit http://www.cypress.com/go/plc for additional learnin g resources in the form of dat asheet s, tech­nical reference manuals, and application notes.
CY3273 Schematic.pdf
http://www.cypress.com/?rID=38025
CY3273 Board Layout.zip
http://www.cypress.com/?rID=38025
CY3273 Kit documentation
http://www.cypress.com/go/CY3273
For a list of PSoC Designer-related trainings, see
http://www.cypress.com/?rID=40543
CY8CPLC10 datasheet
http://www.cypress.com/?rID=38236
For more information regarding PSoC Designer functionality and relea ses, refer to the user guide
and release notes on the PSoC Designer web page:
www.cypress.com/go/psocdesigner
For more information regarding PSoC Programmer, supported hardware, and COM layer, go to
the PSoC Programmer web page:
www.cypress.com/go/psocprogrammer
Designing an External Host Application for Cypress's Powerline Communication IC CY8CPLC10
- AN52478
http://www.cypress.com/?rID=37956
CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C 7
[+] Feedback
Introduction

1.5 Additional Requirements

The following Cypress demonstration kit is used in the example applications in this user guide. This kit is available for purchase from http://www.cypress.com/go/CY3210-PSoCEVAL1.
CY3210-PSoCEval1 Kit
This PSoC Evaluation Kit features an evaluation board and MiniProg1 programming unit. The evaluation board includes an LCD module, potentiometer, LEDs, and plenty of bread boarding space to meet all your evaluation needs. The MiniProg1 programming unit is also included with the kit. It programs PSoC devices directly on the evaluation board, or on other boar ds through a 5-p in heade r. This programming unit is small and compact, and connect s to a PC through the USB 2 .0 cable that is provided.
The kit includes:
Evaluation board with LCD module
MiniProg1 programming unit
PSoC Designer software CD
28-pin CY8C29466-24PXI PDIP PSoC device sample
USB 2.0 cable
Getting Started guide
8 CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C
[+] Feedback

1.6 Document Revision History

Table 1-1. Revision History
PDF
Revision
** 08/13/2009 IUS New kit guide *A 12/10/2009 RARP Content updates
*B 16/02/2011 FRE
*C 10/12/2011 ADIY
Creation
Date
Origin
of
Change
Added Software Installation, Code Examples, and Technical Reference sections. Added schematic in Section 2.3. Added references to the compatible low voltage PLC kits. Added a reference to the quick start guide for evaluation. Added clarifications to the text throughout.
Removed reference to CY3277 and CY8CLED16P01. Added Getting Started Section

1.7 Documentation Convent ions

Table 1-2. Document Conventions for Guides
Convention Usage
Courier New
Italics
[Bracketed, Bold]
File > Open
Bold
Times New Roman
Text in gray boxes Describes cautions or unique functionality of the product.
Displays file locations, user entered text, and source code:
C:\ ...cd\icc\
Displays file names and reference documentation: Read about the sourcefile.hex file in the PSoC Designer User Guide.
Displays keyboard commands in procedures: [Enter] or [Ctrl] [C]
Represents menu paths: File > Open > New Project
Displays commands, menu paths, and icon names in procedures: Click the File icon and then click Open.
Displays an equation:
2 + 2 = 4
Introduction
Description of Change
CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C 9
[+] Feedback
Introduction
10 CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C
[+] Feedback

2. Getting S tarted

This chapter describes how to install and configure the CY3273 - LV PLC Evaluation Kit.

2.1 Kit Installation

To install the kit software, follow these steps:
1. Insert the kit CD in your PC’s CD drive. The CD is designed to auto-run and the Kit Installer Startup Screen appea rs.
2. Click Install CY3273 Low Voltage PLC Kit to start the installation.
Figure 2-1. Kit Installer Startup Screen
CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C 11
[+] Feedback
Getting Started
Note If auto-run does not execute, double-click the cyautorun.exe file on the root directory of the CD. Figure 2-2. Root Directory of CD
3. The CY3273 - LV PLC Evaluation - InstallShield Wizard screen appears. Choose the folder location to install the setup files. You can change the location of the folder using Change.
4. Click Next to launch the kit installer.
Figure 2-3. CY3273-LV PLC Evaluation InstallShield Wizard
12 CY3273 Cypress Low Voltage Powerline Communication Evaluation Kit Guide, Doc. # 001-55382 Rev. *C
[+] Feedback
Loading...
+ 28 hidden pages