For New Project MEGA or XMEGA

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

for my next project the following featured micro is required.

1) ADC 10bit 12channels minimum
2) USART 2nos
3) I/O more than 32
4) Flash program memory 32KB - 128KB.

for my last 20 projects i was using the mega8,mega8515, mega16 and mega64 the tools are winavr and avrisp mk2 for programming. i don't have any Debuggers :wink:
the new project will have time limit.(i will not have time to find out unknown errata)
only i know is XMEGA part is cheaper than MEGA :)

now i want to know shall i stick to MEGA Parts or jump in to XMEGA.

P.Ashok Kumar

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

ATmega1280 if you don't want to switch to the 3.3V world of Xmega.

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

ok 3.3V should not be problem because there is no LCD Display or 5 volt Peripherals i will miss my favorite 7805(TO220).
what all the points to be taken care if i am using 3.3V Controllers.
for this project i may be required 300 ICs the price difference pulling towards XMEGA.is it a week or two is sufficient to go through manual and play with XMEGA and understand the ADC errata.

ATMEGA1280-16AU = 15$
ATMEGA640-16AU = 11$

ATXMEGA128D3-AU = 7$
ATXMEGA64D3-AU = 6$

P.Ashok Kumar

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

Quote:

and understand the ADC errata.


Apparently the new Xmega-U chips are selling for about the same as the originals and they (allegedly) have all the ADC problems fixed.

Of course another option is to use a good old fashioned mega and an analog multiplexer depending on how often each ADC channel has to be sampled.

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

thanks Cliff :)

Quote:
Of course another option is to use a good old fashioned mega and an analog multiplexer depending on how often each ADC channel has to be sampled.

ok this is good option 30 to 50 samples per second each channel is sufficient.
i think HCF4067 will be ok can you suggest any other multiplexer 16 Channel.

P.Ashok kumar

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

ashokok wrote:
only i know is XMEGA part is cheaper than MEGA :)

It depends.
Maybe the Xmega was cheap at first to introduce them,
but would be expensive later.

E.g. on former days I bought the ATmega8 for 0,80€ single quantity, including tax.
Now the same shop want 2,25€ for it.

If you want minimal risk during development, I would suggest
to use a family (Mega without X), which you already know.

Peter

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

thank you Peter

P.Ashok Kumar