**** BEGIN LOGGING AT Mon Jan 30 03:00:01 2017 Jan 30 07:06:12 hi at all Jan 30 09:52:02 hi all Jan 30 11:09:44 zmatt: I checked the issue to the fifo count, and it was a bug in my code. Now, fifo count and the arm-pru samples communication is working fine; I also made a raw protocol to include more samples and details in such messages. However, I am really going crazy on samples value... I cannot find any logic in them. If I put my channel (i.e. AINx) to Vssa (i.e. ADC ground), adc value is not near 0; it is the same when channel is put to Vcca Jan 30 11:10:13 I also checked TRM and your code to figure something out, but i was not successful Jan 30 11:16:51 first of all, would you confirm that adc values go from 0 to 4096? Jan 30 11:35:20 lore4: 0-4096 sounds wrong, 0-4095 sounds more likely Jan 30 11:37:42 KotH, yep, i misswrote, sorry ;) Jan 30 11:38:21 additionally, if I put ain5 to Vcca, the beaglebone power off O.o Jan 30 11:38:52 (Vcca is ADC Vcc which is 1.8V) Jan 30 12:53:04 lore4_lunch: check the max ratings for ain*, could be that they are not allowed to reach Vcca Jan 30 13:00:37 from TRM and specs abroad the web it is wrote that 1.8V is the max Jan 30 13:01:11 KotH, 1.8 is the limit which should not be passed Jan 30 13:02:50 quoting what wrote in SRM "7 AIN (1.8V MAX)" Jan 30 13:02:58 lore4: max or absolute max? Jan 30 13:03:27 lore4: if it's absolute max, then a little bit of noise will make ain* pass over Vcca Jan 30 13:04:15 the power off issue is only on the AIN5, dunno why... others AINs work without any issue on Vcca Jan 30 13:52:33 tlab: Did you get a response from the towertech guys? Jan 30 14:00:27 lore4: yes, see also my header which comments on value ranges Jan 30 14:00:50 KotH: max, not abs max Jan 30 14:01:38 abs max is probably 2.0V, same as everything other than 3.3V I/O Jan 30 14:02:39 vdd_adc is also tied to the vref+ (and vref- is tied to gnd_adc) Jan 30 14:04:37 zmatt: thank you, so it is confirmed from 0x000 to 0xfff Jan 30 14:07:07 when I put my AINx pin to Vssa in single-ended I get odd values != from 0-ish. Jan 30 14:08:26 I also tryed to put inp and inm to the same AINx, and AINx to Vssa. I expected a 0, but I got a 2048-ish Jan 30 14:20:29 if inp==inm and differential is enabled then 2048-ish is exactly what I'd expect Jan 30 14:21:46 inm is irrelevant in single-ended mode... I assume Jan 30 14:28:50 zmatt, then if inp= 0.22V, inm=gnd_adc and differential is enabled, then which value whould you expect? I would expect a value of 2048 + 0.22/1.8 * 4096 Jan 30 14:29:08 am I right? Jan 30 14:32:49 brb phone Jan 30 14:34:30 no prob ;) Jan 30 15:01:52 has anyone successfully used the bbb for rs485 communication? Jan 30 15:02:03 i'm a little puzzled how to set it up correctly. Jan 30 15:02:42 sorry sgflt, I have not any experience in that : \ Jan 30 15:04:25 guess that means back to google =) Jan 30 15:04:48 meanwhile, you could also see if anyone over here has some experience in that Jan 30 15:09:18 hi there channel :-) Jan 30 15:10:24 zmatt, good afternoon, are you free for two minutes please? Jan 30 15:12:52 zmatt, https://rcn-ee.net/ is that the place to get the image for 2GB eMMC rev. A5C? Jan 30 15:17:56 zmatt, you said the other day "I just noticed rcn-ee even releases 2gb lxqt images again, if for some obscure reason you want a desktop environment on your bbb" Jan 30 15:18:09 hi dury Jan 30 15:18:52 lore4, hi there :-) Jan 30 15:20:26 lore4, what's up over there, then? Jan 30 15:21:13 dury, same old... I am struggling for ADC : \ Jan 30 15:21:33 what about you? Jan 30 15:22:03 lore4, you mean rev. A5C ? Jan 30 15:23:26 no he means the ADC Jan 30 15:24:31 anyway.... gessss zmat, good afternoon... how is it going over there? Jan 30 15:25:15 lore4: 2048 * (1 + 0.22/1.8) Jan 30 15:25:47 trying to get sgx to work Jan 30 15:26:16 so ADC it's even older than A5C, isn't it? Jan 30 15:26:25 unfortunately the new drivers aren't quite polished yet for am335x Jan 30 15:26:30 dury: ADC as in A/D Converter Jan 30 15:26:45 sorry Jan 30 15:27:27 (with "not polished" I mean compile errors of course) Jan 30 15:29:22 zmatt, what's the url to get 2gb lxqt image for my rev. A5C? Jan 30 15:32:20 dury: http://lmgtfy.com/?q=beaglebone+debian+lxqt-2gb Jan 30 15:33:44 zmatt: mumble... that's strange as I get 1630-ish : \ Jan 30 15:38:11 zmatt, I thought it was 2gb lxqt debian jessie, All it's wheezy though :\ Jan 30 15:39:28 what's rcn-ee, then Jan 30 15:41:07 official https://beagleboard.org/latest-images not 2gb lxqt based on jessie just wheezy Jan 30 15:45:09 dury: oh, did I look wrong? Jan 30 15:45:20 my purpose it's flash 2gb eMMC with jessie + lxqt desktop I think it's impossible... Jan 30 15:45:57 dury: you're getting a different top link than I do apparently? Jan 30 15:46:25 since google pointed by straight to the right section of http://elinux.org/Beagleboard:BeagleBoneBlack_Debian Jan 30 15:46:56 *pointed me Jan 30 15:48:44 or what I've heard is "flash eMMC without X and mount the X in SD /home" something like that, not sure Jan 30 15:49:24 there are official 2gb lxqt jessie images Jan 30 15:49:38 that's what I said originally, and I just reconfirmed that they are in fact jessie Jan 30 15:49:45 they're also the first google hit I get Jan 30 15:52:14 is it that one http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#microSD.2FStandalone:_.28lxqt-2gb.29_.28All_BeagleBone_Variants.29 Jan 30 15:53:17 yes, although it's a standalone version so you need to change it into a flasher by editing uEnv.txt Jan 30 15:55:50 so click where it says "wget https://rcn-ee.com/rootfs/bb.org/testing/2017-01-29/lxqt-2gb/bone-debian-8.7-lxqt-2gb-armhf-2017-01-29-2gb.img.xz" Jan 30 15:57:05 is this the first time you've flashed anything? Jan 30 15:57:24 yeap Jan 30 15:57:47 ok, note that it also gives a link to a multi-platform GUI app for it Jan 30 15:58:27 lore4: try measuring input 7 Jan 30 15:59:57 lore4: also, you may want to configure adequate sampling time Jan 30 16:00:20 especially if the input signal isn't very strong Jan 30 16:00:25 zmatt, already download "bone-debian-8.7-lxqt-2gb-armhf-2017-01-29-2gb.img.xz" Jan 30 16:00:54 dury: which is the right image Jan 30 16:01:36 I was just mentioning there's a gui app for flashing that onto card... dunno if it has merit, but it probably exists for a reason Jan 30 16:03:02 zmatt, all right, now you said that I need to change it into a flasher by editing uEnv.txt. is that right? Jan 30 16:03:47 yeah, after flashing the image to card. you can also just boot from card to see if it works okay but it will probably run faster from eMMC Jan 30 16:03:49 zmatt: I tryed to measure input 7 expecting to be 0-ish but it was not. It is 3850-ish... : \ Jan 30 16:03:50 actually Jan 30 16:03:57 lore4: it's not 0-ish Jan 30 16:04:12 dury: actually it probably needs to be modified before booting from card, maybe Jan 30 16:05:21 zmatt: why it should not be 0-ish? We checked the eletric schematics and it is connected to gna adc with a 0Ohm (r164 if I recall correctly) resistor Jan 30 16:05:46 while r163 (up resistor) was specified as "not installed" Jan 30 16:05:56 lore4: eh, last time I checked it measured the 3.3v via a voltage divider Jan 30 16:06:40 3850 seems consistent with measuring 3.3v/2 Jan 30 16:07:01 (slightly too high, so I'm guessing it's pulled up to vdd_3v3b rather than vdd_3v3a ?) Jan 30 16:07:46 anyway, I'm afk for a bit, bbl Jan 30 16:08:09 don't worry, take your time. I'll double check the schematic Jan 30 16:08:41 need to go other task to cover, next step flash that image in a sd card. how big should sd card be? Jan 30 16:09:24 4 GB sd card or just 2 GB? Jan 30 16:17:46 zmatt, how big the sd-card should be for that image, 2gb, 4gb? Jan 30 16:18:05 I think 2gb though Jan 30 16:23:34 bbl Jan 30 16:23:52 be back later Jan 30 16:32:53 anything big enough to hold the image Jan 30 16:41:19 zmatt: ok, it seems that it was the hdmi gnd which was looping Jan 30 16:41:36 lore4: eh ? Jan 30 16:42:17 where was the hdmi plugged which was introducing big disturbs Jan 30 16:42:26 400mv peak to peak Jan 30 16:42:38 on vcc adc and gnd adc Jan 30 16:42:41 dunno why Jan 30 16:42:50 compared to what? Jan 30 16:43:08 gnd adc should be your measurement ground for this Jan 30 16:43:56 the oscilloscope was getting disturbs on the input Jan 30 16:44:27 i.e. you created a ground loop through the scope Jan 30 16:44:50 ? Jan 30 16:45:10 then we tought that it was the psu... after changing it the disturbs were still there... then we noticed it was the hdmi.. now that hdmi is unplugged it the disturbs on adc are 140mV Jan 30 16:45:43 uhm... zmatt, what do you mean? Jan 30 16:46:40 but you said you saw disturbances on gnd adc, but the beaglebone should be grounded to the scope (through the ground leads on probes typically) so that doesn't make much sense Jan 30 16:48:09 to be honest, I do not have much experience in the electrical part... the one that said that is my collegue :) Jan 30 16:48:12 (but if you then plug in HDMI then you probably have a ground loop) Jan 30 16:48:14 who went home Jan 30 16:48:47 that's what he said... and as far as I understood :) Jan 30 16:48:53 but for me, that is magic :D Jan 30 16:49:12 <--- SW eng. Jan 30 16:49:16 :P Jan 30 16:49:45 you're working on an embedded system, you're also a bit HW engineer now whether you want to or not ;) Jan 30 16:50:09 let's say that i pretend to be a bit a HW eng. :P Jan 30 16:50:30 btw, I got to go now : \ Jan 30 16:50:37 e.g. the appropriate sampling time to configure depends on the impedance of the source Jan 30 16:50:43 O.O Jan 30 16:50:51 which isn't helpful if you don't know what that means :) Jan 30 16:50:52 T.T Jan 30 16:51:06 sorry Jan 30 16:51:28 (btw, do NOT connect very low impedance analog signals directly to adc inputs) Jan 30 16:51:40 (include some series resistance, see am335x errata for details) Jan 30 16:51:41 for now there is only a trimmer Jan 30 16:51:57 Has anyone run in to issues where udhcpd receives SIGTERM shortly after the beagleboard boots up? When it exits, it causes the DHCP connection of my host to loose its IP address Jan 30 16:52:22 roger that! ty, I make a note on that Jan 30 16:53:13 and basically, the adc has internal capacitors that need to be charged to the analog input voltage you supply, that's the "sampling" part of the measurement Jan 30 16:53:53 if your analog signal can only source/sink a small amount of current (e.g. large series resistance) then it takes more time to charge those internal caps Jan 30 16:53:54 uhm... I'll let my colleague read these notes Jan 30 16:54:18 the there is an inertia? Jan 30 16:54:22 *then Jan 30 16:54:25 formula is conveniently given in the workaround/discussion section of aforementioned erratum Jan 30 16:54:43 lore4: you know what a capacitor does? Jan 30 16:55:16 zmatt: now, I would say yes :) Jan 30 16:55:48 how fast a cap charges/discharges depends on size of cap and on amount of current Jan 30 16:56:56 hence, as the amount of current is small, then it takes more time. right? Jan 30 16:57:06 yes Jan 30 16:57:12 so the sampling time should be reduced? Jan 30 16:57:24 *, right? Jan 30 16:57:26 ... increased Jan 30 16:57:41 increased the time, reduced the frequency Jan 30 16:57:45 right? Jan 30 16:58:02 when adc begins with a step, it connects the AIN pin to the internal capacitors Jan 30 16:58:24 then these should be given enough time to equalize with the voltage you're trying to measure Jan 30 16:58:44 that's the sampling time Jan 30 16:59:09 then it will disconnect the AIN pin and internally perform the conversion (details not relevant) Jan 30 17:00:18 uhm.. basing on the level that the capacitor reached? Jan 30 17:00:48 the conversion is based on the level that the capacitor reached, right? Jan 30 17:04:16 gtg, thanks zmatt! see you tomorrow Jan 30 17:04:22 bye at all Jan 30 21:46:39 laurittr, yeah this is what I got: it seems that your board was part of a batch with a different irq assignment. Jan 30 21:47:27 This is all I got, no more information blah. I don't think I'm going to mess with this board anymore. They aren't even using the mainline. Jan 30 22:37:17 hello all. I'm working with a beagleboard x15 module and I would like to know if there is a mechanism to display an image logo or the text console on an HDMI display connected to the device. Any help would be appreciated. Jan 31 00:17:09 raffo: you mean like plymouth? Jan 31 00:54:45 hi Jan 31 00:55:01 do you know about WD wifi hardrives ? Jan 31 00:55:11 SoC is similar to bone Jan 31 00:56:34 "am335x_evm" Jan 31 01:36:57 help! image on sd works readable ect not connecting to bbwebsite **** ENDING LOGGING AT Tue Jan 31 03:00:01 2017