**** BEGIN LOGGING AT Tue Oct 11 02:59:57 2022 Oct 11 03:53:36 @zmatt: Look at a photo of me being called a dog by a webcam and some source on the forums! Oct 11 03:53:50 I just posted it to let people know it WORKS! Oct 11 04:42:15 does anyone have electrical schematics for this cape? looking to write a custom dtb overlay for it for entertainment reasons and can't find any real documentation on it. Oct 11 04:42:15 https://community.element14.com/products/devtools/product-pages/w/documents/22073/wireless-connectivity-cape-for-beaglebone-black Oct 11 05:50:23 I do not. Oct 11 08:12:19 Hi, hope all are doing well. Oct 11 08:12:20 I was trying to configure Device Tree for BBAI in order to get SPI and ADC working. Can anyone help me in this regard? Oct 11 08:21:31 I saw /dev/bone/spi/ working before today. Oct 11 08:21:49 And...ADC should, or normally, just is open for use. Oct 11 08:29:03 I have flashed v10.10 iot Oct 11 08:29:03 By default, it did not had SPIDEV present in /dev I added two overlays "BONE-SPI0_0"  "BONE-SPI1_0" to get it working. Oct 11 08:29:04 Then I removed it from uEnv.txt and added a dts shared by Miller over here 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 Oct 11 08:29:29 Oh. Oct 11 08:29:53 I used an updated kernel, 5.10.x, on one of the BSP images from bbb.io. Oct 11 08:30:15 The file, /dev/bone/spi/, was able to be used. Let me get a link... Oct 11 08:30:57 If you scroll down to SPI at https://elinux.org/Beagleboard:BeagleBone_cape_interface_spec, there are some entries for the BBAI. Oct 11 08:32:40 brb Oct 11 08:34:44 I am using the DTS overlays mentioned in the link you shared and are working fine. The issue is I am unable to get SPI and ADC to work at the same time. Oct 11 08:37:24 Oh. Oct 11 08:37:51 Let me go read some more. Oct 11 08:38:25 For ADC to work, I have to use the DTS file shared in the element14 community link that I shared earlier. Oct 11 08:38:51 And if I use both at the same time, the OS doesn't boot. Oct 11 08:39:25 Right. Oct 11 08:39:39 I have had trouble w/ .dts files making the board not boot. Oct 11 08:40:25 On that link I showed you, it seems that the AI needs an external STMPE811. I am not quite sure what exactly that is right now. Oct 11 08:40:32 I will read about it, please hold. Oct 11 08:41:27 It's a touchscreen controller that has a built-in ADC and it is already present on the board. Oct 11 08:41:36 So, maybe the SPI handles this chip for ADC. Oct 11 08:41:40 Hmm. Oct 11 08:41:45 Okay, off to read more. Oct 11 08:43:42 Well, I think that if this is true, if the SPI handles the STMPE811, then other things need to take place in the .dts file. Oct 11 08:45:07 oh he left Oct 11 08:45:10 Okay, so. For SPI 0.x, you will need two .dts files to use the /dev/bone/spi/0.0... Oct 11 08:45:11 Oh. Oct 11 08:45:23 Oh...yep. Oct 11 08:45:36 Guest41 must not to work w/ others? Oct 11 08:45:45 not to = not like to Oct 11 08:46:17 @zmatt: Have you used edgeai-tidl-tools yet for the BBAI-64? Oct 11 08:46:33 I don't have an AI-64 Oct 11 08:46:39 It is some perplexing, vast lib. that builds all sorts of things. Oct 11 08:46:51 I cannot get it to fully build yet. Oct 11 08:46:52 (yet) Oct 11 08:46:55 Yet! Oct 11 08:47:06 I can send you one? Oct 11 08:47:51 Secrets! The USPS people will never know! Oct 11 08:47:55 Ha. Oct 11 09:04:00 Found anything? Oct 11 09:12:27 hmm, do the new bullseye images support cape-universal on bbai? Oct 11 09:15:19 Guest41: it's certainly worth trying a bullseye image ( https://forum.beagleboard.org/t/debian-11-x-bullseye-monthly-snapshots/31280 ) to see if adc works out of the box there Oct 11 09:15:23 Haven't tried that. I am using buster (v10.10) and not bullseye. Oct 11 09:15:53 I installed it but it was heating up my device rapidly. Oct 11 09:16:40 yeah people do have a lot of overheating issues with the bbai Oct 11 09:19:41 maybe it should have been designed with a humongous heatsink like the bbai-64 has ;) https://git.beagleboard.org/beagleboard/beaglebone-ai-64/-/blob/main/doc/SRM/images/45-back-heatsink.png Oct 11 09:20:02 Me? Fan, use the fancape. Oct 11 09:20:11 Or...a usb fan. Oct 11 09:21:21 Guest41: but in general overlays and especially combining multiple overlays doesn't really work properly on old systems on the bbai, it kinda needs a single overlay with all your customizations (or an entirely custom dtb) Oct 11 09:22:32 Oh okay. Will try it then. Oct 11 09:22:33 that's why the page you linked uses a custom dts Oct 11 09:22:59 Guest41: here's an spi example for the bbai: https://pastebin.com/iXbGGtzz Oct 11 09:23:13 Thank you for your time bro. Take care! Oct 11 09:23:55 with hopefully useful comments to explain what's going on Oct 11 10:17:17 Nice! Oct 12 02:21:18 Hey! Oct 12 02:21:22 I am back. Oct 12 02:21:42 Phew, the system kept kicking me for whatever reason. Over and over. Oct 12 02:22:09 Are the servers going through updates? Oct 12 02:23:10 was I being abusive or something? Oct 12 02:23:40 Wait. I did not even say anything! **** ENDING LOGGING AT Wed Oct 12 02:59:57 2022