atmega128

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
lucky5
Posts: 6
Joined: Thu Aug 26, 2010 11:56 am

Re: atmega128

Post by lucky5 » Tue Sep 07, 2010 1:55 pm

Arxidatos wrote:I am newby at AVR and because i couldn't find an ATTINY45 i used an ATMEGA128 to test and practice with the code provided at CAPSLOCK project http://macetech.com/blog/?q=node/46. I used port D 2 for usb D- and port D 0 for usb D+ clocked into usbconfig.h with a 16MHz ceramic resonator the fuses WDTON 1,OCNED 1,JTAGEN 0,CKOPT 0, EESAVE 1, BOOTSZ1-2 0, BOOTRST 1, BODLEVEL 0, BOTEN 0, SUT1 1, SUT0 0, and all CKEL 1, initially the communication was not possible and was getting the message unknown device. after i solder into the interface circuit the 3V6 zeners all gone perfect. one more note for the timer TCCR1 use a 16bit value because for atmega128 this timer is 16bit.

I loved the project and the code :D excellent !!!



Hi Arxidatos, I want a small favour from you. please do help me.I am trying to emulate keyboard with Atmega128.People in forums where suggesting me to use 12MHz clock instead of 16MHz to make it work. As you are succesful in developing, please let me know if I have to change to 12MHz.Im a new bie in this field and im given a task to add this feature to the existing project .Please look at the link below.I dint start coding yet, planning to give for hardware desgning , requesting you to help asap. Thanks in advance.
http://img203.imageshack.us/img203/1061/schematict.jpg

Post Reply