Re: USB peripheral controller driver for Maxim MAX3420e

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> About toggling, Maxim 3420e automatically clears all data toggles
>> during chip or USB bus reset. The CPU clears individual endpoint data
>> toggle under two conditions:
>> 1. The host issues a Set_Configuration request.
>> 2. The host issues a Clear_Feature (endpoint stall) request.
>>
>> I was clearing the data toggle under condition #2 but not #1. Fixing
>> this and setting -v 64 enabled the driver to pass Test 8!!
>
> That's not enough; the CPU also has to clear the data toggle when the
> host issues a Set-Interface request.
>
> You can check whether this is working by going back to the old "-v 1"
> version of test 8.  If the CATC trace shows 576 bytes for the first run
> and 640 bytes for subsequent runs then the toggle is not getting
> cleared.  You should see 576 bytes for every run.

Alan,

There's no way to clear the data toggle for control endpoint on the
Maxim 3420e device. This rules out the ability of the CPU to clear the
data toggle for Set_Interface and Set_Configuration. The expectation
is that the hardware handles these conditions. I need to confirm this
with Maxim.

It seems that the only condition the CPU clears the data toggle is
when the host issues a Clear_Feature (endpoint stall) request.

Edwin
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux