Texas Instruments G3 Power Line Communication Data Concentrator on BeagleBone Black Design User guide

Type
User guide

Texas Instruments G3 Power Line Communication Data Concentrator on BeagleBone Black Design is a simplified, cost-effective solution to evaluate G3-Power Line Communications (PLC) using the BeagleBone Black (BEAGLEBK) and the PLC Modem Kit (TMDSPLCKITV4-CEN kit). It forms a small end-to-end G3-PLC network using two modems from the TMDSPLCKIT kit: one for Data Concentrator PHY and one for Service Node.

Texas Instruments G3 Power Line Communication Data Concentrator on BeagleBone Black Design is a simplified, cost-effective solution to evaluate G3-Power Line Communications (PLC) using the BeagleBone Black (BEAGLEBK) and the PLC Modem Kit (TMDSPLCKITV4-CEN kit). It forms a small end-to-end G3-PLC network using two modems from the TMDSPLCKIT kit: one for Data Concentrator PHY and one for Service Node.

Service node
½ TMDSPLCKITV4
Data concentrator
BeagleBone Black ½ TMDSPLCKITV4
Data concentrator with BeagleBone BLACK
Modem SubSystem
Supporting function
Legend:
Processor SubSystem
Host PC
(Terminal)
Host PC
(Terminal)
BeagleBone
BLACK
PLC modem
PLC modem
USB-RS232
bridge
(CMOS)
Powerline
TI Designs
G3 Power Line Communications Data Concentrator on
BeagleBone Black Platform Design Guide
TI Designs Design Features
TI Designs provide the foundation that you need Simplified, Cost-Effective Solution for Evaluating
including methodology, testing, and design files to G3-Power Line Communications (PLC) Using
quickly evaluate and customize the system. TI Designs BeagleBone Black (BEAGLEBK) and TI's PLC
help you accelerate your time to market. Modem Kit (TMDSPLCKITV4-CEN kit)
Forms a Small End-to-End G3-PLC Network Using
Design Resources
Two Modems from TMDSPLCKIT Kit:
One for Data Concentrator PHY and One for
TIDEP0023 Tool Folder Containing Design Files
Service Node
More Information on PLC Kit
PLC Kit
Demonstrates Single-Phase Coupling
G3 DC Software More Information on G3 DC Software
BeagleBone Black More Information on BeagleBone Black
Based on Kits Available from the TI Store or
Distributors that Include Linux Applications,
Middleware, Drivers, Hardware Schematics, Bill of
ASK Our E2E Experts
Materials, and Design Files
WEBENCH® Calculator Tools
Design Description
This PLC Data Concentrator design offers a simplified
approach for evaluating G3-PLC using BeagleBone
Black powered by the Sitara™ AM335x processor.
Users can establish a G3-PLC network with one
service node. This design supports single-phase
coupling.
An IMPORTANT NOTICE at the end of this TI reference design addresses authorized use, intellectual property matters and other
important disclaimers and information.
All trademarks are the property of their respective owners.
1
SPRUHT4May 2015 G3 Power Line Communications Data Concentrator on BeagleBone Black
Platform Design Guide
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Required Hardware
www.ti.com
1 Required Hardware
One Linux computer, or a virtual machine running Linux
One microSD (2GB+)
One BeagleBone black board
One TMDSPLCKITV4 kit
One FTDI-RS232 bridge
2 Step-by-Step Description
This walkthrough will enable users to build a G3 PLC network with one node. Users can build up a PRIME
PLC network in a similar fashion. Users will also learn how to configure and compile a Linux kernel
required for this task.
Create a Standard Image on an SD Card
The base for this DC image will be the default image provided by the TI SDK. To modify the image:
1. Install the latest SDK on your Linux machine (or virtual machine).
(a) Download the latest SDK, here “ti-sdk-am335x-evm-07.00.00.00-Linux-x86- Install.bin” from
http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html.
(b) Install the package on the Linux machine using a console window.
./ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin
Use the suggested directory, for example /home/user/ti-sdk-am335x-evm-07.00.00.00/.
NOTE: The abbreviation through the guide for this path is $SDK.
2. Make an SD card (2GB or more) available to the Linux machine and install the standard (pre-built)
image on it.
cd $SDK/bin
sudo ./create-sdcard.sh
Options: Create two partitions and use the pre-built image.
3. If necessary, remove and insert the SD card to mount it properly to the Linux environment.
2
G3 Power Line Communications Data Concentrator on BeagleBone Black SPRUHT4May 2015
Platform Design Guide
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com
Step-by-Step Description
Change and Compile the Kernel
You need to change the kernel to add certain components not included in the standard kernel:
1. Make the SDK tool chain path available (Remember $SDK is just an abbreviation and needs to be
replaced with your SDK installation path).
export PATH=$SDK/linux-devkit/sysroots/i686-aragolinux/ usr/bin:$PATH
2. Change to Linux kernel top folder.
cd $SDK/board-support/linux-<ver>
3. Clean kernel directory.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihftisdk_ am335x-evm_defconfig
4. Configure kernel.
A comfortable GUI easily allows adding of components.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
The GUI will appear. Add following components to the kernel:
(a) IPv6 functionality
Networking supportNetworking optionsThe IPv6 protocol <*>
(b) Virtual tunnel networking
Device driversNetwork device supportUniversal TUN/TAP device driver support <*>
(c) FTDI USB driver to recognize the TMDSPLCKITV4 hardware
Device driversUSB supportUSB Serial Converter Support <*>USB FTDI Single Port Serial
Driver
(d) Enable USB port on the beagle bone (used as host)
Device driversUSB supportInventra Highspeed Dual Role Controller <*>Platform Glue Layer
<*>[Separate window]: TI DSPS platforms (x)Enable support for AM335x devices <*>
Save configuration and exit.
5. Compile kernel
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x80008000 zImage
Copy Created Files to the SD Card
The new kernel must be copied to the default installation on the SD card:
1. Remove old kernel and copy new kernel to SD card (assuming you are still in directory kernel top
directory).
sudo rm /media/rootfs_/boot/zImage
sudo ./arch/arm/boot/zImage /media/rootfs_/boot
Enable PLC Modem to Act as DC PHY
The PHY hardware of a DC and the service nodes are exactly the same, which means the
TMDSPLCKITV4 can be used as PHY for the DC:
1. Flash image sysbios_g3_plc_dc_F2806x_AFE031_CRC16_MSB to the PLC modem, which is provided
in the G3 DC software package. See the TMDSPLCKITV4 manual for a description.
2. Connect BeagleBone (P3 [USB]) and TMDSPLCKITV4 (J3 [USB]).
The DC application accepts a UART connection to the PLC PHY hardware by using a virtual com port.
3. Power up the TMDSPLCKITV4.
D2 of the PLC SoM module should blink with a frequency of 1 Hz.
Boot the BeagleBone Black with the SD Card
1. Remove the SD card from Linux computer and insert in BeagleBone board.
2. Connect FTDI USB-RS232 bridge to J1 of the BeagleBone board. The USB connector connects to
your host computer (Linux or window).
3. Open a new console on your host and start a terminal program (for example, minicom). Make sure the
FTDI bridge is tied to it.
4. Apply power to BeagleBone board through the USB socket P4. Press and hold S2 while powering up
the board. The BeagleBone board should boot now. Check the minicom output.
3
SPRUHT4May 2015 G3 Power Line Communications Data Concentrator on BeagleBone Black
Platform Design Guide
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Step-by-Step Description
www.ti.com
Copy PLC Software to System
Until now, the BeagleBone software would not recognize PLC software at all. A convenient way is to
connect the BeagleBone board to the Ethernet and copying the data using FTP tool like Filezilla
(assuming the host computer is also connected to the Ethernet).
1. After BeagleBone powers up, log in to BeagleBone board.
am335x-evm login: root
2. Get the IPv4 address of the BeagleBone board.
ifconfig
3. Build a connection from host computer to BeagleBone board using an FTP program.
4. Create a directory, for example G3, in the /home/root directory of your BeagleBone environment.
5. Copy all binaries from the G3 DC software package to the /home/root/G3 directory.
The standard PLC package has a folder SW/bin where all files for the AM335X should be copied. Copy
all files with fragment “AM335x” in the file name to the BeagleBone directory. The latest G3 DC
software package is available for download at http://www.ti.com/tool/TI-PLC-G3-DC.
Running the G3 DC Application
1. Back in the BeagleBone terminal window of your host machine, go to directory G3 and allow execution
of all copied files.
cd G3
chmod +x *
2. Start the G3 application.
./g3_dc_AM335X_aes_msb_loadng.exe –d –c /dev/ttyUSB1
3. You can always check whether the application is running with the command.
ps
4. Now, an SN can join the network using another PLC modem with service node software installed. See
the TMDSPLCKITV4 manual on how to join a network.
Perform a Data Transfer over the Network
Once the SN has joined, you can trigger simple data transfer by using application udpIPv6App_AM335X
./udpIPv6App_AM335x –l 32 –s 0x1
The packet length is 32 bytes and the short address is 0x1. The short address will be assigned to each
joining node starting at 0x1.
The G3 network should now run. These steps will work as well for PRIME standard.
4
G3 Power Line Communications Data Concentrator on BeagleBone Black SPRUHT4May 2015
Platform Design Guide
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
RxLineF
3V3
RxLine
RxLineF
R37
150R
C26
22nf
C24
10nF
U4
B350A-13-F
L3
470uH
U6
B350A-13-F
L2 330uH
R36 150R
TP4
TP_CLIP_5015
C25 33nf
TXRX
Vafe3V3
3V3
SPISIMOA
5
SPISTEA
5
SPISOMIA
5
SPICLKA
5
PWM1A
6
PWM2A
6
TXDRVEN
5
INT
5
ADCINA0
5
TxLine
4
RxLine
3
DAC
5
R30R
TP2
TP_CLIP_5015
J3
Pin 1
1
Pin 2
2
Pin 3
3
Pin 4
4
Pin 5
5
Pin 6
6
Pin 7
7
Pin 8
8
Pin 9
9
Pin 10
10
Pin 11
11
Pin 12
12
D1
LED_RED
1
2
R79
330R
R20R
J2
Pin 1
1
Pin 2
2
Pin 3
3
Pin 4
4
Pin 5
5
Pin 6
6
Pin 7
7
Pin 8
8
Pin 9
9
Pin 10
10
Pin 11
11
Pin 12
12
www.ti.com
Design Files
3 Design Files
3.1 Schematics
Figure 1. Connections Schematic
Figure 2. AFE1 (Passive RX Filter) Schematic
5
SPRUHT4May 2015 G3 Power Line Communications Data Concentrator on BeagleBone Black
Platform Design Guide
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Place Near U17
Minimize Parasitics to GND
ideal 5pf
as close to U17 as possible
Minimize Trace Length
U17 MUST BE on TOP (OUTER, FREE-AIR) side of board.
keep pin19 clear from signals
Jumper Settings:
J4: 1-2 Normal Operation
2-3 PWM Mode, TX PGA Bypass
J6: 1-2 Normal Operation
2-3 RX PGA1 bypass
J7: 1-2 Normal Operation
2-3 RX PGA1 bypass
J8: 1-2 Normal Operation
2-3 RX PGA2 bypass
J9: 1-2 Normal Operation
2-3 RX PGA2 bypass
Place Near U17
20 Mill or GREATER!
3V3
Vafe
Vafe
3V3
3V3
3V3
TxLinePF
4
SPISIMOA
2
SPISOMIA
2
SPICLKA
2
SPISTEA
2
DAC
2
TXDRVEN
2
INT
2
ADCINA0
2
RxLineF
3
PwmFilter
6
ComBias
6
TP5
C87
0.1uf
R82
330R
C79
300pf
AFE031
U17
DGND
1
DVDD
2
SCLK
3
DIN
4
DOUT
5
CS
6
DAC
7
SD
8
INT
9
TSENSE
10
AVDD1
11
AGND1
12
RX_F_IN
25
RX_PGA1_OUT
26
RX_PGA1_IN
27
C2
28
AGND2
29
AVDD2
30
E_RX_OUT
31
E_RX_IN
32
E_TX_OUT
33
E_TX_IN
34
E_TX_CLK
35
ZC_OUT2
36
ZC_OUT1
37
ZC_IN2
38
ZC_IN1
39
PA_GND2
40
PA_GND1
41
PA_OUT2
42
PA_OUT1
43
PA_VS2
44
PA_VS1
45
PA_ISET
46
TX_FLAG
47
RX_FLAG
48
TX_PGA_IN
13
TX_PGA_OUT
14
TX_F_IN1
15
TX_F_IN2
16
TX_F_OUT
17
PA_IN
18
C1
19
RX_PGA2_OUT
20
RX_PGA2_IN
21
RX_F_OUT
22
RX_C2
23
RX_C1
24
PowerPad
49
C65
100nF
C84
100nF
C69
100nF
R78
10K
TP6
C70
100nF
C82
DNP
J4
SILH-3
1
1
2
2
3
3
C67
100nF
P1
HS
1
1
2
2
J6
SILH-3
1
1
2
2
3
3
TP8
C83
DNP
J7
SILH-3
1
1
2
2
3
3
C66
0.1uf
C81
DNP
C72
10UF
J8
SILH-3
1
1
2
2
3
3
C85
3n3F
R71
10K
C89
0.1uf
U19
18V
C74
47uf
TP7
TP_CLIP_5015
J9
SILH-3
1
1
2
2
3
3
R72
10K
C88
0.1uf
C73
47uf
R73
10K
R75
10K
C76
10UF
C78
910pf
R74
10K
C86
10nF
R77
10K
20 Mil or GREATER
Vafe
Vafe
TxLine
TxLinePF
C38
10UF
U10
STPS1L40A
U12
STPS1L40A
R51 0R
R80
100K
L1
LB 3218T1ROM
R81
100K
Design Files
www.ti.com
Figure 3. AFE2 (Passive TX Filter) Schematic
Figure 4. AFE031 Schematic
6
G3 Power Line Communications Data Concentrator on BeagleBone Black SPRUHT4May 2015
Platform Design Guide
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Vplus4350
Vplus4350
3V3
ComBias
5
PWM1A
2
PWM2A
2
PwmFilter
5
C14
100nF
R31 6K8
R26
15K
R24 3K3
R23
2K67
R25 1K47
C13
82pf
C16
10nF
U20
OPA2365AID
OutA
1
InA(-)
2
InA(+)
3
V(-)
4
V(+)
8
OutB
7
InB(-)
6
InB(+)
5
C19
820pf
R28 30K
C18 1uF
R30 30K
C15
150pf
C17
0.1UF
www.ti.com
Design Files
Figure 5. PWM Filter Schematic
3.2 Bill of Materials
To download the bill of materials (BOM), see the design files at TIDEP0023.
3.3 CAD Project
To download the CAD project files, see the design files at TIDEP0023.
3.4 Gerber Files
To download the Gerber files, see the design files at TIDEP0023.
3.5 Software Files
To download the software files, see the design files at TIDEP0023.
7
SPRUHT4May 2015 G3 Power Line Communications Data Concentrator on BeagleBone Black
Platform Design Guide
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
IMPORTANT NOTICE FOR TI REFERENCE DESIGNS
Texas Instruments Incorporated ("TI") reference designs are solely intended to assist designers (“Buyers”) who are developing systems that
incorporate TI semiconductor products (also referred to herein as “components”). Buyer understands and agrees that Buyer remains
responsible for using its independent analysis, evaluation and judgment in designing Buyer’s systems and products.
TI reference designs have been created using standard laboratory conditions and engineering practices. TI has not conducted any
testing other than that specifically described in the published documentation for a particular reference design. TI may make
corrections, enhancements, improvements and other changes to its reference designs.
Buyers are authorized to use TI reference designs with the TI component(s) identified in each particular reference design and to modify the
reference design in the development of their end products. HOWEVER, NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL
OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY THIRD PARTY TECHNOLOGY
OR INTELLECTUAL PROPERTY RIGHT, IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right,
or other intellectual property right relating to any combination, machine, or process in which TI components or services are used.
Information published by TI regarding third-party products or services does not constitute a license to use such products or services, or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
TI REFERENCE DESIGNS ARE PROVIDED "AS IS". TI MAKES NO WARRANTIES OR REPRESENTATIONS WITH REGARD TO THE
REFERENCE DESIGNS OR USE OF THE REFERENCE DESIGNS, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ACCURACY OR
COMPLETENESS. TI DISCLAIMS ANY WARRANTY OF TITLE AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT, QUIET POSSESSION, AND NON-INFRINGEMENT OF ANY THIRD PARTY
INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO TI REFERENCE DESIGNS OR USE THEREOF. TI SHALL NOT BE LIABLE
FOR AND SHALL NOT DEFEND OR INDEMNIFY BUYERS AGAINST ANY THIRD PARTY INFRINGEMENT CLAIM THAT RELATES TO
OR IS BASED ON A COMBINATION OF COMPONENTS PROVIDED IN A TI REFERENCE DESIGN. IN NO EVENT SHALL TI BE
LIABLE FOR ANY ACTUAL, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR INDIRECT DAMAGES, HOWEVER CAUSED, ON ANY
THEORY OF LIABILITY AND WHETHER OR NOT TI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, ARISING IN
ANY WAY OUT OF TI REFERENCE DESIGNS OR BUYER’S USE OF TI REFERENCE DESIGNS.
TI reserves the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per
JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant
information before placing orders and should verify that such information is current and complete. All semiconductor products are sold
subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques for TI components are used to the extent TI
deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not
necessarily performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
Reproduction of significant portions of TI information in TI data books, data sheets or reference designs is permissible only if reproduction is
without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for
such altered documentation. Information of third parties may be subject to additional restrictions.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards that
anticipate dangerous failures, monitor failures and their consequences, lessen the likelihood of dangerous failures and take appropriate
remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in
Buyer’s safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed an agreement specifically governing such use.
Only those TI components that TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components that
have not been so designated is solely at Buyer's risk, and Buyer is solely responsible for compliance with all legal and regulatory
requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2015, Texas Instruments Incorporated
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8

Texas Instruments G3 Power Line Communication Data Concentrator on BeagleBone Black Design User guide

Type
User guide

Texas Instruments G3 Power Line Communication Data Concentrator on BeagleBone Black Design is a simplified, cost-effective solution to evaluate G3-Power Line Communications (PLC) using the BeagleBone Black (BEAGLEBK) and the PLC Modem Kit (TMDSPLCKITV4-CEN kit). It forms a small end-to-end G3-PLC network using two modems from the TMDSPLCKIT kit: one for Data Concentrator PHY and one for Service Node.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI