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.

DP83826E: EtherCAT out port Link detection problem

Part Number: DP83826E
Other Parts Discussed in Thread: AM2634, , DP83869, AMIC120

Dear TI team,

I designed a new board with AM2634 and two DP83826E(in/out).

Application of new board is based on EtherCAT example for control card form MCU+SDK am263x 8.6.00.34 with beckhoff ssc demo.

I modified this example for two DP83826E. Because this example using DP83869 and DP83826E for two EtherCAT port.

I performed some test using 'New Device' with Beckhoff devices.

Test case 1 is well working for 1 hour. But Test case 2 is something wrong.

Test case 2 is consist of one Beckhoff master and two 'New Device'(DuT #1, DuT #2).

Problem of test case 2 is that out port of DuT #1 does not maintain connection with the input port of DuT#2.

Sometime 'DuT #1' detect next device on the outport, sometime 'DuT #1' lost next device on the outport. This situation appears repeatedly.

When I change position between DuT#1 and DuT#2, exactly same problem occurred on first node output(DuT#2 out)

[Fig. 1. Test case 1 network configuration]

[Fig. 2. Test case 2 network configuration]

I confirmed this problem on the online view of 'TwinCAT2 SystemManager'. 'Fig. 3' is  online view of test case 2.

[Fig. 3. TwinCAT online monitor of test case 2]

Here is initiation code of DP83826  for this application. 

MCU+SDK am263x 8.6.00.34 has device driver for DP83826E.

So I just replace code for two DP83826E.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
void tiesc_socParamsInit(bsp_params *bspInitParams)
{
bsp_params_init(bspInitParams);
bspInitParams->pruicss_handle = pruIcss1Handle;
bspInitParams->interrupt_offset = tiesc_getArmInterruptOffset();
bspInitParams->eeprom_read = tiesc_eepromRead;
bspInitParams->eeprom_write = tiesc_eepromWrite;
bspInitParams->spinlock_base_address = CSL_SPINLOCK0_BASE;
bspInitParams->ethphy_init = tiesc_ethphyInit;
bspInitParams->enhancedlink_enable = TIESC_MDIO_RX_LINK_ENABLE;
bspInitParams->link0_polarity = TIESC_LINK0_POL; /*Polarity is high */
bspInitParams->link1_polarity = TIESC_LINK1_POL; /*Polarity is low */
bspInitParams->phy0_address = ((const ETHPHY_Attrs *)ETHPHY_getAttrs(CONFIG_ETHPHY0))->phyAddress;
bspInitParams->phy1_address = ((const ETHPHY_Attrs *)ETHPHY_getAttrs(CONFIG_ETHPHY1))->phyAddress;
bspInitParams->default_tiesc_eeprom = (const unsigned char *)(&(tiesc_eeprom));
bspInitParams->eeprom_pointer_for_stack = &(pEEPROM);
}
void tiesc_ethphyInit(PRUICSS_Handle pruIcssHandle, uint8_t phy0addr,
uint8_t phy1addr, uint8_t enhancedlink_enable)
{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Here is EtherCAT parts schemetic.

[Fig. 4 DP83826E]

[Fig. 5 Phy0, Phy1 Strap]

SMI

Address

Strap1 Strap2 Strap3 Strap4 Strap6
Phy0 0x00 Pullup not connect not connect not connect Pullup
Phy1 0x01 Pullip Pullup not connect not connect Pullup

[Table. 1 Strap configuration for DP83826]

[Fig. 6 Magnetics and connector]

What is my mistake ? Could you please help me to solve this problem?

  • Hi Kang,

    Thank you for sharing the detail. May I ask are you able to access the register of DP83826PHY? 

    • If you are able to access, could you provide the information on 0x0000 to 0x001F and 0x0467

    May I ask what PHY is inside beckhoff EK1100 ESC? 

    When you are looking at the RJ45 cable, are you seeing the link LED blinking or completely no link in the test 2 case. (Are you seeing continuous link drop and reconnect or No link at all?)

    What cable are you using during the test?

    From the two TwinCAT figure above, I was able to see first figure you are able to detect link and second figure you are not able to see link.

    • Are those figure all test case 2? 
    • Or is the first figure test case 1 and second figure test case 2?

    I check you schematic, overall looks pretty good. Here are some comments and concern I would like to ask:

    • Did you have a pull down strap on pin 31 to disable odd nibble?
    • DId you have pull up strap on pin 13 and 14 to enable FLD?
    • What is your magnetic spec? Is it matching the datasheet spec?

    --

    Regards,

    Hillman Lin

  • Thank you quikly response

    • If you are able to access, could you provide the information on 0x0000 to 0x001F and 0x0467

    => Ok, I read out DP83826E register without any connection(offline).

    Num Address Phy0 Phy1
    1 0000 3100 3100
    2 0001 7849 7849
    3 0002 2000 2000
    4 0003 A131 A131
    5 0004 01E1 01E1
    6 0005 0000 0000
    7 0006 0004 0004
    8 0007 2001 2001
    9 0008 0000 0000
    10 0009 0000 0000
    11 000A 0124 0124
    12 000B 0008 0008
    13 000C 0000 0000
    14 000D 401F 401F
    15 000E 0865 0865
    16 000F 0000 0000
    17 0010 4002 4002
    18 0011 0108 0108
    19 0012 0000 0000
    20 0013 0800 0800
    21 0014 0000 0000
    22 0015 0000 0000
    23 0016 0100 0100
    24 0017 0041 0041
    25 0018 0480 0400
    26 0019 C000 C001
    27 001A 0000 0000
    28 001B 007D 007D
    29 001C 05EE 05EE
    30 001D 0000 0000
    31 001E 0102 0102
    32 001F 0000 0000
    33 0025 0001 0051
    34 0304 0008 0008
    35 0460 0865 0865
    36 0469 0440

    0440

    • May I ask what PHY is inside beckhoff EK1100 ESC?
      • Sorry I don't know what kind phy used for Beckhoff EK1100 coupler.
      • But I did test with our old version product(AMIC120 + TK105L).
      • I call this test as test case 3. And test case 3 configuration is Beckhoff Mast + New device(AM2634+DP83826E) + old device(AMIC120 + TK105L).
      • Test case 3 also working well.
    • When you are looking at the RJ45 cable, are you seeing the link LED blinking
      • We don't use RJ45 cable. We use customized cable because there are no space for RJ45 in our product and target application.
      • As you can see EtherCAT connector in schematic is consist of 5 lines and EtherCAT cable also 5 lines with twisted pair and shielded.
      • We also test this cable in test case 3. It is working well.

    [Fig. 7 EtherCAT cable for our application]

    • Or completely no link in the test 2 case. (Are you seeing continuous link drop and reconnect or No link at all?)
      • Yes. I am seeing continuous link drop and reconnect.
    • What cable are you using during the test?
      • I described cable as answer above question.

    From the two TwinCAT figure above, I was able to see first figure you are able to detect link and second figure you are not able to see link.

    => I'm sorry about uncleared my expression. All figures are test case 2.

    • Are those figure all test case 2?
      • Yes. Those ares figure all test case 2.
      • Sometimes "new device 1" would discover the next "new device 2", sometimes it wouldn't.
    • Or is the first figure test case 1 and second figure test case 2?
      • Test case 1 is working well. So I didn't attached about test case 1. 

    I check you schematic, overall looks pretty good. Here are some comments and concern I would like to ask:

    • Did you have a pull down strap on pin 31 to disable odd nibble?
      • I did a pull up strap on pin 31 to enable odd nibble.
      • According to the example from SDK, there are a code for enable odd nibble.
      • Should I disable “strange nibble”?
    • DId you have pull up strap on pin 13 and 14 to enable FLD?
      • No. I didn't. Pin 13 is no pull up strap. Pin 14 is no pull up strap.
      • I activated FLD in initialize code. Should I have to do this by strap ?
      • Here is initialize code.
      • Fullscreen
        1
        2
        3
        4
        5
        6
        7
        /* PHY pin LED_0 as link for fast link detection */
        ledConfig0.ledNum = ETHPHY_DP83826E_LED0;
        ledConfig0.mode = ETHPHY_DP83826E_LED_MODE_MII_LINK_100BT_FD;
        ledConfig1.ledNum = ETHPHY_DP83826E_LED0;
        ledConfig1.mode = ETHPHY_DP83826E_LED_MODE_MII_LINK_100BT_FD;
        ETHPHY_command(gEthPhyHandle[CONFIG_ETHPHY0], ETHPHY_CMD_CONFIGURE_LED_SOURCE, (void *)&ledConfig0, sizeof(ledConfig0));
        ETHPHY_command(gEthPhyHandle[CONFIG_ETHPHY1], ETHPHY_CMD_CONFIGURE_LED_SOURCE, (void *)&ledConfig1, sizeof(ledConfig1));
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    • What is your magnetic spec? Is it matching the datasheet spec?
      • I check this with "DP83826 Troubleshooting Guide".
      • As my opinion, It is matching the datasheet.  

     Yours,

    Donggu Kang.

  • Hi Kang,

    Thank you for sharing detail information and Sorry for not being too clear on the instruction. 

    I would also like to check the register status during abnormal link up scenario. Register 0x0015 and 0x000F could let use know Is the link drop due to RX_ER or signal energy? 

    Regarding to the odd nibble disable, this is a requirement for EtherCAT application for DP83826. Odd nibble detection could also be disable through register 0x000A[2] or write 0x000A to 0126 to see that help with the link up issue?

    FLD enable by register should be also fine as well.

    --

    Regards,

    Hillman Lin

  • Hi Lin,

    Thank you for your kind advice.

    I followed your advice and tested it.

    • Register 0x0015 and 0x000F could let use know Is the link drop due to RX_ER or signal energy? 
      • I read 0x0015 and 0x000F register from DP83826E of outport of DuT #1
      • In case of abnormal link up scenario, FLDS(0x000F) register is 0x0080 and RECR register(0x0015h) is 0x000.
      • The value of FLDS is changing continuously form 0x0000 to 0x0080 and from  0x0080 to 0x0000. 
      • This situation repeats every 26 to 25 counts.
      • According to DP83826E datasheet, 0x0080 is RX Errors. But RECR is 0x0000.
    • Odd nibble detection could also be disable through register 0x000A[2] or write 0x000A to 0126 to see that help with the link up issue?
      • I disabled the "odd nibble detection" feature by writing 0x0126 to 0x000A, but this did not improve the situation.

    I read out registers at task1 of ethercat_slave_beckhoff_ssc_demo from "MCU+SDK am263x 8.6.00.34"

    Below is the data from the register.

    count PHY FLDS(0x000F) RECR(0x0015)
    0 eth 1 0080 0000
    1 eth 1 0000 0000
    2 eth 1 0000 0000
    3 eth 1 0000 0000
    4 eth 1 0000 0000
    5 eth 1 0000 0000
    6 eth 1 0000 0000
    7 eth 1 0000 0000
    8 eth 1 0000 0000
    9 eth 1 0000 0000
    10 eth 1 0000 0000
    11 eth 1 0000 0000
    12 eth 1 0000 0000
    13 eth 1 0000 0000
    14 eth 1 0000 0000
    15 eth 1 0000 0000
    16 eth 1 0000 0000
    17 eth 1 0000 0000
    18 eth 1 0000 0000
    19 eth 1 0000 0000
    20 eth 1 0000 0000
    21 eth 1 0000 0000
    22 eth 1 0000 0000
    23 eth 1 0000 0000
    24 eth 1 0000 0000
    25 eth 1 0000 0000
    26 eth 1 0000 0000
    27 eth 1 0000 0000
    28 eth 1 0080 0000
    29 eth 1 0000 0000
    30 eth 1 0000 0000
    31 eth 1 0000 0000
    32 eth 1 0000 0000
    33 eth 1 0000 0000
    34 eth 1 0000 0000
    35 eth 1 0000 0000
    36 eth 1 0000 0000
    37 eth 1 0000 0000
    38 eth 1 0000 0000
    39 eth 1 0000 0000
    40 eth 1 0000 0000
    41 eth 1 0000 0000
    42 eth 1 0000 0000
    43 eth 1 0000 0000
    44 eth 1 0000 0000
    45 eth 1 0000 0000
    46 eth 1 0000 0000
    47 eth 1 0000 0000
    48 eth 1 0000 0000
    49 eth 1 0000 0000
    50 eth 1 0000 0000
    51 eth 1 0000 0000
    52 eth 1 0000 0000
    53 eth 1 0000 0000
    54 eth 1 0000 0000
    55 eth 1 0080 0000
    56 eth 1 0000 0000
    57 eth 1 0000 0000
    58 eth 1 0000 0000
    59 eth 1 0000 0000
    60 eth 1 0000 0000
    61 eth 1 0000 0000
    62 eth 1 0000 0000
    63 eth 1 0000 0000
    64 eth 1 0000 0000
    65 eth 1 0000 0000
    66 eth 1 0000 0000
    67 eth 1 0000 0000
    68 eth 1 0000 0000
    69 eth 1 0000 0000
    70 eth 1 0000 0000
    71 eth 1 0000 0000
    72 eth 1 0000 0000
    73 eth 1 0000 0000
    74 eth 1 0000 0000
    75 eth 1 0000 0000
    76 eth 1 0000 0000
    77 eth 1 0000 0000
    78 eth 1 0000 0000
    79 eth 1 0000 0000
    80 eth 1 0000 0000
    81 eth 1 0000 0000
    82 eth 1 0000 0000
    83 eth 1 0080 0000
    84 eth 1 0000 0000
    85 eth 1 0000 0000
    86 eth 1 0000 0000
    87 eth 1 0000 0000
    88 eth 1 0000 0000
    89 eth 1 0000 0000
    90 eth 1 0000 0000
    91 eth 1 0000 0000
    92 eth 1 0000 0000
    93 eth 1 0000 0000
    94 eth 1 0000 0000
    95 eth 1 0000 0000
    96 eth 1 0000 0000
    97 eth 1 0000 0000
    98 eth 1 0000 0000
    99 eth 1 0000 0000
    100 eth 1 0000 0000
    101 eth 1 0000 0000
    102 eth 1 0000 0000
    103 eth 1 0000 0000
    104 eth 1 0000 0000
    105 eth 1 0000 0000
    106 eth 1 0000 0000
    107 eth 1 0000 0000
    108 eth 1 0000 0000
    109 eth 1 0080 0000
    110 eth 1 0000 0000
    111 eth 1 0000 0000
    112 eth 1 0000 0000
    113 eth 1 0000 0000
    114 eth 1 0000 0000
    115 eth 1 0000 0000
    116 eth 1 0000 0000
    117 eth 1 0000 0000
    118 eth 1 0000 0000
    119 eth 1 0000 0000
    120 eth 1 0000 0000
    121 eth 1 0000 0000
    122 eth 1 0000 0000
    123 eth 1 0000 0000
    124 eth 1 0000 0000
    125 eth 1 0000 0000
    126 eth 1 0000 0000
    127 eth 1 0000 0000
    128 eth 1 0000 0000
    129 eth 1 0000 0000
    130 eth 1 0000 0000
    131 eth 1 0000 0000
    132 eth 1 0000 0000
    133 eth 1 0000 0000
    134 eth 1 0000 0000
    135 eth 1 0080 0000
    136 eth 1 0000 0000
    137 eth 1 0000 0000
    138 eth 1 0000 0000
    139 eth 1 0000 0000
    140 eth 1 0000 0000
    141 eth 1 0000 0000
    142 eth 1 0000 0000
    143 eth 1 0000 0000
    144 eth 1 0000 0000
    145 eth 1 0000 0000
    146 eth 1 0000 0000
    147 eth 1 0000 0000
    148 eth 1 0000 0000
    149 eth 1 0000 0000
    150 eth 1 0000 0000
    151 eth 1 0000 0000
    152 eth 1 0000 0000
    153 eth 1 0000 0000
    154 eth 1 0000 0000
    155 eth 1 0000 0000
    156 eth 1 0000 0000
    157 eth 1 0000 0000
    158 eth 1 0000 0000
    159 eth 1 0000 0000
    160 eth 1 0000 0000
    161 eth 1 0000 0000
    162 eth 1 0080 0000
    163 eth 1 0000 0000
    164 eth 1 0000 0000
    165 eth 1 0000 0000
    166 eth 1 0000 0000
    167 eth 1 0000 0000
    168 eth 1 0000 0000
    169 eth 1 0000 0000
    170 eth 1 0000 0000
    171 eth 1 0000 0000
    172 eth 1 0000 0000
    173 eth 1 0000 0000
    174 eth 1 0000 0000
    175 eth 1 0000 0000
    176 eth 1 0000 0000
    177 eth 1 0000 0000
    178 eth 1 0000 0000
    179 eth 1 0000 0000
    180 eth 1 0000 0000
    181 eth 1 0000 0000
    182 eth 1 0000 0000
    183 eth 1 0000 0000
    184 eth 1 0000 0000
    185 eth 1 0000 0000
    186 eth 1 0000 0000
    187 eth 1 0000 0000
    188 eth 1 0000 0000
    189 eth 1 0000 0000
    190 eth 1 0000 0000
    191 eth 1 0000 0000
    192 eth 1 0080 0000
    193 eth 1 0000 0000
    194 eth 1 0000 0000
    195 eth 1 0000 0000
    196 eth 1 0000 0000
    197 eth 1 0000 0000
    198 eth 1 0000 0000
    199 eth 1 0000 0000
    200 eth 1 0000 0000
    201 eth 1 0000 0000
    202 eth 1 0000 0000
    203 eth 1 0000 0000
    204 eth 1 0000 0000
    205 eth 1 0000 0000
    206 eth 1 0000 0000
    207 eth 1 0000 0000
    208 eth 1 0000 0000
    209 eth 1 0000 0000
    210 eth 1 0000 0000
    211 eth 1 0000 0000
    212 eth 1 0000 0000
    213 eth 1 0000 0000
    214 eth 1 0000 0000
    215 eth 1 0000 0000
    216 eth 1 0000 0000
    217 eth 1 0000 0000
    218 eth 1 0000 0000
    219 eth 1 0000 0000
    220 eth 1 0000 0000
    221 eth 1 0000 0000
    222 eth 1 0000 0000
    223 eth 1 0080 0000
    224 eth 1 0000 0000
    225 eth 1 0000 0000
    226 eth 1 0000 0000
    227 eth 1 0000 0000
    228 eth 1 0000 0000
    229 eth 1 0000 0000
    230 eth 1 0000 0000
    231 eth 1 0000 0000
    232 eth 1 0000 0000
    233 eth 1 0000 0000
    234 eth 1 0000 0000
    235 eth 1 0000 0000
    236 eth 1 0000 0000
    237 eth 1 0000 0000
    238 eth 1 0000 0000
    239 eth 1 0000 0000
    240 eth 1 0000 0000
    241 eth 1 0000 0000
    242 eth 1 0000 0000
    243 eth 1 0000 0000
    244 eth 1 0000 0000
    245 eth 1 0000 0000
    246 eth 1 0000 0000
    247 eth 1 0000 0000
    248 eth 1 0000 0000
    249 eth 1 0000 0000
    250 eth 1 0080 0000
    251 eth 1 0000 0000
    252 eth 1 0000 0000
    253 eth 1 0000 0000
    254 eth 1 0000 0000
    255 eth 1 0000 0000
    256 eth 1 0000 0000
    257 eth 1 0000 0000
    258 eth 1 0000 0000
    259 eth 1 0000 0000
    260 eth 1 0000 0000
    261 eth 1 0000 0000
    262 eth 1 0000 0000
    263 eth 1 0000 0000
    264 eth 1 0000 0000
    265 eth 1 0000 0000
    266 eth 1 0000 0000
    267 eth 1 0000 0000
    268 eth 1 0000 0000
    269 eth 1 0000 0000
    270 eth 1 0000 0000
    271 eth 1 0000 0000
    272 eth 1 0000 0000
    273 eth 1 0000 0000
    274 eth 1 0000 0000
    275 eth 1 0000 0000
    276 eth 1 0000 0000
    277 eth 1 0080 0000
    278 eth 1 0000 0000
    279 eth 1 0000 0000
    280 eth 1 0000 0000
    281 eth 1 0000 0000
    282 eth 1 0000 0000
    283 eth 1 0000 0000
    284 eth 1 0000 0000
    285 eth 1 0000 0000
    286 eth 1 0000 0000
    287 eth 1 0000 0000
    288 eth 1 0000 0000
    289 eth 1 0000 0000
    290 eth 1 0000 0000
    291 eth 1 0000 0000
    292 eth 1 0000 0000
    293 eth 1 0000 0000
    294 eth 1 0000 0000
    295 eth 1 0000 0000
    296 eth 1 0000 0000
    297 eth 1 0000 0000
    298 eth 1 0000 0000
    299 eth 1 0000 0000
    300 eth 1 0000 0000
    301 eth 1 0000 0000
    302 eth 1 0000 0000
    303 eth 1 0000 0000
    304 eth 1 0080 0000
    305 eth 1 0000 0000
    306 eth 1 0000 0000
    307 eth 1 0000 0000
    308 eth 1 0000 0000
    309 eth 1 0000 0000
    310 eth 1 0000 0000
    311 eth 1 0000 0000
    312 eth 1 0000 0000
    313 eth 1 0000 0000
    314 eth 1 0000 0000
    315 eth 1 0000 0000
    316 eth 1 0000 0000
    317 eth 1 0000 0000
    318 eth 1 0000 0000
    319 eth 1 0000 0000
    320 eth 1 0000 0000
    321 eth 1 0000 0000
    322 eth 1 0000 0000
    323 eth 1 0000 0000
    324 eth 1 0000 0000
    325 eth 1 0000 0000
    326 eth 1 0000 0000
    327 eth 1 0000 0000
    328 eth 1 0000 0000
    329 eth 1 0000 0000
    330 eth 1 0000 0000
    331 eth 1 0000 0000
    332 eth 1 0000 0000
    333 eth 1 0000 0000
    334 eth 1 0000 0000
    335 eth 1 0000 0000
    336 eth 1 0000 0000
    337 eth 1 0080 0000
    338 eth 1 0000 0000
    339 eth 1 0000 0000
    340 eth 1 0000 0000
    341 eth 1 0000 0000
    342 eth 1 0000 0000
    343 eth 1 0000 0000
    344 eth 1 0000 0000
    345 eth 1 0000 0000
    346 eth 1 0000 0000
    347 eth 1 0000 0000
    348 eth 1 0000 0000
    349 eth 1 0000 0000
    350 eth 1 0000 0000
    351 eth 1 0000 0000
    352 eth 1 0000 0000
    353 eth 1 0000 0000
    354 eth 1 0000 0000
    355 eth 1 0000 0000
    356 eth 1 0000 0000
    357 eth 1 0000 0000
    358 eth 1 0000 0000
    359 eth 1 0000 0000
    360 eth 1 0000 0000
    361 eth 1 0000 0000
    362 eth 1 0000 0000
    363 eth 1 0000 0000
    364 eth 1 0000 0000
    365 eth 1 0000 0000
    366 eth 1 0000 0000
    367 eth 1 0080 0000
    368 eth 1 0000 0000
    369 eth 1 0000 0000
    370 eth 1 0000 0000
    371 eth 1 0000 0000
    372 eth 1 0000 0000
    373 eth 1 0000 0000
    374 eth 1 0000 0000
    375 eth 1 0000 0000
    376 eth 1 0000 0000
    377 eth 1 0000 0000
    378 eth 1 0000 0000
    379 eth 1 0000 0000
    380 eth 1 0000 0000
    381 eth 1 0000 0000
    382 eth 1 0000 0000
    383 eth 1 0000 0000
    384 eth 1 0000 0000
    385 eth 1 0000 0000
    386 eth 1 0000 0000
    387 eth 1 0000 0000
    388 eth 1 0000 0000
    389 eth 1 0000 0000
    390 eth 1 0000 0000
    391 eth 1 0000 0000
    392 eth 1 0000 0000
    393 eth 1 0000 0000
    394 eth 1 0000 0000
    395 eth 1 0000 0000
    396 eth 1 0080 0000
    397 eth 1 0000 0000
    398 eth 1 0000 0000
    399 eth 1 0000 0000
    400 eth 1 0000 0000
    401 eth 1 0000 0000
    402 eth 1 0000 0000
    403 eth 1 0000 0000
    404 eth 1 0000 0000
    405 eth 1 0000 0000
    406 eth 1 0000 0000
    407 eth 1 0000 0000
    408 eth 1 0000 0000
    409 eth 1 0000 0000
    410 eth 1 0000 0000
    411 eth 1 0000 0000
    412 eth 1 0000 0000

    Yours,

    Donggu Kang.

  • HI Kang,

    Thank you for sharing the detail information. It seems like the PHY is being link drop through RX_ER. Odd nibble detection should be one of the main factor that cause the RX_ER in Ether CAT system. Therefore I would like to double check again on your setup:

    • Did you disable the odd nibble detection on both of the ESCs (DUT#1 and DUT #2)?
    • Within each of your DUT, it seems to have two DP83826PHYs for each DUTs (Input and Output). Did you disable odd nibbles detection for all four PHYs?
    • Could you double check on the setup one more time make sure it is being written for all four devices?

    If those test are confirm. We could try the following test:

    • Are you able to use CAT 5E or CAT 6 for testing?
    • Could you also read the SQI of the system make sure the signal is clean. 0x0218 is the register for Signal Quality Indicator (SQI)
    • Are you seeing the same scenario without the FLD for all the PHYs? 

    --

    Regards,

    Hillman Lin

  • Hi Lin,

    Thank you for your kind advice.

    We try to use DP82833 instead of DP83826 as phy of EtherCAT application to update old product. And We also apply this to new product.

    I don't know what's wrong with PD83826. But probably there are our mistakes.

    I am going to close this issue. 

    • Did you disable the odd nibble detection on both of the ESCs (DUT#1 and DUT #2)?
      • Yes, I did. All odd nibble of DP83826PHY is desabled. 
    • Within each of your DUT, it seems to have two DP83826PHYs for each DUTs (Input and Output). Did you disable odd nibbles detection for all four PHYs?
      • Yes, I did. 
    • Could you double check on the setup one more time make sure it is being written for all four devices
      • I checked it for all four devices.

    • Are you able to use CAT 5E or CAT 6 for testing?
      • Unfortunately, the connector of my device's is not RJ45. So it's impossible. However, I tested the cable with new product and another existing product. It worked without any problems in the test.
    • Could you also read the SQI of the system make sure the signal is clean. 0x0218 is the register for Signal Quality Indicator (SQI)
      • Is SQI register of DP83826E ? I can't find this register from datasheet
    • Are you seeing the same scenario without the FLD for all the PHYs? 
      • Yes. I disable FLD for all the PHYs. but RX_ER still appears.

    Thank you for your help

    Yours,

    Donggu Kang