Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #385819

Re: USB CDC device works on laptop, but not on WinBook tablet

From "P E Schoen" <paul@pstech-inc.com>
Newsgroups sci.electronics.design
Subject Re: USB CDC device works on laptop, but not on WinBook tablet
Date 2015-11-20 00:08 -0500
Organization A noiseless patient Spider
Message-ID <n2m9ou$dqm$1@dont-email.me> (permalink)
References <n2jqv2$u7l$1@dont-email.me> <db7hfsFr4k3U1@mid.individual.net>

Show all headers | View raw


"Sylvia Else"  wrote in message news:db7hfsFr4k3U1@mid.individual.net...

> The USB spec says that a device switching from low power to a higher power 
> must not cause a Vbus (the 5V line) drop of more than 330mV, and indicates 
> that this can be achieved by limiting the additional capacitance to 10uF.

> Clearly, you device doesn't comply with that, so the USB system is within 
> its rights not to work properly.

> Does the PIC have control over the DC-DC converters? Could it disable the 
> converters, and switch the MOSFET on and offer repeatedly, so as to charge 
> the capacitor in steps, leaving time in between for the Vbus to recover?

I tried adding a 470 uF capacitor across C56 (47 uF) but it still did not 
fix the problem. At one point, the device manager reported that the USB 
device could not start, but then after re-inserting the connector it 
reported no problems, but the device was still not working properly. I 
jumpered across the MOSFET so the USB power was applied immediately to the 
DC-DC converters, and it works OK, drawing 0.32A from the Winbook.

So it appears that there is a problem with the PIC firmware, but it seems 
odd that it fails only on the Winbook and not the laptop. Apparently the 
host firmware assumes the device is working if it goes to the enumeration 
and configuration state, and then does no more checking. Perhaps the easiest 
"fix" is to install the jumper, which conveniently goes between two test 
points 1/4" apart.

I recall having some similar problems when first designing this unit, and I 
may have tried using simple PWM to "soft-start" the power to the DC-DC 
converters, but I think I changed the capacitor values and it seemed to work 
on the computers I had at the time.

Thanks,

Paul 

Back to sci.electronics.design | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

USB CDC device works on laptop, but not on WinBook tablet "P E Schoen" <paul@pstech-inc.com> - 2015-11-19 01:43 -0500
  Re: USB CDC device works on laptop, but not on WinBook tablet "David Eather" <eather@tpg.com.au> - 2015-11-19 18:28 +1000
    Re: USB CDC device works on laptop, but not on WinBook tablet "P E Schoen" <paul@pstech-inc.com> - 2015-11-19 17:55 -0500
      Re: USB CDC device works on laptop, but not on WinBook tablet DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-19 18:08 -0500
  Re: USB CDC device works on laptop, but not on WinBook tablet M Philbrook <jamie_ka1lpa@charter.net> - 2015-11-19 20:33 -0500
    Re: USB CDC device works on laptop, but not on WinBook tablet DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-19 21:13 -0500
      Re: USB CDC device works on laptop, but not on WinBook tablet M Philbrook <jamie_ka1lpa@charter.net> - 2015-11-20 12:36 -0500
        Re: USB CDC device works on laptop, but not on WinBook tablet DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-20 13:25 -0500
          Re: USB CDC device works on laptop, but not on WinBook tablet DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-20 13:32 -0500
            Re: USB CDC device works on laptop, but not on WinBook tablet M Philbrook <jamie_ka1lpa@charter.net> - 2015-11-20 14:49 -0500
              Re: USB CDC device works on laptop, but not on WinBook tablet DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-20 15:40 -0500
                Re: USB CDC device works on laptop, but not on WinBook tablet "P E Schoen" <paul@pstech-inc.com> - 2015-11-20 17:43 -0500
                Re: USB CDC device works on laptop, but not on WinBook tablet M Philbrook <jamie_ka1lpa@charter.net> - 2015-11-20 18:13 -0500
  Re: USB CDC device works on laptop, but not on WinBook tablet Sylvia Else <sylvia@not.at.this.address> - 2015-11-20 14:14 +1100
    Re: USB CDC device works on laptop, but not on WinBook tablet "P E Schoen" <paul@pstech-inc.com> - 2015-11-20 00:08 -0500

csiph-web