EEVblog Electronics Community Forum

Products => Computers => Embedded Computing => Topic started by: panoss on February 01, 2019, 05:52:10 pm

Title: ATXMega32A4 as Arduino?
Post by: panoss on February 01, 2019, 05:52:10 pm
I have a few ATXMega32A4 chips.
Can I use them as Arduinos?
Are they compatible?
Title: Re: ATXMega32A4 as Arduino?
Post by: mvs on February 03, 2019, 10:59:29 am
I have a few ATXMega32A4 chips.
Can I use them as Arduinos?
Are they compatible?
ATXMega MCUs are not supported. But Arduino code is open source, so you can add support by yourself.
Look at XMega For Arduino project (https://github.com/XMegaForArduino) on github.
Title: Re: ATXMega32A4 as Arduino?
Post by: Doctorandus_P on February 03, 2019, 11:14:40 am
Why would you bother?

The BluePills are at least twice as fast and the populated boards cost around EUR 1.50.
https://www.aliexpress.com/wholesale?SearchText=stm32f103c8t6 (https://www.aliexpress.com/wholesale?SearchText=stm32f103c8t6)

The processor itself is a bit old fashioned and has some quirks, but because it is already supported by arduino, so you do not have to worry about it.
More info on:
https://www.stm32duino.com/ (https://www.stm32duino.com/)

And while you are upgrading, give Platrofmio a try. It is a huge improvement over the arduino ide.

I've used AVR's for hobby projects since almost the beginning (way before arduino existed), and it was a very nice processor for it's time.
Recently I wanted some more and did some research, and it is not even a contest. Just toss those Xmega's in the bin and use one (or several) of the many ARM processors. The Xmega's are trying to squeeze in a to small niche to be taken as a serious product.

On itself they are capable processors, no doubt here, but that's not the point i'm trying to get trhoug.
You will very likely get some responses under here from people who have used and like these processors.
It's human nature & basic psychology. We defend what we know and are used to.
Title: Re: ATXMega32A4 as Arduino?
Post by: NivagSwerdna on February 03, 2019, 11:29:10 am
 https://playground.arduino.cc/Main/ArduinoOnOtherAtmelChips

You could probably save yourself some grief by programming them direct in AVR Studio or whatever it is called.
Title: Re: ATXMega32A4 as Arduino?
Post by: maginnovision on February 05, 2019, 04:10:34 am
Why would you bother?

The BluePills are at least twice as fast and the populated boards cost around EUR 1.50.
https://www.aliexpress.com/wholesale?SearchText=stm32f103c8t6 (https://www.aliexpress.com/wholesale?SearchText=stm32f103c8t6)

The processor itself is a bit old fashioned and has some quirks, but because it is already supported by arduino, so you do not have to worry about it.
More info on:
https://www.stm32duino.com/ (https://www.stm32duino.com/)

And while you are upgrading, give Platrofmio a try. It is a huge improvement over the arduino ide.

I've used AVR's for hobby projects since almost the beginning (way before arduino existed), and it was a very nice processor for it's time.
Recently I wanted some more and did some research, and it is not even a contest. Just toss those Xmega's in the bin and use one (or several) of the many ARM processors. The Xmega's are trying to squeeze in a to small niche to be taken as a serious product.

On itself they are capable processors, no doubt here, but that's not the point i'm trying to get trhoug.
You will very likely get some responses under here from people who have used and like these processors.
It's human nature & basic psychology. We defend what we know and are used to.

So you think he should toss in the trash what he has and just buy something else? That's pretty poor advice.

https://playground.arduino.cc/Main/ArduinoOnOtherAtmelChips (https://playground.arduino.cc/Main/ArduinoOnOtherAtmelChips)

You could probably save yourself some grief by programming them direct in AVR Studio or whatever it is called.


I'd agree with this, just use atmel studio. It's really easy to use. Head to avrfreaks.net for help. The XMega MCU's never really caught on it seems but they had some really cool and interesting features.