BeagleBoard community sniffs out new territory with PRUs
August 01, 2014
At BeagleBoard's 6th birthday, and around BeagleBone Black's 1st birthday we take a look back at what the platform has achieved and where the foundati...
In BeagleBoard's sixth year, the maker community has a lot more tricks to work with. Since its release last year, BeagleBone Black has been widely adopted by the DIY community and subsequently thrived in a number of applications. With a Texas Instruments Sitara AM335x 1 GHz processor, 512 MB of onboard DDR3 RAM, and a variety of connectivity features, the BeagleBone Black is ready for whatever makers can throw at it.
The area that really took off in the BeagleBone Black community were PRU-related applications that can sense and manipulate the physical world. PRUs provide dedicated real-time performance for creating interfaces to new devices that may not have standard interfaces like SPI or I2C, Kridner says.
PRUs are dual 32-bit RISC processors for manipulating memory-mapped data structures and implementing features with tight real-time constraints, according to TI. They have their own data RAM and instruction RAM, an interrupt controller to handle inputs, and a Switched Central Resource (SCR) for connecting internal and external masters to resources inside the PRU subsystem. The BeagleBone Black has two PRUs onboard that can work independently, together, or with the host CPUs, depending on what is specified by the program loading onto the PRU instruction memory. They allow for extended connectivity and peripheral capability, reduced system power consumption and accelerated performance. As the wide world of the Internet of Things (IoT) and connected devices become popular application areas for the BeagleBone Black, PRUs' ability to interface with a variety of sensors make them useful, and their low-power design is ideal for mobile applications. (See a PRU tutorial for the BeagleBone Black: opsy.st/pru_tutoral).
"Not only do you not need to go out and add an external microcontroller (MCU) [to the BeagleBone Black]," Kridner says, "these PRU MCUs are faster and more capable than typical MCUs with the ability to access pins in a single cycle at 200 MHz and the ability to access all of the memory and peripherals of the ARM Cortex-A8 system."
The proliferation of PRU-related projects and applications is a community-driven advancement to the BeagleBoard Black; so far, TI has not provided a lot of support in this area.
"While there is more PRU support coming from TI, I think the success of the community working largely on its own has been a big part of motivating [TI to provide] more support for these remarkably flexible peripherals," Kridner says. "The PRU projects are coming and they are impressive."
The community can look forward to more juicy features to sink their teeth into, with BeagleBoard.org continuing to add more functionality to the BeagleBone Black.
PRU project spotlight
- BeagleLogic 1
00 MHz 16-bit logic analyzer: beaglelogic.net
- Machinekit for real-time motor control: machinekit.io
- Octoscroller for controlling LED panel updates featured at World Maker Faire New York: beagleboard.org/project/octoscroller/
- Kridner said one of the most useful new capes for him is the Tigal mikroBus (www.tigal.com/product/3651): "[It makes connecting a large number of component breakout boards trivial due to not needing to run any wires. There are over 70 different ‘click' boards for mikroBus that make first prototypes really easy for those not very familiar with electronics and are scared they might wire something up wrong."
- LCD add-ons are also popular, such as the 4D Systems 4.3" LCD cape (www.sparkfun.com/products/12085).
- CircuitCo also has a large number of simple capes listed on the cape wiki site (www.beaglebonecapes.com).