12
PLC Stamp micro 2 Datasheet I2SE GmbH October 23, 2015 1/12

PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

PLC Stamp micro 2 Datasheet

I2SE GmbH

October 23, 2015

1/12

Page 2: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

CONTENTS CONTENTS

Contents

1 Abstract 3

2 Applications 3

3 Interfaces 3

4 Handling 4

5 Module overview 4

6 Technical Data 56.1 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56.2 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

7 Firmware and MAC addresses 5

8 Module pinout 68.1 GPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

8.1.1 Power On Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68.1.2 GPIO Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

8.2 Serial Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78.2.1 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78.2.2 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

8.3 Recommended Footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

9 Getting started 8

10 Module Marking 10

11 Order Information 1111.1 Available accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

12 How to reach us 12

2/12

Page 3: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

3 INTERFACES

Revisions

Revision Release Date Changes1 initial release

1 Abstract

The PLC (PowerLine Communication) module gives your application access to powerline communication based onthe HomePlug R© Green PHYTM Chip QCA7000 / QCA7005. You can realize point-to-point and multi-point connec-tions depending on your application. The data will be transmitted as Ethernet packets over the power line. Thisgives you the opportunity to use TCP/IP or whatever network protocols you wish to use.The galvanic isolation from the power line as well as the power supply is left to you so that you can design it rightfor your application.The QCA7000 from Qualcomm Atheros guarantees the compatibility with many other commercial powerline devices.

Parameter ValuePower supply 3.3 VPower consumption 0.5 WData rate max. 10 MBit/sReach max. 300 m over the PowerlineTemperature range -40 ◦C - 85 ◦C (Industrial) / 0 ◦C - 70◦C (Commercial)Outline dimension 22 mm x 22 mm x 4.5 mmWeight 4 g (preliminary)RoHS PLC Stamp micro 2 is manufactured RoHS compliant

2 Applications

• interconnection of household appliances to the Smart Grid

• connecting smart meters to Smart Meter Gateways and/or LAN/WAN/Wifi

• connecting sensors

• connecting photovoltaics

• connecting heating and air conditioning

• coupling of machines and measurement devices

• forwarding of digital Signals (remote I/O)

• coupling of RF-cells for home automation

3 Interfaces

Powerline: 230 V AC, 110 V AC, DC, dead-wire 2-wire-connectionsSerial interfaces: UART or SPI (order option)

3/12

Page 4: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

5 MODULE OVERVIEW

4 Handling

This electronic component is sensitive to electrostatic discharge (ESD).The module contains components with moisture sensitivity level (MSL) 3. Please handle them accordingly.

5 Module overview

The block diagram in figure figure Figure 1 shows the components on the module in the grey box as well as theconnections and external components that you need additionally.

Figure 1: Block diagram of PLC Stamp micro 2

All parts are located below a metal shield. Information about the module are printed on a high temperature label ontop of this shield.

4/12

Page 5: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

7 FIRMWARE AND MAC ADDRESSES

Figure 2: Picture of the Module

6 Technical Data

6.1 Absolute Maximum Ratings

SYMBOL PARAMETER Min. Max. UNITVDD Digtal supply voltage -0.3 3.46 VVDIO Digtal input voltage -0.3 3.63 VTSTORE Storage temperature -40 150 ◦CRAH Relative air humidity (not condensing) 10 90 %

6.2 Operating conditions

SYMBOL PARAMETER Min. Typ. Max. UNITVDD Digtal supply voltage 3.13 3.3 3.46 VIDD Current for VDD - 150 (average) 300 mATCASE Top of case temperature (Industrial) -40 - 85 ◦C

Top of case temperature (Commercial) 0 - 70 ◦C

7 Firmware and MAC addresses

These modules come with firmware and parameter information block (PIB) programmed. The PIB contains theMAC addresses of the module, prescaler values that define the output power and settings for automotive use ofthe QCA7000 (SLAC). The MAC address will be out of an I2SE block. The prescaler values that are written in theproduction process were defined by Qualcomm for the intended application / market (see order option ParameterOptimization). The automotive variants include settings to enable SLAC for either the EVSE or the PEV side.

5/12

Page 6: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

8.1 GPIO 8 MODULE PINOUT

8 Module pinout

PIN Direction Name Description1 SUPPLY VDD Supply Voltage for the Module2 IN RX N Powerline receiver input negative3 IN RX P Powerline receiver input positive4 OUT TX N Powerline transmitter output negative5 OUT TX P Powerline transmitter output positive6 IN ZC IN Zerocross detection input7 SUPPLY GND Ground connection8 SUPPLY GND Ground connection9 SUPPLY GND Ground connection

