Hello.
I solved the problem. This was 100% hardware issue.
http://www.at91.com/forum/viewtopic.php/f,9/t,5600/
The problem was jitter of the host main clock. Crystal oscillator of the
9g20 had 200mV amplitude and it collects a lot of noise. External oscillator
solved the problem (Vp-p = 2...3V).
9g20 clock settings for USB block give 0.16% of clock error. To the error we
need to add oscillator error (eg. capacitance load of crystal) and jitter,
and PLL jitter. USB tolerates 0.252% for full speed (0.21ns / bit). For HUB
full speed allowed is 1ns, ie. even 1.2%.
best regards
Janusz Uzycki
ELPROMA
SCSR = 41
PCSR = 30021c
MOR = ff01
MCFR = 1232a
PLLA = 202a3f01
PLLB = 10193e05
MCKR = 1302
SR = 38f
clk32k users= 1 on 32768 Hz
main users= 9 on 18432000 Hz
plla users= 8 on 792576000 Hz main
mck users= 8 on 132096000 Hz plla
pllb users= 1 on 95846400 Hz main
uhpck users= 1 on 47923200 Hz pllb
udpck users= 0 off 47923200 Hz pllb
pioA_clk users= 1 on 132096000 Hz mck
pioB_clk users= 1 on 132096000 Hz mck
pioC_clk users= 1 on 132096000 Hz mck
adc_clk users= 0 off 132096000 Hz mck
usart0_clk users= 0 off 132096000 Hz mck
usart1_clk users= 0 off 132096000 Hz mck
usart2_clk users= 0 off 132096000 Hz mck
mci_clk users= 1 on 132096000 Hz mck
udc_clk users= 0 off 132096000 Hz mck
twi_clk users= 0 off 132096000 Hz mck
spi0_clk users= 0 off 132096000 Hz mck
spi1_clk users= 0 off 132096000 Hz mck
ssc_clk users= 0 off 132096000 Hz mck
tc0_clk users= 0 off 132096000 Hz mck
tc1_clk users= 0 off 132096000 Hz mck
tc2_clk users= 0 off 132096000 Hz mck
ohci_clk users= 1 on 132096000 Hz mck
macb_clk users= 1 on 132096000 Hz mck
isi_clk users= 0 off 132096000 Hz mck
usart3_clk users= 0 off 132096000 Hz mck
usart4_clk users= 0 off 132096000 Hz mck
usart5_clk users= 0 off 132096000 Hz mck
tc3_clk users= 0 off 132096000 Hz mck
tc4_clk users= 0 off 132096000 Hz mck
tc5_clk users= 0 off 132096000 Hz mck
pck0 users= 0 off 32768 Hz clk32k
pck1 users= 0 off 32768 Hz clk32k
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html