[beagleboard] Re: Flir Lepton 3 and I2C

2018-04-16 Thread Davide Aguiari
to be necessary, or > just changing the I2C bus in the bbb_I2C.c file? > > On Monday, December 18, 2017 at 2:46:35 AM UTC-5, Davide Aguiari wrote: >> >> I solved this problem by editing >> Lepton3_BBB/grabber_lib/Lepton_SDK/src/bbb_I2C.c >> (or rasp_I2C.c) where it

[beagleboard] Re: Flir Lepton 3 and I2C

2017-12-17 Thread Davide Aguiari
I solved this problem by editing Lepton3_BBB/grabber_lib/Lepton_SDK/src/bbb_I2C.c (or rasp_I2C.c) where it uses open("/dev/i2c-2 ) instead of libmpsse. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups

[beagleboard] Re: i2c bus speed

2017-12-16 Thread Davide Aguiari
Following your example I'm trying to set 400KHz on my i2c-1 too. I have a Beaglebone Black WIRELESS that loads am335x-boneblack-uboot.dtb as overlay. UBOOT: https://pastebin.com/hA4RbNUm 1) Decompilation: dtc -I dtb -O dts -o am335x-boneblack-uboot.dts am335x-boneblack-uboot.dtb 2) Actually my

[beagleboard] Re: Flir Lepton 3 and I2C

2017-12-16 Thread Davide Aguiari
Actually seems that the mCciPort (first parameter in LEP_OpenPort) doesn't stand for the I2C bus but for a user-defined id number for the camera. So actually the problem moves to "How do tell the SDK to read from I2C-2 instead of I2C-1"? The SDK uses libmpsse, I think. In order to test the prob

[beagleboard] Flir Lepton 3 and I2C

2017-12-15 Thread Davide Aguiari
I'm dealing with a thermal camera FLIR Lepton3. I made it work with SPI0 but I'm facing some problems with I2C port. I plugged my breakout board SDA/SCL to pins P9.20 and P9.19. In the code there is LEP_OpenPort( mCciPort, LEP_CCI_TWI, 400, &mCciConnPort ) and CCI supposed to be I2C. Actually the

Re: [beagleboard] Re: Invalid mode: spi

2017-12-15 Thread Davide Aguiari
Hi Robert, thank you. A couple of questions: 1) What about i2c then? Doesn't need to set it with config-pin? 2) Where can I keep me updated about this changes? Is there a webpage? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] Re: Invalid mode: spi

2017-12-15 Thread Davide Aguiari
Dmesg: https://pastebin.com/DrxsAt5T -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsub

[beagleboard] Re: Invalid mode: spi

2017-12-15 Thread Davide Aguiari
I upgraded kernel/system but still I cannot config-pin. debian@beaglebone:~$ config-pin P9.28 spi Invalid mode: spi debian@beaglebone:~$ config-pin P9.29 spi debian@beaglebone:~$ config-pin P9.31 spi Invalid mode: spi debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh [sudo] password for d

[beagleboard] Re: Invalid mode: spi

2017-11-22 Thread Davide Aguiari
Hi! No, sorry. I restored an old image and I'm not upgrading. If you eventually solve this, please let me know. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this

[beagleboard] Re: Invalid mode: spi

2017-11-18 Thread Davide Aguiari
Even i2c pins stopped. debian@beaglebone:~$ config-pin P9.19 i2c P9_19 pinmux file not found! Pin has no cape: P9_19 debian@beaglebone:~$ config-pin P9.20 i2c P9_20 pinmux file not found! Pin has no cape: P9_20 -- For more options, visit http://beagleboard.org/discuss --- You received this me

[beagleboard] Invalid mode: spi

2017-11-18 Thread Davide Aguiari
SPI1 used to work. Update/Upgraded my BBBW. debian@beaglebone:~/pylepton$ uname -a Linux beaglebone 4.4.88-ti-r125 #1 SMP Thu Sep 21 19:23:24 UTC 2017 armv7l GNU/Linux Trying to use SPI1 but config-pin returns "Invalid mode: spi" For example: debian@beaglebone:~/pylepton$ config-pin P9.28 spi

[beagleboard] How to change I2C speed

