5 ms·
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 tool
by Animats 12y ago
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?
- zecken 12y agoProbably 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.
- makomk 12y agoExcept 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.
- jws 12y agoArduino'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.)
- ambrop7 12y agoActually the SAM3X8E does not have an FPU.
- Animats 12y agoOuch. You're right.
- minthd 12y agoOne 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 ?
- falcolas 12y agoProbably 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.
- toby 12y agoRunning 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.