Thank you very much, exactly what I was looking for ;-)

Le jeudi 4 décembre 2014 03:58:11 UTC+1, [email protected] 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, [email protected] 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, <[email protected]> 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 [email protected].
>>>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to