[beagleboard] Re: Using GPIO's as SPI

2017-12-15 Thread Aniket Mazumder
Hi Swapan..were you able to communicate with multiple SPI devices. I need something similar with arduino pro mini's as slaves. Could you suggest me a method to do the same. I am currently able to communicate with one arduino using the tutorial http://www.ulasdikme.com/projects/arduino/BBB_Ardui

[beagleboard] Re: Using GPIO's as SPI

2017-12-15 Thread Aniket Mazumder
Hi swapan .. I am trying to achieve something similar using 4 arduino pro mini's. But as of now I am only able to communicate with one using the tutorial in the link below. http://www.ulasdikme.com/projects/arduino/BBB_Arduino_SPI.php I need to share data between the arduino and BBB as fast as po

[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-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

Re: [beagleboard] Re: Invalid mode: spi

2017-12-15 Thread Robert Nelson
On Fri, Dec 15, 2017 at 2:19 AM, Davide Aguiari wrote: > I upgraded kernel/system but still I cannot config-pin. > > debian@beaglebone:~$ config-pin P9.28 spi > Invalid mode: spi config-pin P9.28 spi_cs > debian@beaglebone:~$ config-pin P9.29 spi > debian@beaglebone:~$ config-pin P9.31 spi > In

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

Re: [beagleboard] Re: Invalid mode: spi

2017-12-15 Thread Robert Nelson
On Fri, Dec 15, 2017 at 9:19 AM, Davide Aguiari wrote: > Hi Robert, > thank you. A couple of questions: > > 1) What about i2c then? Doesn't need to set it with config-pin? Most of the i2c pins should be defaulted to i2c, but if they are not, then config-pin i2c is needed.. > 2) Where can I keep

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-15 Thread Robert Nelson
On Wed, Dec 13, 2017 at 2:19 PM, Robert Nelson wrote: > On Wed, Dec 13, 2017 at 2:11 PM, Robert Nelson > wrote: >> Got it! >> >> u-boot just needs: >> >> CONFIG_FS_BTRFS=y >> >> and we need to pass: >> >> mmcrootfstype=btrfs rootwait >> >> thru /boot/uEnv.txt >> >> and it just works: >> >> https

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-15 Thread Daniel Kulp
That's awesome.Will definitely help breath some new life into the little 4GB eMMC. :) Thanks for looking into this. Dan On Friday, December 15, 2017 at 12:08:01 PM UTC-5, RobertCNelson wrote: > > On Wed, Dec 13, 2017 at 2:19 PM, Robert Nelson > wrote: > > On Wed, Dec 13, 2017 at 2:11

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-15 Thread Robert Nelson
On Fri, Dec 15, 2017 at 11:11 AM, Daniel Kulp wrote: > > That's awesome.Will definitely help breath some new life into the little > 4GB eMMC. :) > > Thanks for looking into this. I've been toying with the idea of making btrfs default for our buster images (still about a 1.5 years away).. o

[beagleboard] Using eCap feature in Python

2017-12-15 Thread thomaslolson63
I would like to use the eCap feature to measure the frequency of a square wave, preferably with Python. I see examples for generating a square wave using the BBIO.PWM module but I can't find anything for reading the eCap. The BBIO.Encoder module looks promising. Can I use this to measure the

Re: [beagleboard] Re: Using eCap feature in Python

2017-12-15 Thread Robert Nelson
On Fri, Dec 15, 2017 at 2:25 PM, Dennis Lee Bieber wrote: > On Fri, 15 Dec 2017 09:05:30 -0800 (PST), > thomaslolso...@gmail.com declaimed the > following: > >>I would like to use the eCap feature to measure the frequency of a square >>wave, preferably with Python. I see examples for generating a

[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

[beagleboard] PocketBeagle GPIOs and external peripherals

2017-12-15 Thread Stuart Longland
Hi all, I have one silly question to start off with… I have a PocketBeagle coming, hopefully next week, and a Lattice IceStick FPGA development board with which I'll be teaming it up with. The plan is to produce a logic analysis and stimulus tool. I'll be using GPIOs on both the PocketBeagle and