10 – – not present (mechanical coding)11 SUPPLY GND Ground connection12 SUPPLY GND Ground connection13 SUPPLY GND Ground connection14 SUPPLY GND Ground connection15 SUPPLY GND Ground connection16 SUPPLY GND Ground connection17 SUPPLY GND Ground connection18 IN/OUT GPIO 0 GPIO 0 of the QCA700019 IN/OUT GPIO 1 GPIO 1 of the QCA700020 IN/OUT GPIO 2 GPIO 2 of the QCA700021 IN/OUT GPIO 3 GPIO 3 of the QCA700022 IN RESET L Reset (low active)23 IN/OUT SERIAL 4 Serial 4 of the QCA700024 IN/OUT SERIAL 3 Serial 3 of the QCA700025 IN/OUT SERIAL 2 Serial 2 of the QCA700026 IN/OUT SERIAL 1 Serial 1 of the QCA700027 IN/OUT SERIAL 0 Serial 0 of the QCA700028 SUPPLY GND Ground connection

8.1 GPIO

8.1.1 Power On Configuration

The QCA7000 has four GPIO which are read at boot time to get the desired configuration. The table Table 7 showshow to configure the QCA7000 on boot time.

GPIO # Function pull up pull down Preload0 boot source flash host -1 Host Interface - SPI slave 10 kOhm pull down2 SPI slave mode burst legacy -3 none - - -

Table 7: QCA7000 boot strap options

8.1.2 GPIO Functions

The QCA7000 GPIOs have different functions after booting. They can either be used as input or output to displayvarious states or trigger some actions. It is not possible to use these pins from your own application - only theQCA7000 software can control these GPIOs.The GPIOs are set up as noted in table table Table 9.

6/12

Page 7: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

8.2 Serial Signals 8 MODULE PINOUT

GPIO # Direction Function0 Output Pushbutton Simple Connect (blinking with 1Hz: simple connect mode active,

off: not in simple connect mode)1 Output unused in default configuration2 Output PLC Connection (high=established connection, low=now connection)3 Input (lowactive) Start Pushbutton Simple Connect

Table 9: QCA7000 GPIO settings

8.2 Serial Signals

The signals SERIAL 0 through SERIAL 4 are the SPI or UART signals. Table table Table 11 describes the UARTand SPI function for each signal.

Signal Name SPI function UART functionSERIAL 0 InterruptSERIAL 1 CLK RTSSERIAL 2 CS CTSSERIAL 3 MISO TXDSERIAL 4 MOSI RXD

Table 11: QCA7000 UART/SPI signals

Please note that selecting between SPI and UART mode is done via different firmware of the QCA7000 and thereforeis an order option.

8.2.1 UART

The UART supports baud rates up to 115,200 baud and has four signal pins: TXD, RXD, RTS and CTS.

8.2.2 SPI

The QCA7000 uses SPI in Mode 3: CPOL=1, CPHA=1.The SPI should be used in burst mode, meaning that the chip select is held low during a complete SPI message.The SPI CLK period should not be less than 83.3 ns resulting in an maximum clock frequency of 12 MHz.

7/12

Page 8: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

8.3 Recommended Footprint 9 GETTING STARTED

8.3 Recommended Footprint

Figure 3: PLC Stamp micro 2 Footprint

Notes:

1. All dimensions are in mm

2. Pads are all of the same size

3. Distances between pads are equal if not otherwise given in the drawing.

4. Drawing in figure figure Figure 3 shows the top view on the footprint (like you would see through the module)

5. Restricted areas should be kept free of copper on the base PCB

6. The Module outline shows the ideal measures - tolerance is not included.

9 Getting started

For using PLC Stamp micro 2 you will have to make some choices before you start developing the hardware:Which serial Interface do you want to use?: UART is much easier to use, but less robust and slower (maximumbaudrate). SPI is more robust due to it’s syncronous nature but this makes it harder to use. SPI can be used totransmit data to the QCA7000 faster (maximum serial clock frequency). In general using SPI is the best choice,which is why it is used in the default order variant.Which medium do you want to couple the HomePlug GreenPHY signal to? Depending on your choice there mightbe different requirements for isolation and transient protection. The signal can be coupled to a clean transmissionline where you do not have heavy isolation requirements and no transients that you might want to be protected of.On the other side you might have a CAT IV / 3 Phase / 230 V line that you need to inject your signals to. The lattermedium requires more thought regarding isolation and transient protection.Do you have any sources of noise or capacitive sinks in your transmission line? Both can affect the signal quality.You should avoid having sources of noise in the region of 2-30 MHz. Power supplies or things like solar invertersmight have capacitors between L and N, which will effectively short circuit the PLC frequencies.

8/12

Page 9: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

9 GETTING STARTED

A possible implementation of the coupling circuit is shown in figure figure Figure 4 for coupling to mains and infigure figure Figure 5 for automotive applications. These schematics are both loosely based on the QCA7000Add-In reference schematic from Qualcomm Atheros.

Figure 4: Reference Schematic for PLC coupling to mains

Figure 5: Reference Schematic for PLC coupling to the pilot signal

