USB Library isochronous or bulk examples

Technical questions regarding the XTC tools and programming with XMOS.
fdaniii
Member
Posts: 9
Joined: Tue Nov 22, 2011 3:20 pm

USB Library isochronous or bulk examples

Post by fdaniii »

Hi guys,
i have an XC-1A development kit. I want to use it to transfer data at high speed. For this reason i built an ULPI transceiver as described in the XMOS USB Device (XUD) Library, page 2. I tested the transcever with the example provided with the XUD library (a HID example, that move the mouse pointer in a rectangular path when the device is connected to the PC) and it works fine. Since i need to transfer a big ammount of data at high speed, i want to implement a bulk or isochronous transfer.

My question is: where can i take examples of implementation of this kind of transfer protocols?

i googled but without any results.... i'm not expert on USB implementation and i have some difficulties without examples :oops:

Thanks in advance


User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

fdaniii wrote:Hi guys,
i have an XC-1A development kit. I want to use it to transfer data at high speed. For this reason i built an ULPI transceiver as described in the XMOS USB Device (XUD) Library, page 2. I tested the transcever with the example provided with the XUD library (a HID example, that move the mouse pointer in a rectangular path when the device is connected to the PC) and it works fine. Since i need to transfer a big ammount of data at high speed, i want to implement a bulk or isochronous transfer.

My question is: where can i take examples of implementation of this kind of transfer protocols?

i googled but without any results.... i'm not expert on USB implementation and i have some difficulties without examples :oops:

Thanks in advance
No bulk mode yet, but check out https://github.com/xcore/sc_usb/tree/ma ... e_usb_vcom
But the XC-1A has an USB and JTAG chip from FTDI, not the ULPI chip used in most L device PCBs.
Probably not the most confused programmer anymore on the XCORE forum.
fdaniii
Member
Posts: 9
Joined: Tue Nov 22, 2011 3:20 pm

Post by fdaniii »

lilltroll wrote: No bulk mode yet, but check out https://github.com/xcore/sc_usb/tree/ma ... e_usb_vcom
Thanks a lot...
lilltroll wrote: But the XC-1A has an USB and JTAG chip from FTDI, not the ULPI chip used in most L device PCBs.
Yes, but i have built my own ULPI transceiver following the scheme reported here:
http://www.google.it/url?sa=t&rct=j&q=u ... rA&cad=rja
fdaniii
Member
Posts: 9
Joined: Tue Nov 22, 2011 3:20 pm

Post by fdaniii »

hi guys,
is there someone that can help me to modify the supplied example to implement a bulk or isochronous data transfer? I'm little confused :oops: :oops: .... what are the necessary steps to implement these kinds of data transfer?

Thanks in advance