USB IN endpoint problem

Feb 26, 2008 1 Replies

Hello



I am developing with Atmel at89c5131 microcontroller. My device has 2 interface and 1st interface has IN endpoint and 2nd interface has IN and OUT endpoint There is no problem in other endpoints but IN endpoint of 2nd interface does not work correctly. When I look into USB monitor, there is correct data in this IN endpoint, but host cannot receive them. I have used dll library provided by Atmel. I wonder if this is only host problem or can be device problem. And another question, MaxPacketSize of endpoint descriptor field only designate 'maximum' packet size? packet length can be smaller than that?



Please answer. Thanks.


From the USB1.1 specification regarding wMaxPacketSize from the description of the standard endpoint descriptor:

For interrupt, bulk, and control endpoints, smaller data payloads may be sent, but will terminate the transfer and may or may not require intervention to restart.

Michael N. Moran (h) 770 516 7918 5009 Old Field Ct. (c) 678 521 5460 Kennesaw, GA, USA 30144 http://mnmoran.org "So often times it happens, that we live our lives in chains and we never even know we have the key." "Already Gone" by Jack Tempchin (recorded by The Eagles) The Beatles were wrong: 1 & 1 & 1 is 1

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required