oPossum 1,083 Posted November 10, 2011 Share Posted November 10, 2011 I got this working with the Nokia 5110 LCD. Added support for vertical frame buffers so more output devices can be supported. Currently works with NTSC, PAL, VGA, and Nokia 5110. Now has vector font in addition to bitmap font. Still have some work to do before code is ready to release. The 5110 is a passive matrix LCD, so the response time and contrast are not very good. Animation really reveals the weaknesses of this type of display. The response time of a pixel seems to be influenced by the state of adjacent pixels. RobG, PentiumPC, gwdeveloper and 5 others 8 Quote Link to post Share on other sites
gwdeveloper 275 Posted November 10, 2011 Share Posted November 10, 2011 Wow! Very sweet. I am definitely excited for the code release. Quote Link to post Share on other sites
RobG 1,892 Posted November 10, 2011 Share Posted November 10, 2011 What about G series? I have a little booster pack in works with SPI SRAM on it and a simple logic that will allow for a quick transfer from SRAM to 5110. Quote Link to post Share on other sites
bluehash 1,581 Posted November 10, 2011 Share Posted November 10, 2011 Same question as Rob.. what is running this thing? Also, If I new earlier, I would have sent you the Oled pack. I'll reserve one for you when the next batch is completed... that is if you are interested. :thumbup: Quote Link to post Share on other sites
oPossum 1,083 Posted November 11, 2011 Author Share Posted November 11, 2011 I am currently using a 5418A because it has 16K RAM and runs at 25 MHz (good for VGA). The code is mostly C, so the amount of flash required depends upon what functions are used. It may not all fit in a G series chip, but a useful subset certainly would. I think the library could be adapted to use SPI/IIC RAM with SPI/IIC LCD. Most of the drawing functions call pixel set/clear/xor functions, so making those functions work with external RAM would support everything except bitmaps. I will try to add support to any hardware that is provided to me. I expect OLED to have much better response time than passive matrix LCD, so animation should look very good. Quote Link to post Share on other sites
RobG 1,892 Posted November 11, 2011 Share Posted November 11, 2011 ...It may not all fit in a G series chip, but a useful subset certainly would.I think the library could be adapted to use SPI/IIC RAM with SPI/IIC LCD. Most of the drawing functions call pixel set/clear/xor functions, so making those functions work with external RAM would support everything except bitmaps... I was thinking that one way could be limiting the display area to 5 banks of 84 columns or 6 banks of 64 columns, which would probably fit in 2553. If you could make it work with SPI SRAM, that would be great. My board will have 23Kxx and 2G157 muxs on it. You will set start addr on the LCD, send read instruction with start addr to SRAM, then send command to the controller chip to start the transfer. Controller will activate muxs to switch LCD's data pin from SIMO to SOMI and SRAM's SCLK, set D/C, set LCD's CS, and clock SCLK until required number of bytes are transfered. Controller will use INT signal to inform CPU that the transfer is completed. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.