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.

TMDSPLCKITV4-ARIB LMAC Mode

Other Parts Discussed in Thread: AFE032, SYSBIOS, AFE031, TMS320F28PLC84, TMS320F28062

Hi,

I am trying to work with the TMDSPLCKITV4-ARIB kit. I am interested in LMAC mode in the first phase. As I understand, this mode allows me to transmit and receive packets without any routing protocols, am I right?

I have configured the module to LMAC mode, but I cannot understand from the TI_G3_host_msg user guide how do I use this mode. The DATA_TRANSFER message type (00) allows sending packet in LMAC mode, but it requires "HCT Connection Handle". Where do I get this handle? It says that this handle is generated by CONNECT command, but I cannot see such command in the user guide....

Any help appreciated...

Alexey.

  • hi Alexey ,

    Yes the LMAC mode is to configure without using any routing protocol .

     

    Download dc package from link:

    http://www.ti.com/tool/TI-PLC-G3-DC?keyMatch=plc&tisearch=Search-EN-Everything

    Load the code for sysbios_g3_plc_dc_F28M35X_AFE032_CRC16_MSB.sbin to get a LMAC build itself similar to configuring in LMAC mode ,

     in the intermediate mode of the gui , under Functions goto LMAC RX on one device and LMAC TX on another device .

    This would help send packets on the line after configuring setting like the BAND , level etc ..

    check the log window, right click and enable " log raw data " ...this was you can see the message going on the line ...

    this message consists of header and payload as per the HCT spec

    Similar messages can be created for any payload and sent on line .

    eg.

    2016-02-11 15:22:14.0142:         Message Sent:

                                       0x00 80 47 00 01 AF D9 17 01 08              0x00 0C FF FF 03 0B 00 FF FF FF

                                       0xFF FF FF 00 00 14 00 01 04 14              0x21 DC 01 55 74 00 00 00 00 00

                                       0x00 FF 02 55 74 00 00 00 00 00 0x00 FF 01 30 31 32 33 34 35 36

                                       0x37 38 39 30 31 32 33 34 35 36   0x37 38 39 43 F8

    2016-02-11 15:22:14.0142:         Sending: (0x00) - G3 DC DataTransfer.Request V1

                                            Interface:                                Primary

                                            NSDU Handle:                                     1

                                            ARQ:                                                  Enabled

                                            QoS:                                                  Standard Priority

                                            Band Selection:                                   CENELEC

                                            Protocol:                                G3

                                            Power Level:                           12

                                            Tone Map:                              0xFF FF 03

                                            Resolution:                             6 dB

                                            Gain:                                                  1

                                            Modulation:                            8PSK

                                            TX Coef:                                 0xFF FF FF FF FF FF

                                            COH:                                                  Off

                                            MPDU Payload Length:                        20

                                            MPDU:

                                       0x01 04 14 21 DC 01 55 74 00 00 0x00 00 00 00 FF 02 55 74 00 00

                                       0x00 00 00 00 FF 01 30 31 32 33 0x34 35 36 37 38 39 30 31 32 33

                                       0x34 35 36 37 38 39 43 F8

    The handler is the NSDU handle .

    Regards.

  • Hi,

    I have downloaded the suggested package, but it only contains firmware for the CENELEC kit (F2806x_AFE031) and future FCC kit (f2837x_AFE032), but it does not contain any firmware for the ARIB kit(F28M35X_AFE032).


    If I configure my device in LMAC mode (firmware version 7.6.5.10), will it have the same host interface as the LMAC build?

    Another thing, my Intermediate GUI (ver 2.94) does not have LMAC in functions menu. do I need newer version? If so, where do I get it?

    Thanks,
    Alexey.
  • hi Alexey ,

    Looks like It was being provided as part of the older package which is not on the web anymore .

    SO we could configure the device with (firmware version 7.6.5.10) into LMAC mode to behave the same as it does with the LMAC build .

    Even the LMAC interfaces are not available in the Release version of GUI . SO i am attaching a log of the TX and RX transfers for your reference .

    Regards .

    rx_lmac.pdftx_lmac.pdf

  • Thanks!
    Alexey.


    PS. Is it possible that you have P1901.2 firmware for the ARIB kit? The TI site says it is available, but I cannot find it.
  • hi Alexey ,

    No we don't provide the 1901.2 firmware .

    Regards.

  • Hi Meghana ManaVazhi,

    Can the LMAC mode be used without DC ?

    I am using TMDSPLCKITV4-CEN type configuration (TMS320f28PLC84 PLC modem and TMS320F28062 application MCU) for my custom products as well.

    I am trying to bypass the networking layer and hence want to use the LMAC mode. Is it possible to do so with the above mentioned hardware and G3-PLC DDk v7.8 ?

    Awaiting your reply.

    Kind regards,
    Shailja Shukla
  • hi Shailja,

    Yes you can use LMAC without DC .

    the  TMDSPLCKITV4-CEN  can be loaded with the LMAC binary provided as part of the DC SDK below:

    For clarity on the message formats ,

    you could refer the docs or try using ZCG after loading the LMAC build on tx and RX and do a TX / RX and check the ZCG logs .

    Regards .

  • Hi Meghana,

    Thank you for your reply.

    Considering the configuration: (TMS320f28PLC84 PLC modem and TMS320F28062 application MCU),  I have following three questions :-

    1) Can the LMAC mode be used with multiple nodes by configuring one as TX and other nodes as RX?

    I understand the message transfer can happen only if the nodes are within the transmission range, since there won't be any network formation to enable multiple hops.

    2) one of the status code for data_transfer. confirm is MAC_STAT_NO_ACK.  Is it possible to disable MAC layer ACK?

    3) How does the addressing work in the LMAC mode. Are the messages sent in broadcast ? 


    Looking forward to your reply.

    Kind regards,
    Shailja

  • Hi Meghana,

    I am kind of stuck with the LMAC mode since I have no way of testing one TX-multiple RX with the custom products without implementing a whole new firmware. And I have only two TI nodes with which I could test one TX- one RX.

    So if you could kindly answer the above questions, I would be able to confirm the concept before starting with the implementation.

    Awaiting your reply.

    Kind regards,
    Shailja