Hi ,
I use a custom board with i.mx6DL + TJA1100 (RMII ) + fsl-bsp-4.1.15_2.0.0 SDK .
I write a tja1100 driver which reference net/phy/davicom.c as base, but our issue is the tja1100 always can not enter "link stable" status but stuck on "link statup" stage.
I connect our two custom board with one twisted pair cable in my environment. ( both setting to phy slave mode and managed option )
And here is the register dump value
BASIC_CTRL_REG=0x2100
BASIC_STAT_REG=0x1e1
id1=0x180 , id2=0xdc48
EXT_STAT_REG=0x80
EXT_CTRL_REG=0x9806 // link control enable = 1 , power_mode = 3
CONF_REG1=0x1911
CONF_REG2=0x2245
INT_STAT_REG=0x0
INT_ENABLE_REG=0xffff
COMM_STAT_REG=0x6004 // TX_MODE is SEND_Z mode , PHY active , loc_rcvr =0 , rem_rcvr = 0 , scr_locked = 0
GENERAL_STAT_REG=0x4000
EXTERNAL_STAT_REG=0x0
LINK_FAIL_CNT_REG=0x0
After I set the LINK_CONTROL bit into extended control register , I always get the same register value dump .
Could you give us some advise ?
Best,
Andy