Download ATPL250A USER GUIDE

Transcript
Open the IDE tool used, Atmel Studio or IAR Embedded Workbench. Select the PHY sniffer tool project,
apps_phy_sniffer_tool.atsln or apps_phy_sniffer_tool.eww, and now build it to generate the output file.
Note that kits do not provide a J-Link ARM or SAM-ICE JTAG probe in order to connect to the
user’s host PC and the boards to download and debug the projects.
Remember that, every PHY example project is contained in the following Software folder:
“./Software/G3_va.b.c_CENELEC/g3.workspace.sam4c16c_atpl250amb\thirdparty\g3\phy\
atpl250\apps”.
And also you can find them in the workspace project, sam4c16c_PLC_examples, which is
contained in following Software folder:
“.\Software\G3_va.b.c_CENELEC\g3.workspace.sam4c16c_atpl250amb\thirdparty\g3\app
s\apps_workspace_sam4c16c_atpl250amb \”.
Remember that the J-Link USB drivers must have been downloaded previously from the Segger
webpage (see section 6.1.4) and they depend on your operating system.
As we commented in a previous section, every coupling board is intended to be used in
their corresponding frequency band(s) only. By default, sniffer project of
G3_va.b.c_CENELEC folder is compiled for ATPLCOUP007 board. This means that only
CENELEC-A frequency band is supported.
If you are going to use ATPLCOUP006v1 coupling board, you must use G3_va.b.c_FCC folder to build
the PHY sniffer project with the correct configuration. For that, open the IDE tool used, Atmel Studio or
IAR Embedded Workbench. And open the PHY sniffer project application, apps_phy_sniffer_tool.atsln
or apps_phy_sniffer_tool.eww.
After that, you can select the file atpl250db_conf.h, that it is in the PHY project directory,
“.\Software\G3_va.b.c_FCC\g3.workspace.sam4c16c_atpl250amb\thirdparty\g3\phy\atpl250\module_c
onfig”, find the define function to select the frequency band configuration (see Figure 6-59). Change
frequency band name to desire and build to generate the output file.
Figure 6-59. Frequency band configuration definition.
Check the Table 3-1 for the characteristics of the available ATPLCOUP boards.
6.4.5
Running the PLC application example 3
As you can see in Figure 6-52, the boards are plugged into the same power line. Users have to execute
an instance of the ATPL Multiprotocol Sniffer tool – which has been previously installed in the host PC
– in order to enable communication between the sniffer board and the PC. The ATPL Multiprotocol
Sniffer tool is used to monitor data traffic on the network. You can also use the ATPL Multiprotocol
Sniffer tool to monitor the PLC messages which they do not belong the G3 standard then the messages
will be showed in red colour and without PduType.
The main window of the Sniffer PC interface is shown in Figure 6-60.
ATPL250A-EK Kit User Manual [USER GUIDE]
Atmel-43083C-ATPL-ATPL250A-EK-Kit-User-Manual-UserGuide_24-Sep-2015
69 6
9