Hi all,
I am trying to use TUSB1210 as a device PHY with spartan 6 FPGA as device side link.
I do the power on reset of TUSB1210 and set TUSB1210 in device mode with following steps complete:-
Apply reset for more than 200ns. The PHY will pull DIR high to ensure the Link will not drive data lines.
Wait for a RXCMD, ie a toggle of the DIR pin.
The peripheral must start as a FS device by pulling DP high through an internal resister controlled by FUNC_CTRL register. First we must disable OTG features by writing x”00” to the OTG_CTRL (x”0a) register. A TXCMD byte of x”8a” is sent then a data byte of x”00” as per Figure 1.
Send x”45” to FUNC_CTRL (x”04”) where this sets the peripheral device in the Fast Speed mode by making D+ high and D- low ( LineState “01” – J).
The PHY should respond with a RXCMD showing a LineState of J (“01”, FS Idle).
Now when I try and connect to host, my line state of J persist and SE0 state does not get achieved.
I find activity on D+ and D- line when host connects at Full speed but Host says USB Malfunction and J state on the line persist with No RXCMD Change.
I am using Windows 7. Please tell me what can be the issue?