shmd
Newbie level 2
- Joined
- Jun 9, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 24
Hi,
I'm coding a FSM to be enumerated by host using Altera de2-115 and communication daughter board which has a USB3300 PHY chipset,
also I use quartus signalTap ii to observe signals.
the state machine starts with resetting the PHY and after that wait for a cable connection, then, waits for getDescription setup packet, and SetAddress setup packet,
FSM steps:
1- wait for token packets,
- SETUP
- OUT
- IN
2- after receive a SETUP
- wait for DATA0
3- after receive data sends ACK
4- there is an IN token now
5- send Device_Descriptor to host
6- wiats for out token
7- there is an OUT token but this is incomplete, I can get OUT_token_PID then first byte Address_Endpoint but before receiveing the second packe EndP_CRC the
dir_signal will be dropped,
8- these steps repeat several times then windows7 X64 or windows XP will report a malfunction USB device.
i have no idea how to solve this problem or what is the problem.
thanks
I'm coding a FSM to be enumerated by host using Altera de2-115 and communication daughter board which has a USB3300 PHY chipset,
also I use quartus signalTap ii to observe signals.
the state machine starts with resetting the PHY and after that wait for a cable connection, then, waits for getDescription setup packet, and SetAddress setup packet,
FSM steps:
1- wait for token packets,
- SETUP
- OUT
- IN
2- after receive a SETUP
- wait for DATA0
3- after receive data sends ACK
4- there is an IN token now
5- send Device_Descriptor to host
6- wiats for out token
7- there is an OUT token but this is incomplete, I can get OUT_token_PID then first byte Address_Endpoint but before receiveing the second packe EndP_CRC the
dir_signal will be dropped,
8- these steps repeat several times then windows7 X64 or windows XP will report a malfunction USB device.
i have no idea how to solve this problem or what is the problem.
thanks