For the future google searchers, to close this question off and to confirm you can use the SMSC USB2640 with the Gumstix Overo Com's ... my problem has now been fixed.

In my case it was two hardware changes that helped.

1. Removed a 10R resistor we had for the VDDA33 rail for filtering

2. Added the 4.7uF decoupling caps on both pin 16 and 48 as datasheet suggests.

Both of these changes were required, one without the other causes the problem I was seeing.

 


From: Keane, Ben (STRX) [mailto:ben.keane@kaelus.com]
Sent: Tuesday, 10 January 2012 10:34 AM
To: gumstix-users@lists.sourceforge.net
Subject: [Gumstix-users] SMSC USB2640 USB Hub Problem

Hello Mailing List :)
 
We are using the SMSC USB2640 on one of our designs. We are using a Gumstix Overo Water Com on this design as well. We are using Android with the 2.6.36 Linux Kernel (All from gumdroid).  During the Linux kernel boot the usb system seems to connect and find the hub, but then the hub resets and then the Linux kernel finds the hub again, and then it resets, and so on and so on.
 
Below you will find the Linux boot messages. 
 
From probing different signals with a CRO, we have seen that the IC seems to be active for about 320ms. This is the time we can see XTAL1 oscillating. We can see power for port 2 try to go high for 5uS and then the IC seems to reset itself.  There are no devices plugged into the hub. I am unable to explain this behaviour.
 
Have you seen this problem in the past or are you able to offer any advice to fix this problem? I am unsure if it is hardware or software at this stage. I did try and solder a usb cable to our PCB and 'plug' the USB hub into a Windows PC, and it seemed like the same problem was happening.
 
----
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36 (
developer@BitbakeDevVM) (gcc version 4.3.3 (GCC) ) #1 Mon Aug 8 15:38:13 EST 2011
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Gumstix Overo
Reserving 12582912 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP3525 ES3.1 (l2cache iva neon isp )
SRAM: Mapped pa 0x40208000 to va 0xfe408000 size: 0x8000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 61952
Kernel command line: console=ttyS2,115200n8 mpurate=500 vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y omapdss.def_disp=lcd43 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 244MB = 244MB total
Memory: 241612k/241612k available, 20532k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0031000   ( 164 kB)
      .text : 0xc0031000 - 0xc054e000   (5236 kB)
      .data : 0xc0572000 - 0xc05ab960   ( 231 kB)
Hierarchical RCU implementation.
       RCU-based detection of stalled CPUs is disabled.
       Verbose stalled-CPUs detection is disabled.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
regulator: core version 0.5
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
Switched to new clocking rate (Crystal/Core/MPU): 26.0/500/332 MHz
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VDVI: 1800 mV normal standby
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, musb-dma, host, debug=0
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.36 musb-hcd
usb usb1: SerialNumber: musb_hdrc
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb_hdrc musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 471
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
OMAP DSI rev 1.0
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron omap2-nand.0)
NAND bus width 8 instead 16 bit
No NAND device found.
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)
cmdlinepart partition parsing not available
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000080000 : "xloader"
0x000000080000-0x000000240000 : "uboot"
0x000000240000-0x000000280000 : "uboot environment"
0x000000280000-0x000000680000 : "linux"
0x000000680000-0x000010000000 : "rootfs"
smsc911x: Driver version 2008-10-21.
smsc911x: Driver version 2008-10-21.
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OMAP-EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.36 ehci_hcd
usb usb2: SerialNumber: ehci-omap.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
i2c /dev entries driver
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
overo SoC init
asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
ALSA device list:
  #0: overo (twl4030)
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Registering the dns_resolver key type
ThumbEE CPU extension supported.
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
fbcvt:
1024x768@60: CVT Name - .786M3-R
Console: switching to colour frame buffer device 60x34
regulator_init_complete: incomplete constraints, leaving VDAC on
twl_rtc twl_rtc: setting system clock to 2000-01-01 01:45:45 UTC (946691145)
Waiting for root device /dev/mmcblk0p2...
usb 2-2: new high speed USB device using ehci-omap and address 2
usb 2-2: New USB device found, idVendor=0424, idProduct=2640
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
usb 2-2: USB disconnect, address 2
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SD card at address 1234
mmcblk0: mmc0:1234 SA02G 1.83 GiB
 mmcblk0: p1 p2
EXT3-fs: barriers not enabled
usb 2-2: new high speed USB device using ehci-omap and address 3
usb 2-2: New USB device found, idVendor=0424, idProduct=2640
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
usb 2-2: USB disconnect, address 3
usb 2-2: new high speed USB device using ehci-omap and address 4
usb 2-2: New USB device found, idVendor=0424, idProduct=2640
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
usb 2-2: USB disconnect, address 4
usb 2-2: new high speed USB device using ehci-omap and address 5
usb 2-2: New USB device found, idVendor=0424, idProduct=2640
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
usb 2-2: USB disconnect, address 5
usb 2-2: new high speed USB device using ehci-omap and address 6
usb 2-2: New USB device found, idVendor=0424, idProduct=2640
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
usb 2-2: USB disconnect, address 6
usb 2-2: new high speed USB device using ehci-omap and address 7
usb 2-2: New USB device found, idVendor=0424, idProduct=2640
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
usb 2-2: USB disconnect, address 7
usb 2-2: new high speed USB device using ehci-omap and address 8
usb 2-2: New USB device found, idVendor=0424, idProduct=2640
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
usb 2-2: USB disconnect, address 8
... <and so on...> ...
 
 
Thanks for reading,
 
Ben
 

PROPRIETARY: This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.

______________________________________________________________________
CAUTION: This message was sent via the Public Internet and its authenticity cannot be guaranteed.

PROPRIETARY: This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.