Other Parts Discussed in Thread: TLK110, , AMIC110
Tool/software: TI-RTOS
Hello,
We have the custom board with TLK110 as well as with DP83848 PHY. The board with TLK works fine where as the board with DP83848 does not work. We have the following configuration:
Configuration used:
- processor_sdk_rtos_am335x_3_03_00_04
- pdk_am335x_1_0_6
- PRU-ICSS-EtherCAT_Slave_01.00.03.01
- Code Composer Studio 7.1.0
The list of changes we have tried
Please find the details in attached file
- PHY Changes
- Comment all PHY register access except 0x2
- PHY address as 1 (port:- 1/IN) and 3 (port:-2/OUT)
- Enhanced link detection enabled
|
S.No |
Register Address |
Bit Number |
Value |
Purpose |
Remarks |
Change in BE SW for DP83848 |
|
1 |
0x19 |
bit 15 |
"1" |
Enable PHY Auto MDIX |
HW Strap available in BE V1 for enabling the Auto MDIX |
Comment this in SW |
|
2 |
0x17 |
all bits |
"0" |
Turning OFF RMII mode |
HW Strap available in BE V1 for enable MII mode / disable RMII mode |
Comment this in SW |
|
3 |
0x2 |
all bits |
Read only |
Checking whether this is equal to "0x2000" |
same as TLK110 |
no change in SW |
|
4 |
0xA |
bit 5 |
"1" |
Force 100base-TX Full duplex mode |
Not available in DP83848 |
Comment this in SW |
|
5 |
0xA |
bit 1 |
"1" |
ODD Nible Detection disable |
Not required / not available |
Comment this in SW |
|
6 |
0x19 |
bit 5 |
'0'' |
LED Mode 3 |
Not required |
Comment this in SW |
|
7 |
0x19 |
bit 6 |
'1'' |
LED Mode 3 |
Not required |
Comment this in SW |
|
8 |
0x18 |
bit 9 |
'0'' |
LED Flashing Speed |
Not required |
Comment this in SW |
|
9 |
0x18 |
bit 10 |
'1'' |
LED Flashing Speed |
Not required |
Comment this in SW |
|
10 |
0xB |
bit 0 |
'1'' |
Fast link down mode - Signal / Energy loss |
Not available in DP83848 |
Comment this in SW |
|
11 |
0xB |
bit 3 |
'1'' |
Fast link down mode - RX error count |
Not available in DP83848 |
Comment this in SW |
|
12 |
0x9 |
bit 15 |
"1" |
SW Strap configuration done |
Not available in DP83848 |
Comment this in SW |
We believe this has to do with the link detection, and we have gone through the following but still that dint help.
One more weird behaviour seen is that if the ethernet cable is connected first to OUT port and then to IN port the communication happens on IN port subsequently. Does this indicate something for the above issue ? Or can you please help understand this behaviour ? And also help DP83848 work ?
Best Regards,
Mohit
