I've used SPI exactly once so am far from an expert, but I did successfully hook up a 16550 series UART using SPI1_D0 as MOSI, SPI1_D1 as MISO, SPI1_SCLK as SCLK and SPI1_CS0 as the chip select, which worked with /dev/spidev1.0 (I used SPI mode 0, and I loaded the BB-SPIDEV1 virtual cape from /lib/firmware). There's SPI1_CS1 available which presumably maps to /dev/spidev1.1, but I haven't tried that myself.
Or you could just use GPIO pins to control a multiplexer connected to SPI1_CS0, to give you as many devices as you need. On 10 December 2013 12:32, Djair Guilherme <[email protected]> wrote: > Now I find that the pins MISO, MOSI, SCLK are part of SPI interface. But I > still don't know where SS pin is. > The pins F_CS, TP_CS and SD_CS appear to be a Chip Selector for FRAME, > TOUCHPAD and SDCARD Reader. > I've found this info in this two links: http://arduino.cc/en/Reference/SPIand > http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Mode_Numbers > > The description of use in Raspberry is here: > http://jeffskinnerbox.wordpress.com/2012/12/05/raspberry-pi-serial-communication/ > > I've this information about the connections on other LCD type, but I > believe it works in my case: > http://www.cemetech.net/forum/viewtopic.php?t=7814 > > LCD D0-D15: 16 bits of data/address lines > LCD_VSYNC -> RS (also called Command/Data or CD or Address/Data; NOT reset > ) > LCD_HSYNC -> Write-bar > LCD_PCLK -> Read-bar > LCD_AC_ENB_CS -> Chip Select 0 > LCD_MCLK -> Chip Select 1 > > I will post more information here. > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
