Go Down

Topic: New 32 Bit Arduino Due... (Read 47004 times) previous topic - next topic

eddiea6987

So arduino is going to start dishing out some new boards soon, 32 bit Atmel Sam3u,

now what does this mean in terms of what is possible with these new devices..
I am assuming the Ide will remain the same aside from supporting 32 bit boards but language wise are we going to have an all new arsenal ?
or is it all the same but with more power under hood?
I have lingered around arduino only a couple of months and been reading up on 32 bit uControllers but aside from the architectural talk just wondering what the differences are going to be, aside from the obvious speed,  and memory ..
I could print the Arduino logo on a box of cereal and sell it as "Arduin-O's"

graynomad

At the "Arduino level" I doubt there would be much difference except the obvious speed and memory as you mentioned. If you wanted to delve a little deeper though there's a world of difference.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Osgeld

with 128k being the "standard" on current pic32 boards I feel abit meh about this product
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Magician

This one?
Quote
To fully exploit the SAM3U's high speed communications peripherals, the device is built around a high data-bandwidth architecture with a 5-layer bus matrix, 23 DMA channels and distributed on-chip memory including up to 52k Bytes of SRAM split in three blocks and up to 256k Bytes of Flash in two banks


Only 52k, but I like "96 MHz/1.25 DMIPS/MHz operating frequency" , just getting tired on 16...

retrolefty

#4
Sep 19, 2011, 02:20 am Last Edit: Sep 19, 2011, 02:21 am by retrolefty Reason: 1

At the "Arduino level" I doubt there would be much difference except the obvious speed and memory as you mentioned. If you wanted to delve a little deeper though there's a world of difference.

______
Rob


Some major difference seems to me will be:

1. No one will be building standalone versions to be run on their breadboard or simple protoboard projects.
2. Concerned about computability with 5vdc shields and interface components. Will the input pins be '5 volt tolerant'?
3. Compatibility with the zillion contributed arduino library files is going to be a mess. Future libraries will have to
   clearly state if they support just 8 bit or just 32 bit (or both?)

It's going to be a major addition to the Arduino platform and may add a lot of confusion to newcomers (and oldies) on board purchase decision and expectations of what will work or not work.

I will most likely stay with the 8 bit boards, unless some 'killer' app comes along that requires the new board and is something I just must have.  ;)

Lefty

frank26080115

#5
Sep 19, 2011, 03:23 am Last Edit: Sep 19, 2011, 03:35 am by frank26080115 Reason: 1
Quote
No one will be building standalone versions to be run on their breadboard or simple protoboard projects.


Maybe there will be a "mini" version soon? Maybe like the mbed, Netduino Mini, or MicropendousX?

Quote
wondering what the differences are going to be, aside from the obvious speed,  and memory ..


Judging from the picture of the Due board, you are not going to notice much. It's basically a Mega that runs faster.

Faster will mean more FPS on LCDs
You get better ADC readings, 12 bits now
USB device capabilities

I don't think there's a SD bus but accessing SD cards via SPI should be faster, plus the multiple busses means more concurrent communication, if you know how to code in such a way to take advantage of that

I've used the AT91SAM7X512 before, it's SPI bus has a neat feature where CS lines are dedicated, my code didn't need to manually lower and raise a CS line. Also the code worked in a way such that each device has it's own SPI clock frequency, so I didn't have to worry about switching SPI speeds manually. In the code, you just tell it which device you want to talk to, and that's it.

retrolefty

Quote
Maybe there will be a "mini" version soon? Maybe like the mbed, Netduino Mini, or MicropendousX?


Quite possibly as the chip itself is probably not that costly. If done, I'm sure it will be 3rd party firms that fill that need for for standalone support. As far as soon, I don't think the board will be avalible to the public till early next year, and 3rd party support some months after that.

Lefty


Leon Heller

The PIC32 used in the Digilent chipKIT Arduino offers a lot more performance than the SAM3U used in the Due.
Leon Heller
G1HSM

graynomad

If the "standard" funcs are ported then beginners may be OK for awhile if they stick to pinMode/digitalRead etc. But the first example they try with a PORTD = (1<<AD2) or whatever will crash and burn.

And as Lefty said all the existing libraries will almost certainly have trouble. Luckily I don't have any published code but I can see a lot of #ifdef __NEW_32_BIT_ARDUINO__ s on the horizon for some people.

On the bright side a version of "blink" that uses linked DMA lists to set the LED port pin from an array in RAM would really fly.

As for the 5v/3v3 issue, I just searched 1000+ pages of SAM3 manual (is that the chip they are using?) and didn't find the word "tolerant" once, not a good sign. I'm dealing with this 5v/3v3 thing right now with a different processor and it's a real PITA.

______
Rob 
Rob Gray aka the GRAYnomad www.robgray.com

Vanyamba

First of all I would change Mini-B USB connector to USB-B, since I bought STM32L-DISCOVERY and I broke Mini-B next day. =)

WilliamK Govinda


The PIC32 used in the Digilent chipKIT Arduino offers a lot more performance than the SAM3U used in the Due.


How come? Isn't the PIC32 80Mhz and the Due 96Mhz?

http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,892,893&Prod=CHIPKIT-UNO32

Wk

WilliamK Govinda


with 128k being the "standard" on current pic32 boards I feel abit meh about this product


The Due has 256K of Flash and 50K of RAM, while the other ChipKit Uno32 I saw are much lower than that. Yes, the MAX32 has more memory, that I will say. ;-)

ChipKit Uno32 - 128K of Flash and 16K of RAM
ChipKit Max32 - 512K of Flash and 128K of RAM

Wk

hellonearthis

I think the Due will be great,  I just hope it is fast enough that it can run larger LCD screens, like an iPad replacement screen.
I hope to get one of these for the New Year.

http://arduino.cc/blog/2011/09/17/arduino-launches-new-products-in-maker-faire/
Quote
Arduino Due, a major breakthrough for Arduino because we're launching an Arduino board with a 32bit Cortex-M3 ARM processor on it. We're using the SAM3U processor from ATMEL running at 96MHz with 256Kb of Flash, 50Kb of Sram, 5 SPI buses, 2 I2C interfaces, 5 UARTS, 16 Analog Inputs at 12Bit resolution and much more.

frank26080115

Hey if you guys want to compare the PIC32 with ARM Cortex-M3, we should be comparing FLOPs and other benchmarks, not just pure clock speed and memory.

And I'd rather have USB mini-B rather than USB B, I know USB B is stronger but it's just way too big.

WilliamK Govinda


Hey if you guys want to compare the PIC32 with ARM Cortex-M3, we should be comparing FLOPs and other benchmarks, not just pure clock speed and memory.


Good point. Any idea where to get those data?

Wk

Go Up