View previous topic :: View next topic |
Author |
Message |
PeterDove
Joined: 06 Jan 2007 Posts: 12
|
USB Circuit example - help needed |
Posted: Wed Jan 17, 2007 3:03 pm |
|
|
Hi All,
I built this small USB circuit for my PIC18F2455 - I have now been able to compile and upload the examples to the PIC. However nothing happens at all in windows, no drivers get installed, no com-ports appear NADA. Would anyone be able to let me know if my little circuit is suitable for running these demos? I realise that the LEDs wont work/ligh in the demos that use them but surely it should still work?
Thanks in advance
Peter |
|
|
Markdem
Joined: 24 Jun 2005 Posts: 206
|
|
Posted: Wed Jan 17, 2007 3:55 pm |
|
|
Hi, the first thing i would do is change C3 to somthing more like a 470uf cap, see how you go then.
Have fun , Mark |
|
|
Ttelmah Guest
|
|
Posted: Wed Jan 17, 2007 4:03 pm |
|
|
Start with needing some decoupling on the Vdd-Vss connection close to the PIC. Something like 100uF, paralleled with 0.1uF.
The, you will need to comment out the lines in the source, dealing with USB connection sensing, or make the connection for this.
Best Wishes |
|
|
PeterDove
Joined: 06 Jan 2007 Posts: 12
|
|
Posted: Wed Jan 17, 2007 4:18 pm |
|
|
Markdem wrote: | Hi, the first thing i would do is change C3 to somthing more like a 470uf cap, see how you go then.
Have fun , Mark |
470uF ? not 470nF ? Just a non-polarised capacitor?
Thanks
Peter
Last edited by PeterDove on Wed Jan 17, 2007 4:21 pm; edited 1 time in total |
|
|
PeterDove
Joined: 06 Jan 2007 Posts: 12
|
|
Posted: Wed Jan 17, 2007 4:20 pm |
|
|
Ttelmah wrote: | Start with needing some decoupling on the Vdd-Vss connection close to the PIC. Something like 100uF, paralleled with 0.1uF.
The, you will need to comment out the lines in the source, dealing with USB connection sensing, or make the connection for this.
Best Wishes |
Can you do a quick sketch showing this? I understand about putting one leg of a capacitor on VSS and on VDD.. What sort of capacitors too?
Peter |
|
|
Guest
|
|
Posted: Thu Jul 12, 2007 11:48 pm |
|
|
You need to put 470nF non-polarized capacitor between pin RC3 (Vusb) and VSS |
|
|
Ttelmah Guest
|
|
Posted: Fri Jul 13, 2007 2:17 am |
|
|
There are a series of points here. The first, is that some people have found that particular batches of the 2550, need more capacitance on Vusb, than the specified 470nF. Also, the capacitor shown here in the diagram is a polarised 0.22uF, when non polarised types will generally perform better a high frequencies. I'd start by putting the specified non polarised 470nF, but be prepared to try a higher value if problems still exist.
The second, is that as well as the Vusb decoupling, there should be decoupling close to the PIC, between Vss and Vdd. Again because of the difference in frequency performance of capacitors (something like a 10uF electrolytic capacitor will perform awfully, when dealing with 'edges' of a few nSec), the common practice is to use a fairly large polarised capacitor, with a second small non-polarised capacitor drectly in parallel, to give better high frequency performance.
Best Wishes |
|
|
|