News for hackers. Stuff that matters.
Re:Arduino TRE by Animats on Saturday April 04, 2015 @04:06AM (#9320327)
There's already the Arduino DUE, which has the Arduino form factor and pinout, with a very lightly configured ARM processor. It's supported by the Arduino toolchain, and you get more memory and a CPU with floating point hardware. It's far too small a machine to run Linux, but it's the next step up when an ARM CPU is just too wimpy.

How do the two CPUs of the TRE talk to each other? Shared memory? I2C? USB?

Re:Arduino TRE by zecken on Saturday April 04, 2015 @04:15AM (#9320342)
Probably UART, the same way the FTDI chip in new UNOs talks to the AVR. In any case, the reason having an ARM cpu w/ an AVR is beneficial is because you get the linux environment but real-time hardware GPIO access. This is far better than the software scheduling that bogs down RPis and makes it very difficult to do timing intensive tasks.
Re:Arduino TRE by makomk on Saturday April 04, 2015 @08:14AM (#9320618)
Except that the SoC they're using already has two PRU coprocessors designed for realtime IO support, and they have the advantage of being able to DMA to and from main memory rather than being limited to a slow serial link to the main CPU.
Re:Arduino TRE by jws on Saturday April 04, 2015 @09:34AM (#9320775)
Arduino's appeal is that doing simple tasks is simple. The PRU is not easy. TI introduced a C compiler for the PRU last year, but until then it has been an assembly only affair. (I haven't tried the compiler, I just discovered it while fact checking the first draft of this comment.)
Re:Arduino TRE by minthd on Saturday April 04, 2015 @09:27AM (#9320752)
One wonders why they didn't combine the due and the beagle bone - it would have only simplified things.

Could it be that there are incompatibility issues between it and the older arduino ?

Re:Arduino TRE by falcolas on Saturday April 04, 2015 @10:35AM (#9320926)
Probably because the BBB can't really handle realtime applications - in its default form it's running Debian Linux these days.

The microcontroller can take care of the realtime interaction, while letting the ARM processor running Linux handle the higher level logic.

Of course, it's easy to debate how much your average Microcontroller project really requires a dedicated realtime processor, but that's neither here nor there.

Re:Arduino TRE by toby on Saturday April 04, 2015 @12:04PM (#9321181)
Running a strand of WS2812 LEDs is a pretty common starter project and requires real-time. The BBB does support this through the PRU, but it's a lot more complicated than just using an Arduino with the library.
Re:Arduino TRE by ambrop7 on Saturday April 04, 2015 @08:30AM (#9320656)
Actually the SAM3X8E does not have an FPU.
Re:Arduino TRE by Animats on Saturday April 04, 2015 @03:34PM (#9321904)
Ouch. You're right.