........2 BeagleY-AI Quick Start 2.1 What’s included in the box?
Page 3
5.1.10 Bonus - Turn all GPIOs ON/OFF ....... . 5.1.11 Going Further .
Page 4
BeagleY-AI, Release 1.0.20240605 Important: This is a work in progress, for latest documentation please visit https://docs.beagleboard.org/ latest/ BeagleY-AI is an open-source single board computer based on the Texas Instruments AM67A Arm-based vision processor. Table of contents...
Page 5
BeagleY-AI, Release 1.0.20240605 Table of contents...
BeagleY-AI is an open-source single board computer designed for edge AI applications. 1.1 Detailed overview BeagleY-AI is based on the Texas Instruments AM67A Arm-based vision processor. It features a quad-core 64-bit Arm®Cortex®-A53 CPU subsystem at 1.4GHz, Dual general-purpose C7x DSP with Matrix Multiply Accelerator (MMA) capable of 4 TOPs each, Arm Cortex-R5 subsystem for low-latency I/O and control, a 50 GFlop GPU, video and vision accelerators, and other specialized processing capability.
Chapter 2 BeagleY-AI Quick Start 2.1 What’s included in the box? When you purchase a BeagleY-AI, you’ll get the following in the box: BeagleY-AI 2. 2.4GHz antennas 3. Quick-start card Tip: For board files, 3D model, and more, you can checkout the BeagleY-AI repository on OpenBeagle.
BeagleY-AI, Release 1.0.20240605 Once flashed, you can insert the SD card into your BeagleY-AI as shown in the image below: 2.2.2 Power Supply To power the board you can either connect it to a dedicated power supply like a mobile charger or a wall adapter that can provide 5V ≥...
BeagleY-AI, Release 1.0.20240605 2.2.3 Board connection There is only one USB type-C port on board, if you choose to use a dedicated power supply for first time setup, you may access the board via one of the following methods: 1. Connection to HDMI display, Keyboard and Mouse 2.
BeagleY-AI, Release 1.0.20240605 2.2.5 Using BeagleY-AI To setup your BeagleY-AI for normal usage, connect the following: 1. 5V ≥ 3A power supply 2. HDMI monitor using micro HDMI to full-size HDMI cable 3. Ethernet cable from the board to your router 4.
Page 14
BeagleY-AI, Release 1.0.20240605 When prompted, log in using the updated login credentials you updated during the USB tethering step. Note: You can not update login credentials at this step, you must update them during USB tethering step! Once logged in you should see the splash screen shown in the image below:...
Page 15
BeagleY-AI, Release 1.0.20240605 Test network connection by running ping 8.8.8.8 Explore and build with your new BeagleY-AI board! Chapter 2. BeagleY-AI Quick Start...
BeagleY-AI, Release 1.0.20240605 2.2.6 Connecting to WiFi Connect 2x antennas to your BeagleY-AI board if not pre-attached. After successfully attaching the antenna, power up the board. Once booted you can follow the commands below to connect to any WiFi access point, •...
Work in progress If you want to know how BeagleY-AI is designed and the detailed specifications, then this chapter is for you. We are going to attept to provide you a short and crisp overview followed by discussing each hardware design element in detail.
BeagleY-AI, Release 1.0.20240605 Fig. 3.2: BeagleY-AI power distribution network 3.13 Mechanical Specifications 3.13.1 Dimensions & Weight Table 3.1: Dimensions & weight Parameter Value Size 85 x 56 x 20 mm Max heigh 20mm PCB Size 85 x 56 mm PCB Layers...
Page 21
BeagleY-AI, Release 1.0.20240605 Fig. 3.3: BeagleY-AI I2C tree Chapter 3. Design and specifications...
Chapter 4 Expansion 4.1 PCIe For software reference, you can see how PCIe is used on NVMe HATs. • Booting from NVMe Drives • Using IMX219 CSI Cameras • Using the on-board Real Time Clock (RTC)
A great resource for understanding pin numbering can be found at pinout.beagley.ai Note: WARNING - BeagleY-AI GPIOs are 3.3V tolerant, using higher voltages WILL damage the processor! 5.1.1 Pin Numbering You will see pins referenced in several ways. While this is confusing at first, in reality, we can pick our favorite way and stick to it.
BeagleY-AI, Release 1.0.20240605 To set HAT Pin 8 to ON: gpioset hat-08-gpio 0=1 To set HAT Pin 8 to OFF: gpioset hat-08-gpio 0=0 5.1.4 Blink an LED Let’s write a script called blinky.sh that contains the following: #!/bin/bash while gpioset hat-08-gpio...
BeagleY-AI, Release 1.0.20240605 Ctrl + c You can exit by pressing on your keyboard. 5.1.5 GPIO Read gpioget Reading GPIOs can be done using the command gpioget hat-08-gpio 0 Results in 1 if the Input is held HIGH or 0 if the Input is held LOW 5.1.6 Read a Button...
BeagleY-AI, Release 1.0.20240605 (continued from previous page) gpioset hat-08-gpio done This means when we see HAT Pin 12 go LOW, we know the button is pressed, so we set HAT Pin 8 (our LED) to ON, otherwise, we turn it OFF.
BeagleY-AI, Release 1.0.20240605 5.1.9 Troubleshooting • My script won’t run! Make sure you gave the script execute permissions first and that you’re executing it with a ./ before To make it executable: chmod +X scriptName.sh To run it: ./scriptName.sh 5.1.10 Bonus - Turn all GPIOs ON/OFF Copy and paste this with the button on the right to turn all pins ON.
BeagleY-AI, Release 1.0.20240605 5.2 Pulse Width Modulation (PWM) 5.2.1 What is it PWM, or Pulse Width Modulation, is a technique used to control the amount of power delivered to an electronic device by breaking up the power signal into discrete ON and OFF periods. The amount of time the signal spends ON during each cycle determines the output power level (brightness of the LED).
Without an RTC, a computer must rely on something called Network Time Protocol (NTP) to obtain the current time from a network source. There are many cases however where an SBC such as BeagleY-AI may not have a constant or reliable network connection. In situations such as these, an RTC allows the board to keep time even if the network connection is severed or the board loses power for an extended period of time.
Note: If you have not connected your BeagleY-AI to a network so it can get time from an NTP server, you must set the time before being able to read it. If you don’t do this first, you’ll see errors.
BeagleY-AI, Release 1.0.20240605 hwclock --set --date ”10/05/2024 21:01:05” 5.3.5 Diving Deeper There are actually two different “times” that your Linux system keeps track of. • System time, which can be read using the date or timedatectl commands • RTC (hardware) time which can be read using the hwclock command shown above.
BeagleY-AI, Release 1.0.20240605 Fig. 5.2: https://youtu.be/BAo5C2qbLq8 sudo hwclock --systohc debian@BeagleBone:~$ debian@BeagleBone:~$ sudo hwclock 2024-05-10 21:06:56.692874+00:00 5.3.7 Going Further Consider learning about topics such as time keeping over GPS and Atomic Clocks! There are some good YouTube videos below to provide sources for inspiration.
BeagleY-AI, Release 1.0.20240605 5.4.1 Operating Principle NXP PCA9685 is a simple 16-channel, 12-bit PWM controller that communicates over I2C. While originally designed as an LED driver, it’s ability to output PWM also makes it suitable as a Servo Motor driver.
BeagleY-AI, Release 1.0.20240605 Thus, we can use the decoder table above to infer that to drive motor channel A at 50% speed clockwise, we would set the PCA9685 to output INA1 High, INA2 Low and PWM1 at a 50% duty cycle.
BeagleY-AI, Release 1.0.20240605 (continued from previous page) ServoKit(channels=16) kit.servo[0].angle kit.continuous_servo[1].throttle time.sleep(1) kit.continuous_servo[1].throttle time.sleep(1) kit.servo[0].angle kit.continuous_servo[1].throttle To explore ServoKit further, check out the ServoKit Github Page and Examples 5.4.3 Python User-space Driver As mentioned before, the PCA9685 is a rather simple I2C device, so the driver for it is equally simple: PCA9685.py...
Page 71
BeagleY-AI, Release 1.0.20240605 Photo Credit - Xicoolee Looking at the schematic for the Xicoolee HAT, we see that we need to define our DC motor pins as follows: #Xicoolee TB6612FNG self.PWMA self.AIN1 self.AIN2 self.PWMB self.BIN1 self.BIN2 We can then run some simple example code as shown below:...
5.5 Booting from NVMe Drives Note: This page is a work in progress. Further drive testing and images will be added soon BeagleY-AI supports a PCI-Express x1 interface which enables data rates of up to 1GB/s for high speed expan- sion.
BeagleY-AI Debian XFCE 12.5 2024-03-25 image. Step 1. Boot from SD Normally Grab the latest BeagleY-AI SD Image from (BeagleBoard.org/distros.) Once logged in and at the terminal, make sure your system is up to date (a reboot is also recommended after updating) sudo apt-get update &&...
SD boot or other modes if something happens. Note: This will copy the entire contents of your SD card to the NVMe drive, so expect it to take upwards of 15 minutes. This only needs to be run one time sudo cp -v /opt/u-boot/bb-u-boot-beagley-ai/beagley-ai-microsd-to-nvme-w- swap /etc/default/beagle-flasher →...
BeagleY-AI, Release 1.0.20240605 Note: Unlike the larger quad-camera kit, the dual camera kit aims to simplify the software stack and improve interoperability with the Raspberry Pi and other non-TI SBCs by forgoing the ability to support multi-stream CSI inputs. This means that it is limited to “switching” between the two FPDLink inputs but has the benefit of not requiring additional drivers beyond support for the base CSI camera driver (IMX219 in this case) 5.7.1 Initial Hardware Connection...
BeagleY-AI, Release 1.0.20240605 sudo i2cdetect -r -y 1 To verify actual communication with the FPDlink device, we issue the following command: sudo i2ctransfer -f -y 4 w3@0x0c 0xff 0x55 0x01 r1 5.7.3 Switching CSI Channels The channel numbering for FPDLink goes from 1 to 2 (as opposed to counting from 0 as is the case for CSI)
Chapter 6 Support All support for BeagleY-AI design is through BeagleBoard.org community at BeagleBoard.org forum. 6.1 Production board boot media 6.2 Certifications and export control 6.2.1 Export designations • HS: 8471504090 • US HS: 8543708800 • UPC: 640265311062 • EU HS: 8471707000 •...
This section describes the change history of this document and board. Document changes are not always a result of a board change. A board change will always result in a document change. 6.4.1 Board Changes For all changes, see https://openbeagle.org/beagley-ai/beagley-ai. Versions released into production are noted below. Table 6.1: BeagleY-AI board change history...
Need help?
Do you have a question about the BeagleY-AI and is the answer not in the manual?
Questions and answers