Has anyone tried running more than one SSD1306 display via the same SPI line?
If possible, I'd like to use an Arduino / Arduino Mega and the Adafruit library (with one instance of the library of each display).
Mbed or MSP430 are also options.
I will connect SPI MOSI and SCLK to the DATA and CLK connector for all the displays.
There will be one CS pin for each display.
How about D/C and RESET?
(My feeling is that D/C can be shared, since its state will probably just be ignored if CS isn't asserted. For RESET, probably one for each display is needed.
What are the RAM requirements for each instance of the Adafruit library?
I plan on storing graphics on an SD card. Refresh rate doesn't need to be super-high, it will not run any heavy animation.
Using more than one SSD1306 display via SPI
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Using more than one SSD1306 display via SPI
That all sounds right. The 128x32 display requires 512 bytes of buffer space, the 128x64 requires 1K of buffer space.
-
- Posts: 17
- Joined: Wed Feb 13, 2013 2:52 am
Re: Using more than one SSD1306 display via SPI
Just got the displays now, and driving more than one works great! (shared SPI and D/C. RESET and CS separate for each display)
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Using more than one SSD1306 display via SPI
Good to know! Thanks for posting
Please be positive and constructive with your questions and comments.