Author Topic: ATmega8 vs MSP430 LaunchPad  (Read 17756 times)

0 Members and 1 Guest are viewing this topic.

Offline jprojectTopic starter

  • Contributor
  • Posts: 31
ATmega8 vs MSP430 LaunchPad
« on: June 19, 2011, 03:15:27 am »
Hello all,

So, I've been reading a bit up on ATmega8 and seems like a very good MCU and I tried comparing it to the MSP430. Googled this for a bit and I was wondering what you guys think (for those of you who actually used both)? My new project at my university's robotics club will be using the ATmega8 (I believe for sumo bots and soccer bots and such). I kind of find this funny (but I might be wrong) but it seems like the MSP430 LaunchPad will use less power than ATmega8 (even though ATmega8 uses the modified Harvard structure for efficiency) because of the low power feature of the MSP430.
« Last Edit: June 19, 2011, 03:17:18 am by jproject »
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4275
  • Country: us
Re: ATmega8 vs MSP430 LaunchPad
« Reply #1 on: June 19, 2011, 04:00:48 am »
Yeah; the MSP430 is specifically aimed at being a low-power device family, and the ATmega8 isn't.
On the other hand, the chip included with the launchpad has 1/4 the ram, 1/4 the flash, and half as many IO pins as an ATmega8, and the MCU power is not a major consideration for most robotics projects (seriously rendered irrelevant as soon as you turn on a motor.)
 

Offline tsmz

  • Contributor
  • Posts: 30
Re: ATmega8 vs MSP430 LaunchPad
« Reply #2 on: June 19, 2011, 04:59:14 am »
There really aren't that much differences between low-end microcontrollers, so it doesn't really matter what you use. I do like the MSP430's nice and pretty well thought-out set of peripherals and the somewhat elegant architecture. The latter doesn't matter at all, while the former depends on what you're going to do. One thing that really annoys me in the MSP430 value line is the lack of a suitable nuber timers. There's just one pretty flexible and nice timer/counter and that's pretty much it; you can misuse the WDT as a timer of sorts, but it's unsuitable for many applications due to lack of configurability.

The chips that come with the launchpad are best used as support chips of some sort and not as the "brains" of a project. The small amount of Flash and RAM paired with the very limited featureset don't make them really suitable for demanding applications. The low-power modes are really nice, but I don't think you'd care when you're running motors. The ATMega is much more expensive than the MSP430G chips, but far more capable. AtMegas get lots of MIPS for their clock frequency, and the fast hardware multiplication will speed up pretty much everything as far as calculations are concerned. The AtMega is a good decision as a controller MCU because it's reasonably inexpensive, quite powerful and has a bunch of timers.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: ATmega8 vs MSP430 LaunchPad
« Reply #3 on: June 19, 2011, 07:56:21 am »
If you go for Atmel then the ATmega8 is old and outdated. Use an ATmega48, ATmega48A, ATmega88, or ATmega88A. They almost provide all ATmega8 features (ADC reference voltage can be an issues) and more, e.g. they have a debug interface.

These days they can often be had cheaper than the ATmega8 or its successor, the ATmega8A. And with the ATmega168/ATmega168A you still have an upgrade path if you manage to waste all the memory in a 48/48A/88/88A.

But think twice if you really want to got with Atmel. Atmel has become a very disgusting company in recent years, full of arrogance. They treat their customers badly. They provides no service at all, unless you are one of the customers buying for millions of $$$. Original Atmel programming and debugging hardware is ridiculous expensive, breaks easy and won't be serviced by Atmel. The latest Atmel IDE (Studio 5) is so severely broken that it makes you vomit. But Atmel claims they know what is good for you and you should just go with the program. Atmel loves to announce stuff for immediate availability when having only slideware and only two years later the first parts show up, but then really broken.

I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline Trigger

  • Regular Contributor
  • *
  • Posts: 78
Re: ATmega8 vs MSP430 LaunchPad
« Reply #4 on: June 19, 2011, 01:36:34 pm »
The MSP430 is long in the tooth.  There are newer designs with more memory and capabilities that use less power.  Atmel has PicoPower, Microchip has XLP, Renesas has the RL78, and even EnergyMicro makes an ARM chip that uses a fraction of the power the MSP430 does and has better tools.

If your doing an education based project Microchip is really hard to beat.  An .edu email will get you a big discount on dev tools at Microchip Direct and you can use it to order samples of chips you want to try out.

I'll second that Atmel customer service is nonexistent if you're a low volume customer and forget even trying if you're a student as they'll only deal with large universities.
 

Offline jprojectTopic starter

  • Contributor
  • Posts: 31
Re: ATmega8 vs MSP430 LaunchPad
« Reply #5 on: June 19, 2011, 02:55:33 pm »
...
On the other hand, the chip included with the launchpad has 1/4 the ram, 1/4 the flash, and half as many IO pins as an ATmega8, and the MCU power is not a major consideration for most robotics projects (seriously rendered irrelevant as soon as you turn on a motor.)

