Re: [beagleboard] SPI : More CS lines

2014-12-03 Thread motard59
Thank you for your answer Mickae1. But I know how to use SPI with device tree overlay (I use it that way for my first lcd). I was wondering if it could be possible to declare a simple GPIO pin (via DTO for example) as a CS one. It would allow me to work with fbtft driver without having to

Re: [beagleboard] SPI : More CS lines

2014-12-03 Thread janszymanski12345
Have a look at the example here http://www.nagavenkat.adurthi.com/ titled SPI communication: BeagleBone Black( as Master) to 4 Arduinos( as Slaves ) http://www.nagavenkat.adurthi.com/?p=479 Hope this will help, Jan On Wednesday, December 3, 2014 7:35:38 PM UTC+11, mota...@gmail.com wrote:

Re: [beagleboard] SPI : More CS lines

2014-12-03 Thread motard59
Thank you very much, exactly what I was looking for ;-) Le jeudi 4 décembre 2014 03:58:11 UTC+1, janszyma...@gmail.com a écrit : Have a look at the example here http://www.nagavenkat.adurthi.com/ titled SPI communication: BeagleBone Black( as Master) to 4 Arduinos( as Slaves )

[beagleboard] SPI : More CS lines

2014-12-02 Thread motard59
Hi, I have to connect 2 lcd on a BBB via SPI interfaces (I use fbtft driver). I can only use SPI0 because SPI1 pins are used by I2C for cape eeprom. The problem is that SPI0 has only one CS pin. Is it possible to tell the SPI driver to use a GPIO pin as another CS line ? Am I forced to write a

Re: [beagleboard] SPI : More CS lines

2014-12-02 Thread Micka
your answer : http://hipstercircuits.com/enable-spi-with-device-tree-on-beaglebone-black-copy-paste/ Enjoy, Le Tue Dec 02 2014 at 15:58:53, motar...@gmail.com a écrit : Hi, I have to connect 2 lcd on a BBB via SPI interfaces (I use fbtft driver). I can only use SPI0 because SPI1 pins are