• TI Thinks Resolved

RTOS/66AK2H14: how to use both the hyperlink ports at once

Part Number: 66AK2H14

Tool/software: TI-RTOS

Hi,

In our board we have 3 processor ,out of which 1 is configured as Centralized Processor (Called CP henceforth) and 2 Distributing Processors (Called DP henceforth). we need to send data from DP to CP through hyperlink .

So I need both the hyperlink interfaces to be operated at a time, with full 10Gbps data-rate.

our hardware engineer confirmed about this with forum , i have attached the link here.e2e.ti.com/.../600664

My question is how to achieve this in software?

Whether I need to simply copy the code for PORT 0 and PORT 1 or there is any other way to do this?

Thank you,

Mahima Shanbag

  • We're looking into this.

     


     Please make sure you read the forum guidelines first.

  • Mahima,

    Yes, you can reuse the code from Hyperlink0 to Hyperlink1. You can work with below documents and links:

    www.ti.com/.../66ak2h14.pdf
    www.ti.com/.../sprugw8c.pdf

    processors.wiki.ti.com/.../Processor_SDK_RTOS_HYPLNK

    e2e.ti.com/.../694012


    Regards,
    Pavel



  • In reply to Pavel Botev:

    Hi Pavel,
    Thanks for your suggestion .
    My question was how to make both hyperlinks[PORT0 and PORT 1] works at a time.
    As I said we have 3 66ak2h14 processors ,out of which 1 is configured as Centralized Processor (Called CP henceforth) and 2 Distributing Processors (Called DP henceforth). we need to send data from DP to CP through hyperlink .
    DP1 and CP are connected through HYPLNK PORT0
    DP2 and CP are connected through HYPLNK PORT1.
    we need to send data from DP1 and DP2 to CP at a time .
    So we need both the ports work at a time.

    1.How to achieve this in software?
    2. Whether I need to copy the required function or there is any other way to do this?

    Regards,
    Mahima Shanbag
  • In reply to mahima shanbag:

    Mahima,

    mahima shanbag
    My question was how to make both hyperlinks[PORT0 and PORT 1] works at a time.

    mahima shanbag
    So we need both the ports work at a time.

    mahima shanbag
    1.How to achieve this in software?

    The hyplnk example that is coming with K2H PDK is using port 0 (hyperlink0) or port 1 (hyperlink1). You need to modify that example to use both ports.

    pdk_k2hk_4_0_9/packages/ti/drv/hyplnk/example/common/

    pdk_k2hk_4_0_9/packages/ti/drv/hyplnk/example/memoryMappedExample/

    mahima shanbag
    2. Whether I need to copy the required function

    Yes, you can dump hyperlink0 (port 0) settings (like registers values, pins configuration, interrupt configuration) and apply these to hyperlink1.

    mahima shanbag
    or there is any other way to do this?

    I am not aware of other way than reusing the PDK hyperlink example

    Regards,
    Pavel