Capacitors C1, C2, C5, C6 need to be selected according to your environment. They are presented with almostthe full voltage from your communication lines and if connected to mains you need to use X1 types. Please alsoremember to consider all other product safety related topics.If you use a dead wire connection you can use the circuit for automotive. If you are not sure if the signals will coupleto other lines where PLC communication is used you should connect the Zero Cross detector in the lower part ofthe schematic to your mains port.I2SE provides you with all non standard parts that you will need to put that design into your own application. See

9/12

Page 10: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

10 MODULE MARKING

section ,,Available Accessories” for further references to these parts.An easy way to put PLC Stamp micro 2 into operation is to use it with the evaluation kit that is offered by I2SE.Please contact your distributor about it.

10 Module Marking

Each Module is marked with a label containing the following data:

1. order code

2. QCA7000 / QCA7005 MAC Address (printed with colon every two digits, the Datamatrix code contains thedigits without a separator)

3. Serial Number

4. Production Date Code: WWYY

5. Device Security Key

6. 2D Datamatrix code containing the above information as a list of space separated values

Additionally each label contains:

1. I2SE Banner

2. pin 1 marking

An example is shown in figure figure Figure 6.

Figure 6: Example Label for PLC Stamp Micro 2

10/12

Page 11: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

11 ORDER INFORMATION

11 Order Information

The following table gives you an overview about the available variants of PLC Stamp micro 2. The column identifi-cation gives you a guideline to identify each variant.

Order code Chip TemperatureRange / ◦C

SerialInterface

Parameter Opti-mization

availability

I2PLCAMC-ISC-002 QCA7000 -40 - 85 SPI CE Class B standardI2PLCAMC-ISN-002 QCA7000 -40 - 85 SPI North America on requestI2PLCAMC-ISE-002 QCA7000 -40 - 85 SPI Automotive EVSE on requestI2PLCAMC-ISP-002 QCA7000 -40 - 85 SPI Automotive PEV on requestI2PLCAMC-IUC-002 QCA7000 -40 - 85 UART CE Class B on requestI2PLCAMC-IUN-002 QCA7000 -40 - 85 UART North America on requestI2PLCAMC-IUE-002 QCA7000 -40 - 85 UART Automotive EVSE on requestI2PLCAMC-IUP-002 QCA7000 -40 - 85 UART Automotive PEV on requestI2PLCAMC-CSC-002 QCA7000 0 - 70 SPI CE Class B on requestI2PLCAMC-CSN-002 QCA7000 0 - 70 SPI North America on requestI2PLCAMC-CSE-002 QCA7000 0 - 70 SPI Automotive EVSE on requestI2PLCAMC-CSP-002 QCA7000 0 - 70 SPI Automotive PEV on requestI2PLCAMC-CUC-002 QCA7000 0 - 70 UART CE Class B on requestI2PLCAMC-CUN-002 QCA7000 0 - 70 UART North America on requestI2PLCAMC-CUE-002 QCA7000 0 - 70 UART Automotive EVSE on requestI2PLCAMC-CUP-002 QCA7000 0 - 70 UART Automotive PEV on requestI2PLCBMC-ISC-002 QCA7005 -40 - 85 SPI CE Class B on requestI2PLCBMC-ISN-002 QCA7005 -40 - 85 SPI North America on requestI2PLCBMC-ISE-002 QCA7005 -40 - 85 SPI Automotive EVSE on requestI2PLCBMC-ISP-002 QCA7005 -40 - 85 SPI Automotive PEV on requestI2PLCBMC-IUC-002 QCA7005 -40 - 85 UART CE Class B on requestI2PLCBMC-IUN-002 QCA7005 -40 - 85 UART North America on requestI2PLCBMC-IUE-002 QCA7005 -40 - 85 UART Automotive EVSE on requestI2PLCBMC-IUP-002 QCA7005 -40 - 85 UART Automotive PEV on request

Table 13: PLC Stamp micro 2 Order Codes

ProductFamilyCode

Chip Temperature Range Serial In-terface

Parameter Opti-mization

Version

I2PLC A: QCA7000 MC- I: Industrial (-40 - 85 ◦C) S: SPI C: CE Class B -002B: QCA7005 C: Commercial Tempera-

ture Range (0 - 70 ◦C) -only for QCA7000

U: UART N: North America

E: Automotove EVSEP: Automotove PEV

Table 15: PLC Stamp micro 2 Order Code construction

11/12

Page 12: PLC Stamp micro 2 Datasheet - Codico · 2016-02-04 · MAC addresses of the module, ... SERIAL 2 CS CTS SERIAL 3 MISO TXD SERIAL 4 MOSI RXD Table 11: ... 6.The Module outline shows

12 HOW TO REACH US

11.1 Available accessories

I2SE provides you with tested powerline transformers. These are part of the reference designs. Please see furtherdocumentation for a full specification of these transformers.

Version Order Code1:4:5 for mains power line coupling I2PLCTR-11:1:1 for Electric Vehicle and Electric Vehicle Supply Equipment I2PLCTR-2

12 How to reach us

Home Page: http://www.i2se.com

I2SE GmbHFriedrich-Ebert-Str. 6104109 LeipzigGermany

12/12