I was so confused when I first read this until I realized I have the booster pack for the LaunchPad so I use the MSP430G2452IN20 instead of the stock MCU MSP430G2231/MSP430G2211
 

Offline sacherjj

  • Frequent Contributor
  • **
  • Posts: 993
  • Country: us
Re: ATmega8 vs MSP430 LaunchPad
« Reply #6 on: June 19, 2011, 04:30:24 pm »
Not sure about all the other Atmel venom, but my programmer was about $30.  Not ridiculously expensive.  I find assembly on the Atmel 8-bit chips a breath of fresh air after dealing with the stupid design decision that are PIC.  But Microchip is a leader for a reason, customer service and variety of capabilities in their chips.

 

alm

  • Guest
Re: ATmega8 vs MSP430 LaunchPad
« Reply #7 on: June 19, 2011, 04:47:38 pm »
If you go for Atmel then the ATmega8 is old and outdated. Use an ATmega48, ATmega48A, ATmega88, or ATmega88A. They almost provide all ATmega8 features (ADC reference voltage can be an issues) and more, e.g. they have a debug interface.
I believe the current models are the PA models, which also includes Picopower (low power).

Original Atmel programming and debugging hardware is ridiculous expensive, breaks easy and won't be serviced by Atmel.
Pricing for the AVRISP Mk. II and Dragon is OK, the higher models are indeed expensive. Original iteration of the Dragon was quite fragile, current version is better, haven't heard any complaints about the AVRISP.

The latest Atmel IDE (Studio 5) is so severely broken that it makes you vomit. But Atmel claims they know what is good for you and you should just go with the program.
Don't like AVR Studio 5 either, but getting an open source environment setup (eg. with Eclipse and GCC) seems to be easier for AVR than any other uC. Not sure if this is because or despite Atmel's efforts, though.

Atmel loves to announce stuff for immediate availability when having only slideware and only two years later the first parts show up, but then really broken.
As opposed to the MSP430 Launchpad, which was shipped right away when it was announced? ;)

Power usage of the MSP430 isn't that special anymore compared to the more recent Atmel/Microchip offerings. Depending on the exact application, any of them can be the best.

...
On the other hand, the chip included with the launchpad has 1/4 the ram, 1/4 the flash, and half as many IO pins as an ATmega8, and the MCU power is not a major consideration for most robotics projects (seriously rendered irrelevant as soon as you turn on a motor.)
I was so confused when I first read this until I realized I have the booster pack for the LaunchPad so I use the MSP430G2452IN20 instead of the stock MCU MSP430G2231/MSP430G2211
OK, still 1/4 the RAM (I think the original Launchpad chips were even 1/8th of the RAM) and less I/O pins. To be fair, you should compare something more powerful (probably not available in the Value line) to the ATmega8, or compare the Value Line chips to some ATtiny. I would also recommend something like the ATmega88PA if you go with Atmel, not the old ATmega8 which lacks Picopower or debugging.

Nothing wrong with choosing either families of MCU, just pick one that has the necessary resources and where tools and expertise is available. The only difference may be the amount of example code available, this appears to be more limited for the MSP430.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: ATmega8 vs MSP430 LaunchPad
« Reply #8 on: June 19, 2011, 05:57:30 pm »
I believe the current models are the PA models, which also includes Picopower (low power).

My understanding is they always ran the PicoPowers as a separate track, not replacing their main track.

Quote
Pricing for the AVRISP Mk. II and Dragon is OK, the higher models are indeed expensive.

Just one example:

I get an ST-LINK programmer and debugger (SWIM and JTAG) with a decent set of cables in a robust enclosure for 25 Euro or less from STM.

I get a AVRISP MkII (programmer only, no debugger, no JTAG), for 35 Euro from Atmel, and a Dragon (naked, not even a USB cable, no enclosure, no standoffs, does not support some of the XMegas) for 50 Euro.

In comparison, to get what I get for 25 Euro from STM I would have to go for the JTAGICE MkIV or the new JTAGICE 3 from Atmel. That would be 200 to 300 Euro. At least ten times what I have to pay to STM.

Quote
Don't like AVR Studio 5 either, but getting an open source environment setup (eg. with Eclipse and GCC) seems to be easier for AVR than any other uC. Not sure if this is because or despite Atmel's efforts, though.

Despite. For some time it was an Atmel employee who did the Windows version of the GCC for Atmel in his spare time. With Studio 5 that employee had to stop doing this (he might start again), because Atmel decided to provide an "official" GCC as part of Studio 5. However, the Studio 5 clowns didn't talk to their experienced colleague and botched the compiler in Studio 5, too.

Quote
As opposed to the MSP430 Launchpad, which was shipped right away when it was announced? ;)

I think you will find a rant from me about that TI botch job somewhere else on this site.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf