Skip to main content
6 events
when toggle format what by license comment
Sep 25, 2015 at 19:29 comment added Igor Stoppa With "specific reason" I meant: why do you want to emulate the USB protocol on the ATMega328P when everyone else does it on the ATMega16? From programming perspective, it's identical: they both are AVR, but you have the additional benefit of saving the 328p for implementing some custom functionality.
Sep 25, 2015 at 19:27 comment added Igor Stoppa If you look at the schematics, you'll see that the TX & RX lines do not only go to the pin header, they also go to the other AVR, which acts as serial to USB adapter.
Sep 25, 2015 at 19:25 comment added Igor Stoppa I have used extensively LUFA on the ATMega16 that is on the Arduino UNO and I can tell you that it does exactly what I said: the ATMega16 acts as USB gadget device. Are you sure that you are not confusing it with the main AVR chip, the ATMega328P? On Arduino UNO R3 there are 2 AVRs. I'm referring to the secondary.
Sep 25, 2015 at 19:00 comment added gavenkoa specific reason is educational, home DIY.
Sep 25, 2015 at 18:59 comment added gavenkoa From pointed post: LUFA is an “open source complete USB stack for USB-enabled Atmel Microcontrollers”. I don't fully deep into LUFA docs but pictures show that GPIO pins from microcontroller doesn't directly connected to USB bus and I think that project offloads electrical/protocol USB stuff to corresponding UNO board schematic which does that natively.
Sep 24, 2015 at 15:33 history answered Igor Stoppa CC BY-SA 3.0