SamanthaL
Junior Member level 2
usb power surge error
Hello everyone!
I'm currently trying to interface a PIC18F4550 with a PC through a USB port and I'm getting an error that there is a power surge when I plug in the chip.
My schematic is as follows. I'm sorry I don't have a picture, but the connections are simple. The chip gets its power from the USB. The D+ and D- pins are connected directly to the USB. The Vusb pin has a 200nF capacitor connected to ground. I'm using a 20MHz oscillator with two capacitors connected to ground.
Is this power surge a hardware problem? Or is it something with the program? Have any of you had this problem before?
Thanks!
Hello everyone!
I'm currently trying to interface a PIC18F4550 with a PC through a USB port and I'm getting an error that there is a power surge when I plug in the chip.
My schematic is as follows. I'm sorry I don't have a picture, but the connections are simple. The chip gets its power from the USB. The D+ and D- pins are connected directly to the USB. The Vusb pin has a 200nF capacitor connected to ground. I'm using a 20MHz oscillator with two capacitors connected to ground.
Is this power surge a hardware problem? Or is it something with the program? Have any of you had this problem before?
Thanks!