background image

46

CY3274 Cypress High Voltage Programmable PLC Development Kit Guide, Doc. # 001-53598 Rev. *G

PLC Development Board

4.3.2

LCD Daughter Card

The LCD module is connected to header LCD1 and controlled with the CY8CPLC20 port 4 pins
P4[6:0].

Figure 4-4.  LCD Daughter Card

Connect the LCD daughter card to the main board as shown in 

Figure 4-5

. LCD contrast is

controlled by the potentiometer R46.

Figure 4-5.  LCD Daughter Card Board Connection

R47

This is a variable resistor (potentiometer) that connects to the VR header. It 
can be used to generate a voltage b5 V and GND.

RX LED[DS2]

Red LED that can be used to indicate when the board is receiving data

S2

Reset switch for resetting the CY8CPLC20-OCD chip

S3[7-0]

These dip switches are general purpose and can be routed to any port of the 
CY8CPLC20 chip.

SW

Header connected to the switch S4. S4 is a general purpose switch. Active 
HIGH (connected to V

DD

 when pressed).

TP1, TP2, TP3, TP4

Grounded test points to facilitate probing/debugging. These test points 
connect to the board ground plane.

TX LED[DS3]

Green LED that can be used to indicate when the board is transmitting data 
on to the powerline

VR

Header connected to the potentiometer R47

Headers and Jumpers

Description

Potentiometer R46
-> For LCD Contrast

Summary of Contents for CY3274

Page 1: ... Voltage Programmable Powerline Communication Development Kit Guide Doc 001 53598 Rev G Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 408 943 2600 http www cypress com ...

Page 2: ... LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Cypress reserves the right to make changes without further notice to the materials described herein Cypress does not assume any liability arising out of the application or use of any product or circuit described herein Cypress does not authorize its products for use as critical components in life support sys...

Page 3: ...17 2 3 PSoC Designer 21 2 4 PSoC Programmer 22 2 5 Uninstall Software 22 2 5 1 Uninstalling the PLC Control Panel Software 22 3 Kit Operation and PLC Control Panel GUI 23 3 1 Theory of Operation 23 3 1 1 CY8CPLC20 Device Description 23 3 2 Functional Description 25 3 2 1 Operating Conditions 25 3 3 PLC Control Panel GUI 25 3 3 1 Program CY3274 Boards with I2C PLC Interface 25 3 3 2 PLC Control Pan...

Page 4: ...ng CY3274 with PLC Control Panel using CY3240 I2USB Bridge 64 5 3 1 Software Requirements 65 5 3 2 PLT Configuration 65 5 3 3 I2C Interface Write Packet Structure 67 5 3 4 I2C Interface Read Packet Structure 67 5 3 5 I2C Application 67 5 3 6 I2C Host Example 68 5 3 7 Evaluating the Example Project on Hardware with PLC Control Panel GUI 68 A Appendix 69 A 1 Schematics 69 A 1 1 Board Overview 69 A 1...

Page 5: ...board may cause interference to other electrical or electronic devices in close proximity In a domestic environment this product may cause radio interference In such cases the user may be required to take adequate preventive measures Also this board should not be used near any medical equipment or RF devices Attaching additional wiring to this product or modifying the product operation from the fa...

Page 6: ...on the board Accidental human contact with high voltage is dangerous The capacitors on the board can be energized even after disconnecting the board from the main power supply Be careful not to touch any parts on the board immediately after you disconnect the main power supply Safety plastic casing is provided on the top of the high voltage section Do not touch the protected area during live opera...

Page 7: ...oduction 1 1 Kit Contents Figure 1 1 Kit Contents The CY3274 PLC HV development kit contains CY3274 quick start guide CY3274 PLC HV development board AC power cable MiniProg1 to program CY8CPLC20 25 jumper wires LCD module USB I2C bridge USB A to mini B cable Five CY8CPLC20 28PVXI Device Samples ...

Page 8: ...evel hardware description of the board Code Examples chapter on page 51 provides explanation on the example projects and working Appendix chapter on page 69 contains the schematics layout and bill of materials 1 3 The Cypress PLC Solution Powerlines are available everywhere in the world This makes them one of the most widely available communication media The pervasiveness of powerlines also makes ...

