USB host control transfer data toggle problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB host control transfer data toggle problem

850 Views
FredrikMoller
Contributor III

Background info: I'm writing a host controller driver for the i.MX28EVK.

Problem: When reading from device (i.e. the data phase of the control transfer is an IN transaction), host sends a DATA0 packet in the status phase. According to the USB 2.0 standard ch. 8.5.3, this should be a DATA1 packet. Is this a hardware issue? Is there any way to work around or solve the issue?

Labels (1)
0 Kudos
1 Reply

590 Views
FredrikMoller
Contributor III

It was an error in my code. Hardware is fine. I relied on automatic data toggling which caused the controller hardware to toggle the data toggle from DATA1 (data phase) to DATA0 (status phase).

0 Kudos