Hello everyone, i’v got a folowing code for bulk endpoint that was created from interrupt endpoint, hardware buffer is 4 bytes,
USB_TIMEOUT = USBD_TIME_INFINITY:
You should move the usbd_setup_bulk function inside the while loop.
Is this an interrupt endpoint or bulk ?
You should use usbd_setup_interrupt() for an interrupt endpoint.
Hello everyone, i’v got a folowing code for bulk endpoint that was created
from interrupt endpoint, hardware buffer is 4 bytes,
USB_TIMEOUT = USBD_TIME_INFINITY:
This endpoint was reconfigurated from interrupt to bulk, but I still have the problem.
I have allready tryed to move the usbd_setup_bulk to the loop, but it doesn’t helps.
We have a device with Control+4 endpoints:
02) Bulk_IN 64 bytes
04) Bulk_IN 64 bytes
06) Bulk_IN 4 bytes
08) Interrupt_OUT 4 bytes
From 02,04 endpoint we need to get a stream 128Kb/sec - OK!
From 06 endpoint only 150bytes/sec - OK!
The problem is:
when I’m working with 02,04 and 06 at the same time after a few minutes
the usbd_io at endpoint 06 returns an error. The same situation happens in
case of device with 06 endpoint configured as Interrupt_IN.
What can it be?
You should move the usbd_setup_bulk function inside the while loop.
Is this an interrupt endpoint or bulk ?
You should use usbd_setup_interrupt() for an interrupt endpoint.
Hello everyone, i’v got a folowing code for bulk endpoint that was created
from interrupt endpoint, hardware buffer is 4 bytes,
USB_TIMEOUT = USBD_TIME_INFINITY:
This endpoint was reconfigurated from interrupt to bulk, but I still have
the problem.
I have allready tryed to move the usbd_setup_bulk to the loop, but it
doesn’t helps.
We have a device with Control+4 endpoints:
02) Bulk_IN 64 bytes
04) Bulk_IN 64 bytes
06) Bulk_IN 4 bytes
08) Interrupt_OUT 4 bytes
From 02,04 endpoint we need to get a stream 128Kb/sec - OK!
From 06 endpoint only 150bytes/sec - OK!
The problem is:
when I’m working with 02,04 and 06 at the same time after a few minutes
the usbd_io at endpoint 06 returns an error. The same situation happens in
case of device with 06 endpoint configured as Interrupt_IN.
What can it be?
You should move the usbd_setup_bulk function inside the while loop.
Is this an interrupt endpoint or bulk ?
You should use usbd_setup_interrupt() for an interrupt endpoint.
Hello everyone, i’v got a folowing code for bulk endpoint that was
created
from interrupt endpoint, hardware buffer is 4 bytes,
USB_TIMEOUT = USBD_TIME_INFINITY: