Arduino Forum

Using Arduino => Microcontrollers => Topic started by: samjack on Mar 12, 2012, 08:17 pm

Title: ATMEGA 3216
Post by: samjack on Mar 12, 2012, 08:17 pm
Hello,
i have a question about an ATMEGA 3216.
can i use it with arduino uno?

i want to use it. I dont know how to use AVR on a UNO
Title: Re: ATMEGA 3216
Post by: Coding Badly on Mar 12, 2012, 08:44 pm

I cannot find an "ATMEGA 3216".  Did you mean "ATmega32 / ATmega16"?
Title: Re: ATMEGA 3216
Post by: samjack on Mar 12, 2012, 09:39 pm
no, atmega3216PI is what i read on the chip
Title: Re: ATMEGA 3216
Post by: Coding Badly on Mar 12, 2012, 10:08 pm

Is it a 40 pin PDIP monster that looks something like this...
http://parts.digikey.com/1/parts/552198-ic-avr-mcu-32k-16mhz-ind-40-dip-atmega32-16pi.html
Title: Re: ATMEGA 3216PI
Post by: samjack on Mar 12, 2012, 10:50 pm
can i program that chip?
Title: Re: ATMEGA 3216
Post by: CrossRoads on Mar 13, 2012, 05:38 am
Sure. You can do a lot more with ATMega1284P tho.

If you want to stick with that chip, suggest you start here:
http://www.avr-developers.com/
Title: Re: ATMEGA 3216
Post by: samjack on Mar 13, 2012, 08:52 pm

Sure. You can do a lot more with ATMega1284P tho.

If you want to stick with that chip, suggest you start here:
http://www.avr-developers.com/

How must i connect it to write to it?
Title: Re: ATMEGA 3216
Post by: Coding Badly on Mar 13, 2012, 10:31 pm

MISO to MISO, MOSI to MOSI, SCK to SCK, SS to RESET, GND to GND, +5V to VCCA

MISO - digital pin 12 on the Uno; PB6 (physical pin 7) on the ATmega32

MOSI - digital pin 11 on the Uno; PB5 (physical pin 6) on the ATmega32

SCK - digital pin 13 on the Uno; PB7 (physical pin 8) on the ATmega32

SS - digital pin 10 on the Uno; physical pin 9 on the ATmega32


A Assuming the target (ATmega32) is powered by the Arduino Uno.
Title: Re: ATMEGA 3216
Post by: samjack on Mar 13, 2012, 10:42 pm
i dont know how to do it in the arduino software. which board i have to take.
Title: Re: ATMEGA 3216
Post by: Coding Badly on Mar 14, 2012, 02:07 am

I can't help with that one.
Title: Re: ATMEGA 3216
Post by: bamboosam on Mar 14, 2012, 11:48 pm
Just read up on forums... Google is your friend, thats where I have learned everything. Tutorials ect.....