atmega64 upgrade

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hello everyone,

i've been working for quite some time with atmega64 uCs and for an application I need more than 8 ADC channels - would upgrading to atmega640 (16 ADC channels) be the logical way to go? (from previous threads i know the mega64 is an old chip and there are better chips now... but all i need is more ADC channels and hopefully not much work required to change the code to a new chip)

thank you!
Eric

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It depends almost entirely on what the rest of the app is. Do you really want to go to a centipede?

Some of the Tinys have more than 8 channels.

An external analog mux could be used.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

centipede :D

about a year ago i upgraded from a m16 to a m64 as the software got bigger and bigger, so dont' think i could go to the Tinys - i'll look into using a mux, but i don't mind going to a centipede - would the code (way to program the registers, read ADC values, interrupts) be the same between a m64 and m640?

thanks,
Eric

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Try this app note:
AVR097: Migration between ATmega128 and ATmega1281/ATmega2561

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.