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.

TDA2E: Configure static ip in TDA2X Vayu evm board

Part Number: TDA2E

Hi,

What are the steps needed to configure static ip in TDA2xx Vayu  evm board.I want to enable ethernet communication between evm board and the pc

Regards

Mayank

  • Mayank,

    The NSP client example has already static IP configuration support in config file. You can use that as reference.

    Below is configuration used for enabling static IP

    if (enableStaticIP)
    {
    /* Settings for static IP configuration */
    Ip.address = "192.168.1.200";
    Ip.mask = "255.255.255.0";
    Ip.gatewayIpAddr = "192.168.1.1";
    Ip.ifIdx = 1;
    }
    else
    {
    Ip.dhcpClientMode = Ip.CIS_FLG_IFIDXVALID;
    }