Has anyone used the DDRAM of a HD44780U LCD as a general RAM

Status
Not open for further replies.

Myself

Member level 3
Joined
Nov 16, 2001
Messages
55
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
377
Dear All,

As far as I can understand it is possible to use the DDRAM or CGRAM of a HD44780U LCD as a general RAM.

I wonder if any one of you has used it? If so could you please tell me how?

If possible please give me your project.

Myself
 

Re: Has anyone used the DDRAM of a HD44780U LCD as a general

Yes you can use the ram of the LCD without problems for general purpose even if you need to display 2 x 16 characters as the LCD has much more memory as you can see displayed (if you do not scoll the display).

I did this a long time ago on an 89C2051 when I was completly out of ram

The only things that speak against this are the software overhead and that you need to connect R/W of the display to an IO pin of your MCU ...

All you have to do is set the adress pointer to desired adress of CG or DD memory and write/read your databyte to/from there as if you would write a "normal" character to the display.

best regards
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…