Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need help on USB and ATmega32A connection

Status
Not open for further replies.

monimi

Junior Member level 1
Junior Member level 1
Joined
Sep 11, 2012
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,418
Hi, i'm having problems with the design of a development board based on Atmega32A which has USB connection.

The development board that i've been designing has the bootloader already loaded (it was loaded using SPI), the problem is that when i plug it on the USB port of my PC, it doesnt recognize the board, and it says that it is an UnknownDevice.

The data lines voltage should be 3.6V, but the output voltage is 4V. The components that i've been using are the following:

2 Resistors 68 ohm
1 Resistor of 1.5K
1 Resistor of 1M
2 Diodes 1N4148 (3.6V and 250mW)
1 Capacitor of 10uF
1 Atmega32A

in the attached files are the schematic, the board design and an image of the physical board. The connections between lines are checked already so there are not short circuits.

if some one could help me it would be really great, i have to finish this project as soon as i can but i have no idea what could be the problem. thanks in advanced.
 

Attachments

  • Board1.png
    Board1.png
    114.9 KB · Views: 86
  • Board2.png
    Board2.png
    579.5 KB · Views: 84
  • Schematic.png
    Schematic.png
    74.2 KB · Views: 90

Hi

You need avr firmware called Usb stack. Usb needs some communication with usb host before being recognized as usb device.

Klaus
 

Hi

You need avr firmware called Usb stack. Usb needs some communication with usb host before being recognized as usb device.

Klaus


Hi, thanks for the reply, i already have the firmware on the microcontroller, i've done the same with atmega16, but with this microcontroller i dont know exactly what is happening, what i am thinking is that the problem is in the hardware but i dont know where could it be.
 

Hi,

From your post we only can see that you use two port pins of the controller.
In this point there is no difference to M16.

So what controller periferals do you use? Are they absolutely compatible?

Can you use some debug circuit? Maybe a led, with that you can confirm that the codepieces are executed, step by step.

Klaus
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top