**** BEGIN LOGGING AT Fri Feb 14 02:59:59 2020 Feb 14 05:11:21 Hey! I found some source dedicated to the pca9685 and it is not in .c files w/ tons of preprocessor directives. Feb 14 05:11:26 ... Feb 14 05:11:38 There is also a firmware for it on the kernel we use for the BBB. Feb 14 08:51:11 30 seconds of googling also yielded two python libraries for it Feb 14 08:52:16 one by adafruit, which should probably have adafruit_i2c swapped out for smbus2 (same as I did for the motor bridge cape), but is otherwise probably fine Feb 14 08:55:13 and yeah it unsurprisingly also has a kernel driver, though people are often more comfortable talking to i2c chips directly from userspace than setting up a DT fragment to get the kernel driver working and suitable udev rules to get the pwms exported, create symlinks (so you can find them), and setup permissions (so you can use them as normal debian user) Feb 14 08:57:12 controlling tha pca9685 directly from python (using smbus2) would probably require less code than the combined number of lines of DT source and udev rules to use the kernel driver Feb 14 08:57:31 so how's that python tutorial coming along? Feb 14 09:57:28 hello Feb 14 09:58:11 i am transferring data using but i am unable to receive it Feb 14 09:58:30 using... ? Feb 14 09:58:57 beagle bone ai Feb 14 09:59:32 that problem description is so incredibly vague that noone can possibly say anything useful about it. what do you mean "transferring data" ? Feb 14 10:00:47 transferring a file of 5000 bytes dividing it into 100 bytes. i wrote a code but unable to receive it. Feb 14 10:02:13 created a local network. created a loop sending a file and it should receive Feb 14 10:02:55 ah you're talking about networking. in that case beaglebones are just linux systems, so you question is not beaglebone-specific. networking works the same as on any other linux system Feb 14 10:03:11 so presumably it's just a problem with your code Feb 14 10:04:22 (assuming they do have a working network connection, but typically you'd log in on a beaglebone via network so if it didn't have a working network connection, you wouldn't be able to log in) Feb 14 10:04:37 i think there is no issue with code. it worked few times and after that the problem occured Feb 14 10:05:24 i am able to login to the beaglebone using ssh from my linux terminal Feb 14 10:05:39 then networking works, hence the problem is in your code Feb 14 10:05:51 should i install any drivers for beaglebone. Feb 14 10:05:54 nope Feb 14 10:06:07 especially not since you've just confirmed that networking works Feb 14 10:06:22 yeah. Feb 14 10:07:31 here, i am only using one device. created a loop for the device. opening two terminals and from one terminal sending the data and from other receiving the data. Feb 14 10:07:40 what do you mean "created a loop" ? Feb 14 10:07:45 what do you mean "device" ? Feb 14 10:07:53 wait, you're not talking about networking Feb 14 10:08:04 beagle bone is not a device.. Feb 14 10:08:05 earlier you said "created a local network" Feb 14 10:08:20 but this sounds more like you're describing a serial connection Feb 14 10:08:31 connected the beaglebone to my LAN cable. Feb 14 10:08:44 oh wait now I get it Feb 14 10:09:01 still, what do you mean by "created a loop" ? Feb 14 10:10:20 created a loop: it means that data or file transferred from the beaglebone is received by the same beaglebone by connecting wires Feb 14 10:10:28 by connecting what wires? Feb 14 10:12:56 it makes no sense to make a LAN connection from a device to itself. two programs on the same device can already communicate via networking, no physical loop required. not to mention the beaglebone only has 1 ethernet port so you can't make any loop Feb 14 10:12:57 data transferring Feb 14 10:13:14 WHAT WIRES Feb 14 10:13:31 I still have absolutely no idea what you're even trying to do Feb 14 10:14:37 if you cannot explain what you are doing, noone can possibly help you Feb 14 10:14:56 one minute i will explain it. Feb 14 10:37:40 okay then Feb 14 15:49:51 m Feb 14 16:57:02 The python tutorials are coming along just fine. I will update soon on other items of interest. bbl! Feb 14 18:51:00 morning Krem BBL = Be Back Lazier? oh Later... :D Feb 15 00:25:00 Having trouble setting up USB connection to BBB. JTAG serial is OK Feb 15 00:28:09 Am running on a Windows 10 19.09 laptop Feb 15 01:15:06 Friday Fun Day? Feb 15 02:01:30 alive so to speak? Feb 15 02:34:21 Yep. Feb 15 02:34:53 I am messing w/ this pca9685 and it is getting me all shook up, i.e. a huh, huh. Feb 15 02:54:56 GenTooMan: I am just goofing w/ some libraries and some already put-together source. Nothing is working. yea! Feb 15 02:55:13 Hahhaah. Anyway, the Cape is at fault. Tell @zmatt, it is not me! Feb 15 02:55:14 Ha. **** ENDING LOGGING AT Sat Feb 15 02:59:57 2020