After encountering this post on the Beaglebone site, http://beagleboard.org/project/fbtft-linux-44-kernel/ , it occurred to me that I should be able to get the BBB to run the FTOLED128 without much trouble.
So I've gone ahead and tried it. I noted that on the latest 4.4 images that the fbtft stuff is built by default so I've not needed to build any new kernel.
I've gone ahead and wired it up accordingly:
Code: Select all
OLED OLED RPI RPI BB BB PIN NAME PIN NAME PIN NAME NOTES 1 5V 2 5V P9.5 5V RED 2 GND 6 GND P9.1 GND BLACK 3 SD CS P9.42 SPI1_CS1 ORANGE 4 SD CD BROWN 5 MISO P9.29 SPI1_D0 GREEN /* spi1_d0 MISO */ 6 MOSI 19 MOSI P9.30 SPI1_D1 YELLOW /* spi1_d1 MOSI */ 7 SCK 23 SCLK P9.31 SPI1_SCLK PURPLE /* spi1_sclk */ 8 OLED CS 24 CS0 P9.28 SPI1_CSO BLUE /* spi1_cs0 */ 9 DNC 22 GPIO25 P9.12 GPIO_60 GREY /* gpio1_28 - dc */ 10 RST 18 GPIO24 P9.15 GPIO_48 WHITE /* gpio1_16 - reset */
Code: Select all
I then follow step 3 of the URL above to load the SPI1 Overlay on the Beaglebone Black
I then modify step 4 of the URL to do this:
sudo modprobe fbtft_device busnum=1 name=freetronicsoled128 debug=7 verbose=3 gpios=dc:60,reset:48 speed=20000000
My understanding, based on what I've read about using the OLED128 on the RPi, is that the speed is 20MHz hence I selected that number. I've also tried without.
The modules are all loaded, debug information is going into the system log, the FrameBuffer device is created.
But there's nothing on the screen. Zip. Zilch. De nada.
I'm kind of out of ideas right now and if anyone has any hints at all, it'd be appreciated. The OLED128 is a great little screen for logger purposes and would go really well given the access to a secondard SD Card with the BBB. If I could just work out how to get a picture on it, it'd be great because could probably move onto the card and buttons
Anyone? Thanks in advance!