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.

AVR chip and USB from scratch - soft/hardware

Status
Not open for further replies.

Zhasha

Junior Member level 3
Junior Member level 3
Joined
Dec 3, 2005
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Denmark
Activity points
1,643
driver avr309

i want to interface my computer with an ATmega16L chip - without any "designed for the job" chip in between
so im just wondering if thats even possible, and if anyone has any documentation on it
as the title says, im looking for both hardware and software design
keeping in mind that i want to program it in ASM and design it with only 1 ATMEL chip (no PIC what-so-ever)

i have resistors, transistors, diodes, capacitors, etc to work with. and an STK500 from Atmel
 

usb from scratch

The atmega16 runs on 5V right? then for that one you could try to use the parallel port for data transfer, but if it runs on 3.3 you may need additional transistors to translate the voltage signals from 3.3 to 5v, if you are planning to use the serial ports, im afraid you may need a driver ic like max232 or max233 from maxim, for usb i also think that you may need another ic like a usb translator or something to interface them....well basically, parallel port is the easiest and with less components
 

avr programing soft

yes im aware that RS232 connection is the easiest, but i would prefer using USB (without the USB<->RS232 converter)
if its possible to create an IC to perform the task, why shouldnt one be able to recreate the necesarry hardware externally?
also i believe its more fun to build and program it on your own, thus getting a better insight in the USB protocol and how it actually works instead of relying on others making it for you ;)
 

Have a look at Jan Axelson's page:
**broken link removed**

You might want to use the AT76C711 which is USB enabled.
I don't think designing from scratch is a good idea here; I imagine to do this you have to be very good at both software & hardware & the result might not be as good as you want. A while ago I came across an eBook on USB, let me know if you are interested & I'll try to find the link for you.

Never the less wish you the best of luck :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top