Imx6Q usochronous transfer

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

Imx6Q usochronous transfer

534 Views
binaeksarkar
Contributor II

Hi,

I am using imx6q usb as device controller. I configured end point 2 as isochronous out by writing appropriate endpoint control  register. I am playing 44.1khz, 24 bit, stereo,wave fil;e from Windows media player.( bInterval set to 1 ms). In the device side I have performed the following steps.

  • Prepare dtd with a 272 bytes of buffer
  • Link dtd with isochronous out dqh.
  • prime isochronous out end point.

But we do not see iso out endpoint completion interrupt. Please let me know if I am missing something.

Thank you in advance.

Thanks

Barindam

Labels (1)
0 Kudos
2 Replies

443 Views
binaeksarkar
Contributor II

Hi,

Is there any buffer start address alignment and buffer length restriction in dtd for imx6q usb device controller?

Thanks

Barindam

0 Kudos

443 Views
igorpadykov
NXP Employee
NXP Employee

Hi Binaek

you are right, there are some alignment restrictions, from  IMX6DQRM

p. 5391  The Endpoint Queue Head List must be aligned to a 2k boundary.

The dQH is a 48-byte data structure, but must be aligned on 64-byte

boundaries.

p.5418  Allocate 8-DWord dTD block of memory aligned to 8-DWord boundaries.

Best regards

igor

0 Kudos