Page 9: ...sis AN55427 The network protocol layer allows for the addressing of multiple nodes on the network This enables point to multipoint communication The protocol layer also provides a defined packet structure for transmitting data packets from one node to the other as well as error detection and packet retransmit functionalities The chip contains a PSoC core in addition to the PLC core The PSoC core i...

Page 10: ...http www cypress com rID 38201 For more information regarding PSoC Designer functionality and releases 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 AN54416 Using CY8CPLC20 in Powerline Communi...

Page 11: ... DIP Dual In line Package FSK Frequency Shift Keying GPIO General Purpose Input Output GUI Graphical User Interface HV High Voltage I2C Inter Integrated Circuit I O Input Output ISR Interrupt Service Routine LCD Liquid Crystal Display LED Light Emitting Diode OCD On Chip Debug PLC Powerline Communication PLT Powerline Transceiver PSoC Programmable System on Chip QFN Quad Flat No leads RH Relative ...

Page 12: ...ypress com support web page or contact our customer support at 1 800 541 4736 Ext 2 in the USA or 1 408 943 2600 Ext 2 International Table 1 2 Document Conventions for Guides Convention Usage Courier New Displays file locations user entered text and source code C cd icc Italics Displays file names and reference documentation Read about the sourcefile hex file in the PSoC Designer User Guide Bracke...

Page 13: ...ess software that is currently running Disconnect any Cypress devices USB I2C bridge ICE Cube or MiniProg from your computer If you have a previous installation of the PLC Control Panel GUI uninstall it first To uninstall the software go to Start Control Panel Add or Remove Programs for XP Programs and Features for Win 7 and click the Remove Uninstall button adjacent to the particular software Fol...

Page 14: ...LC Control Panel Microsoft NET Framework 3 5 SP1 or later To check if this software is installed go to Start Control Panel Add Remove Programs for XP Programs and Features for Win 7 This software can be downloaded from http www microsoft com downloads details aspx Fami lyID AB99342F 5D1A 413D 8319 81DA479AB0D7 displaylang en Windows Installer 3 1 or later To check if this software is installed go ...

Page 15: ...15 Getting Started 3 As specified this installation process first determines if you have all prerequisite software Follow the on screen dialogs to complete all required installations Figure 2 1 Installation Wizard 4 Click the Next button in Figure 2 1 Figure 2 2 Select Installation Folder ...

Page 16: ...then click the Next button in Figure 2 2 Figure 2 3 Confirm Installation 6 Click the Next button in Figure 2 3 Figure 2 4 End of Installation Wizard 7 Click the Close button in Figure 2 4 8 Verify your installation and setup by opening the PLC Control Panel To open the PLC Control Panel click Start All Programs Cypress PLC Control Panel PLC Control Panel ...

Page 17: ...user guide is also available in the installation directory It contains extra information about installation and how to set up the kit to work with the GUI It can also be accessed from the Help menu in the PLC Control Panel GUI 2 2 Kit Installation To install the kit software follow these steps 1 Download CY3274 kit installer from http www cypress com go CY3274 and start installation 3 The CY3274 H...

Page 18: ... Product Installation Overview screen select the installation type that best suits your requirement The drop down menu has the options Typical Complete and Custom as shown in Figure 2 6 Figure 2 6 Installation Type Options 6 Click Next in Figure 2 6 to go to Figure 2 7 Figure 2 7 Cypress End User License Agreement ...

Page 19: ...Select I accept the terms in the license agreement and then click Next in Figure 2 7 to start the installation 8 When the installation begins a list of all packages appears on the Installation Page 9 A green check mark appears next to every package that is downloaded and installed Figure 2 8 Installation Page ...

Page 20: ...20 CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G Getting Started 10 Click Finish to complete the installation Figure 2 9 Installation Completion Page ...

Page 21: ...ion 2 Click File New Project to create a new project on the PSoC Designer menu or go to File Open Project Workspace to work with the existing project on the PSoC Designer menu Figure 2 10 PSoC Designer Interconnect View 3 For more details on PSoC Designer go to Help Topics from the following directory Install_Dir Cypress PSoC Designer version PSoC Designer 5 Help PSoCDesigner Compiled HTML Help fi...

