CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

SSD1306 driver for use with less RAM
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    CCS Forum Index -> Code Library
View previous topic :: View next topic  
Author Message
paulie2907



Joined: 25 Jun 2020
Posts: 5

View user's profile Send private message

PostPosted: Mon Mar 20, 2023 8:05 am     Reply with quote

Hello,

Driver
https://www.buydisplay.com/download/ic/SSD1305.pdf

Datasheet (with initialization procedure)
https://www.buydisplay.com/download/manual/ER-OLED022-1_Series_Datasheet.pdf

Current display
https://www.buydisplay.com/green-2-2-inch-oled-128x32-spi-display-module-serial-i2c-ssd1305

Thanks for helping me.
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Tue Mar 21, 2023 1:55 am     Reply with quote

OK.
Key is that the 1305, is compatible with the 1309, not the 1306. The big
difference is the charge pump. It doesn't have this. If you send the charge
pump commands to a 1309, it flips part of the display.
This sounds like the problem you are seeing.
Try removing the S_CHARGEPUMP entry from the init_sequence. Take
the whole line out. The code will send one less byte for the init.
The rest of the commands look compatible. Not sure whether you will
need the SH1106 setting. It looks as if you will (it is a 132*64 driver, not
a 128*64 driver).
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> Code Library All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group