How to Find USB Transfer Rate?

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

How to Find USB Transfer Rate?

904 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pradeep Kumar on Sun Oct 06 23:00:49 MST 2013
Hi, I am using LPC 3250 custom board ported with kernel 2.6.34.

In my Project am using  USB in OTG mode for this we are selected MICREL 2555 IC.Previous project  we are worked on MICREL 2555 IC but in HOST mode only .It's working properly.But we need to work on OTG mode For this we are selected OTG connector and some changes are done in my kernel.

Now my question is What is the USB transfer rate from PC to Board and Board to PC ? How can i find this one?

In the data sheet he didn't mentioned anything. He mentioned in MICREL 2555 data sheet as follows

If Vbat=3.6V I2C Signalling Rate      100 kbps(min)            400 kbps(Max)

If Vbat =3.0V I2C Signalling Rate     100 kbps(min)            200 kbps(Max)



Thanks un Advance

&

Regards,

Pradeep Kumar G.
Labels (1)
0 Kudos
Reply
1 Reply

826 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tsuneo on Mon Oct 07 20:09:24 MST 2013
MIC2555 is a full-/low-speed transceiver.
As it is compliant to the USB2.0 spec,
the max transfer speed over this chip is determined by the USB spec.

That is,
a) For interrupt and isoc transfer (periodical), transfer speed is proportional to the packet (transaction) size.
- interrupt: 64 bytes / 1ms frame / endpoint (max)
- isochronous: 1023 bytes / frame / endpoint (max)

b) For bulk and control transfer (non-periodical),
- bulk: 64 bytes x 19 packets / frame / endpoint (max)
- data stage of control transfer: same as bulk (depending on PC driver)

To get better transfer speed on bulk and control transfer,
1) Keep just the single endpoint active on the bus
- Connect just the full-speed device without any other full-/low-speed USB device
- or separate your full-speed device with a USB2.0 hub from other full-/low-speed device.

2) On the PC side, exchange as many bytes as possible (around 4K bytes) in single read/write call - Such a large transfer request is split into 64 bytes transactions on PC host controller (HC). HC fills the bus with the transactions one after another, immediately.

3) On the LPC3250 device, apply DMA to as large size transfer as possible, like the PC side.

The bus bit rate is fixed on USB. Therefore, the packet size and packets/(micro-)frame determines the transfer speed.

Tsuneo
0 Kudos
Reply