jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2584
Joined: Thu Jul 11, 2013 2:37 pm

Re: USB 2.0 Dropped frames

Tue Nov 05, 2019 1:20 pm

Responded via email.
Rockets are loud.
https://astro-pi.org

sargsyanga
Posts: 7
Joined: Wed Jun 17, 2020 2:26 am

Re: USB 2.0 Dropped frames

Wed Jun 17, 2020 5:49 pm

Hi.

I am experiencing similar problem with Isochronous transfers. Was there a solution to this problem? If yes, can you please share the code so I can try the fix on my end?

Thank you

SaraYang
Posts: 1
Joined: Thu Mar 18, 2021 6:23 am

Re: USB 2.0 Dropped frames

Thu Mar 18, 2021 7:02 am

I am have similar problem with USB Isochronous transfers. My problem is that when I changed bInterval value fram 2 to 1. audio frames drop happend. Do you have solved the problem? could you give me some suggestions, thank you very much.

Code: Select all

static struct usb_endpoint_descriptor hs_epout_desc = {
	.bLength = USB_DT_ENDPOINT_SIZE,
	.bDescriptorType = USB_DT_ENDPOINT,

	.bmAttributes = 0x05,//USB_ENDPOINT_XFER_ISOC ,//| USB_ENDPOINT_SYNC_ADAPTIVE,
	.wMaxPacketSize = cpu_to_le16(1024),
----.bInterval = 2,
+++.bInterval = 1,
};

Return to “Compute Module”