Page 22: ...to program the hex file on to the chip 5 When the file is successfully programmed Programming Succeeded appears on the Action pane 6 Close PSoC Programmer Note For more details on PSoC Programmer go to Help Topics from the following path Install_Dir Cypress Programmer version PSoC_Programmer Compiled HTML Help file 2 5 Uninstall Software 2 5 1 Uninstalling the PLC Control Panel Software The PLC Co...

Page 23: ...eter reading Home automation Figure 3 1 shows a block diagram of the Cypress CY8CPLC20 PLC Solution To interface the CY8CPLC20 device to the powerline a coupling circuit is required Complete PLC evaluation and development kits compliant with PLC standards in Europe and North America are available at www cypress com go plc Figure 3 1 CY3274 PSoC1 PLC Solution 3 1 1 CY8CPLC20 Device Description The ...

Page 24: ...l broadcast or group mode addressing Carrier Sense Multiple Access CSMA The protocol provides the random selection of a period between 85 and 115 ms out of seven possible values in this range in which the band in use BIU detector must indicate that the line is not in use before attempting a transmission Band In Use BIU A BIU detector as defined under CENELEC EN 50065 1 is active whenever a signal ...

Page 25: ...ent 100 mA 50 mA Operating temperature 0 C to 40 C Operating humidity condition 5 to 95 relative humidity RH non condensing This document provides instructions to install and uninstall Cypress s Powerline Communication PLC solution It describes how to set up the boards and includes detailed descriptions of all tabs in the PLC Control Panel 3 3 PLC Control Panel GUI 3 3 1 Program CY3274 Boards with...

Page 26: ...es checksum still performed and AutoDetection to On 6 Click the Program Part button The status window should show Programming Starting If it does not make sure that the Programming Mode is set correctly see step 5 and the MiniProg is connected to the ISSP connector on the PLC board see the kit user guide for location of the connector If set up correctly the status window shows Programming Succeede...

Page 27: ...ridge When the bridge is connected to the USB port the green LED turns on 3 Make sure there are no jumpers placed on the PLC board 4 Open the Control Panel from Start All Programs Cypress PLC Control Panel 5 The connected bridge appears in the USB I2C bridges list under the main menu of the GUI Select the bridge from the list and click on Connect Make sure that the 5 V PWR option is selected and t...

Page 28: ... Enable Transmitter 10 Enable the receiver by checking Enable Receiver 11 Select Overwrite at Receiver 12 Click on Set Configuration This writes the configuration into the PLC node To verify click on Get Configuration the configuration values remain as they were set If either of these commands are not successful an error message is displayed 13 Perform steps 1 to 10 for the second node This node m...

Page 29: ... Message Type Normal Payload Length Choose a value between 1 and 31 The Payload option automatically config ures for the chosen size Payload Enter the data to be sent here Note that only hexadecimal values are allowed Click on Write Message The Message Status window should show Sending Successful If it shows BIU Timeout go to the Local Node tab and increase the BIU Threshold Value then retry this ...

Page 30: ...ier Select the Enable Auto Reception in A Now messages may be sent bi directionally by typing in the message in the Payload field and clicking the Write Message button The remote node configurations are retrieved and set in the Remote Node tab To get the configurations set the address and click Get Configuration To change the configurations make the changes in the corresponding fields and click Se...

Page 31: ...n the respective fields You may also change the parameters and save it to the local node by clicking Set Configuration Get Configuration Clicking this button retrieves all configuration values from the local node and displays them on the screen Figure 3 10 Local Node The options available for Get Configuration are Logical Address Extended Address This field is the logical or extended address of th...

Page 32: ...nly applicable when the Enable Band In Use checkbox is selected The transmitter does not transmit a packet unless the level of power line signal on the powerline is less than this threshold It should be set higher than the noise on the line which can be determined by measuring the noise in the Noise Measurement tab of this GUI The possible threshold values are 70 75 80 87 90 93 96 and 99 dBµV Ther...

Page 33: ...packet until the host reads the message The message is read in the Messaging tab by clicking Receive Message or Enable Auto Reception Ignore Destination Address If this option is selected the local node accepts all messages that are CRC verified irrespective of the destination address Otherwise the receiver only accepts packets addressed to it Ignore CRC Check If this option is selected the node i...

Page 34: ...Get button Set This button writes the value to the memory array The memory array offset in the field to the left of the Set button and value in the field to the right of the Set button is user specified 3 3 3 3 Remote Node Tab Using this tab the configuration of the Remote PLC Node can be retrieved and changed Figure 3 11 Remote Node Remote Node Address Connection This section enables selecting th...

Page 35: ...PLC node Only the logical address group address transmitter state band in use state and the extended address state are altered by the local node The changes are only applied to the remote node if its Lock Configuration setting is disabled Reset Remote Node Similar to the local node this button allows the user to load the default configurations to the remote PLC node Resetting the PLC node to defau...

Page 36: ...ion Address This is the node to which the message is sent Retry Count This is the maximum number of times a message is sent again by the transmitter if it does not get an acknowledgement for the transmitted packet ACK Timeout This parameter sets the maximum time the node waits for the acknowledgement The possible values are 500 msec Auto 100 msec Auto 50 msec and Auto 20 msec The Auto value is the...

Page 37: ...new messages the Message Status window is not updated Enable Auto Reception Auto reception sets the node to the receiver mode It displays messages in the Message Status window as soon as they arrive In this mode packets are not dropped The node continuously polls for new messages Clear Clicking this button clears all status messages from the Message Status window Statistics This section displays i...

Page 38: ...velopment Kit Guide Doc 001 53598 Rev G Kit Operation and PLC Control Panel GUI 3 3 3 5 Noise Measurement Tab This tab allows scanning the powerline for a particular time interval and capturing the noise levels in dBµV Figure 3 13 Noise Measurement Tab ...

Page 39: ...ket for at least the minimum BIU interval This is recommended for systems that may have other PLC devices transmitting while the noise is being measured After this device transmits the line is free while all the devices wait to acquire the line BIU detection interval For correct operation the minimum BIU time interval should be atleast 50 msec Noise Values dBµV This window displays the noise value...

Page 40: ...40 CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G Kit Operation and PLC Control Panel GUI ...

Page 41: ...onnector to use ICE debugger RS232 COM port for communication Header to attach the LCD card I2 C header for communicating to external device ISSP header for programming the CY8CPLC20 Note For more details on ISSP please visit http www cypress com rID 40048 4 2 CY3274 PLC Development Board Functional Overview The CY3274 PLC development board is designed as a product development platform for low ban...

Page 42: ...s Filtering Vdd 2 Biasing CY8CPLC20 RX pin FSK_IN The CY3274 board can be divided into seven main sections Development LCD daughter card RJ45 connector for debugging RS232 COM port High voltage with SMPS This acts as the built in Power adaptor Transmit amplifier and filtering High voltage coupling circuit Potentiometer R47 Connected to VR High Voltage AC DC Power Supply High Voltage PLC Coupling C...

Page 43: ... I Os to a CY8CPLC20 pin connect a jumper wire between the respective header pins For example to connect the push button S4 to pin P1 6 place a jumper wire in SW on header J18 and the other end in P16 on header J9 The DIP switch bank S3 is not connected directly to any of the CY8CPLC20 pins The DIP switch is connected to header J12 so that a jumper wire can be connected to any of the pins The DIP ...

Page 44: ...n Table 4 1 Headers and Jumpers Headers and Jumpers Description BIU LED DS4 Yellow LED that can be used to indicate when the transmit frequency band is in use CY8CPLC20 OCD Cypress Powerline transceiver chip It is a 100 pin on chip debugger OCD device J8 Two pin header for connecting to Vcc and Gnd for debug Do not use these pins to power an external board JP1 PWR This jumper should be connected t...

Page 45: ... pin connects to the ground plane of the CY3274 board D I2 C data SDA The I2 C data pin is the data line for the I2C communi cation This pin is directly connected to the CY8CPLC20 device See appro priate I2C SDA jumper JP4 settings before connecting I2C bus to this pin C I2 C clock SCL The I2 C clock pin is the clock line for the I2C commu nication This pin is directly connected to the CY8CPLC20 d...

Page 46: ... to generate a voltage between 5 V and GND RX LED DS2 Red LED that can be used to indicate when the board is receiving data S2 Reset switch for resetting the CY8CPLC20 OCD chip S3 7 0 These dip switches are general purpose and can be routed to any port of the CY8CPLC20 chip SW Header connected to the switch S4 S4 is a general purpose switch Active HIGH connected to VDD when pressed TP1 TP2 TP3 TP4...

