<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blog - All Comments</title><link>/challenges-projects/project14/visionthing/b/blog</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Mon, 20 Sep 2021 21:31:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>persyn</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am trying to control a robotic arm (4 servo&amp;#39;s) with the beaglebone ai. I was able to generate a PWM signal on P9_14 trough the example pwmout.c but need 4 in total. I tried to control&amp;nbsp; &lt;span&gt;/sys/class/pwm/pwm-0:1&lt;/span&gt; instead of &lt;span&gt;/sys/class/pwm/pwm-0:0&lt;/span&gt;&amp;nbsp; and expected to be able to PWM P9_16 but this doesn&amp;#39;t work. Can someone help me how to control multiple (4) PWM signals with the beaglebone ai?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Tue, 06 Jul 2021 17:01:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>themysticturtle</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello! I have followed the tutorial (as it sits on 7/6/2021.. wow. are we really that far along in 2021?)&amp;nbsp; to set up the BBAI. including the pinmuxing. &lt;br /&gt;&lt;br /&gt;Now, i can see the data stream running analongInSync.js or analogInCallBack.js&amp;nbsp; using a simple phototransistor going from one of the VDD3v3B slots to the positive side, and taking my readings from the negative side hooked to P9.36 analog input. with the v- side of phototransistor also pulled to ground via 10kohm resistor.&amp;nbsp; (i get good results in the data feed on my cloud9 ide console, as well as when i view this output directly with my siglent oscilloscope) &lt;br /&gt;&lt;br /&gt;However, when i attempt to do the analogInOut.js. even after verifying my p9.14 and p9.16 are correctly muxed as PWM outputs with the show-pins command in console. &lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;em&gt;P9.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 107 fast&amp;nbsp;&amp;nbsp;&amp;nbsp; down 10 pwm 2 A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pwm@48442200 (ehrpwm2)&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;P9.16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 108 fast&amp;nbsp;&amp;nbsp;&amp;nbsp; down 10 pwm 2 B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pwm@48442200 (ehrpwm2)&amp;quot; &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I get an interesting error.&lt;em&gt; &amp;quot; error: error updating PWM freq and value: undefined, Error: ENOENT: no such file or directory, open &amp;#39;undefined/period&amp;#39; &amp;quot;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Here is the code directly from the file i am attempting to run. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;quot;&amp;quot;&lt;br /&gt;&lt;em&gt;#!/usr/bin/env node&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;////////////////////////////////////////&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// analogInOut.js&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;//&amp;nbsp; Reads analog in on P9_36 and adjusts the PWM on P9_14.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// Wiring: Attach the outer pins on a variable resistor to P9_32 and P9_34.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Attach the wiper (middle pin) of the resistor to P9_36.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P9_14 connects to the plus lead of an LED.&amp;nbsp; The negative lead of the&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// LED goes to a 220 Ohm resistor.&amp;nbsp; The other lead of the resistor goes&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// to ground.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// Setup:&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// See:&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;////////////////////////////////////////&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;const b = require(&amp;#39;bonescript&amp;#39;);&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;const inputPin&amp;nbsp; = &amp;quot;A5&amp;quot;;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;const outputPin = &amp;quot;P9_14&amp;quot;;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;console.log(&amp;#39;Hit ^C to stop&amp;#39;);&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;b.pinMode(outputPin, b.ANALOG_OUTPUT);&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;setTimeout(loop, 400);&amp;nbsp; // work-around to wait for PWM permissions&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;function loop() {&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var value = b.analogRead(inputPin);&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; process.stdout.write(inputPin + &amp;#39;--&amp;gt;&amp;#39; + outputPin + &amp;#39;: &amp;#39; + (value*100).toFixed(1) + &amp;#39;%&amp;nbsp;&amp;nbsp; \r&amp;#39;);&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.analogWrite(outputPin, value);&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setTimeout(loop, 10);&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;}&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// Bone&amp;nbsp; | Pocket | AIN&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// ----- | ------ | --- &lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// P9_39 | P1_19&amp;nbsp; | A0&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// P9_40 | P1_21&amp;nbsp; | A1&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// P9_37 | P1_23&amp;nbsp; | A2&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// P9_38 | P1_25&amp;nbsp; | A3&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// P9_33 | P1_27&amp;nbsp; | A4&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// P9_36 | P2_35&amp;nbsp; | A5&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;// P9_35 | P1_02&amp;nbsp; | A6&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;quot;&amp;quot;&lt;br /&gt;&lt;br /&gt;Any ideas why this is occurring? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am totally new to coding, and trying to figure this out. As far as i can tell. what is going on in this program is it calls up the bonescript. I am not entirely sure what bonescript is, but i imagine it allows everything on the beaglebone board to communicate with each other and route signals properly. &lt;br /&gt;&lt;br /&gt;then it sets a constant of A5. or P9-36 as an input pin. &lt;br /&gt;&lt;br /&gt;It also sets P9-14 PWM pin as an output pin constant. &lt;br /&gt;&lt;br /&gt;It sets the pin mode of our constant output pin. to analog_output. &lt;/p&gt;&lt;p&gt;i am not sure what the set timeout does, but i imagine it delays the program erroring out to hopefully wait for the PWM permissions to activate (which i do not think mine are?) &lt;br /&gt;&lt;br /&gt;then it runs a loop of variable &amp;quot;value&amp;quot; = the analog read of our constant &amp;quot;input pin&amp;quot;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Then the process.stdout.write continually prints the information as the data is being retrieved. then it does inputpin + something + output pin + something + (value variable * 100).toFixed (no idea what that does x 1) + i have no earthly idea. &lt;br /&gt;Then it is supposed to analog write to the output pin, the value it calculated from that formula i do not understand. &lt;br /&gt;I assume the timeout is how long it has to accomplish this before the program errors out of it does not get a result. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please pardon my ignorance on the programming side of things. I specialize in hardware design. Fixtures/jigs/tools/cnc programing. Industrial manufacturing process optimization. And they also have me build custom automated industrial equipment they can not find for sale out here in the R&amp;amp;D lab. &lt;br /&gt;&lt;br /&gt;So far, i have cheated and used an RPI and matlab/simulink/stateflow. &lt;br /&gt;&lt;br /&gt;Now, my goal is to be able to run a touch screen based GUI (still with a physical/hard e-stop) to control this BBAI board. &lt;br /&gt;I have QT design studio, open source, and i am trying to learn how to actually code this and link a touch screen GUI to read and control various pins.&amp;nbsp; So it is finally time for me to learn some proper coding. (any advice or suggestions is always greatly appreciated) &lt;br /&gt;&lt;br /&gt;The end result of this first project will hopefully be a device to semi automate the process of pressure/water testing on some units we produce. I intend to have a differential pressure sensor sending in an analogue signal to do a PID type control of a blower motor to maintain the set PSF of vacuum or pressure. or follow a program. &lt;br /&gt;&lt;br /&gt;While the sensors collect data about temperature/humidity. relative atmospheric pressure vs dynamic test pressure. calculate CFM. and graph these values on some form of chart/report i can export to a local server folder. &lt;br /&gt;&lt;br /&gt;My previous contraptions were all button control panel based looking for GPIO inputs to change the machine behavior. &lt;br /&gt;&lt;br /&gt;Any insight, recommendations, or help with this would be greatly appreciated. I would be happy to assist you guys with any of your hardware design/cad cam/cnc programming/ pcb design and layout needs in return &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-adca0adf-a42b-4735-886c-6f1abe1a8dfe/contentimage_5F00_2516.png:16:16]&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Thank you all very much for your time, and your expertise. And a big shout out to @sean miller for taking the time and effort to put this tutorial together. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Thu, 06 May 2021 16:21:23 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>dianem</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;For anyone having trouble with getting the other four analog inputs to work, I have found a solution. After performing the pinmuxing procedure defined above, the file am5729-beagleboneai.dts defines four subdevices under the STMPE811: ADC, touchscreen, GPIO, and PWM. If you want to use all of the pins for ADC, you can comment out the other three subdevices from that section to allow the STMPE811 pins to be set up as ADC. After changing am5729-beagleboneai.dts you will have to re-make the .dtb, copy it over, and reboot before the change will take effect.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There may be other ways to enable the ADC pins (maybe the order of the subdevice definition matters?), but this worked in my situation.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Vector Display GPU Project</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/vector-display-gpu-project</link><pubDate>Sat, 27 Feb 2021 06:57:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:335f8398-1591-404d-b6c4-61b5fc7c176b</guid><dc:creator>thehermit</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;OMG!!! Ended up here after watching your Music Player w/controls video on YT. Can&amp;#39;t believe what I&amp;#39;ve just seen.&lt;/p&gt;&lt;p&gt;In 1978, I was doing Laserium shows in London, until I went freelance. Throughout the 1980&amp;#39;s, I was developing laser projection systems for exhibitions and touring w/bands. My forte was developing the projection systems and shows, while my partner(s) did the analog, 6502, or 8088 electronics for the control desk.&lt;/p&gt;&lt;p&gt;Initially, we used crude analog quadrature oscillators w/preamp mixers. Then, we wire wrapped 8 bit digital boards, etc. before progressing on to acid etched PCBs. Back then, I was dreaming of animating line graphics via interpolation between sequences, just as you have demonstrated.&lt;/p&gt;&lt;p&gt;Now, I&amp;#39;m retired and becoming a maker, seriously considering building a vector system with some Teensy MCU quad oscillators, inexpensive RGB diode lasers, and an x/y scanning head. With today&amp;#39;s prices and technology, a full color, single head laser projector could be built for &amp;lt;$1000 instead of ~$25,000 back in the day.&lt;/p&gt;&lt;p&gt;Sure wish I had your vector program when I auditioned for Floyd&amp;#39;s Division Bell tour back in 1987. Oh well...&lt;/p&gt;&lt;p&gt;Congratulations on your awesome work. I&amp;#39;ll be back.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7866&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Mon, 17 Aug 2020 15:08:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>lasthorizon</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi There, &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You have in your post a section about installing (making) the tidl_utils library to get access to the tidl model import tool. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am trying to build this repository but hitting loads of problems (paths not defined, fatal errors in bits/c++config.h etc etc.) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a completely clean install of Ubuntu 20.04. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please can someone detail the exact steps they went through to manage to build tidl_utils, including which OS they are on,&amp;nbsp; which version of the OS and the dependencies? &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Many thanks &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Sat, 18 Jul 2020 05:32:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>notthetup</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;As others have said, Thank You for this guide. It&amp;#39;s super helpful. I&amp;#39;ve one question.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Are both pins P9.14 (out-A) and P9.16 (out-B) separately configurable for PWM? What does P9.16 (out-B) get exposed as in Linux?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Sat, 11 Jul 2020 20:17:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>jstumfoll</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;First off, THANK YOU!!! for this guide, extremely helpful. I was able to get my i2c bus working because of the additions to the device tree you provided. I think I&amp;#39;m starting to get the hang of things. I picked up a robotics cape and I&amp;#39;m slowly getting things to work, all of the code was written for the Beaglebone Black and Blue and has required a number of updates to work. One of the big hurdles I&amp;#39;ve run into however is the fact that one of the CPU balls wasn&amp;#39;t connected in the rev 1A design (&lt;a class="jive-link-external-small" href="https://github.com/beagleboard/beaglebone-ai/issues/22" rel="nofollow ugc noopener" target="_blank" title="https://github.com/beagleboard/beaglebone-ai/issues/22"&gt;https://github.com/beagleboard/beaglebone-ai/issues/22&lt;/a&gt; ). This pin is used to control the direction of one of the motors. Looking through the device tree and possible pin mux modes, it looks like that same pin is connected to a PRU which based on the naming convention I believe to be a general purpose output pin.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DRA7XX_CORE_IOPAD(0x3730, PIN_OUTPUT | MUX_MODE13) /* C17: P9.13a: mcasp3_axr1.pr2_pru0_gpo15 - MDIR1B */&amp;nbsp; // mode14 isn&amp;#39;t available on this pin... Could maybe use mode 13? pr2_pru0_gpo15&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;Have you tried to do anything with the PRU firmware, i.e. to use a specific pin as a general purpose output? Any references you may be able to point me to? Thanks!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Fri, 26 Jun 2020 20:44:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>mvduin</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The ADC inputs on other beaglebones are max 1.8V, but on the BBAI they now accept up to 3.3V.&amp;nbsp; The VDD_ADC pin can provide either 1.8V or 3.3V, but it&amp;#39;s configured to provide 1.8V by default to remain backwards-compatible.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Fri, 26 Jun 2020 20:33:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>Jean-Louis</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;excellent document, but there is ambiguity about the name of the power pins on the P9 connector.&lt;/p&gt;&lt;p&gt;On the Beaglebone-AI schematic, pins 5-6 are VDD_CAP_5V and PIN 7-8 are VDD_5V. On the other hand, you noted VDD_5V for pins 5-6 and SYS_5V for pins 7-8, which is a source of error if we refer to the electrical shematic...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Wed, 03 Jun 2020 11:40:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>malavpatel01</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Here i create my custom *.dts file and test all interfaces .if you facing issue regarding any interfaces then please follow below link :&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://github.com/MalavPatel3501/BeagleBone-AI--mpBBAI-IO-Python-Library" rel="nofollow ugc noopener" target="_blank"&gt;https://github.com/MalavPatel3501/BeagleBone-AI--mpBBAI-IO-Python-Library&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In this project you got .dts file and all pin muxing steps. Moreover i puts some example code in this project.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Tue, 02 Jun 2020 22:52:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>silver2row</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am trying to run your .c file for working w/ LEDs and PWM for the BBAI. The .c file compiles but I cannot sway that little LED to light up.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Um, is there a trick I am not getting? I listened to the .dtb overlay stuff and put it in /boot/uEnv.txt.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Seth&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;P.S. Please reply if you can find time. By the way, this is a nice write up of the functions and ideas circulating. Thank you.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Tue, 02 Jun 2020 00:16:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>mvduin</dc:creator><slash:comments>1</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;Note: &lt;/span&gt;&lt;span&gt;the pin IDs shown in the second column are not yet correct as of 10/31/2019.&amp;nbsp; For example, P9.15 is actually 76, not 69.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I&amp;#39;m the author of that spreadsheet. I just double-checked, the value 69 is correct.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;From the BeagleBone-AI schematic: P9.15 connects to the net &amp;quot;AG4_GPIO3_12&amp;quot; which connects to VIN1A_D8 (ball AG4) of the AM572x.&lt;/p&gt;&lt;p&gt;From the AM572x TRM: CTRL_CORE_PAD_VIN1A_D8 is at 0x4A003514, which is byte-offset 0x114 into the pinmux array, i.e. index 0x114/4 = 69.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Are you confusing pin index (used for pinmuxing and as way to uniquely identify a pin with a small integer) with gpio numbers?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Sun, 10 May 2020 13:30:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>-blacksnow-</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thank you very much for that guide, it was really helpful!!!&lt;/p&gt;&lt;p&gt;I have question regarding the pinmuxing. Where is that &amp;quot;magic-number&amp;quot; 0x3400 coming from?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you very much&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Wed, 29 Apr 2020 20:20:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>mtbeagle</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:5517e1b11f91409081f704d23d850071:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; The Beaglebone AI does tolerate 3.3V on the ADC Pins. They supply 1.8 for backwards compatibility with older beaglebones.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;[View:/resized-image/__size/603x301/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-adca0adf-a42b-4735-886c-6f1abe1a8dfe/contentimage_5F00_191817.png:603:301]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The STMPE811QTR can handle 3.3V on the analog in. Just be sure you don&amp;#39;t need backwards compatibility when using 3.3v.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BeagleBone AI Survival Guide V3.18: PWM, I2C, Analog/Digital Read/Write, Vision AI, Video Text Overlays, Audio, &amp;amp; Hardware</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/beaglebone-ai-survival-guide-v3-18-pwm-i2c-analog-digital-read-write-vision-ai-video-text-overlays-audio-hardware</link><pubDate>Wed, 12 Feb 2020 08:12:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:adca0adf-a42b-4735-886c-6f1abe1a8dfe</guid><dc:creator>sung</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;BBAI(Beaglebone AI)&lt;/strong&gt; uart3_txd not working correctly&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi, ALL&lt;/p&gt;&lt;p&gt;I have a problem with setup UART*.&lt;br /&gt;I&amp;#39;m trying to use pins &lt;strong&gt;P9.24&lt;/strong&gt;(uart10_txd) and &lt;strong&gt;P9.26&lt;/strong&gt;(uart10_rxd) as a UART on a BBAI with &lt;span style="text-decoration:underline;"&gt;Debian 4.14.108-ti-r127 &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Also I&amp;#39;ve configured the pins to work as UART by using &lt;strong&gt;&amp;quot;sudo /opt/scripts/device/bone/show-pins.pl | sort&amp;quot;&lt;/strong&gt;&lt;br /&gt;Sadly it does not work properly for &lt;strong&gt;Tx pins&lt;/strong&gt;, from my testing.&lt;/p&gt;&lt;p&gt;I do not know the correct way to set the pins. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;*** P9.24(uart10_txd)&amp;nbsp; : &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;not working!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;*** P9.26(uart10_rxd)&amp;nbsp; :&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt; working.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried other UARTs also but no luck. Any help please ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;01) &lt;strong&gt;debian@beaglebone:~$ cat /etc/dogtag&lt;/strong&gt;&lt;br /&gt;BeagleBoard.org Debian Image 2019-12-01&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;02) &lt;strong&gt;debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh&lt;/strong&gt;&lt;br /&gt;git:/opt/scripts/:[e457c010efc76c4e6fecccb7a5f7ff9b0597c4c0]&lt;br /&gt;model:[BeagleBoard.org_BeagleBone_AI]&lt;br /&gt;dogtag:[BeagleBoard.org Debian Image 2019-12-01]&lt;br /&gt;UBOOT: Booted Device-Tree:[am5729-custom.dts]&lt;br /&gt;kernel:[4.14.108-ti-r127]&lt;br /&gt;nodejs:[v6.17.0]&lt;br /&gt;device-tree-override:[&amp;nbsp; dtb=am5729-custom.dtb]&lt;br /&gt;/boot/uEnv.txt Settings:&lt;br /&gt;pkg check: to individually upgrade run: [sudo apt install --only-upgrade &amp;lt;pkg&amp;gt;]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;03) &lt;strong&gt;debian@beaglebone:~$ sudo vi /boot/uEnv.txt&lt;/strong&gt;&lt;br /&gt;&lt;span&gt;#Docs: &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0" rel="nofollow ugc noopener" target="_blank"&gt;http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0&lt;/a&gt;&lt;br /&gt;uname_r=4.14.108-ti-r127&lt;/p&gt;&lt;p&gt;#uuid=&lt;br /&gt;&amp;nbsp; dtb=&lt;strong&gt;am5729-custom.dtb&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;#In the event of edid real failures, uncomment this next line:&lt;br /&gt;#cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;#Use an overlayfs on top of a read-only root filesystem:&lt;br /&gt;#cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet overlayroot=tmpfs&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;##enable x15: eMMC Flasher:&lt;br /&gt;##make sure, these tools are installed: dosfstools rsync&lt;br /&gt; #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-no-eeprom.sh&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;04) &lt;strong&gt;debian@beaglebone:/home$ ls /boot/dtbs&lt;/strong&gt;&lt;br /&gt;4.14.108-ti-r127&amp;nbsp; &lt;strong&gt;am5729-custom.dtb&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;05)&lt;strong&gt; debian@beaglebone:/home$ sudo /opt/scripts/device/bone/show-pins.pl | sort&lt;/strong&gt;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;P9.24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt; 163&amp;nbsp; F20 3 fast&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uart10_txd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serial@4ae2b000 (uart10)&lt;br /&gt;P9.25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 165&amp;nbsp; D18 e fast rx down gpio6_17&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;P9.26a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt; 162&amp;nbsp; E21 3 fast rx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uart10_rxd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serial@4ae2b000 (uart10)&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;P9.26b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt; 81&amp;nbsp; AE2 f fast rx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Driver off&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serial@4ae2b000 (uart10)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;06) &lt;strong&gt;am5729-custom.dtb&lt;/strong&gt;&lt;br /&gt;#include &amp;quot;am5729-beagleboneai.dts&amp;quot;&lt;br /&gt;// make it easy to determine which dtb you&amp;#39;re currently running on&lt;br /&gt;// (via /proc/device-tree/chosen/)&lt;br /&gt;/ {&lt;br /&gt; chosen {&lt;br /&gt;&amp;nbsp;&amp;nbsp; base_dtb = &amp;quot;am5729-custom.dts&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; base_dtb_timestamp = __TIMESTAMP__;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;&lt;p&gt;&lt;br /&gt;// eventually these should be available in a header&lt;/p&gt;&lt;p&gt;&lt;strong&gt;//UART1&lt;/strong&gt;&lt;br /&gt;#define P9_24 (0x3400 + 4 * 163)&amp;nbsp;&amp;nbsp;&amp;nbsp; // uart10 txd (0x368C)&lt;br /&gt;#define P9_26a (0x3400 + 4 * 162)&amp;nbsp; // uart10 rxd (0x3688)&lt;br /&gt;#define P9_26b (0x3400 + 4 * 81)&amp;nbsp;&amp;nbsp; // (shared pin) (0x3544)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;// enable uart10 on P9.24 (uart10_txd) + P9.26a (uart10_rxd)&lt;br /&gt;&amp;amp;uart10 {&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; // clock-frequency = &amp;lt;400000&amp;gt;;&lt;br /&gt; pinctrl-names = &amp;quot;default&amp;quot;;&lt;br /&gt; pinctrl-0 = &amp;lt;&amp;amp;uart10_pins&amp;gt;;&lt;br /&gt;};&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;amp;dra7_pmx_core {&lt;br /&gt; uart10_pins: uart10 {&lt;br /&gt;&amp;nbsp;&amp;nbsp; pinctrl-single,pins = &amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DRA7XX_CORE_IOPAD( P9_24,&amp;nbsp; PIN_OUTPUT&amp;nbsp;&amp;nbsp;&amp;nbsp; | MUX_MODE3&amp;nbsp;&amp;nbsp; )&amp;nbsp; // uart10_txd &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DRA7XX_CORE_IOPAD( P9_26a, PIN_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MUX_MODE3&amp;nbsp; )&amp;nbsp;&amp;nbsp; // uart10_rxd&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DRA7XX_CORE_IOPAD( P9_26b, PIN_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MUX_MODE15 )&amp;nbsp; // (shared pin)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;gt;;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;// Here&amp;#39;s the obnoxious part: since u-boot doesn&amp;#39;t have same pin defaults yet, all pins not&lt;br /&gt;// explicitly setup above should be overridden here.&amp;nbsp;&amp;nbsp; This will eventually no longer be needed.&lt;br /&gt;&amp;amp;cape_pins_default {&lt;br /&gt; pinctrl-single,pins = &amp;lt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; ...............................................................................................................................................................&lt;br /&gt;&amp;nbsp;&amp;nbsp; DRA7XX_CORE_IOPAD( 0x37B4, PIN_INPUT_PULLUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MUX_MODE14 )&amp;nbsp;&amp;nbsp; // P9.23&lt;br /&gt;&amp;nbsp;&amp;nbsp; //&amp;nbsp; *DRA7XX_CORE_IOPAD( 0x368C, PIN_INPUT_PULLUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MUX_MODE14 ) // P9.24&amp;nbsp;&amp;nbsp; uart10_txd &lt;br /&gt;&amp;nbsp;&amp;nbsp; DRA7XX_CORE_IOPAD( 0x3694, PIN_INPUT_PULLDOWN&amp;nbsp;&amp;nbsp; | MUX_MODE14 )&amp;nbsp;&amp;nbsp; // P9.25&lt;br /&gt;&amp;nbsp;&amp;nbsp; //&amp;nbsp; *DRA7XX_CORE_IOPAD( 0x3688, PIN_INPUT_PULLUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MUX_MODE14 ) // P9.26a&amp;nbsp; uart10_rxd&lt;br /&gt;&amp;nbsp;&amp;nbsp; //&amp;nbsp; *DRA7XX_CORE_IOPAD( 0x3544, PIN_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | MUX_MODE14 )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // P9.26b (shared pin)&lt;br /&gt;&amp;nbsp;&amp;nbsp; ...............................................................................................................................................................&lt;br /&gt; &amp;gt;;&lt;br /&gt;};&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you for your time.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Sung.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8047&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>