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 alter it.

Never mind, I am writing a new driver (called by dto) to emulate more CS 
pins. I will see if it can work at the required speed.

Le mardi 2 décembre 2014 16:01:03 UTC+1, Mickae1 a écrit :

 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, mota...@gmail.com javascript: 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 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 full driver to emulate CS with a GPIO pin ?

 Thanks in advance for your help.

 -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.



-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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:

 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 alter it.

 Never mind, I am writing a new driver (called by dto) to emulate more CS 
 pins. I will see if it can work at the required speed.

 Le mardi 2 décembre 2014 16:01:03 UTC+1, Mickae1 a écrit :

 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, mota...@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 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 full driver to emulate CS with a GPIO pin ?

 Thanks in advance for your help.

 -- 
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 ) 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:

 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 alter it.

 Never mind, I am writing a new driver (called by dto) to emulate more CS 
 pins. I will see if it can work at the required speed.

 Le mardi 2 décembre 2014 16:01:03 UTC+1, Mickae1 a écrit :

 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, mota...@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 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 full driver to emulate CS with a GPIO pin ?

 Thanks in advance for your help.

 -- 
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 full driver to emulate CS with a GPIO pin ?

Thanks in advance for your help.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 full driver to emulate CS with a GPIO pin ?

 Thanks in advance for your help.

 --
 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+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.