Using TUSB1310, for a USB3.0 device, I find that PHY_STATUS, which should be asserted for receiver detection, doesn't go high. After PHY reset, PHY_STATUS got asserted and then deasserted which is as expected. After this, MAC is trying to detect RX (3.0 host).
state of phy signals at this time are
1. VBUS is high
2. TX_ELEC_IDLE is 1
3. TX_LPBK is 1
4. TERMINATION is 1
5. RATE is 1
6. TXONESZEROS is 0
7. POWER_DOWN is 2'd2
8. PHY_MODE is 2'b10, tried 2'b01 also
9. RX_POLARITY = 0
10. TX_DE_EMPHASIS = 2'b10
11. TX_MARGIN = 3'b000
12. TX_SWING = 1'b0
13. TX_ELASTIC_BUF = 1'b1
14. both resets released
15. OUT_EN = 1 ( was low at power up, asserted after a delay)
FPGA board issue is ruled out, because it works fine with another version of IP.
Not sure what could be going wrong. Any suggestions? Do you see anything that I may be missing here?
Another thing noticed, in a different case, when cable is not connected, is that PCLK is running even when POWER_DOWN is set to 2'b11. Does it point to something that could be a miss?
Thanks,
Zahir