The documentation for the OSR USB FX2 learning kit indicates that
Endpoint 1 - Interrupt Endpoint Packet Format
“The switch pack value is sent on startup, resume from suspend, and
whenever the switch pack setting changes.”
I monitor the USB packets and sniffer does NOT pick up any USB packets
being sent when I change the switch back??? Has anyone else seen
this and why is it happening?
Merritt, Julia wrote:
The documentation for the OSR USB FX2 learning kit indicates that
Endpoint 1 - Interrupt Endpoint Packet Format
“The switch pack value is sent on startup, resume from suspend, and
whenever the switch pack setting changes.”
I monitor the USB packets and sniffer does NOT pick up any USB packets
being sent when I change the switch back??? Has anyone else seen
this and why is it happening?
Are you running the application to read from the endpoint? Remember
what I told you – a USB device cannot send ANYTHING on its own. It
will only send data when the host asks it to send, and that will only
happen if a driver sends a read request.
The switch pack value is being queued up in the device, ready for you to
read, but it won’t be sent until you read it.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.