Page 47: ... 6 RJ45 Connector 4 3 4 RS232 COM Port The RS232 COM Port can be used with a standard RS232 cable to connect two RS232 capable devices together The RS232 J20 header is a four pin header that has connections for the RX TX RTS and CTS lines These need to be wired to port pins to connect the device to the respective pins on the RS232 DB9 port Figure 4 7 RS232 COM Table 4 2 Controls Associated with Po...

Page 48: ...to the powerline F1 Protection fuse for the circuit D7 Full wave bridge rectifier diode IC T3 Common mode choke U6 iW1690 07 iWatt high performance AC DC power supply controller T2 Flyback transformer U5 5 V regulator Component Description U2 U3 These opamps filter the signal from the CY8CPLC20 removing the harmonics The filter stages are only required to meet FCC Part 15 and or European CENELEC E...

Page 49: ...ctions of the board It has a 1 1 turns ratio C9 This is the coupling capacitor that couples the communication signal to the powerline and rejects low frequency noise The voltage rating and X1 X2 safety ratings of this component are important parameters GND VDD 7 50k R22 1 00k R25 4 99 R23 3 1 2 Q3 MMBT3904 GND VDD 2 1 3 FCX491A Q1 2 1 3 FCX591A Q2 GND VPWR 4 02k R16 1 3 2 D6 BAT54S VDD GND 4 3 2 1...

Page 50: ...50 CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G PLC Development Board ...

Page 51: ...ransmits and receives messages over the powerline For more information on this user module see AN54416 Using CY8CPLC20 in Powerline Communication PLC Applications 5 2 PLC Demo The PLT User Module can be implemented on the device CY8CPLC20 This section describes how to develop a PLC application to communicate between two nodes with the device CY8CPLC20 The user is expected to know how to use PSoC D...

Page 52: ...are 1 Open PSoC Designer and create a new chip level Project 2 Select a CY8CPLC20 device 28PVXI for 28 pin SSOP or 48LFXI for 48 pin QFN as shown in Figure 5 1 Both devices have the same number of available hardware blocks and memory but the 48 pin device has more I Os Figure 5 1 Select Project Type 3 The CY8CPLC20 device provides the capability to use the PLT User Modules in addition to all the u...

Page 53: ...ate over the powerline c FSK Modem Network Stack I2C Bridge With this option the FSK modem a proprietary network protocol layer and an I2C bridge is implemented There are no APIs to communicate with the network layer instead the system will receive commands from the external I2C host For detailed steps on how to implement this see I2 C Interface for CY8CPLC20 Select the FSK Modem Network Stack opt...

Page 54: ...5 Vp p default Set to 1 55 Vp p Set to 125 mVp p for CENELEC 3 Rx Gain Rx_Gain 250 uVrms Sets the minimum input sensitivity for the receiver 4 No ACK Received Interrupt INT_Enable Enable Enable Interrupt for no acknowledgment received after if Service Type 1 ACK Mode 5 No Response Received Interrupt INT_Enable Enable Enable Interrupt for No Response Received 6 Rx Packet Dropped Interrupt INT_Enabl...

Page 55: ...efault Allows option to only send data when no other node is using the powerline for its communication 18 BIU Time Interval min Timing_Config 85 ms default Set BIU Time interval 19 BIU Time Interval span Timing_Config 30 ms default Set time interval span 20 BIU Timeout Timing_Config 1 1 s Timeout default Set BIU Timeout value 21 BIU Timeout Interrupt INT_Enable Enable default Enable Interrupt for ...

Page 56: ...K INT_TX_NO_RESP INT_RX_Packet_Dropped INT_RX_Data_Available INT_TX_Data_Sent 5 Place a Timer8 user module with the parameters as shown below This Timer is used to provide the timing for several operations such as switch debounce and time interval between changes in LCD display 28 Logical Address of Node Local_LA_LSB Local_LA_MSB 0 In this project Logical Address is set in the code 29 Single Group...

Page 57: ...rn on TX_LED when transmitting or disables the appropriate LED when the status is complete i PLT_BIU_Active_ISR This ISR is called when the Band In Use is active ii PLT_BIU_Complete_ISR This ISR is called when the Band In Use is no longer set iii PLT_TX_Active_ISR This ISR is called when the Transmitter is actively sending a message iv PLT_TX_Complete_ISR This ISR is called when the Transmitter ha...

