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.

[FAQ] LAUNCHXL-F28P65X: How do I fix the EtherCAT issue where the launchpad cannot be scanned in TwinCAT?

Part Number: LAUNCHXL-F28P65X
Other Parts Discussed in Thread: C2000WARE, DP83826E

The first production run of Revision A F28P65X launchpads, which were all shipped in 2023, will not work out of the box when directly following the EtherCAT SubordinateDevice Controller Software User’s Guide that is provided in C2000WARE. This issue affects LAUNCHXL-F28P65X devices with a serial number beginning with CL652307,CL652308,CL652309,CL652310. The serial number is located on the bottom side of the LaunchPad. This is because the boards were designed to use REV1 of the DP83826E PHY, but these early REVA boards were mistakenly manufactured with REV0 of DP83826E. If users find that their board is affected by this issue, and they do not want to use the software workaround provided in this document, they can replace the REV0 PHY with a REV1 PHY to get the expected behavior. All DP83826E PHYs shipped by TI after 2023 should be REV1, and all LAUNCHXL-F28P65X boards shipped by TI after 2023 should have REV1 PHYs.

Please refer to the attached LAUNCHXL-F28P65X_REVA_workaround.pdf for detailed instructions on how to fix this issue. This guide will provide instructions for F28P65x on how to program/read the EEPROM without using TwinCAT, and it will give instructions on how to read/write PHY registers. These instructions could be useful for general debugging, and we may include these projects in a future C2000WARE release.

  • 0284.F28P65X Launchpad REVA Bug.pdf

    ethercat_slave_cpu1_hal_PHY_check.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    //###########################################################################
    //
    // FILE: ethercat_slave_cpu1_hal.c
    //
    // TITLE: C28.CPU1 EtherCAT HAL Driver.
    //
    //###########################################################################
    // $TI Release: F28P65x EtherCAT Software v1.00.00.00 $
    // $Release Date: Fri Mar 3 16:18:57 IST 2023 $
    // $Copyright:
    // Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/
    //
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions
    // are met:
    //
    // Redistributions of source code must retain the above copyright
    // notice, this list of conditions and the following disclaimer.
    //
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    program_i2c_ESC_eeprom_F28P65x.zip

    The instructions for the fix are in the LAUNCHXL-F28P65X_REVA_workaround.pdf document that is attached to this response. The referenced files are also attached to this response.