This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PLC tmdsplckitV3 - Sending specific Information with F28069 Microcontroller

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28069

Good day,


Currently I am working in designing a  PLC solution in a power solar plant. I am interested in sending specific information (using the two PLC modems)  like electric currents, temperatures, voltages and so on.

Where could I find information regarding how to modify the custom software in the F28069 microcontroller, in order to send the information I need.


Thanks in advance.

Diego Cantor

  • Hi, Diego.

    If you plan to implement "point-to-point" architecture, then you can take for base the "phy_example_project" from V6000 PLC development package (for PRIME protocol) or V5210 PLC development package (for G3 protocol). You can find these packages here  PLC materials. Also you can find workable example projects into CCS folder of above mentioned materials. After you can port to these projects the source code for SCI (UART) of TMS320F28069 from controlSuite. Thus you can use SCI for transmission your data to TMDSPLCKIT and to transmit them to power line.

    Regards,

    Igor 

  • Hello Igor,

    Thank you very much for your fast and accurate answer. The projects are a good refeence to start. Now I wonder if it is possible to get a reference project to work also with TI PLC-Lite as well. The purpose of our project is, in the first stage,  to compare the performance of the standards available.

    In the moment I am working with a "point-to-point" architecture.  But in the future we would like to work with a data concentrator architecture, which can get the information from multiple PLC modems. There are available reference projects for the standards with this architecture?

    Thank you very much for your help !!!

    Diego Cantor.

  • Igor Gorbachev said:
    After you can port to these projects the source code for SCI (UART) of TMS320F28069 from controlSuite. Thus you can use SCI for transmission your data to TMDSPLCKIT and to transmit them to power line.

    Hi, Igor

    I'm working on the example phy_tx_rx with G3, and what I'm doing is to use SCI-A in this example and try to obtain data from SCI and then put the data in the ppdubuffer and hdrbuffer. 

    But I got a few problems when linking the SCI header files to the project. All the files come from controlSUITE, 2806x_example_sci_echoback. I followed the linking steps, built variables and linked F2806x_DefaultIsr.c,F2806x_Piectrl.c, F2806x_PieVect.c, F2806x_Sci.c, F2806x_usDelay.asm. 

    Have you tried this linking before? Is there anything I can refer to?

    Thank you.

    George

  • Hi, Diego.

    There is example for LLC layer (6708.llc_1.zip) from development package V7710. For successful building under CCS the following steps are necessary:

    1. Project -> Import Existing CCS/CCE Eclipse Project
    2. Change the radio button selection at the top to "Select archive file"
    3. Browse to and select your archive file

    Also welcome to our cheerful company 

    Regards,

    Igor

  • Hi. George,

    let us continue at this thread

    Regards,

    Igor

  • Hi Igor,

    Thank you very much for your help.  So far no compilation mistakes !!!

    I have the PRIME project  already in the flash of the F28069 MUC of one modem (the one you posted for the first time).  Nevertheless it is not transmitting anything to the other modem (the leds connected to GPIO31 and GPIO34 ere turned on all the time).  I could see in the code that it is not specified the point-to-point operation mode.

    Do you think that this is the possible cause of the problem?  I am using Code Composer 6  with the compiler TI v6.2.7. In the other modem I have the firmware of the PRIME_SDK_PackageV8010. May be is it a compatibility issue?

    I appreciate your always fast and accurate help.

    Diego Cantor

  • Hi everyone!

    I just realize I was making a silly mistake. If you program both modems with the examples provided by Igor, then everything works fine. I was programming only one of them, in order to see with the other modem the information that can be visualized with the Zero configuration Tool. This last modem had the firmware founded in PRIME_SDK_PackageV8010.
    This is precisely one of my goals. To make that one modem sends data to the other, and use the last one with the  Zero configuration Tool to evaluate the quality of different links. This would be useful when the distances between the two modems are big. It would be useful as well, if the PHY parameters (like the modulation scheme) of the first modem can be change by sending messages through the Zero configuration Tool.

    Regards,

    Diego Cantor