Page 58: ...on menu File New File The contents of the files PLC_Demo c and PLC_Demo h from the attached code example CY3274_PLC_Demo should be copied and pasted into these files A high level description of the code is as follows a The PLT and LCD User Modules are initialized The global interrupts are enabled The PLT UM is configured b The state of the MODE_Select Pin is checked and based on this the mode of t...

Page 59: ...amples 5 2 3 Evaluating the Example Project on Hardware Once the application example projects are built they can be evaluated in a powerline system This example is designed to run on the CY3274 high voltage PLC DVK The BIU RX and TX LEDs on the board are hardwired to P2 1 P2 3 and P2 5 respectively ...

Page 60: ...Hardware Setup for the CY3274 2 Attach one end of the MiniProg programmer to the ISSP header and the other end to the PC through the USB cable Figure 5 6 Connecting the MiniProg Programmer 3 You can either test the project created by you based on the guidelines in the above section or directly use the ready sample project CY3274_PLC_Demo available in the Firmware folder of the installation directo...

Page 61: ...window 6 Set the Acquire Mode property as Reset and press the Toggle Power button to power ON the board The toggle power button need not be pressed if the board is already connected and powered through the power line Figure 5 7 Programming Settings 7 Click the arrow in the bottom right corner to start programming After the progress bar is complete the status should say Programming Successful 8 Rem...

Page 62: ...witch connected to P0 1 is used to start halt restart transmission on the transmitter node where as it used to reset the received packet count in the receiver node 4 Do the above connections on the second kit as well 5 Put the 2 DIP switches on S3 in one kit to a different position compared to the corresponding DIP switch on the other kit so that one kit acts as transmitter and the other as receiv...

Page 63: ...p to a packet count of 1000 The LCDs on the kits shows transmission statistics Figure 5 9 Transmitter and Receiver board LCD displays when transmission is in progress 10 Transmission can be started or halted if transmission is in progress or resumed if transmission is halted or restarted when the packet count of 1000 is completed by pressing the push button S4 on the transmitter kit Figure 5 10 Tr...

Page 64: ...Figure 5 12 Receiver board LCD when Rx Packet Count is Reset 5 3 Using CY3274 with PLC Control Panel using CY3240 I2USB Bridge This section describes how the I2 C interface is developed The I2 C interface is compatible with the Cypress PLC control panel GUI which can be downloaded here This section explains the I2C configuration packet structure application and provides an example algorithm for ho...

Page 65: ...com go psocprogrammer PLC Control Panel GUI http www cypress com rID 38135 5 3 2 PLT Configuration You can either follow the below steps for developing the project for I2 C interface with PLC or you can directly use the CY3274_PLC_Control_Panel project present in the Firmware folder of the CY3274 kit installation location The CY3274_PLC_Control_Panel project has been created by following the below...

Page 66: ...igh b Name RX_LED Port Port_2 Pin Port_2_3 Drive Active High c Name TX_LED Port Port_2 Pin Port_2_5 Drive Active High 5 Update the BIU TX and RX ISR code snippets in PLT_1INT asm from Appendix A BIU TX RX Interrupt Service Routines Section of PLT_1INT asm Each ISR enables the appropriate LED when the status is active for example turn on TX_LED when transmitting or disable the appro priate LED when...

Page 67: ...et by sending a write packet for that offset sending data is not necessary 5 3 5 I2 C Application The I2 C write and read messages are processed automatically by the EzI2Cs user module by the ISRs associated with the user module It is important to note that I2C interrupts are disabled by the PLT user module when it is transmitting During this time if the host initiated an I2 C message the CY8CPLC2...

Page 68: ...ransmission it is done Otherwise repeat step 2 5 3 7 Evaluating the Example Project on Hardware with PLC Control Panel GUI Program 2 PLC CY3274 DVKs with the project developed in the PLT Configuration on page 65 or you can directly use the CY3274_PLC_Control_Panel project present in the Firmware folder of the CY3274 kit installation location You can use the same steps in Programming the Boards on ...

