USB device Multipacket on mcf537x

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

USB device Multipacket on mcf537x

1,063 Views
sbouvet
Contributor I

Hello,

I am working on mcf5373 and I have some problem with the USB OTG in mode device.

My problem is the following. The host USB, where i m connected send me a multi-packet but i don't know how many packets I do wait.

In my source code I initialize ep_qh and dtd with 64 bytesmax,

In my interrupt,  I acknoledge the Interrupt, I read the 64 octets received and i initialise the dtd to read 64 bytes.

this work for the first packet but after i have no interrput to read the following packets.

 

Could you help me?

Thanks

Labels (1)
0 Kudos
Reply
2 Replies

756 Views
sbouvet
Contributor I

Hello,
I found my mistake. I do not initialize the ZLT bit of the associate EndPoint.

Thanks for your help.

 

0 Kudos
Reply

756 Views
TomE
Specialist II

You may be working from this already, but check section 4.7.1 of:

 

http://www.intel.com/technology/usb/download/ehci-r10.pdf

 

available from:

 

http://www.intel.com/technology/usb/ehcispec.htm

 

I don't know more than that.

 

 

0 Kudos
Reply