vusb atmeg8 not detected in pc
Posted: Wed Aug 08, 2012 12:54 pm
I'm a beginner in micro-controller and now i'm trying to get vusb working with atmega8.
I used a 12MHz crystal with two 27pf capacitor to supply the clock.
For the circuit of D+ and D- , i found many complex example in net. As i understand that the purpose is to make 5v to 3.3 volt, i used this shortcut.
[D+ from MC]---[68 ohm resistor]---[connection to usb D+]---[150 ohm resistor]---[ground]
same for D-, so 5v coming from microcontroller that become approx 3.4v spliting from 68 and 150. Is that ok ?
Now problem is when i connect it to pc nothing happens.
lsusb and dmesg dont show anything. What to do ?
I used a 12MHz crystal with two 27pf capacitor to supply the clock.
For the circuit of D+ and D- , i found many complex example in net. As i understand that the purpose is to make 5v to 3.3 volt, i used this shortcut.
[D+ from MC]---[68 ohm resistor]---[connection to usb D+]---[150 ohm resistor]---[ground]
same for D-, so 5v coming from microcontroller that become approx 3.4v spliting from 68 and 150. Is that ok ?
Now problem is when i connect it to pc nothing happens.
lsusb and dmesg dont show anything. What to do ?