Page 69: ...oc 001 53598 Rev G 69 A Appendix A 1 Schematics A 1 1 Board Overview 2 1 L N J7 2 0A F1 1 2 430V D1 TX RX TXDISABLE U_1 PLC20_Interface 1 PLC20_Interface SchDoc RX TX TXDISABLE LINE NEUTRAL U_2 Filters 2 Filters SchDoc LINE NEUTRAL U_3 Power_Supply 3 Power_Supply SchDoc ...

Page 70: ...7 Vcc 1 GND 2 XRES 3 P1 1 4 P1 0 5 ISSP_CON J21 5 pin ISSP Header VDD P10 P11 XRES R46 I2C Connector I2C Pullup Enable 1 2 JP3 1 2 JP4 1 2 3 4 5 6 7 8 9 10 J12 1 2 3 4 5 6 7 8 9 10 J10 P46 P45 P44 P43 P42 P41 P40 1 2 3 4 J20 Header 4 CTS RTS Red LED4 1K R51 Red LED3 1K R50 Red LED2 1K R49 Red LED1 VDD 1K R48 VDD VDD VDD 1 2 S4 1 2 3 4 J9 TX RX VDD VDD 1 2 Y2 32 768kHz 22pF C8 22pF C7 GND 0 1uF C5 ...

Page 71: ...XDISABLE 4 3 2 1 6 5 U3 LMH6639MF 4 3 2 1 6 5 U4 LMH6639MF TX TXDISABLE RX 10 0k R29 36 5 R26 1 0nF C20 GND 1 0nF C22 37 4k R19 3 83k R21 41 2 R27 1 0nF C21 1 0nF C23 37 4k R20 GND 0 1uF C16 GND 0 1uF C17 GND 0 1uF C24 0 1uF C18 GND VPWR 10 0k R30 10 0k R31 0 01uF C36 10 0k R18 10 0k R28 10 0uF C19 GND 1 2 SMAJ12CA D10 GND 22 1 R14 VPWR 10 0k R17 1 0uF C13 1 0uF C15 10 0k R15 GND VPWR 2 0k R10 0 0...

Page 72: ...T50CTR GND VDD GND Vout 7 Isense 6 IBC 4 GND 5 Vin 2 Vcc 8 Vsense 1 Rin 3 U6 iW1690 07 PGND 1 2 B1100 D9 1 0 R37 68k 1 R36 100k R38 2 3 1 Q4 TS13003HV 3 9 R35 PGND 6 8k 1 R40 12k 1 R39 10uF 50V C35 9 8 1 4 5 2 T2 1 2 3 4 24mH T3 2 3 1 4 DF10S D7 LINE NEUTRAL 1 5mH L3 22uH L4 10 0uF C33 0 1uF C27 GND 10 0uF C26 10 0k R33 0 1uF C34 4 7uF 400V C30 1 2 B1100 D8 GND X1 CAP Y1 CAP 0 022uF C29 10 5W R41 ...

Page 73: ...CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G 73 A 2 Layout A 2 1 Top Layer ...

Page 74: ...74 CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G A 2 2 Ground Layer ...

Page 75: ...CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G 75 A 2 3 Power Layer ...

Page 76: ...76 CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G A 2 4 Bottom Layer ...

Page 77: ...CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G 77 A 2 5 Top Silkscreen ...

Page 78: ...78 CY3274 Cypress High Voltage Programmable PLC Development Kit Guide Doc 001 53598 Rev G A 2 6 Bottom Silkscreen ...

Page 79: ...P 15UF 300VAC INTER SUPP X1 C9 1 0 15 µF Murata ECQ U3A154MG P11117 ND Capacitor 1 0 µF 16V C11 1 1 0 µF 16V PCC1849TR ND CAP CERM 0 10 UF 10 16V X7R 0603 C16 C17 C18 C24 C27 C34 6 0 1 µF Panasonic ECJ 1VB1C104K PCC1762CT ND CAP CERM 10 0 UF 10 25V X5R 1206 C19 C26 C33 3 10 0 µF Taiyo Yuden TMK316BJ106 KL T 587 1337 1 ND Capacitor Ceramic 1000 PF 1 5V NP0 0603 C20 C21 C22 C23 4 1 0nF AVX 06033A102...

