ATPL250A
PANCoordinator-EK Kit User Manual
USER GUIDE
Atmel-43106C-ATPL- PANCoordinator-EK Kit User Manual-UserGuide_06-Oct-16
Introduction
This PANCoordinator Evaluation Kit (EK) comprises all necessary resources to develop a complete
G3-PLC PANCoordinator. It implements an Atmel
®
Cortex
™
-M7 device acting as MCU host, combined with
ATPL250A modem for PLC (Power Line Communication). ATPL250A is a power line communications base
band transceiver, compliant with the PHY layer of G3-PLC specification.
G3-PLC is a mature, consolidated and worldwide accepted standard for OFDM-based power line
communications, with focus on providing Smart Grid services over electricity distribution networks.
This guide describes how to use the kit and get start with it.
Contents
Welcome letter introducing the evaluation kit and
its contents.
Boards:
One ATPL250ABNv2 board.
One ATPLCOUP007v2.5 coupling
board (CEN-A frequency band).
One
ATPLCOUP002v2
coupling
board (ARIB frequency band).
One
ATPLCOUP006v2
coupling
board (FCC frequency band).
Cables:
Jumpers:
One voltage jumper with pitch 5.08
mm.
One erase
2.54mm.
jumper
with
pitch
One micro A/B-type USB cable.
One power cord cable IEC320-C8.
Features
ATPL250A is a compact and high-efficient device for a wide range of Smart Grid applications such as
Smart Metering (Smart Meters and Data Concentrators), Lighting, Industrial/Home Automation,
Home and Building Energy Management Systems, Solar Energy and Plug-in Hybrid Electric Vehicle
(PHEV) Charging Stations.
ATPL250A G3-PLC device includes enhanced features such as additional robust modes and
frequency band extension.
ATPL250A has been conceived to be bundled with an external Atmel MCU. ATPL250ABN PAN
Coordinator board mounts the ATPL250A transceiver and a SAME70 ARM Cortex M7
microcontroller. This development board provides a full featured platform to develop a complete
communications system based on Power Line Communication technology, providing support for:
–
–
–
–
–
–
–
–
PLC band characterization.
Noise level measurement.
Sensitivity level measurement.
Maximum reachable distance.
Power consumption.
Check PLC performance in different bands (CENELEC, FCC, ARIB) setting different PLC
coupling boards (provided with this evaluation kit).
The EK board can be supplied with universal 115-230 V
AC
50-60 Hz power input.
The EK boards include a JTAG interface for MCU debugging and programming purposes, a
UART for debugging purposes, as well as Ethernet connectivity.
2
PANCoordinator-EK Kit User Manual [USER GUIDE]
2
Atmel-43106C-ATPL- PANCoordinator-EK Kit User Manual-UserGuide_06-Oct-16
Software application examples available based on G3-PLC Stack:
–
Atmel provides an Atmel G3-PLC PHY layer library which is used by the external MCU to take
control of ATPL250A PHY layer device. Three G3-PLC PHY layer example projects are
provided with the kit.
Atmel G3 Stack (ADP + MAC + PHY) for PAN Coordinator with some user applications is
provided with the EK.
–
PANCoordinator-EK Kit User Manual [USER GUIDE]
Atmel-43106C-ATPL- PANCoordinator-EK Kit User Manual-UserGuide_06-Oct-16
3 3
Ta bl e of Conte nts
1.
Evaluation Kit Specifications ...................................................................................... 7
1.1
1.2
Safety recommendations ....................................................................................................................... 7
Electrical characteristics ........................................................................................................................ 7
2.
Evaluation Kit Overview .............................................................................................. 9
2.1
2.2
Design support ...................................................................................................................................... 9
PANCoordinator-EK contents ................................................................................................................ 9
3.
ATPL250ABN Hardware............................................................................................. 13
3.1
3.2
3.3
3.4
3.5
Overview ............................................................................................................................................. 13
Features .............................................................................................................................................. 13
Block diagram...................................................................................................................................... 16
Mechanical and user considerations ................................................................................................... 16
Hardware description .......................................................................................................................... 17
3.5.1 Power supply .......................................................................................................................... 17
3.5.2 Zero crossing detector ............................................................................................................ 18
3.5.3 SAME70Q21 Flash microcontroller......................................................................................... 18
3.5.4 ATPL250A PLC Transceiver ................................................................................................... 19
3.5.5 PLC Coupling.......................................................................................................................... 20
3.5.6 Peripherals.............................................................................................................................. 22
3.5.7 Interface Ports ........................................................................................................................ 23
4.
ATPLCOUP007 Hardware .......................................................................................... 26
4.1
4.2
4.3
4.4
Overview ............................................................................................................................................. 26
Features .............................................................................................................................................. 26
Mechanical and user considerations ................................................................................................... 27
Hardware description .......................................................................................................................... 27
5.
ATPLCOUP002 Hardware .......................................................................................... 28
5.1
5.2
5.3
5.4
Overview ............................................................................................................................................. 28
Features .............................................................................................................................................. 28
Mechanical and user considerations ................................................................................................... 29
Hardware description .......................................................................................................................... 29
6.
ATPLCOUP006 Hardware .......................................................................................... 30
6.1
6.2
6.3
6.4
Overview ............................................................................................................................................. 30
Features .............................................................................................................................................. 30
Mechanical and user considerations ................................................................................................... 31
Hardware description .......................................................................................................................... 31
7.
PAN Coordinator Evaluation Kit: Getting started .................................................... 32
7.1
Introduction to the embedded system ................................................................................................. 32
7.1.1 IAR Embedded Workbench .................................................................................................... 32
7.1.2 Keil µVision ............................................................................................................................. 32
7.1.3 Atmel Studio 6 ........................................................................................................................ 32
7.1.4 Atmel SAM-ICE JTAG Probe .................................................................................................. 33
7.1.5 J-Link / SAM-ICE JTAG Probe Software & Documentation Pack ........................................... 33
7.1.6 Atmel Software Framework (ASF) .......................................................................................... 35
PLC application example 1 – PHY Tester ........................................................................................... 36
7.2
4
PANCoordinator-EK Kit User Manual [USER GUIDE]
4
Atmel-43106C-ATPL- PANCoordinator-EK Kit User Manual-UserGuide_06-Oct-16
7.3
7.4
7.5
7.6
7.2.1 Atmel PLC PHY Tester tool Installation .................................................................................. 37
7.2.2 Supplying the boards .............................................................................................................. 39
7.2.3 USB connection ...................................................................................................................... 40
7.2.4 Programming the embedded file ............................................................................................. 41
7.2.5 Running the PLC application example 1 ................................................................................. 43
PLC application example 2 – PHY TX Test Console ........................................................................... 55
7.3.1 Supplying the boards .............................................................................................................. 56
7.3.2 USB connection ...................................................................................................................... 56
7.3.3 Programming the embedded file ............................................................................................. 56
7.3.4 Running the PLC application example 2 ................................................................................. 57
PLC application example 3 – PHY Sniffer ........................................................................................... 61
7.4.1 ATPL Multiprotocol Sniffer tool Installation ............................................................................. 62
7.4.2 Supplying the boards .............................................................................................................. 64
7.4.3 USB connection ...................................................................................................................... 64
7.4.4 Programming the embedded files ........................................................................................... 65
7.4.5 Running the PLC application example 3 ................................................................................. 65
Introduction to G3 Stack ...................................................................................................................... 68
7.5.1 FreeRTOS .............................................................................................................................. 68
7.5.2 ASF Integration ....................................................................................................................... 69
7.5.3 Atmel G3-PLC Stack Structure ............................................................................................... 70
PLC application 4 – PLC Network ....................................................................................................... 72
7.6.1 Supplying the boards .............................................................................................................. 72
7.6.2 USB connection ...................................................................................................................... 72
7.6.3 Programming the embedded files ........................................................................................... 72
7.6.4 Running the PLC application example 4 ................................................................................. 74
8.
References ................................................................................................................. 77
Board schemes......................................................................................... 78
Appendix A
A.1 ATPL250ABNv2 Schemes .................................................................................................................. 78
A.2 ATPLCOUP007v2.5 schemes ............................................................................................................. 85
Revision History................................................................................................................ 88
PANCoordinator-EK Kit User Manual [USER GUIDE]
Atmel-43106C-ATPL- PANCoordinator-EK Kit User Manual-UserGuide_06-Oct-16
5 5