This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Control endpoint with 8-byte packet buffer

Hello,

I've been working with the STR912FW44 for a while implementing a composite device providing a Virtual COM Port, flash-disk emulation and an own 1:1 communication channel.

My problem is that the USB controller does not work with my buffer for the control endpoint when I use a 8-byte endpoint buffer. A 16-Byte endpoint buffer works fine.

The first packet I receive is the one with the SETUP structure which is only 8 bytes in length. When I use the 8-byte buffer, the USB controller raises an interrupt telling that a packet has been received, but the packet is empty. A 16-byte buffer does not behave like that :-/

Can anyone tell me what could have gone wrong?

Thank you very much!

Best regards,
Sascha