Home
ST7580 power line modem demonstration kit graphical user interface
Contents
1. Before loading this software you must read carefully and agree to the following terms and conditions which are automatically agreed to by loading this Software or any portion thereof If you do not agree to the terms of this Agreement do not install or use this Software or any portion thereof License grant ST grants you a non exclusive royalty free worldwide license to this Software written for ST products Software You have the right to use copy modify and distribute the Software with ST products only All ST software is required to contain the ST copyright notice which is not to be removed for any reason You acknowledge that the Software is not designed nor authorized for use in life supporting devices or systems Ownership and copyright of Software Title to the Software and all copies thereof remain with ST The Software is copyrighted and protected by worldwide copyright laws and international treaty provisions Except as expressly provided herein ST does not grant any express or implied right to you under ST patents copyrights trademarks or trade secret information Warranties and liabilities ST makes no warranty express or implied including but not limited to any warranty of i marketability or suitability for a particular purpose and or ii requirements for a particular purpose in relation to the Software which is provided on an AS IS basis All warranties conditions or other terms implied by law are exclu
2. kyy UM1518 YI User manual ST7580 power line modem demonstration kit graphical user interface GUI Introduction The ST7580 GUI is a software tool that allows one or more ST power line modem PLM demonstration boards to be interfaced with a personal computer PC Only PLM demonstration boards eguipped with the ST7580 device are supported When using the ST7580 GUI the user has complete control of the ST7580 device having access to all its registers and functions described in 2 The typical application environment shown in Figure 1 consists of an ST7580 GUI running on a PC and communicating through a USB connection with a PLM demonstration kit equipped with the ST7580 product such as the EVALKITST7580 1 consisting of an EVALST7580 1 modem board and an EVLALTAIR900 M1 power supply board Figure 1 ST7580 typical application environment EVALKITST7580 1 ST7580GUl PERSONAL COMPUTER PC AM16520v1 December 2012 Doc ID 022791 Rev 2 1 37 www st com Contents UM1518 Contents 1 Document conventions soolon nk 5 1 1 List of abbreviations 0 0000 5 2 Connection procedure 0cce cece eens 6 3 GUI installation 1400006 m es ln el afe c d Ro RR eee 8 3 1 Software license agreement 000 nnen 8 3 2 System requirements uoce eue 9 echa eme RS dep eR ET seed saued 9 3 3 Installing the software 12 es aud eek ERR UAR EIE ese s h 10 4 Getting st
3. A DL_Snifferlndication has been notified by the modem The communication link from Slave to Master is judged to be the cause of the wrong single Ping loopback and dedicated Ping Wrong Link 2 counter increases In case of no Indication message notified by the ST7580 within the inter packet time interval the single Ping loopback is judged as failed by increasing the corresponding Ping Not OK counter Figure 24 reports the flowchart of Master node throughout Ping session ky Doc ID 022791 Rev 2 25 37 Services UM1518 26 37 Figure 24 Ping session Master flowchart DL operating layer Sniffer flag activated written on MIB object 00h Modem configuration TX Frequency TX gain overwritten on MIB object 01h PHY configuration Transmitted frames 0 Transmitted frames Yes total frame number Ping Stop No Start Timeout Inter packet time value Transmit frame Fixed modulation gain frequency Selected Slave Number Data Frame Number Transmitted frame Frame transmitted Yes Indication message received Yes Timeout elapsed No DL Datalndication No received Yes Yes Electrical features Payload data egual to those sent DL Snifferlndication received Yes Ping Not Ok counter Ping Ok counter Ping Wrong Link 1 counter Ping Wrong Link 2 counter Incremented Incremented Incremented Incremented Transmitted frame number has incremented AM16
4. 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 4 37 ST7580 typical application environment n 1 Hardware update wizard screen kk ee 6 Completing the found new hardware update wizard 0 000 cece eee eee eens 7 ST7580 GUI installation wizard 2 10 ST7580 GUI destination folder oss n 10 GUl set p start asu a us eoe wae Fu ceci ee Dae bead Banat Ake sl 11 GUI Setup finish umm eure eee hee Pea PEE Pees eo e CR ECR pee EA 11 1 980 GW C 13 Modem connection procedure soks 14 Modem connection Success sms anne 14 Modem configuration som 15 Power line transmission boX ooo nn 17 Transmission notifications onnee 17 Power line confirm DOX loss 18 Reception notification o eaa oss I n 19 Position of MIB Objects sms RR ae 20 PingRequest and PingConfirm graphical tools liliis 21 ResetRequest command console view sos kk eren 21 Resetlndication command console view sos onkeen 22 Status message fields msn 22 Host interface error occurrence msn KK nn 23 Ping session Master and Slave tabs sssusa n 24 Payload subfields on DL frames of Ping session 0 0 00 eee eee eee 25 Ping session Master flowchart 1 0 0 0 000 ee 26 Ping session slave flowchart 0 0 0 0 00
5. Address counter Incremented Incremented Frame transmitted Transmitted frames counter incremented DL Datalndication No received Received Ok counter Incremented Ping Stop RX Wrong CRC counter Incremented Received frame number incremented AM16524v1 Doc ID 022791 Rev 2 UM1518 Services 5 6 2 lt Ping Master session As shown in Figure 26 the following parameters listed in Table 3 can be selected for the Ping session corresponding to Master device Control parameters are the variables that can be selected by the user while indicators are automatically displayed by the GUI during the Ping session Figure 26 Ping Master tab COM settings Modem configuration Communication MIB Ping Status SLAVE Frame Modulation TX Freq Set BPSK v PHY Cfg New i OKSIA W Jera ES Electrical a si i parameters on transmitting Payload Type fed J Random Lenathivalue k 8 ed a Max frames Data 0123456789ABCDEF Slave Destination Address 0 Frame Number x 0 Message settings Ping Session activity and results Payload data Type Data Length Destination Slave address Frame number AM16525v1 Doc ID 022791 Rev 2 29 37 Services UM1518 30 37 Table 3 Ping session Master tab parameters Parameter Electrical parameters of transmitting frames Type Description Choice of modulation
6. DL frame of the Ping session it increases on next sent frames up to value 255 hexadecimal FF The next frame after that with a number of frames equal to 255 is built with a subfield equal to 0 The user chooses the number of frames to be transmitted by the Master during the Ping session which ends after sending this number of frames After each sent frame a further frame is expected to be received to successfully accomplish a single Ping loopback within an interval with length equal to inter packet time In case of a frame received by the Master node the GUI compares the electrical parameters and Payload to those for transmitted frame Three cases are taken into account by the GUI 1 ADL Datalndication has been notified by the modem reporting the same electrical features modulation carrier frequency the Payload length and data values over the three subfields as the last ones to be transmitted The single Ping loopback is reported as successful by increasing a dedicated Ping OK counter 2 ADL Datalndication has been notified by the modem reporting different electrical features or Payload data As DL Datalndication assumes a correct check on CRC of the powerline frames the communication link from Slave to Master is considered as good while the difference of frames are supposed to be due to the link from Master to Slave Hence the single Ping loopback is reported as failed by increasing a dedicated Ping Wrong Link 1 counter 3
7. Payload data enabling the application to collect statistical data When a Ping session is active the GUI adds some automatic services to the functions and commands of the ST7580 device The Ping tab displays different control and indicator values in accordance with the role that the EVALKITST7580 board handled by the GUI has during the Ping session Figure 22 shows both Ping tabs for Master and Slave nodes Doc ID 022791 Rev 2 23 37 Services UM1518 Figure 22 Ping session Master and Slave tabs COM settings Modem configuration Communication MIB Ping Session COM settings Modem configuration Communication MIB Ping Session Ping Status SLAVE MASTER PingStatus SLAVE MASTER tUm s Mas mee 99 sm loma seem fme TX Frea Hz vs deos far de RX Hah ch mode RXiowchmode i la 86000 PSK vi PSK vi Spe Payload Type Fed Ja Random Lenoth value i 8 Fed J Max pomosi Ping Time fs J 50 mimi porn Data 0123456789ABCDEF start F Slave Destination Address 0 Frame Number 0 Total Fames 100 Inter Packet Time s 3 4 o _Ping Not OK a la AM16521v1 The Ping session can be logged in a txt file selecting the Save Logs switch located on the right top edge of both Master and Slave tab The resulting file records the powerline activity both transmitted and received frames of the node over the Ping session 5 6 1 Ping protocol 24 37 The Ping session co
8. Request command 2 Alltransmission parameters to be filled in a data request command note that TX Gain value is accessible if Gain Selector bit is equal to Custom value only SS Header Length value is accessible if selected TX Layer value is equal to SS Data only 3 The Payload box where the data to be transmitted must be expressed in hexadecimal characters 4 The length in bytes of the inserted Payload data automatically calculated and displayed 5 The Data Request button that builds a Data Request command and transmits it to the ST7580 connected device Doc ID 022791 Rev 2 ky UM1518 Services 5 2 2 lt Figure 12 Power line transmission box TRANSMISSION Transmission Parameters Custom PHY Cig E a ED D Payload 0123456789ABCDEF length e Data Reguest Button AM11957v1 After pressing the Data Request command the console displays it followed by the message returned by the ST7580 i e either a corresponding Confirm or Error message as displayed in Figure 13 Figure 13 Transmission notifications EH 517580 GUI R145 2012 10 02 El AM11958v1 Power line confirm command The confirm box as depicted in Figure 14 shows the parameters of the last Data Confirm command A green red LED reports the success of the previous Data Request Doc ID 022791 Rev 2 17 37 Services UM1518 Figure 14 Power line con
9. com and unzip them to a location on the host PC 2 Launch the setup file VCP V1 3 1 Setup exe to install the virtual COM port driver on the PC 3 When the screen shown in Figure 2 is displayed click Next to proceed with the installation Figure 2 Hardware update wizard screen Device Driver Installation Wizard Welcome to the Device Driver Installation Wizard This wizard helps you install the software drivers that some computers devices need in order to work To continue click Next AM11947v1 Doc ID 022791 Rev 2 ky Connection procedure UM1518 The setup is completed and the screen shown in Figure 3 is displayed 4 Completing the found new hardware update wizard Figure 3 Device Driver Installation Wizard Completing the Device Driver Installation Wizard The drivers were successfully installed on this computer You can now connect your device to this computer If your device came with instructions please read them first Driver Name W STMicroelectronics usb W STMicroelectronics usb W STMicroelectronics usb AM11948v1 5 Connect the EVALKITST7580 1 to a spare USB port on the host PC an STMicroelectronics virtual COM port is recognized by the PC device manager and the EVALST7580 1 is installed and ready to use Doc ID 022791 Rev 2 7 37 GUI installation UM1518 3 3 1 8 37 GUI installation Software license agreement 1 Important
10. communication results A point in the top part of this window always displays the composition of the status message returned by the modem and the occurrence of error during the last requested command 12 37 Doc ID 022791 Rev 2 ky UM1518 Getting started 4 2 Figure 8 ST7580 GUI EX ST7580 GUI R145 2012 10 02 File Tools Help Error 4 Status Message TX RX COM settings Modem configuration Communication MIB Ping Session UART settings COM1 kusi Open 21 157600 wj gg Close Host Interface settings COM number Baud rate Show frame details v Iv Show payload details COM status Host Interface TimeOuts ms Tsr Tack Tic a 200 a 40 a 10 Write Ping Reguest Data 1111111111111111 Ping Confirm Data Ping Request Ping Confirm M Opening the COM HER Console AM16527v1 To establish communication with the EVALST7580 1 demonstration board 1 Manually select the COM port number associated to the 2 Select the desired baud rate Note that the EVALST7580 baud rate equal to 57600 bps Doc ID 022791 Rev 2 board 1 board has a factory default 13 37 Getting started UM1518 14 37 Figure 9 Modem connection procedure E ST7580 GUI R145 2012 10 02 File Tools Help Error 2 Status Message TX RX OC COM settings Modem configuration Communication MIB Ping Session Host Interface settings UARI setting COM
11. layer or CRC 32 LE vi Payload wl Modem Configuration Write Modem Configuration Read COM status Frequencies RX settings TX settings Host Interface TimeOuts ms Pear Even Ie Tq Spem v eee Ex Ter Tack Tic a 86000 RX High ch mode v EN 21 GENES E Low Foa ol T MP Read write amp 72000 8 E FSK settings PSK settings Ping Request Data 1111111111111111 Baudrate Preanble length Ping Confirm Data 2400 bps i 32 bis wf Premi Lenin Ping Request Ping Confirm M o k se xw m PHY Configuration Write 02h SS Key SS Key 00000000000000000000000000000000 01h PHY Configuration Last Data Indication Parameters Frame Modulation Rx Channel PGA SNR ZC Delay 04h Last Data Indication BPSK w lowcmmev 40 bO k 0 Last Transmission Parameters Max Temp MAXGain OverCurrent Event ZC Delay 05h Last TX Confirm EG MAR JEJ a 0 RU Min Te Min Gain s vi 20 No Overcurrent Read 07h DL Data n RM 08h SS Data N ao Go ae KN AM11961v1 The buttons present on the GUI perform the allowed operations writing reading erasing on each corresponding object 5 4 Other ST7580 commands 5 4 1 Ping commands 20 37 Through a dedicated button located in the COM Settings tab it is possible to send to the ST7580 a PingReguest command with editable data Payload After the execution of the PingReguest command a PingConfirm command is expected the success of the previous reguest and data received are displayed through a dedicated LED and b
12. on the console and is named as a Power On Reset event as shown in Figure 19 lt Doc ID 022791 Rev 2 21 37 UM1518 Services Figure 19 Resetlndication command console view EX sT7580 GUI R145 2012 10 02 File Tools Help AM11967v1 5 4 3 Status message The status message is automatically displayed with all its fields in the box below the GUI console The meaning of each field is explained in Figure 20 Figure 20 Status message fields foc sy Estimated Temperature Active Layer eue Configuration Transmission Reception Flag status Status Status AM11964v1 5 5 Host interface errors 22 37 The errors on a host interface communication flow i e Timeout elapsed etc are reported on the Error LED below the GUI console Figure 21 shows an occurrence of a host interface error when the Tacx timeout has elapsed Doc ID 022791 Rev 2 UM1518 Services 5 6 Figure 21 Hostinterface error occurrence Ej ST7580 GUI R145 2012 10 02 File Tools Help Error alll Status Message Conf TX RX DL OC lt 70 C ErrorLED AM11965v1 Ping session In order to evaluate the reliability of a communication between two or more devices a Ping session can be performed A ping session consists of a Master sending a seguence of messages to one or more Slaves If the messages are correctly received by Slaves they are re sent to the Master with the same electrical parameters and
13. sn 28 Ping Master tab os aad teed snails Bae Nn eke phe ge eR E He ead Rs 29 Ping Slave tab ov were ne sua siege aan ide SE Hs ae See eee Ria qon dada 32 Doc ID 022791 Rev 2 ky UM1518 Document conventions 1 Document conventions 1 1 List of abbreviations The following abbreviations are used Table 1 Abbreviations Abbreviation Description PRE Preamble UW Unique word MIB Management information base ZC Zero crossing PHY Physical layer DL Data link layer ky Doc ID 022791 Rev 2 5 37 Connection procedure UM1518 2 6 37 Connection procedure In order to connect the EVALKITST7580 1 to the PC the user must follow the instructions below 1 Connect the board to the PC using a mini USB cable 2 Plugapower cable into the board AC power plug 3 Plugthe power cable into the power socket As soon as the board is powered the LEDs DL1 DL2 on EVALST7580 1 switch on USB UART adapter driver installation The USB communication between the EVALKITST7580 1 and the PC is managed through the onboard STM32 microcontroller whose embedded default code acts as a USB to UART bridge In order to allow the PC to properly recognize this microcontroller application the installation of a proper software driver is necessary Assuming that the device drivers are not yet installed the user must 1 Download the latest available virtual COM port VCP drivers from the ST website at www st
14. 2v1 Doc ID 022791 Rev 2 11 37 Getting started UM1518 4 Getting started 4 1 Introduction The ST7580 GUI gives the user complete control of the ST7580 device with full access to all the settings and functions described in 2 The GUI can be used to Establish a connection to the ST7580 modem Configure the ST7580 and manage all its settings Perform any transmission and reception of data over the power line Open a Ping session where at least two modems a Master device and one or more Slave devices can communicate exchanging data A single instance of the ST7580 GUI can handle only one EVALST7580 1 board at a time Figure 8 shows the main window of the ST7580 GUI The panel is divided into two sections Console box displaying all the messages exchanged with the node The messages can be cleared or saved in a txt file through options on the Tools menu bar Node panel used to control an ST7580 node it is divided into five tabs to easily change between the main service blocks of the node 1 The properties and services of the connection to the PC The device s basic configuration related to MIB objects 00h modem configuration and 01h PHY configuration The characteristics of the exchanged power line frames for both transmitted and received frames The access writing reading erasing to the MIB objects The settings to open a Ping session selecting Master or Slave role and display the
15. 523v1 Doc ID 022791 Rev 2 ky UM1518 Services Slave node When a node is set as Slave for a Ping session it automatically answers each received frame by sending a packet built with identical electrical features and Payload data Before starting the Ping session the node needs to be configured with two freguency values for reception and the corresponding functional modulations These values are overwritten to MIB object O1h Physical configuration and the node is set to work on a dual channel reception From a functional point of view a Slave Address Number is assigned as well as 1 byte value The Slave node re transmits the frames with Slave Address subfield Figure 23 egual to the Slave Address Number assigned to it The GUI allows the user to choose between two Stop conditions 1 Frame number the GUI stops the Ping session after the node receives a fixed number of Indication messages DL Datalndication and DL Snifferlndication 2 Time the GUI stops the Ping session after a number of seconds selected by the user if the number set through the GUI is equal to 0 the Ping session ends when the Stop Ping button is pressed After an Indication message three cases are taken into account and displayed by the GUI 1 A DL Datalndication has been notified by the modem and the Frame Address subfield is egual to the Frame Address parameter set to the node the Node sends a powerline frame with same electrical c
16. AINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2012 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com ky Doc ID 022791 Rev 2 37 37
17. arted ise uu on eo dco or e e de 12 4 1 Introduction suche es eph RRIGU RT Dex ec ne pec RR Re 12 4 2 Opening the COM ssesee esee 13 5 ServiC8S gcse teas av RO a a k cid ADR ew cR a i 15 5 1 Basic modem configuration soseen 15 5 2 Power line communication transmission and reception 16 5 2 1 Power line transmission command lslllseress 16 5 2 2 Power line confirm command sos kskee 17 5 2 3 Power line reception command 0 00 eee eee eee 18 5 3 MIB operations ss esr mandi enan a a a EAEE RE i 19 5 4 OtherST7580 commandS lt ss assi ids os oikea k quA 20 5 4 1 Ping commands exe REG Na EG dae ke XR UN EE nA 20 5 4 2 Reset commands oss oo sanna nanna 21 5 4 3 Status message oon ses 22 5 5 Host interface errors 2 2 2 nn 22 5 6 PING SeSSlONl PEE EM ESE MRERSERETRSS STN 1323533 23 5 6 1 PING protocol ou ded ed ed ee e qe eet BA ek ee a ee N 24 5 6 2 Ping Master session 0 0c eee eee 29 5 6 3 Ping Slave session som nen 31 5 6 4 Starting and stopping a Ping session 0000 eee eeaee 34 6 References sis skaalaa annan aa DE SA ane KE Km KEEN naa sa 35 2 37 Doc ID 022791 Rev 2 ky UM1518 Contents 7 REVISION history usua a avaajaa ua e VOR Re Cc C DICE o 36 ky Doc ID 022791 Rev 2 3 37 List of figures UM1518 List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure
18. ded to the fullest extent permitted by law ST is not liable for any claim made by you and or against you by a third party in relation to the Software under this Agreement You take responsibility for the suitability selection use and management of the Software and the results obtained there from as well as their combination and the combination of the elements thereof with other apparatus equipment products programs and services Nothing contained in these terms is to be construed as a warranty or representation by ST as to the validity or scope of any and all IPR in respect of which a license is herein granted or constitutes a warranty or representation that any manufacture use or sale by you hereunder are free from infringement of any Intellectual Property Rights IPR other than those under which and to the extent to which rights thereto are granted hereunder or constitute an agreement to bring or prosecute actions or suits against third parties for infringements or confer any right upon a party to use in advertising publicity or other medium any name trademark or trade name or any other contraction abbreviation or simulation thereto of the other party or confer by implication estoppel or otherwise upon you any license or other right under any and all IPR except the licenses and rights expressly granted hereunder to you In no event is ST liable for any damages whatsoever including without limitation damages for loss of business rev
19. enue or profits business interruption loss of business information or other pecuniary loss arising out of the use of or the inability to use the Software as part of an ST application ST does not assume any responsibility for any errors that may appear in the Software nor any responsibility to support or update the Doc ID 022791 Rev 2 ky UM1518 GUI installation Software ST retains the right to make changes to the Software and its test specifications at any time without notice 5 Entire agreement This Agreement constitutes the entire agreement with ST and supersedes any prior or contemporaneous oral or written agreements with respect to the subject matter of this Agreement 6 Support Under this Agreement ST is under no obligation to assist in the use of the Software to provide you support of the Software or to provide maintenance correction modification enhancement or upgrades to the Software Any action taken by ST in this respect is unilaterally taken and subject only to ST assessment without any notice to you Any such action is considered as Software and is automatically subject to this Agreement 7 Termination of this license ST is entitled to terminate this Software License Agreement at any time if you are in breach of any of the terms of this Agreement Upon termination you must immediately destroy the Software 8 Exportregulations You undertake to comply with all applicable laws regulations decrees and ordinanc
20. es related to your use of the Software 9 Applicable laws Any dispute arising out of or in connection with this agreement which could not be amicably settled is to be finally settled under the rules of conciliation and arbitration of the international Chamber of Commerce by one or more arbitrators appointed in accordance with the said Rules which the Parties know and elect irrevocably Such arbitration is to take place in Paris and be held in English 3 2 System requirements A personal computer PC including 1 2 3 Operating system Windows NT 2000 XP 7 A hard disk with at least 15 MBytes of free space to install the GUI One or more USB 1 1 ports Doc ID 022791 Rev 2 9 37 GUI installation UM1518 3 3 10 37 Installing the software Follow the instructions below to install the ST7580 GUI software 1 Extractthe contents of the archive in a new directory 2 Launch setup exe to start the install procedure 3 Press Next button Figure 4 Figure 4 ST7580 GUI installation wizard i ST7580 sb GUI Setup Welcome to the ST7580 sb GUI YVA Installation Wizard It is strongly recommended that you exit all Windows programs before running this setup program Click Cancel to guit the setup program then close any programs you have running Click Next to continue the installation WARNING This program is protected by copyright law and intemational treaties Unauthorized reproduction or distributio
21. es described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein No license express or implied by estoppel or otherwise to any intellectual property rights is granted under this document If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUST
22. firm box e Confirm Min Gain Overcurrent Notification parameters 5 2 3 18 37 T lt 70 C v a 21 No Overcurrent vi Confirm Status AM11959v1 In the case of a negative result returned by the ST7580 after a previous Data Reguest the confirm status LED only is refreshed to an off status whereas the other parameters in the Confirm box are not updated Power line reception command In the case of reception of a Data Indication PHY DL or SS or a Snifferlndication DL or SS sent by the ST7580 after a data reception over the power line the command type is displayed on the console while with received data the frame format and electrical parameters are returned in the reception box Figure 15 reports the GUI status after a DL_Datalndication Doc ID 022791 Rev 2 ky UM1518 Services Figure 15 Reception notification ST7580 GUI R145 2012 10 02 File Tools Help Received Command 4 Status Message COM settings Modem configuration Communication MIB Ping Session TRANSMISSION TXlayer Frame Modulation TX Freq Hz TX Gain DL DATA wl BPSK w amp 86000 Custom 4 PHY Cig TX Freq Set TX Freq TXFreq pHYCig Overwrite ZC Delay S Custom High Yes PHY Clg env cts Low No Random Payload 0123456789ABCDEF CONFIRM Max Temp MAX Gain OverCurrent Event ZC Delay Toc v k k o x 548 Min Temp Min Gain Overcurrent Notification oec v ka No Overcu
23. lave address Indicator the DL_Datalndication or DL Snifferlndication received by the ST7580 Data Indicator Payload data without Slave address field of the received frame Length Indicator Length in bytes of the Payload data calculated by the GUI Modulation Indicator Signal modulation of the received frame PGA code Indicator PGA value on the received frame SNR value Indicator SNR estimation over UW reception performed by ST7580 Freguency channel Indicator RX channel high or low on the received frame Ping session activity and results Number of seconds elapsed during Ping session Active if Stop Time count S Indicator condition is equal to time only hidden otherwise Number of received frames with correct CRC i e DL Datalndication notified by the ST7580 and Slave address Received OK Indicator field equal to the value set in Slave Address control These frames are re transmitted in accordance with Ping session rules Number of received frames with correct CRC i e RX Wrong Address Indicator DL Datalndication notified by the ST7580 and Slave address field not equal to the value set in Slave Address control Number of received frames with wrong CRC i e RX Wrong CRC Indicator ni crie Indication notified by the ST7580 Number of frames successfully transmitted by the Slave Frames sent Indicator updated by the GUI during Ping session execution LED displaying the Pi
24. n of this program ot any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law AM11949v1 4 Choose an installation path the default path is suggested and press the Next button Figure 5 Figure 5 ST7580 GUI destination folder i ST7580 sb GUI Setup Destination Folder Select a folder where the application will be installed The installation wizard will install the files for ST7580 sb GUI in the following folder Toinstall into a different folder click the Browse button and select another folder voice choose not to install ST7580 sb GUI by clicking Cancel to exit the installation wiz Destination Folder C Program Files STMicroelectronics ST7580_sb_GUI AM11950v1 lt Doc ID 022791 Rev 2 UM1518 GUI installation 5 Press the Next button to start the installation Figure 6 Figure 6 GUI setup start i ST7570 GUI Setup Ready to Install the Application Click Next to begin installation Click the Back button to reenter the installation information or click Cancel to ext the wizard AM11951v1 6 Once the installation has completed press the Finish button to conclude the process Figure 7 Figure 7 GUI setup finish 8 ST7580 sb GUI Setup ST7580 sb GUlhasbeen successfully installed Click the Finish button to exit this installation AM1195
25. ng session activity Ping active Indicator Green when Ping session is active Red when Ping session is not active Doc ID 022791 Rev 2 33 37 Services UM1518 5 6 4 Starting and stopping a Ping session For both Master and Slave nodes the Ping session manually starts by pressing Start Ping button while the session stops either automatically if Stop condition is achieved or manually pressing Stop Ping button 34 37 Doc ID 022791 Rev 2 ky UM1518 References 6 References 1 ST7580 datasheet FSK PSK multi mode power line networking system on chip www st com powerline 2 UMO0932 ST7580 FSK PSK multi mode power line networking system on chip Rev 2 www st com powerline ky Doc ID 022791 Rev 2 35 37 Revision history UM1518 7 36 37 Revision history Table 5 Document revision history Date Revision Changes 11 Apr 2012 1 Initial release 05 Dec 2012 Changed Figure 1 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Added Section 5 6 lt Doc ID 022791 Rev 2 UM1518 Please Read Carefully Information in this document is provided solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and servic
26. nsists of an exchange of DL frames between the Master node and one or more Slave nodes Master node The Master node sends a powerline frame sequence with selectable electrical features e Carrier frequency value it is overwritten in the MIB object 01h PHY configuration as RX operating frequency e Modulation type as in ordinary DL_DataRequest command e TX Gain parameter it is overwritten in the MIB object 01h PHY configuration These electrical characteristics are equal to each transmitted frame in all frames sent by the Master over Ping session The GUI tool adds specific subfields to the Payload field of the exchanged DL frames as shown in Figure 23 where the blue parts need to be specified by the user while the green one is automatically built by the GUI tool The red blocks refer to the fields automatically handled by the ST7580 The Payload length selected by the user is limited to 244 bytes Doc ID 022791 Rev 2 ky UM1518 Services Figure 23 Payload subfields on DL frames of Ping session from O up to246 bytes from O to 244 bytes PHY SDU DL SDU AM16522v1 The Master sends periodically with an inter packet time selected by the user in seconds a burst of DL frames built see Figure 25 with a fixed value on Slave Address subfields 1 byte and an increment value on Frame number subfield The Frame number value is managed by the GUI and it is equal to O on the first
27. number com vis Baudrate 57500 vi N Bes Show frame details w Show payload details w COM status ME Host Interface TimeOuts ms FW revision Tsr Tack Tic a 200 a 40 a 10 Read write Read AM11954v1 If the connection is properly established the light switches to green and the console displays a positive notification and the status message returned by the modem Figure 10 Modem connection success zi ST7580 GUI R145 2012 10 02 File Tools Help Error aj Status Message Conf Tx Rx DL oc oc COM settings Modem configuration Communication MIB Ping Session UART settings Host Interface settings COM number COM81 v Baud rate 57600 w Show frame details Y Show payload details y COM statu Host Interface TimeOuts ms FW revision Tsr Tack Tic 4 200 4 40 4 10 Read write E AM11955v1 Doc ID 022791 Rev 2 lt UM1518 Services 5 5 1 lt Services Basic modem configuration At power on the default values stored in the MIB objects are reported in 2 From a power line communication point of view it is already set to properly received frames in compliance with values stored in MIB objects Modem configuration 00h and PHY layer configuration 01h and to accept transmission requests If the user wants to change at any moment the two first MIB values 1 Modem configuration OOh 2 PHY configuration O1h All their paramete
28. of each randomly generated frame whose length is not fixed Data of Payload of outgoing powerline frame displayed in hexadecimal values only Control or filled in by the user in case of Fixed frame type selection and it Data in i N indicator is a constant value for each transmitted frame automatically displayed for Random frame type selection its value is different in each transmitting frame Slave Destination 1 byte field hexadecimal value referring to the Slave Address Address Control value It is inserted by the GUI as the first byte of Payload field of each DL DataReguest built throughout the Ping session 1 byte field hexadecimal value automatically displayed by the Numbarothames indicator GUI It displays the ordinal number of transmitted frame and it is inserted by the GUI as second byte of Payload field of each DL DataRequest built throughout the Ping session Message settings Total frames Control Number of powerline frames that the Ping session sends throughout the Ping session lt Doc ID 022791 Rev 2 UM1518 Services Table 3 Ping session Master tab parameters continued Parameter Type Description Interval which the GUI sets during two consecutive transmitted Inter packet time s Control dp an frames within Ping Session Minimum value is 1 second Reset MIB Selection to erase MIB objects 06h PHY Data and 07h DL Data Cont
29. onditions Freguency carrier modulation and data Payload in accordance with Figure 23 subfields The dedicated Received OK counter increases 2 A DL_Datalndication has been notified by the modem and the Frame Address subfield is not equal to the Frame Address parameter set to the node the dedicated RX Wrong Address counter increases and any frame is transmitted 3 A DL_Snifferlndication has been notified by the ST7580 the dedicated RX Wrong CRC counter increases However if the Frame Address subfield is equal to the Frame Address parameter set to the node a powerline frame is transmitted with same electrical conditions Frequency carrier modulation and data payload in accordance with Figure 23 subfields Figure 25 reports the flowchart of Master node throughout the Ping session Doc ID 022791 Rev 2 27 37 Services UM1518 28 37 Figure 25 Ping session slave flowchart DL operating layer Sniffer flag activated written on MIB object 00h Modem Configuration RX Frequencies RX modulations overwritten on MIB object 01h PHY Configuration Get Stop condition Frame Number or Time Stop Condition achieved No Indication message received Slave Address Number equal to set one No No Ho Transmit frame with modulation frequency Slave Number Data fields equal to the ones of received frame DL Datalndication received RX Wrong CRC counter Ping Wrong
30. ox Figure 17 shows all the graphical objects dedicated to the PingReguest and PingConfirm commands Doc ID 022791 Rev 2 lt UM1518 Services Figure 17 PingReguest and PingConfirm graphical tools COM settings Modem configuration Communication MIB Ping Session UART Host Interface settings COM number COM81 Open i iel 57600 7 Show frame details Show payload details w COM status Host Interface TimeOuts ms FW revision Tsr Tack Tic d 200 a 40 4 10 Data to be inserted ithin a PingReguest Ping Request Data 1111111111111111 pommand Ping Confirm Data m Data returned by ST7580 within a Ping Request Ping Confirm ili PingConfirm command Button to send a PingReguest to ST7580 Led displaying the PingConfirm status AM11962v1 5 4 2 Reset commands The ResetRequest command can be properly formed and sent to the modem through a dedicated button on the bottom part of the Modem Configuration tab After pressing the button the console displays the command sequence declaring it as a Software Reset and returning the auto reconfiguration feature status as displayed in Figure 18 Figure 18 ResetRequest command console view Ei ST7580 GUI R145 2012 10 02 File Tools Help AM11963v1 In the case of a Resetlndication command generated for example if the RESETN pin is driven at a low state the unsolicited occurrence is directly displayed
31. rol counters on start before Ping session starts Start and Stop buttons Start Ping Control Button to start the Ping session Stop Pin Control Button to force the Ping session when the transmitted frames are pemg less than the selected total frame number Ping session activity and results Ping OK Indicator Number of Ping loop transmitted and received performed without any wrong received bit b Number of Ping loop transmitted and received performed with Ping Wrong Link 1 Indicator wrong received bit during the communication from Master to Slave A Number of Ping loop transmitted and received performed with Pig Wrong Link 2 indicator wrong received bit during the communication from Slave to Master Ping Not OK Indicator Number of Ping loop transmitted and received performed with no loopback frame reception by the Master Number of frames successfully transmitted by the Master updated Frame sent Indicator by the GUI during the Ping session execution LED displaying the Ping session activity Ping active Indicator Green when Ping session is active Red when Ping session is not active 5 6 3 Ping Slave session lt As shown in Figure 27 the following parameters listed in Table 4 can be selected for the Ping session corresponding to Slave device Doc ID 022791 Rev 2 31 37 Services UM1518 32 37 Figure 27 Ping Slave tab COM settings Modem configuration Communication MIB Ping Sta
32. rrent w ill RECEPTION Electrical Parameters Frame Format RX Frea SNR dB PHY Cfg N v re ZC Delay Code Payload length Received Data is x 109 8 0123456789ABCDEF AM11960v1 E 5 3 MIB operations The MIB objects are all accessible through the ST7580 GUI in accordance with the possible operations and the range of values as presented in 2 Table 2 lists the correspondence between MIB objects and the tab where they are accessible in the ST7580 GUI Table 2 MIB objects access through ST7580 GUI MIB object index MIB object name ST7580 GUI tab 00h Modem configuration Modem configuration 01h PHY configuration Modem configuration 02h SS key MIB 04h Last data indication MIB 05h Last TX confirm MIB 06h PHY Data MIB 07h DL Data MIB 08h SS Data MIB 09h Host interface timeout COM settings OAh Firmware version COM settings lt Doc ID 022791 Rev 2 19 37 Services UM1518 The ST7580 GUI automatically handles the MIB subfields in accordance with MIB object composition Figure 16 shows the position of MIB objects inside the GUI tabs Figure 16 Position of MIB objects 09h Host Interface Timeout OAh Firmware Version 00h Modem Configuration COM settings Modenlfeonfiguration Communication MIB Ping Session RX layer Sniffer CRC Length Fields involved in CRC a amma DL
33. rs are selectable in the Modem configuration tab Figure 11 Modem configuration 74 ST7580 GUI R145 201 02 File Tools Help Error Status Message Corf Tx Rx DL oc c Sniffer CRC Length Fields involved in CRC Modem On a i DL layer wi CRC 32 LE w Payload v 3 M los a TRESS Configuration Modem Configuration Write Modem Configuration Read MIB object 00h RX settings TX settings RX channel Current Ctrl TX Gain Single High Channel w RX High ch mode Lu EE ZC Delay Code RX Low ct de Low 1 mo PHY Layer R0 FSK settings PSK settings Configuration Baudrate Preamble length 2400 bps 32 bits W Preamble Length UW MSBILSB 32 bits MIB object 01h Deviation UW Length o5 Sots J x 58 1 v 16 bits v PHY Configuration Write 1 MT Modem Reset AM11956v1 Doc ID 022791 Rev 2 15 37 Services UM1518 5 2 5 2 1 16 37 The four buttons in the Modem configuration tab highlighted by the red sguares execute correspondingly e Modem configuration write it performs an MIB Write Request command automatically built with MIB index 00h and data as selected in the objects above e Modem configuration read it performs an MIB Read Request command automatically built with MIB index OOh if the command is properly executed the data contained in the expected MIB Read Confirm sent by the ST7580 is extracted and displayed in
34. sion as RX low channel modulation in MIB object 01h PHY configuration Slave address settings 1 byte value hexadecimal value that sets the address value of Slave address Control the Slave throughout the Ping session The Slave retransmits the received frames with the address field equal to this value Ping session settings Selection on stop event for Ping session Time the Ping session ends after a selected time interval in Stop condition Control seconds Frame numbers the Ping session ends after reception of a selected frame number not necessarily re transmitted Doc ID 022791 Rev 2 ky UM1518 Services lt Table 4 Ping session Slave tab parameters continued Parameter Type Description Occurrence number of Stop condition selection The variable is Ping time s or Frame displayed in accordance with Stop condition value Control numbers If Ping Time is set to 0 the Ping session continues until Stop Ping button is pressed Reset MIB counters on Selection to erase MIB objects 06h PHY Data and 07h DL Control f start Data before starting the Ping session Start and Stop buttons Start Ping Control Button to start the Ping session Stop Ping Control Button to force the Ping session before the Stop condition is achieved Received frame features Slave address field of the last received frame i e first byte of S
35. the objects above e PHY configuration write as the previous Modem Configuration Write it performs an MIB Write Request on the MIB object 01h PHY layer configuration e PHY configuration read as the previous Modem Configuration Read it performs an MIB Read Request on the MIB object 01h PHY layer configuration Power line communication transmission and reception In order to put into place a proper power line communication through the GUI it is enough to power on the EVALST7580 1 and to open the USB port as explained in Section 4 2 The Communication tab contains all the parameters for ST7580 commands related to power line communication e Transmission box refers to three Data Request commands and contains all their parameters and data to allow the user to choose the transmission settings e Confirm box displays the parameters of the last Data Confirm received from the ST7580 device e Reception box shows the parameters and the data of the last Data Indication received Power line transmission command As shown in Figure 12 the transmission box contains 1 The TX Layer drop down menu through this parameter it is possible to choose which kind of Data Request command the GUI addresses to the ST7580 The PHY Data selection determines a PHY Data Request command The DL Data selection determines a DL Data Request command The SS Data selection determines a SS Data
36. tus SLAVE Ji MASTER Reception RX High Freq Hz RX Low Freq Hz cxx Slave address settings 4 86000 a 72000 setting RX High ch mode RX Low ch mode PS PSK Received frame Ping session features settings Slave address I py Frame Freq Low Be Modulation PGA Code SNR dB HISSI om 0 Length e Data Address 0 e Length e Modulation Received OK RX Wrong Address RX Wrong CRC PGA cod il al j Ping session activity code Time Count s p 0 l3 E l3 and results e SNR value 0 0 0 e Frequency Frames sent 0 Ping active RR channel AM16526v1 Table 4 Ping session Slave tab parameters Parameter Type Description Reception settings Frequency channel to be set for reception It is overwritten RX high freq Hz Control before starting Ping session as High Frequency value in MIB object 01h PHY configuration Functional modulation between PSK and FSK families on high channel It is overwritten before starting Ping session as RX high channel modulation value in MIB object 01h PHY configuration RX high channel mode Control Frequency channel to be set for reception It is overwritten RX low freq Hz Control before starting Ping session as Low Frequency value in MIB object 01h PHY configuration Functional modulation between PSK and FSK families on high RX low channel mode Control channel It is overwritten before starting Ping ses
37. type for frames to be transmitted during Ping Frame modulation Control session TX frequency Hz Control Frequency value for frames to be transmitted during Ping session Frequency value expressed in the box TX Freq Hz is written as reception frequency in MIB object 01h PHY configuration in TX frequency set a Control accordance with the value high or low chosen by this switch If a PHY configuration bugie combination of these two control values is not allowed an error is generated and Ping session doesn t start Selection of the TX Gain to be set for transmitting frames it can be used either the value stored in the MIB object O1h PHY Cfg TX Gain Control selection for this switch or a new one New selection for this switch to be expressed in the value box which is overwritten in the same MIB object Payload data Selection for data composition of outgoing messages Type Control Fixed is specified by the user in the box below Random is automatically generated by the GUI Sia Length bytes for the transmitting Payload Length value E automatically calculated by the GUI for Fixed Payload selected by the user for Random Payload Selection for Random Payload type only Fixed sets the parameter Length value expressed in the left Random Payload s ane length Control side box as fixed length for each transmitting frame Max sets as the maximum length
Download Pdf Manuals
Related Search
Related Contents
Cr©Wc_V@ N Manual de instrucciones CINTA AUTOVULCANIZABLE Samsung HT-DS1000 Manual de Usuario 1. O Guia do Cartão Visa Electron 2. O seu Cartão Visa Electron 3 5125 UM B5-18-05 user manual Motori elettricos ad induzione trifasi a bassa ed alta tensione Copyright © All rights reserved.
Failed to retrieve file