Page 80: ...pressor 400 W 12 V BIDIRECT SMA D10 1 Micro Com mercial Co SMAJ12CA TP SMAJ12CA TPM SCT ND LED Blue Clear 0603 DS1 1 Rohm SML E12BC7TT86 511 1589 1 ND LED Red Clear 0805 DS2 1 Lite On LTST C170KRKT 160 1415 1 ND LED Green Clear 0805 DS3 1 Lite On LTST C170KGKT 160 1414 1 ND LED Yellow Clear 0805 DS4 1 Lite On LTST C170KSKT 160 1416 1 ND Fuse 2A Slow Blow 250 V AC F1 1 2 0A Bel Fuse RST 2 507 1179 ...

Page 81: ...07 L5 1 1mH Taiyo Yuden CB2518T102K 587 2195 1 ND 14 Pin header Female LCD1 1 14 3M ESD 929850 01 36 RA 929850E 01 36 ND Red LED LED1 LED2 LED3 LED4 4 Red Lumex Opto SML LXT0805IW TR 67 1552 2 ND Mounting Holes MTG1 MTG2 MTG3 MTG4 4 Transistor NPN HV 40 V 1A SOT 89 Q1 1 Zetex FCX491ATA FCX491ACT ND Transistor PNP HV 40 V 1A SOT 89 Q2 1 Zetex FCX591A FCX591ACT ND Transistor NPN SOT 23 Q3 1 Fairchil...

Page 82: ...TR ND Resistor 4 02k 1 1 10W 0603 R16 1 4 02k Yageo RC0603FR 072K02L 311 4 02KHRTR ND Resistor 37 4k 1 1 10 W 0603 R19 R20 2 37 4k Yageo RC0603FR 0737K4L 311 37 4KHRCT ND Resistor 3 83k 1 1 10 W 0603 R21 1 3 83k Yageo RC0603FR 073K83L 311 3 83KHRCT ND Resistor 4 99 1 1 10 W 0603 R23 1 4 99 Yageo RC0603FR 074R99L 311 4 99HRCT ND Resistor 36 5 1 1 10 W 0603 R26 1 36 5 Yageo RC0603FR 0736R5L 311 36 5...

Page 83: ... R57 R58 R59 R60 4 56 P56ACT ND Swtich SPST S2 S4 2 Omron B3F 1022 SW403 ND 4009 Series DIP Switch Raised actuator S3 1 ESwitch KAJ08LAGT EG4441 ND Isolation Transformer T1 1 Precision Components 0505 0821G Power Trasnsformer EE 16 T2 1 3 2mH Shenzen Goldenway EE 16 5 5 rev A T2 2nd Source 1 Renco Elec tronics RLCY 1014 24 mH Common Mode Choke T3 1 24mH Shenzen Goldenway EE8 3 2 2 hori rev A T3 2n...

Page 84: ...DR 296 19851 2 ND Oscillator Y1 1 24 00 MHz Crystek C3290 24 000 C3290 24 000 ND Y1 2nd Source Citizen CSX750FCC24 000M UT 300 7214 2 ND Crystal 32 768 kHz 12 5 pF Y2 1 32 768k Hz ECS Inc ECS 3X8X X1123 ND LCD Module LCD1 1 Cypress Semiconduc tor 1187 00003 Description Designator Quantity Value Manufacturer Manufacturer Part Digi Key ...

Page 85: ...n page 42 Added schematic s Figure 4 8 Figure 4 9 Figure 4 10 Added Code Example on page 30 D 3190764 03 08 2011 FRE Updated Introduction chapter on page 7 Updated The Cypress PLC Solution on page 8 Added references to the compatible high voltage PLC kits Updated PLC Development Board chapter on page 41 Updated Hardware Description on page 42 Updated RJ45 Connector for Debugging on page 47 Added a...

Page 86: ...en Removed figure Root Directory of CD Added Figure 2 7 Updated Figure 2 5 Figure 2 6 Figure 2 8 Figure 2 9 Added Kit Operation and PLC Control Panel GUI chapter on page 23 Updated PLC Development Board chapter on page 41 Updated Board Details on page 41 Updated description Updated Hardware Description on page 42 Updated High Voltage with Switched Mode Power Supply SMPS on page 48 Updated Figure 4...

Page 87: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Cypress Semiconductor CY3274 ...

Reviews: