Shop OBEX P1 Docs P2 Docs Learn Events
Interested in LCD interface code? — Parallax Forums

Interested in LCD interface code?

Paul BakerPaul Baker Posts: 6,351
edited 2007-07-20 14:49 in General Discussion
My new project is interfacing the SX to a 128Kx8 SRAM (only 64K will be used) and a 640x400 monochrome LCD. I chose a 640x400 instead of 640x480 because the 400 data frame·is exactly 32K whereas the 480 results in an akward number and I will be double buffering. But timing diagrams and data organization are similar so my code will be adaptable to comperable 640x480 screens. Program space will contain CGROM data and data to be displayed will likely be imported via RS232. Barring any snafu's I anticipate completing it in a few months, anyone interested in the final code and schematics?

Paul

Comments

  • PJMontyPJMonty Posts: 983
    edited 2004-08-10 00:22
    Paul,

    I'm sure that when you get it done, the schematic and code will definitely be of interest to the members of this forum.

    Thanks,
    PeterM
  • KenMKenM Posts: 657
    edited 2004-08-10 01:59
    Yes, also James at sxlist.com would like a copy/
    Paul Baker said...
    My new project is interfacing the SX to a 128Kx8 SRAM (only 64K will be used) and a 640x400 monochrome LCD. I chose a 640x400 instead of 640x480 because the 400 data frame·is exactly 32K whereas the 480 results in an akward number and I will be double buffering. But timing diagrams and data organization are similar so my code will be adaptable to comperable 640x480 screens. Program space will contain CGROM data and data to be displayed will likely be imported via RS232. Barring any snafu's I anticipate completing it in a few months, anyone interested in the final code and schematics?

    Paul
  • GsparisGsparis Posts: 5
    edited 2007-07-07 10:05
    Hi Paul,

    I know it's been 3 years now but I am indeed interested in your code and schematics to control a 640x400 graphic LCD with an SX.

    If you still have the files can you share them ?


    Thanks,


    Gilles
  • RickBRickB Posts: 395
    edited 2007-07-11 14:41
    I too would like to see it. Did it not work out?

    Rick
  • BeanBean Posts: 8,129
    edited 2007-07-11 15:01
    I'd say that a Propeller would be more better choice.
    Mainly because of the RAM requirements. The SX would require an external RAM chip.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never argue with an idiot.· They'll drag you down to their level then beat you with experience.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • GsparisGsparis Posts: 5
    edited 2007-07-11 16:19
    Well, I would say that this is where the challenge is !

    I just started to get acquainted with the SX so for now I'd like to stick with it.

    Bean, do you know how far Paul went in this project with the SX ?


    Gilles
  • BeanBean Posts: 8,129
    edited 2007-07-11 17:00
    Gilles,
    No I don't. Hopefully Paul will chime in here and bring us up to date.

    It CAN be done. I worked on a color video module using the SX48. 256x192x16 colors. Had it working too. But never finished it.
    Here is a link to the thread if anyone is interested http://forums.parallax.com/showthread.php?p=603796

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never argue with an idiot.· They'll drag you down to their level then beat you with experience.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com


    Post Edited (Bean (Hitt Consulting)) : 7/11/2007 5:34:58 PM GMT
  • GsparisGsparis Posts: 5
    edited 2007-07-11 18:58
    Hope he will !
    Actually, I would like to know how Paul managed the LCD power supplies (+5v and Vee) as I know negative power supply should only be applied after the Vcc.

    By the way Bean, too bad you didn't finished your color project. It seemed quite interesting !
    Actually, I bought the XGS ME a year ago and I learned a bit of ASM and the NTSC and PAL signal generation on it.
    I wish the SRAM management be more "classic"...

    Gilles
  • RickBRickB Posts: 395
    edited 2007-07-14 16:42
    Hey, hey, hey Paul!

    Was the project successful? Inquiring minds in limbo land want to know.
    If the SX can't do it I'm sure an AVR can. smile.gif (that should wake him up) smile.gif
  • RickBRickB Posts: 395
    edited 2007-07-20 14:49
    BOINK!

    So.... Was the SX not fast enough? Say it ain't so Paul.
Sign In or Register to comment.