TLK110 EVM interfacing with ESP32 Wroom kit

bitto.c
Posts: 2
Joined: Mon Oct 16, 2017 7:06 am

TLK110 EVM interfacing with ESP32 Wroom kit

Postby bitto.c » Mon Oct 16, 2017 10:30 am

We are trying to evaluate ESP32 with TLK110 Phy interface, We followed the connections as per the Comments and Documents in Ethernet sample code.

Our connection:
// TXD0 = GPIO19
// TXD1 = GPIO22
// TX_EN = GPIO21
// RXD0 = GPIO25
// RXD1 = GPIO26
// CLK == GPIO0

We are seeing Phy getting init and is able to read all registers from Phy succesfully.
But always Phy gives Link status as Down.

Is there a schematic or reference design with TLK110 so we can verify.

Attaching some debug logs we are getting on Registers

D (16330) phy_common: phy_mii_check_link_status(DOWN)
D (18330) phy_common: phy_mii_check_link_status(DOWN)
D (20330) phy_common: phy_mii_check_link_status(DOWN)
D (20590) tlk110: TLK110 Registers:
D (20590) tlk110: BMCR 0x3100
D (20590) tlk110: BMSR 0x7849
D (20590) tlk110: PHYIDR1 0x2000
D (20590) tlk110: PHYIDR2 0xa211
D (20590) tlk110: ANAR 0x0de1
D (20590) tlk110: ANLPAR 0x0000
D (20600) tlk110: ANER 0x0004
D (20600) tlk110: ANNPTR 0x2001
D (20600) tlk110: ANLNPTR 0x0000
D (20610) tlk110: SWSCR1 0x7c00
D (20610) tlk110: SWSCR2 0x0104
D (20610) tlk110: SWSCR3 0x0000
D (20620) tlk110: REGCR 0x0000
D (20620) tlk110: ADDAR 0x0000
D (20620) tlk110: PHYSTS 0x0002
D (20630) tlk110: PHYSCR 0x0108
D (20630) tlk110: MISR1 0x0000
D (20640) tlk110: MISR2 0x0000
D (20640) tlk110: FCSCR 0x0000
D (20640) tlk110: RECR 0x0000
D (20650) tlk110: BISCR 0x0100
D (20650) tlk110: RBR 0x0021
D (20650) tlk110: LEDCR 0x0400
D (20660) tlk110: PHYCR 0xa021
D (20660) tlk110: 10BTSCR 0x0000
D (20660) tlk110: BICSR1 0x007d
D (20670) tlk110: BICSR2 0x05ee
D (20670) tlk110: CDCR 0x0102
D (20670) tlk110: TRXCPSR 0x2000
D (20680) tlk110: PWRBOCR 0x0000
D (20680) tlk110: VRCR 0x0002
D (20680) tlk110: ALCDRR1 0x0000
D (20690) tlk110: CDSCR1 0x0002
D (20690) tlk110: CDSCR2 0x0108
I (20690) eth_example: ~~~~~~~~~~~
I (20700) eth_example: ETHIP:0.0.0.0
I (20700) eth_example: ETHPMASK:0.0.0.0
I (20710) eth_example: ETHPGW:0.0.0.0
I (20710) eth_example: ~~~~~~~~~~~
D (22330) phy_common: phy_mii_check_li

Who is online

Users browsing this forum: Baidu [Spider] and 323 guests