2017-05-10 Thread Davide Aguiari
*Board*: BBBW *Kernel*: Linux beaglebone 4.4.54-ti-r93 #1 SMP Fri Mar 17 13:08:22 UTC 2017 armv7l GNU/Linux I need to test different I2C-2 speed. How to change it? I can't find any recent instruction about it. Thank you :) -- For more options, visit http://beagleboard.org/discuss --- You re

Re: [beagleboard] Deep sleep & wake through GPIO and RTC

2017-05-03 Thread Davide Aguiari
e wakeup working on a 4.4.x kernel, but will post an > update when I figure it out. > > Davide -- have you have any luck since posting this question? > > > On Thursday, February 16, 2017 at 3:11:56 PM UTC-5, William Hermans wrote: >> >> >> >> On Thu, Feb 16, 20

[beagleboard] Re: Seed Grove MiCS-6814 and Python

2017-03-31 Thread Davide Aguiari
> > Hi any luck with this ? I'm also trying to get to work on BB > > On Tuesday, 7 March 2017 20:15:11 UTC+4, Davide Aguiari wrote: >> >> Hi everyone. >> I'm trying to read my Seed Grove Multichannel gas sensor. ( >> http://wiki.seeed.cc/Grove-Multichann

[beagleboard] Seed Grove MiCS-6814 and Python

2017-03-07 Thread Davide Aguiari
Hi everyone. I'm trying to read my Seed Grove Multichannel gas sensor. (http://wiki.seeed.cc/Grove-Multichannel_Gas_Sensor/) I now, in the webpage the're a red X on Beaglebone, but I thought It was due to lack of python library. So I started coding from the Arduino cpp library (that works): h

Re: [beagleboard] BBGW wlan0 setup: wlan0/softAp0 missing and can't connect

2017-02-22 Thread Davide Aguiari
The wifi problem *is still* present though :( Il giorno mercoledì 22 febbraio 2017 18:08:30 UTC+1, RobertCNelson ha scritto: > > > > On Feb 22, 2017 9:00 AM, "Davide Aguiari" > > wrote: > > Hi RobertCNelson, > > are you sure about the uEnv.txt? > I pu

Re: [beagleboard] BBGW wlan0 setup: wlan0/softAp0 missing and can't connect

2017-02-22 Thread Davide Aguiari
Hi RobertCNelson, are you sure about the uEnv.txt? I put # in front of dtb=am335x-bonegreen-overlay.dtb and uncommented the two lines you told. I rebooted and: - I lost my univ-all slot: debian@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots 0: PF -1 1: PF -1 2: PF

[beagleboard] BBGW wlan0 setup: wlan0/softAp0 missing and can't connect

2017-02-22 Thread Davide Aguiari
Hi guys, I'm facing a problem with wlan0. Basically I can't make it work anymore. I used to connect to my wlan in the past week (https://beagleboard.org/discuss?place=topic%2Fbeagleboard%2Fz7_EdRpFL1M%2Fdiscussion) but I made changes/reflash and I can't figure why It's not working now. It's ea

Re: [beagleboard] Deep sleep & wake through GPIO and RTC

2017-02-16 Thread Davide Aguiari
up system described > above. As the onboard beaglebone RTC functions, but only while it has power. > > On Thu, Feb 16, 2017 at 8:22 AM, Davide Aguiari > wrote: > >> *Kernel*: Linux beaglebone 4.4.48-ti-r88 #1 SMP Sun Feb 12 01:06:00 UTC >> 2017 armv7l GNU/Linux >>

Re: [beagleboard] Re: WakeUp GPIO features is missing

2017-02-16 Thread Davide Aguiari
Exactly, but I think the OP wanted a way to put the BB into a (deep) sleep mode instead of a wait_for_interrupt. Don't you agree with me? Il giorno giovedì 16 febbraio 2017 20:47:29 UTC+1, William Hermans ha scritto: > > > > On Thu, Feb 16, 2017 at 9:43 AM, Davide Aguiari

[beagleboard] Re: WakeUp GPIO features is missing

2017-02-16 Thread Davide Aguiari
Did you resolve? I'm looking for a solution. @William: I don't think that you can use select() or poll() while your system is sleeping. Il giorno lunedì 7 novembre 2016 15:22:56 UTC+1, Patrick Schmelzer ha scritto: > > Hi there > > I want to use a GPIO interrupt wakeup for my BBB, unfortunately

[beagleboard] Deep sleep & wake through GPIO and RTC

2017-02-16 Thread Davide Aguiari
*Kernel*: Linux beaglebone 4.4.48-ti-r88 #1 SMP Sun Feb 12 01:06:00 UTC 2017 armv7l GNU/Linux *OS*: Debian 8.1 In order to get a low-power board, I get sensors data every 10min and I need to sleep meanwhile. I have an external RTC DS3231 with a SQW pin in order to setAlarm. I can plug it to a g

[beagleboard] Re: AOSONG AM2302 (DHT) on BBGW doesn't work

2017-02-16 Thread Davide Aguiari
ritto: > > On Mon, 13 Feb 2017 07:36:31 -0800 (PST), Davide Aguiari > > declaimed the following: > > >I can confirm the sensor works with a Cortex M4 microcontroller (Udoo neo > >full) with an Arduino sketch with Adafruit Arduino library. > >Same wires, same jumpe

[beagleboard] Re: AOSONG AM2302 (DHT) on BBGW doesn't work

2017-02-13 Thread Davide Aguiari
I can confirm the sensor works with a Cortex M4 microcontroller (Udoo neo full) with an Arduino sketch with Adafruit Arduino library. Same wires, same jumpers. Il giorno lunedì 13 febbraio 2017 15:55:04 UTC+1, Dennis Lee Bieber ha scritto: > > On Mon, 13 Feb 2017 04:57:49 -0800 (PST),

[beagleboard] Re: AOSONG AM2302 (DHT) on BBGW doesn't work

2017-02-13 Thread Davide Aguiari
TC+1, Dennis Lee Bieber ha scritto: > > On Sun, 12 Feb 2017 02:54:10 -0800 (PST), Davide Aguiari > > declaimed the following: > > >Yes I read about it, but I tried several times without success. > >I will try again tomorrow, but It's supposed to work 3 times of 4,

[beagleboard] Re: AOSONG AM2302 (DHT) on BBGW doesn't work

2017-02-13 Thread Davide Aguiari
scritto: > > On Sun, 12 Feb 2017 02:54:10 -0800 (PST), Davide Aguiari > > declaimed the following: > > >Yes I read about it, but I tried several times without success. > >I will try again tomorrow, but It's supposed to work 3 times of 4, not 1 > of > >10.

[beagleboard] Re: AOSONG AM2302 (DHT) on BBGW doesn't work

2017-02-12 Thread Davide Aguiari
brary? Il giorno sabato 11 febbraio 2017 22:14:52 UTC+1, Dennis Lee Bieber ha scritto: > > On Sat, 11 Feb 2017 10:38:18 -0800 (PST), Davide Aguiari > > declaimed the following: > > > >root@beaglebone:~/Adafruit_Python_DHT/examples# ./AdafruitDHT.py 2302 > P8_11

Re: [beagleboard] wpa_supplicant instead of connman

2017-02-11 Thread Davide Aguiari
Thank you! It worked! Il giorno venerdì 10 febbraio 2017 23:09:45 UTC+1, RobertCNelson ha scritto: > > On Fri, Feb 10, 2017 at 4:01 PM, Davide Aguiari > wrote: > > Hi guys, > > I'm starting with BBGW today and I need to connect to some networks with > > wpa_s

[beagleboard] AOSONG AM2302 (DHT) on BBGW doesn't work

2017-02-11 Thread Davide Aguiari
*Image:* bone-debian-8.7-iot-armhf-2017-02-05-4gb *Sensor: *Aosong AM2302 I'm trying, without success, to setup a Temperature/Humidity on my brand new BBGW. I tried to follow several tutorials (https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/software-insta

[beagleboard] Sensors + Arduino + Linux?

2017-01-30 Thread Davide Aguiari
Hi guys, at the moment I'm working with another board and this is the workflow: I have an Arduino sketch that does the following: - reads from hardware serial pin (Serial0) - reads a DTH22 sensor with appropriate library on a pin - communicates to other modules using I2C dedicated pins with approp