Don’t Do It: Ignore Best Practices


Experimenting with the latest system-on-chip (SoC) solutions is easier these days with platforms like the BeagleBone, Raspberry Pi, and Arduino. I especially like the new BeagleBone AI (Fig. 1), which is a great, all-around platform for control, computation, and machine learning (ML) at the edge.

The board is built around Texas Instruments’ (TI) AM5729 system-on-chip (SoC). The SoC is augmented with 15 GB of eMMC flash, 1 GB of RAM and 2/5-GHz 802.11ac Wi-Fi as well as Bluetooth support. A Gigabit Ethernet jack provides wired connectivity, and display connectivity comes via a micro HDMI connection. A single USB high-speed port is handy for keyboards and cameras. Power can be supplied via the USB Type-C connection. This also provides a 5-Gb/s USB interface for debugging. Dual 46-pin headers offer expansion support.

1. The BeagleBone AI, which provides multiple machine-learning options with the multicore AM5729 SoC, adds 16 GB of eMMC flash memory plus Wi-Fi and Bluetooth support.

The heart of the BeagleBone AI, which is available from Newark, is the AM5729 (Fig. 2). The SoC doubles up on almost everything, including dual, 32-bit Arm Cortex-A15 cores, dual image-processing units (IPU) that each have dual Cortex-M4 cores, two dual-core programmable real-time Unit (PRU) subsystems, dual C66x DSP cores, dual PowerVR SGX544 3D GPUs, dual memory-management units (MMUs), and four embedded vision engines (EVEs). The SoC has single USB 2.0 and USB 3.0 ports with PHYs, yet both are dual role. There’s also a plethora of serial and parallel ports.

2.Texas Instruments’ AM5729 doubles up on most processor cores and provides four embedded vision engines (EVEs). All can support machine-learning algorithms, with the EVE platforms providing the highest performance.2.Texas Instruments’ AM5729 doubles up on most processor cores and provides four embedded vision engines (EVEs). All can support machine-learning algorithms, with the EVE platforms providing the highest performance.

That’s a bit of double talk, but almost all of these cores can provide some form of ML support—although this will usually target subsystems like the EVE, IPU, and DSP cores. The biggest challenge with the BeagleBone AI is how to split up the application and what subsystems mesh best with control and machine-learning chores. For example, the EVE subsystems can handle high-performance ML chores, but real-time ML support may fit better on the IPUs.

BeagleBone AI runs Linux and can support a graphical desktop. However, the default configuration is command-line-only in addition to a web-based interface that’s built around Amazon’s AWS Cloud9 IDE. Cloud9 can also tie into AWS, allowing work to be done in the cloud, including development of cloud-based applications, in addition to local applications that would run on the BeageBone AI. Thus, a single interface can span support platforms as well as target platforms.

The BeagleBone AI lets the TI Deep Learning (TIDL) software handle ML development. TIDL targets most of TI’s processor platforms, including those with hardware acceleration like the AM5729. One advantage is that TIDL opens up opportunities to target other platforms while learning one software framework. On the flip side, there’s less BeagleBone AI-specific documentation and TIDL, so step-by-step introductions are more limited.

It took me a little longer to get into the ML support with the BeagleBone AI due to that limitation, but now I have a better appreciation and understanding of TIDL. It also means that I can take advantage of what TI is doing, as well as target any of its platforms rather than having an experience that’s applicable only to the BeagleBone AI. Likewise, the Cloud9 support is something that’s useful in general and not specific to the board.

As impressive as the ML support is, the display and real-time capabilities make the SoC stand out. The IPU, PRU, and DSP subsystems are top-notch, allowing a single platform to handle real-time chores in addition to application code and ML tasks. As a learning platform, it’s ideal because any aspect of embedded development can be done on this hardware. I know it’s taken me a while to investigate just some of the features of the BeagleBone AI. It looks to be a great platform for a drone or robot.



Source link