isp1760 getting port status

Sep 22, 2008 1 Replies

we are using ISP1760 along with blackfin processor



Iam writing my own code for enumerating internal hub and external device



First I connected the usb mouse to external port next,I can successfully able to enumerate the internal hub and can power up. The vbus is applied and the mouse is powered up.



The problem is after that sequence i used get port status usb command. I got the value byte0 = 00 byte1 = 01 byte2 = 00 byte3 = 00



From the above it means In portstatus the powered up bit is set and In portchange nothing is set since i connected mouse permanently



but the device connected bit is not set??



The sequence what i follow is correct ? Iam forming the ptd in ATL area itself for getportstatus. Is that okay?



I checked any error bit is set in ptd when i use getportstatus but no Error bit is set.



Can u please help me how to get the device connected status of port1 and enumerating the external device



Please give me some solution



Thanks


[Aside] Have you written code to support high, full and low speed devices since a mouse is almost certainly low speed. Support for full and low speed means that you need to have split transactions coded up.

So GET_STATUS(Port):PORT_CONNECTION shows zero? What do the other bits show?

Can you give what commands you pass to the hub(s).

Andrew

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required