Beaglebone Ai
Beaglebone Ai
Release 1.0.20240415
BeagleBoard.org Foundation
Apr 15, 2024
Table of contents
1 Introduction 3
1.1 BeagleBone AI Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.1 BeagleBone® AI Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Main Processor Features of the AM5729 Within BeagleBone® AI . . . . . . . . . . . . . . . . . . 4
1.3 Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.5 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6 Out of Box Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6.1 Board Component Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Quick start 7
2.1 What’s In the Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 What’s Not in the Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Fans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Main Connection Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 Connecting a 3 PIN Serial Debug Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
i
4 Expansion 39
4.1 Expansion Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.1.1 Connector P8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.1.2 Connector P9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.2 Serial Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4.3 USB 3 Type-C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4.4 USB 2 Type-A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4.5 Gigabit Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.6 Coaxial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.7 microSD Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.8 microHDMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
ii
BeagleBone AI, Release 1.0.20240415
BeagleBone AI is based on the Texas Instruments AM5729 dual-core Cortex-A15 SoC with flexible BeagleBone
Black header and mechanical compatibility. BeagleBone AI makes it easy to explore how artificial intelligence
(AI) can be used in everyday life via the TI C66x digital-signal-processor (DSP) cores and embedded-vision-
engine (EVE) cores supported through an optimized TIDL machine learning OpenCL API with pre-installed tools.
Focused on everyday automation in industrial, commercial and home applications.
License Terms
• This documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International Li-
cense
• For export, emissions and other compliance, see Additional Support Information
• All support for BeagleBone AI design is through BeagleBoard.org community at BeagleBoard.org forum.
Table of contents 1
BeagleBone AI, Release 1.0.20240415
2 Table of contents
Chapter 1
Introduction
Built on the proven BeagleBoard.org® open source Linux approach, BeagleBone® AI fills the gap between
small SBCs and more powerful industrial computers. Based on the Texas Instruments AM5729, developers
have access to the powerful SoC with the ease of BeagleBone® Black header and mechanical compatibility.
BeagleBone® AI makes it easy to explore how artificial intelligence (AI) can be used in everyday life via TI C66x
digital-signal-processor (DSP) cores and embedded-vision-engine (EVE) cores supported through an optimized
TIDL machine learning OpenCL API with pre-installed tools. Focused on everyday automation in industrial,
commercial and home applications.
3
BeagleBone AI, Release 1.0.20240415
• Dual 1.5GHz ARM® Cortex®-A15 with out-of-order speculative issue 3-way superscalar execution
pipeline for the fastest execution of existing 32-bit code
• 2x Dual-Core Programmable Real-Time Unit (PRU) subsystems (4 PRUs total) for ultra low-latency control
and software generated peripherals
• IVA-HD subsystem with support for 4K @ 15fps H.264 encode/decode and other codecs @ 1080p60
1.3 Communications
• 4+ UARTs
• 2 I2C ports
• 2 SPI ports
4 Chapter 1. Introduction
BeagleBone AI, Release 1.0.20240415
1.4 Memory
• 1GB DDR3L
1.5 Connectors
• Gigabit Ethernet
1.4. Memory 5
BeagleBone AI, Release 1.0.20240415
6 Chapter 1. Introduction
Chapter 2
Quick start
BeagleBone® AI comes in the box with the heat sink and antenna already attached. Developers can get up
and running in five minutes with no microSD card needed. BeagleBone® AI comes preloaded with a Linux
distribution. In the box you will find:
• BeagleBone® AI
Tip: For board files, 3D model, regulatory docs and more, you can checkout BeagleBona-AI repository on
OpenBeagle.
7
BeagleBone AI, Release 1.0.20240415
More information or to purchase a replacement heat sink or antenna, please go to these websites:
• Antenna
• Heat Sink
2.3 Fans
The pre-attached heat sink has M3 holes spaced 20x20 mm. The height of the heat sink clears the USB type A
socket, and all other components on the board except the 46-way header sockets and the Ethernet socket.
If you run all of the accelerators or have an older software image, you’ll likely need fan. To find a fan, visit the
link to fans in the FAQ.
Caution: BeagleBone AI can run HOT! Even without running the accelerators, getting up to 70C is not
uncommon.
This section will describe how to connect the board for use. The board can be configured in several different
ways. Below we will walk through the most common scenarios. NOTE: These connection scenarios are depen-
dent on the software image presently on your BeagleBone® AI. When all else fails, follow the instructions at
Upgrade BeagleBone AI software.
• Standalone Desktop with powered USB hub, display, keyboard and mouse
Tethered
Tethered to a PC
The most common way to program BeagleBone® AI is via a USB connection to a PC. If your computer has a USB
C type port, BeagleBone® AI will both communicate and receive power directly from the PC. If your computer
does not support USB C type, you can utilize a powered USB C hub to power and connect to BeagleBone® AI
which in turn will connect to your PC. You can also use a powered USB C hub to power and connect peripheral
devices such as a USB camera. After booting, the board is accessed either as a USB storage device or via the
browser on the PC. You will need Chrome or Firefox on the PC.
1. Connect the other end of the USB cable to the PC USB 3 port.
1. Open the drive and open START.HTM with your web browser.
Standalone
Note: This configuration requires loading the latest debian 9 image from https://elinux.org/Beagleboard:
Latest-images-testing
1. Connect a combo keyboard and mouse to BeagleBone® AI’s USB host port.
4. Plug a 5V 3A USB type-C power supply into BeagleBone® AI’s USB type-C port.
6. Depending on which software image is loaded, either a Desktop or a login shell will appear on the monitor.
Wireless
Wireless Connection
1. Plug a 5V 3A USB type-C power supply into BeagleBone® AI’s USB type-C port.
3. Connect your PC’s WiFi to SSID “BeagleBone-XXXX” where XXXX varies for your BeagleBone® AI.
A 3 PIN serial debug cable can be helpful to debug when you need to view the boot messages through a terminal
program such as putty on your host PC. This cable is not needed for most BeagleBone® AI boot up scenarios.
Cables: https://git.beagleboard.org/beagleboard/beaglebone-ai/-/wikis/Frequently-Asked-Questions#
serial-cable
Locate the 3 PIN debug header on BeagleBone® AI, near the USB C connection.
Press the small white connector into the 3 PIN debug header. The pinout is:
• Pin 1 (the pin closest to the screw-hole in the board. It is also marked with a shape on the silkscreen):
GND
This section provides a detailed description of the Hardware design. This can be useful for interfacing, writing
drivers, or using it to help modify specifics of your own design.
The figure below is the high level block diagram of BeagleBone® AI. For those who may be concerned, this is
the same figure found in section 5. It is placed here again for convenience so it is closer to the topics to follow.
The figure below is the high level block diagram of BeagleBone® AI. For detailed layout information please
check the schematics.
17
BeagleBone AI, Release 1.0.20240415
The Texas Instruments AM572x Sitara™ processor family of SOC devices brings high processing performance
through the maximum flexibility of a fully integrated mixed processor solution. The devices also combine
programmable video processing with a highly integrated peripheral set ideal for AI applications. The AM5729
used on BeagleBone® AI is the super-set device of the family.
Programmability is provided by dual-core ARM® Cortex®-A15 RISC CPUs with Arm® Neon™ extension, and two
TI C66x VLIW floating-point DSP core, and Vision AccelerationPac (with 4x EVEs). The Arm allows developers
to keep control functions separate from other algorithms programmed on the DSPs and coprocessors, thus
reducing the complexity of the system software.
MPU Subsystem The Dual Cortex-A15 MPU subsystem integrates the following submodules:
– ARM Version 7 ISA: Standard ARM instruction set plus Thumb®-2, Jazelle® RCT Java™ accelerator,
hardware virtualization support, and large physical address extensions (LPAE)
– One general-purpose timer and one watchdog timer per CPU – Debug and trace features
– 32-KiB instruction and 32-KiB data level 1 (L1) cache per CPU
• Emulation features
DSP Subsystems There are two DSP subsystems in the device. Each DSP subsystem contains the following
submodules:
• TMS320C66x™ Floating-Point VLIW DSP core for audio processing, and general-purpose imaging and
video processing. It extends the performance of existing C64x+™ and C647x™ DSPs through enhance-
ments and new features.
– 288-KiB L2 cache
• 32-KiB SRAM
• Enhanced direct memory access (EDMA) engine for video and audio data transfer
• Emulation capabilities
• Supported by OpenCL
EVE Subsystems
The Embedded Vision Engine (EVE) module is a programmable imaging and vision processing engine. Software
support for the EVE module is available through OpenCL Custom Device model with fixed set of functions. More
information is available http://www.ti.com/lit/wp/spry251/spry251.pdf
PRU-ICSS Subsystems
• 2x Dual-Core Programmable Real-Time Unit (PRU) subsystems (4 PRUs total) for ultra low-latency control
and software generated peripherals. Access to these powerful subsystems is available through through
the P8 and P9 headers. These are detailed in Section 7.
IPU Subsystems There are two Dual Cortex-M4 IPU subsystems in the device available for general purpose
usage, particularly real-time control. Each IPU subsystem includes the following components:
– L2 ROM + RAM
• 64-KiB RAM
IVA-HD Subsystem
• IVA-HD subsystem with support for 4K @ 15fps H.264 encode/decode and other codecs @ 1080p60 The
IVA-HD subsystem is a set of video encoder and decoder hardware accelerators. The list of supported
codecs can be found in the software development kit (SDK) documentation.
BB2D Graphics Accelerator Subsystem The Vivante® GC320 2D graphics accelerator is the 2D BitBlt
(BB2D) graphics accelerator subsystem on the device with the following features:
• API support:
– OpenWF™, DirectFB
– GDI/DirectDraw
• BB2D architecture:
– High-quality, 9-tap, 32-phase filter for image and video scaling at 1080p
Dual-Core PowerVR® SGX544™ 3D GPU The 3D graphics processing unit (GPU) subsystem is based on
POWERVR® SGX544 subsystem from Imagination Technologies. It supports general embedded applications.
The GPU can process different data types simultaneously, such as: pixel data, vertex data, video data, and
general-purpose data. The GPU subsystem has the following features:
• Second-generation universal scalable shader engines (USSE2), multithreaded engines incorporating pixel
and vertex shader functionality
• Fully virtualized memory addressing for OS operation in a unified memory architecture (MMU)
3.3 Memory
Dual 256M x 16 DDR3L memory devices are used, one on each side of the board, for a total of 1 GB. They will
each operate at a clock frequency of up to 533 MHz yielding an effective rate of 1066Mb/s on the DDR3L bus
allowing for 4GB/s of DDR3L memory bandwidth.
The board is equipped with a single microSD connector to act as a secondary boot source for the board and, if
selected as such, can be the primary booth source. The connector will support larger capacity microSD cards.
The microSD card is not provided with the board.
3.6 Connectivity
BeagleBone® AI supports the majority of the functions of the AM5729 SOC through connectors or expansion
header pin accessibility. See section 7 for more information on expansion header pinouts. There are a few
functions that are not accessible which are: (TBD)
Figure ? is the high level block diagram of the power section of the board.
The device provides seven configurable step-down converters with up to 6 A of output current for memory,
processor core, input-output (I/O), or preregulation of LDOs. One of these configurable step-down converters
can be combined with another 3-A regulator to allow up to 9 A of output current. All of the step-down converters
can synchronize to an external clock source between 1.7 MHz and 2.7 MHz, or an internal fallback clock at 2.2
MHz.
The TPS659037 device contains seven LDO regulators for external use. These LDO regulators can be supplied
from either a system supply or a preregulated supply. The power-up and power-down controller is configurable
and supports any power-up and power-down sequences (OTP based). The TPS659037 device includes a 32-
kHz RC oscillator to sequence all resources during power up and power down. In cases where a fast start up is
needed, a 16-MHz crystal oscillator is also included to quickly generate a stable 32-kHz for the system. All LDOs
and SMPS converters can be controlled by the SPI or I2C interface, or by power request signals. In addition,
voltage scaling registers allow transitioning the SMPS to different voltages by SPI, I2C, or roof and floor control.
One dedicated pin in each package can be configured as part of the power-up sequence to control external
resources. General-purpose input-output (GPIO) functionality is available and two GPIOs can be configured
as part of the power-up sequence to control external resources. Power request signals enable power mode
control for power optimization. The device includes a general-purpose sigma-delta analog-to-digital converter
(GPADC) with three external input channels.
Below image shows how the USB-C power input is connected to the TPS6590379.
3.8.3 Board ID
A board identifier is placed on the eMMC in the second linear boot partition (/dev/mmcblk1boot1). Reserved
bytes up to 32k (0x8000) are filled with “FF”.
• EM = Embest
• AI = BeagleBone AI
00000010 31 39 33 33 45 4d 41 49 30 30 30 38 30 33 ff ff |1933EMAI000803..
,→|
00000020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................
,→|
*
00008000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
,→|
*
00400000
Datasheet https://storage.googleapis.com/wzukusers/user-26561200/documents/5b7d0fe3c3f29Ct6k0QI/
AW-CM256SM_DS_Rev%2015_CYW.pdf Wireless connectivity is provided on BeagleBone® AI via the Azure-
Wave Technologies AW-CM256SM IEEE 802.11a/b/g/n/ac Wi-Fi with Bluetooth 4.2 Combo Stamp Module.
This highly integrated wireless local area network (WLAN) solution combines Bluetooth 4.2 and provides a
complete 2.4GHz Bluetooth system which is fully compliant to Bluetooth 4.2 and v2.1 that supports EDR of
2Mbps and 3Mbps for data and audio communications. It enables a high performance, cost effective, low
power, compact solution that easily fits onto the SDIO and UART combo stamp module.
Compliant with the IEEE 802.11a/b/g/n/ac standard, AW-CM256SM uses Direct Sequence Spread Spectrum
(DSSS), Orthogonal Frequency Division Multiplexing (OFDM), BPSK, QPSK, CCK and QAM baseband modulation
technologies. Compare to 802.11n technology, 802.11ac provides a big improvement on speed and range.
The AW-CM256SM module adopts a Cypress solution. The module design is based on the Cypress CYP43455
single chip.
High speed wireless connection up to 433.3Mbps transmit/receive PHY rate using 80MHz bandwidth,
• External Crystal
• Enhanced Data Rate(EDR) compliant for both 2Mbps and 3Mbps supported
3.10 HDMI
The HDMI interface is aligned with the HDMI TMDS single stream standard v1.4a (720p @60Hz to 1080p @24Hz)
and the HDMI v1.3 (1080p @60Hz): 3 data channels, plus 1 clock channel is supported (differential).
3.11 PRU-ICSS
The Texas Instruments AM5729 Sitara™ provides 2 Programmable Real-Time Unit Subsystem and Industrial
Communciation Subsystems. (PRU-ICSS1 and PRU-ICSS2).
Within each PRU-ICSS are dual 32-bit Load / Store RISC CPU cores: Programmable Real-Time Units (PRU0
and PRU1), shared data and instruction memories, internal peripheral modules and an interrupt controller.
Therefore the SoC is providing a total of 4 PRU 32-bit RISC CPU’s:
• PRU-ICSS1 PRU0
• PRU-ICSS1 PRU1
• PRU-ICSS2 PRU0
• PRU-ICSS2 PRU1
The programmable nature of the PRUs, along with their access to pins, events and all SoC resources, provides
flexibility in implementing fast real-time responses, specialized data handling operations, peripheral interfaces
and in off-loading tasks from the other processor cores of the SoC.
Each of the 2 PRU-ICSS (PRU-ICSS1 and PRU-ICSS2) includes the following main features:
• 21x Enhanced GPIs (EGPIs) and 21x Enhanced GPOs (EGPOs) with asynchronous capture and serial sup-
port per each PRU CPU core
• One Ethernet MII_RT module (PRU-ICSS_MII_RT) with two MII ports and configurable connections to PRUs
• 1 x 16550-compatible UART with a dedicated 192 MHz clock to support 12Mbps Profibus
Resources
• Great resources for PRU and BeagleBone® has been compiled here https://beagleboard.org/pru
• The PRU Cookbook provides examples and getting started information pru-cookbook-home
FAQ
• A: TBD
The table below shows which PRU-ICSS1 signals can be accessed on BeagleBone® AI and on which connector
and pins they are accessible from. Some signals are accessible on the same pins. Signal Names reveal which
PRU-ICSS Subsystem is being addressed. pr1 is PRU-ICSS1 and pr2 is PRU-ICSS2
SIGNAL NAME DESCRIPTION TYPE PROC HE ADER _PIN MODE HE ADER _PIN MODE
pr1_pru0_gpo0 PRU0 G eneral-Purpose Output O A H6 NA
pr1_pru0_gpo1 PRU0 G eneral-Purpose Output O A H3 NA
pr1_pru0_gpo2 PRU0 G eneral-Purpose Output O A H5 NA
pr1_pru0_gpo3 PRU0 G eneral-Purpose Output O A G6 P 8_12 MODE13
pr1_pru0_gpo4 PRU0 G eneral-Purpose Output O A H4 P 8_11 MODE13
pr1_pru0_gpo5 PRU0 G eneral-Purpose Output O A G4 P 9_15 MODE13
pr1_pru0_gpo6 PRU0 G eneral-Purpose Output O A G2 NA
pr1_pru0_gpo7 PRU0 G eneral-Purpose Output O A G3 NA
pr1_pru0_gpo8 PRU0 G eneral-Purpose Output O A G5 NA
pr1_pru0_gpo9 PRU0 G eneral-Purpose Output O A F2 NA
pr1_pru0_gpo10 PRU0 G eneral-Purpose Output O A F6 NA
pr1_pru0_gpo11 PRU0 G eneral-Purpose Output O A F3 NA
BeagleBone AI, Release 1.0.20240415
29
BeagleBone AI, Release 1.0.20240415
Table 3.3 – continued from previous page
30
SIGNAL NAME DESCRIPTION TYPE PROC HE ADER _PIN MODE HE ADER _PIN MODE
pr1_pru1_gpi10 PRU1 G eneral-Purpose Input I C2 P 9_42 MODE12
pr1_pru1_gpi11 PRU1 G eneral-Purpose Input I C3 P 9_27 MODE12
pr1_pru1_gpi12 PRU1 G eneral-Purpose Input I C4 NA
pr1_pru1_gpi13 PRU1 G eneral-Purpose Input I B2 NA
pr1_pru1_gpi14 PRU1 G eneral-Purpose Input I D6 P 9_14 M O D E 1 2
pr1_pru1_gpi15 PRU1 G eneral-Purpose Input I C5 P 9_16 M O D E 1 2
pr1_pru1_gpi16 PRU1 G eneral-Purpose Input I A3 P 8_15 M O D E 1 2
pr1_pru1_gpi17 PRU1 G eneral-Purpose Input I B3 P 8_26 M O D E 1 2
pr1_pru1_gpi18 PRU1 G eneral-Purpose Input I B4 P 8_16 M O D E 1 2
pr1_pru1_gpi19 PRU1 G eneral-Purpose Input I B5 NA
pr1_pru1_gpi20 PRU1 G eneral-Purpose Input I A4 NA
pr1_mii_mt0_clk MII0 Transmit Clock I U5 NA
pr1_mii0_txen MII0 Transmit Enable O V3 NA
BeagleBone AI, Release 1.0.20240415
31
BeagleBone AI, Release 1.0.20240415
BeagleBone AI, Release 1.0.20240415
The table below shows which PRU-ICSS2 signals can be accessed on BeagleBone® AI and on which connector
and pins they are accessible from. Some signals are accessible on the same pins. Signal Names reveal which
PRU-ICSS Subsystem is being addressed. pr1 is PRU-ICSS1 and pr2 is PRU-ICSS2
SIGNAL NAME DESCR IPTION TYPE PROC HEAD ER_PIN MODE HEAD ER_PIN MODE
p r2_pru 0_gpo0 PRU0 Gen eral-P urpose Output O G 11/AC5 P8_44 MODE13
p r2_pru 0_gpo1 PRU0 Gen eral-P urpose Output O E9/AB4 P8_41 MODE13
p r2_pru 0_gpo2 PRU0 Gen eral-P urpose Output O F9/AD4 P8_42 MODE13 P8_21 MODE13
p r2_pru 0_gpo3 PRU0 Gen eral-P urpose Output O F8/AC4 P8_39 MODE13 P8_20 MODE13
p r2_pru 0_gpo4 PRU0 Gen eral-P urpose Output O E7/AC7 P8_40 MODE13 P8_25 MODE13
p r2_pru 0_gpo5 PRU0 Gen eral-P urpose Output O E8/AC6 P8_37 MODE13 P8_24 MODE13
p r2_pru 0_gpo6 PRU0 Gen eral-P urpose Output O D9/AC9 P8_38 MODE13 P8_5 MODE13
p r2_pru 0_gpo7 PRU0 Gen eral-P urpose Output O D7/AC3 P8_36 MODE13 P8_6 MODE13
p r2_pru 0_gpo8 PRU0 Gen eral-P urpose Output O D8/AC8 P8_34 MODE13 P8_23 MODE13
p r2_pru 0_gpo9 PRU0 Gen eral-P urpose Output O A5/AD6 P8_35 MODE13 P8_22 MODE13
pr 2_pru0 _gpo10 PRU0 Gen eral-P urpose Output O C6/AB8 P8_33 MODE13 P8_3 MODE13
33
BeagleBone AI, Release 1.0.20240415
Table 3.4 – continued from previous page
34
SIGNAL NAME DESCR IPTION TYPE PROC HEAD ER_PIN MODE HEAD ER_PIN MODE
pr 2_pru0 _gpi15 PRU0 Gen eral-P urpose Input I A7/C17 P8_17 MODE12 P9_13 MODE12
pr 2_pru0 _gpi16 PRU0 Gen eral-P urpose Input I A8/C15 P8_27 MODE12
pr 2_pru0 _gpi17 PRU0 Gen eral-P urpose Input I C9/A16 P8_28 MODE12
pr 2_pru0 _gpi18 PRU0 Gen eral-P urpose Input I A9/A19 P8_29 MODE12
pr 2_pru0 _gpi19 PRU0 Gen eral-P urpose Input I B9/A18 P8_30 MODE12
pr 2_pru0 _gpi20 PRU0 Gen eral-P urpose Input I A 10/F14 P8_46 MODE12 P8_8 MODE12
p r2_pru 1_gpo0 PRU1 Gen eral-P urpose Output O V1/D17 P8_32 MODE13
p r2_pru 1_gpo1 PRU1 Gen eral-P urpose Output O U4/AA3 NA
p r2_pru 1_gpo2 PRU1 Gen eral-P urpose Output O U3/AB9 NA
p r2_pru 1_gpo3 PRU1 Gen eral-P urpose Output O V2/AB3 NA
p r2_pru 1_gpo4 PRU1 Gen eral-P urpose Output O Y1/AA4 NA
p r2_pru 1_gpo5 PRU1 Gen eral-P urpose Output O W9/D18 P9_25 MODE13
p r2_pru 1_gpo6 PRU1 Gen eral-P urpose Output O V9/E17 P8_9 MODE13
BeagleBone AI, Release 1.0.20240415
p r2_pru 1_gpo7 PRU1 Gen eral-P urpose Output O V7/C14 P9_31 MODE13
p r2_pru 1_gpo8 PRU1 Gen eral-P urpose Output O U7/G12 P9_18 MODE13
p r2_pru 1_gpo9 PRU1 Gen eral-P urpose Output O V6/F12 P9_17 MODE13
pr 2_pru1 _gpo10 PRU1 Gen eral-P urpose Output O U6/B12 P9_31 MODE13
pr 2_pru1 _gpo11 PRU1 Gen eral-P urpose Output O U5/A11 P9_29 MODE13
pr 2_pru1 _gpo12 PRU1 Gen eral-P urpose Output O V5/B13 P9_30 MODE13
pr 2_pru1 _gpo13 PRU1 Gen eral-P urpose Output O V4/A12 P9_26 MODE13
pr 2_pru1 _gpo14 PRU1 Gen eral-P urpose Output O V3/E14 P9_42 MODE13
pr 2_pru1 _gpo15 PRU1 Gen eral-P urpose Output O Y2/A13 P8_10 MODE13
pr 2_pru1 _gpo16 PRU1 Gen eral-P urpose Output O W2/G14 P8_7 MODE13
pr 2_pru1 _gpo17 PRU1 Gen eral-P urpose Output O E11 P8_27 MODE13
pr 2_pru1 _gpo18 PRU1 Gen eral-P urpose Output O F11 P8_45 MODE13
pr 2_pru1 _gpo19 PRU1 Gen eral-P urpose Output O G10 P8_46 MODE13
pr 2_pru1 _gpo20 PRU1 Gen eral-P urpose Output O F10 P8_43 MODE13
p r2_pru 1_gpi0 PRU1 Gen eral-P urpose Input I V1/D17 P8_32 MODE12
p r2_pru 1_gpi1 PRU1 Gen eral-P urpose Input I U4/AA3 NA
p r2_pru 1_gpi2 PRU1 Gen eral-P urpose Input I U3/AB9 NA
p r2_pru 1_gpi3 PRU1 Gen eral-P urpose Input I V2/AB3 NA
p r2_pru 1_gpi4 PRU1 Gen eral-P urpose Input I Y1/AA4 NA
p r2_pru 1_gpi5 PRU1 Gen eral-P urpose Input I W9/D18 P9_25 MODE12
p r2_pru 1_gpi6 PRU1 Gen eral-P urpose Input I V9/E17 P8_9 MODE12
p r2_pru 1_gpi7 PRU1 Gen eral-P urpose Input I V7/C14 P9_31 MODE12
p r2_pru 1_gpi8 PRU1 Gen eral-P urpose Input I U7/G12 P9_18 MODE12
p r2_pru 1_gpi9 PRU1 Gen eral-P urpose Input I V6/F12 P9_17 MODE12
continues on next page
35
BeagleBone AI, Release 1.0.20240415
Table 3.4 – continued from previous page
36
SIGNAL NAME DESCR IPTION TYPE PROC HEAD ER_PIN MODE HEAD ER_PIN MODE
pr2_ed io_dat a_out7 Et hernet D igital Output O A10 P8_46 MODE11
pr2_mi i1_col MII1 Col lision Detect I D18 P9_25 MODE11
pr2_mi i1_crs MII1 C arrier Sense I E17 P8_9 MODE11
pr 2_mdio _mdclk MDIO Clock O C 14/AB3 P9_31 MODE11
p r2_mdi o_data MDIO Data IO D 14/AA4 P9_29 MODE11
p r2_mii 0_rxer MII0 R eceive Error I G12 P9_18 MODE11
pr2 _mii_m t0_clk MII0 Tr ansmit Clock I F12 P9_17 MODE11
p r2_mii 0_txen MII0 Tr ansmit Enable O B12 P9_31 MODE11
p r2_mii 0_txd3 MII0 Tr ansmit Data O A11 P9_29 MODE11
p r2_mii 0_txd2 MII0 Tr ansmit Data O B13 P9_30 MODE11
p r2_mii 0_txd1 MII0 Tr ansmit Data O A12 P9_28 MODE11
p r2_mii 0_txd0 MII0 Tr ansmit Data O E14 P9_42 MODE11
pr2 _mii_m r0_clk MII0 R eceive Clock I A13 P8_10 MODE11
BeagleBone AI, Release 1.0.20240415
There are 5 User Programmable LEDs on BeagleBone® AI. These are connected to GPIO pins on the processor.
The table shows the signals used to control the LEDs from the processor. Each LED is user programmable.
However, there is a Default Functions assigned in the device tree for BeagleBone® AI:
Expansion
The expansion interface on the board is comprised of two 46 pin connectors, the P8 and P9 Headers. All signals
on the expansion headers are 3.3V unless otherwise indicated.
Note: Do not connect 5V logic level signals to these pins or the board will be damaged.
Note: DO NOT APPLY VOLTAGE TO ANY I/O PIN WHEN POWER IS NOT SUPPLIED TO THE BOARD. IT WILL
DAMAGE THE PROCESSOR AND VOID THE WARRANTY.
NO PINS ARE TO BE DRIVEN UNTIL AFTER THE SYS_RESET LINE GOES HIGH.
The location and spacing of the expansion headers are the same as on BeagleBone Black.
39
BeagleBone AI, Release 1.0.20240415
4.1.1 Connector P8
The following tables show the pinout of the P8 expansion header. The SW is responsible for setting the default
function of each pin. Refer to the processor documentation for more information on these pins and detailed
descriptions of all of the pins listed. In some cases there may not be enough signals to complete a group of
signals that may be required to implement a total interface.
The GPIO row is the expected gpio identifier number in the Linux kernel.
The REG row is the offset of the control register for the processor pin.
The MODE # rows are the mode setting for each pin. Setting each mode to align with the mode column will
give that function on that pin.
If included, the 2nd BALL row is the pin number on the processor for a second processor pin connected to the
same pin on the expansion header. Similarly, all row headings starting with 2nd refer to data for this second
processor pin.
Note: DO NOT APPLY VOLTAGE TO ANY I/O PIN WHEN POWER IS NOT SUPPLIED TO THE BOARD. IT
WILL DAMAGE THE PROCESSOR AND VOID THE WARRANTY.
NO PINS ARE TO BE DRIVEN UNTIL AFTER THE SYS_RESET LINE GOES HIGH.
40 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
42 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
44 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
46 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
P8.45 P8.46
GPIO 224 225
BALL F11 G10
REG 0x15DC 0x15E0
MODE 0 vout1_d0 vout1_d1
1
2 uart5_rxd uart5_txd
3 vin4a_d16 vin4a_d17
4 vin3a_d16 vin3a_d17
5
6
7
8 spi3_cs2
9
10 pr1_uart0_cts_n pr1_uart0_rts_n
continues on next page
4.1.2 Connector P9
The following tables show the pinout of the P9 expansion header. The SW is responsible for setting the default
function of each pin. Refer to the processor documentation for more information on these pins and detailed
descriptions of all of the pins listed. In some cases there may not be enough signals to complete a group of
signals that may be required to implement a total interface.
The GPIO row is the expected gpio identifier number in the Linux kernel.
The REG row is the offset of the control register for the processor pin.
The MODE # rows are the mode setting for each pin. Setting each mode to align with the mode column will
give that function on that pin.
If included, the 2nd BALL row is the pin number on the processor for a second processor pin connected to the
same pin on the expansion header. Similarly, all row headings starting with 2nd refer to data for this second
processor pin.
NOTES:
DO NOT APPLY VOLTAGE TO ANY I/O PIN WHEN POWER IS NOT SUPPLIED TO THE BOARD. IT WILL
DAMAGE THE PROCESSOR AND VOID THE WARRANTY.
NO PINS ARE TO BE DRIVEN UNTIL AFTER THE SYS_RESET LINE GOES HIGH.
PWR_BUT is a 5V level as pulled up internally by the TPS6590379. It is activated by pulling the signal to GND.
48 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
50 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
52 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
P9.30 P9.31
GPIO 140 138
BALL B13 B12
REG 0x16DC 0x16D4
MODE 0 mcasp1_axr10 mcasp1_axr8
1 mcasp6_aclkx mcasp6_axr0
2 mcasp6_aclkr
3 spi3_d0 spi3_sclk
4
5
6
7 vin6a_d13 vin6a_d15
8
9
10 timer7 timer5
11 pr2_mii0_txd2 pr2_mii0_txen
12 pr2_pru1_gpi12 pr2_pru1_gpi10
13 pr2_pru1_gpo12 pr2_pru1_gpo10
14 gpio5_12 gpio5_10
15 Driver off Driver off
2nd BALL C14
2nd REG 0x16A4
2nd MODE 0 mcasp1_aclkx
2nd 1
2nd 2
2nd 3
2nd 4
2nd 5
2nd 6
2nd 7 vin6a_fld0
2nd 8
2nd 9
2nd 10 i2c3_sda
2nd 11 pr2_mdio_mdclk
2nd 12 pr2_pru1_gpi7
2nd 13 pr2_pru1_gpo7
2nd 14 gpio7_31
2nd 15 Driver off
P9.41 P9.42
GPIO 180 114
BALL C23 E14
REG 0x16A0 0x16E4
MODE 0 xref_clk3 mcasp1_axr12
1 mcasp2_axr11 mcasp7_axr0
2 mcasp1_axr7
3 mcasp4_ahclkx spi3_cs1
4 mcasp8_ahclkx
5
6 vout2_de
7 hdq0 vin6a_d11
8 vin4a_de0
9 clkout3
10 timer16 timer9
11 pr2_mii0_txd0
12 pr2_pru1_gpi14
13 pr2_pru1_gpo14
14 gpio6_20 gpio4_18
15 Driver off Driver off
2nd BALL C1 C2
2nd REG 0x1580 0x159C
2nd MODE 0 vin2a_d6 vin2a_d13
2nd 1
2nd 2
2nd 3 rgmii1_txctl
2nd 4 vout2_d17 vout2_d10
2nd 5 emu16
2nd 6
2nd 7
2nd 8 mii1_rxd1 mii1_rxdv
2nd 9 kbd_col3 kbd_row8
2nd 10 eQEP2B_in eQEP3A_in
2nd 11 pr1_mii_mt1_clk pr1_mii1_txd0
2nd 12 pr1_pru1_gpi3 pr1_pru1_gpi10
2nd 13 pr1_pru1_gpo3 pr1_pru1_gpo10
2nd 14 gpio4_7 gpio4_14
2nd 15 Driver off Driver off
54 Chapter 4. Expansion
BeagleBone AI, Release 1.0.20240415
4.6 Coaxial
4.8 microHDMI
56 Chapter 4. Expansion
Chapter 5
There is a Cape Headers Google Spreadsheet which has a lot of detail regarding various boards and cape add-on
boards.
5.2 EEPROM
5.4 GPIO
5.5 I2C
This section is about both UART pins on the header and PRU UART pins on the headers we will include a chart
and later some code
57
BeagleBone AI, Release 1.0.20240415
5.7 SPI
5.8 Analog
5.10 eQEP
5.11 CAN
5.13 MMC
5.14 LCD
5.16 CLKOUT
5.20 Mechanical
5.16. CLKOUT 59
BeagleBone AI, Release 1.0.20240415
Important: This documentation is very old and your feedback is requested, ideally via the discussion mailing-
list. Otherwise, visit /about/jkridner to contact me directly to provide feedback, because it is important this
page be reasonably easy to use.
Note: By default, the boards may run warm and shutdown. Please keep significant ventilation on your board
and update your software per these instructions.
The distribution components includes all of the on-board software utilizing Debian package management. This
is the vast majority of the on-board software.
The examples in the Cloud9 IDE workspace are managed with a version control tool called git. This is so that
it is possible to edit, record changes and revert changes to any of the examples. The Cloud9 IDE is integrated
with this version control and history can be seen using the “Changes” tab on the far-left.
The boot-up scripts and Linux kernel updates are managed separately from rest of the system to simplified
maintanence. Get connected to the Internet
There are many ways to get BeagleBone AI onto the Internet. Ethernet, WiFi and USB-based methods are
described below. Getting an Internet connection and performing the distribution, examples and kernel updates
below is the fastest way to get BeagleBone AI up-to-date. Ethernet
Just connect BeagleBone AI to your router and it will automatically DHCP an IP address for access to the Internet.
61
BeagleBone AI, Release 1.0.20240415
debian@beaglebone:/var/lib/cloud9$
Utilize the connman command-line app or the cmst graphical utility to connect to your WiFi network.
debian@beaglebone:/var/lib/cloud9$
For networks utilizing 802.1x Enterprise Login requirements, such as Eduroam, the creation of an additional
configuration file can enable access.
Many wifi networks such as those found at universities and enterprises, require a user login instead of a shared
passphrase. To demonstrate how to configure connman to connect to such networks, we will use the UCSD
campus-wide network as an example.
Start with a normal scan and look for the desired enterprise network.
ATT5363 wifi_ec1127bffa51_41545435333633_managed_psk
2WIRE407 wifi_ec1127bffa51_3257495245343037_managed_psk
ATT8fHHhfi wifi_ec1127bffa51_41545438664848686669_managed_
(continues on next page)
Note how the type of network is listed as ieee8021x indicating that it uses Network Access Control instead of
a typical passkey (psk) as you would find in a consumer home network.
Make a new file in the /var/lib/connman/ directory with a name matching what is listed during the scan. For
this example, the name would be 000f540aa884_554353442d50524f544543544544-ieee8021x.config
Fill in this file as follows, replacing the service name, SSID, Identity, and Passphrase with your own details. Your
enterprise network may also use an authentication method other than PEAP and MSCHAPV2. Consult the IT
help desk for your enterprise for details on that configuration.
Enter your information into the new config file like so:
[service_wifi_000f540aa884_554353442d50524f544543544544_managed_ieee8021x]
Type = wifi
SSID = 554353442d50524f544543544544
EAP = peap
Phase2 = MSCHAPV2
Identity= USERNAME
Passphrase= PASSWORD
Restart the connman service and check if the connection was successful
debian@beaglebone:/var/lib/cloud9$
You need to first establish a shell connection different than the USB network connection you plan on using to
get to the Internet.
In your host operating system, you’ll need to share your Internet connection back to the board. With an Ubuntu
host, use the utility “nm-connection-editor”.
Notes: On Ubuntu, the IPv4 Settings terminology “Shared to other computers” is what you apply to the con-
nection to your board (ie., downlink) not to your Internet-connected WiFi or Ethernet (ie., uplink). Update the
boot-up scripts and Linux kernel
debian@beaglebone:/var/lib/cloud9$ cd /opt/scripts
debian@beaglebone:/opt/scripts$ git pull
Already up-to-date.
debian@beaglebone:/opt/scripts$ sudo tools/update_kernel.sh
[sudo] password for debian:temppwd
info: checking archive
2019-09-06 02:29:22 URL:https://rcn-ee.com/repos/latest/stretch-armhf/LATEST-
,→ti [168/168] -> ”LATEST-ti” [1]
-----------------------------
Kernel Options:
ABI:1 LTS41 4.1.30-ti-r70
ABI:1 LTS44 4.4.155-ti-r155
ABI:1 LTS49 4.9.147-ti-r121
ABI:1 LTS414 4.14.108-ti-r116
ABI:1 LTS419 4.19.59-ti-r26
-----------------------------
Kernel version options:
-----------------------------
LTS44: --lts-4_4
LTS49: --lts-4_9
LTS414: --lts-4_14
LTS419: --lts-4_19
STABLE: --stable
TESTING: --testing
-----------------------------
info: you are running: [4.14.108-ti-r113], latest is: [4.14.108-ti-r116]␣
,→updating...
.
.
.
Setting up libiio-utils (0.16-1rcnee0~stretch+20190812) ...
Setting up libnginx-mod-http-echo (1.10.3-1+deb9u3) ...
Setting up linux-cpupower (4.9.168-1+deb9u5) ...
Setting up nginx-full (1.10.3-1+deb9u3) ...
[ ok ] Upgrading binary: nginx.
Setting up nginx (1.10.3-1+deb9u3) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.14.108-ti-r116
debian@beaglebone:/var/lib/cloud9$ sudo apt install -y ti-tidl mjpg-streamer-
,→opencv-python
debian@beaglebone:/var/lib/cloud9$ cd /var/lib/cloud9
debian@beaglebone:/var/lib/cloud9$ git pull
Already up-to-date.
debian@beaglebone:/var/lib/cloud9$
All support for BeagleBone AI design is through BeagleBoard.org community at BeagleBoard.org forum.
• FCC: 2ATUT-BBONE-AI
• CE: TBD
• CNHTS: 8543909000
• USHTS: 8473301180
• MXHTS: 84733001
• TARIC: 8473302000
• ECCN: 5A992.C
• CCATS: Z1613110/G180570
• RoHS/REACH: TBD
• Volatility: TBD
69
BeagleBone AI, Release 1.0.20240415
7.4.1 Rev A0
Initial prototype revision. Not taken to production. eMMC flash image provided by Embest.
7.4.2 Rev A1
• Added microHDMI.
• Changed serial debug header from 6-pin 100mil pitch to 3-pin 1.5mm pitch.
• Switched expansion header from UART4 to UART5. The UART4 pins were used for the microHDMI.
7.4.4 Rev A2
Proposed changes.
7.5 Pictures
7.5. Pictures 71
BeagleBone AI, Release 1.0.20240415