dor
LCD!
Joined: 12 Aug 2009
Posts: 10
|
| How fast the GLK19264-7T-1U device can process commands? |
|
|
I'm writing to a GLK19264-7T-1U device, and for some reason the the text isn't rendered properly.
These are the actions I do:
-
Send a "Clear Screen" command. (0xFE 0x58)
-
Write 20-chars-long text.
-
Waits 1 second.
-
Send a "Clear Screen" command. (0xFE 0x58)
-
Write 20-chars-long text.
-
Waits 3 seconds.
-
Send a "Clear Screen" command. (0xFE 0x58)
-
Write 20-chars-long text.
-
Doing the following for 3 times recursively:
-
Send a "Setting the Cursor Position" command. (0xFE 0x47)
-
Write 7-chars-long text.
The problem:
The text in action #8 isn't displayed at all.
Also, apparently that the text in action #5 doesn't get completely clear. I'm not sure since it doesn't make sense, because that the text in action #5 is located in another unrelated coordinate. It's better to assume that something else happens, which slightly corrupts the text that's sent in action #9 (It looks like that the "Clear Screen" command in action #7 doesn't completes.)
Note:
-
By "text" I mean ASCII characters, not commands.
-
Assume no delay, unless written.
-
Assume no other bugs/errors, unless written.
-
Commands are sent via UART (TTL) with an AT91SAM7X micro-controller (has an 18.432MHz oscillator).
-
UART communication speed is the LCD's default one.
-
In action #3: Instead of a 1 second delay, I tried a 2 seconds delay, and everything worked correctly by doing so.
-
My program/software is simple and I passed through the code to see if any errors exist.
I didn't find any bugs (although it doesn't confirms that my software is lack of bugs), so I wanted to be sure that it's not the LCD.
A question for conclusion:
How fast this LCD device can process commands and text?
Thank you.
Regards,
Dor. |
Wed Jan 20, 2010 11:48 am |
|
|
dor
LCD!
Joined: 12 Aug 2009
Posts: 10
|
| Assumption verified |
|
|
I checked again and found that the following statement:
"Also, apparently that the text in action #5 doesn't get completely clear."
is actually true/correct. |
Thu Jan 21, 2010 12:43 pm |
|
|
Raquel
Matrix Orbital

Joined: 19 Aug 2004
Posts: 645
Location: MO Office |
Hello Dor,
Thank you for posting on the forum.
I wonder, if you please tell me the font and font size you are using? Also in the FE 47 command (3 times) can you please tell me the parameters you send?
I made a simple script mimic'ing what you are trying to do, and I had to make up some parameters for the Goto command. It seems to work on my end. I used Lucida 10x15 font (the larger the font, the longer it will take to draw the glyphs). _________________ Raquel Malinis
Design and Development
Matrix Orbital |
Fri Jan 22, 2010 8:49 am |
|
|
dor
LCD!
Joined: 12 Aug 2009
Posts: 10
|
|
|
|
Hello Raquel,
The font I'm using is the default one: Small Filled. I assume it has a fixed font size (I couldn't find in the LCD's data sheet a command to modify the font's size).
In my first post I described the steps I did that caused the problem.
Those were just an estimation of the steps, so here are the exact steps (which different merely by the size of strings/text):
-
Send a "Clear Screen" command. (0xFE 0x58)
-
Writes 42 chars long text. (includes 1 newline character)
-
Waits 1 second.
-
Send a "Clear Screen" command. (0xFE 0x58)
-
Writes 48 chars long text. (includes 3 newline characters)
-
Waits 3 seconds.
-
Send a "Clear Screen" command. (0xFE 0x58)
-
Writes 32 chars long text. (includes 4 newline characters)
-
Doing the following for 3 times recursively:
-
Send a "Setting the Cursor Position" command. (0xFE 0x47)
Coordinates are set to: (84, 15), (84, 24), (84, 33)
When the first iteration sets the cursor to (84, 15) and last iteration to (84, 33)
-
Write 7-chars-long text. (no newlines)
As I wrote earlier:
The text in step #8 isn't displayed at all.
Also it seems that the "clear screen" command in step #7 doesn't complete, which as a result, makes a part of the text in step #5 to collide with the text in action #9.
Additional info:
-
Baud rate: The default - 19.2Kbps
-
Brightness is set to 128 (0xFE 0x99 128)
-
Contrast is set to 128 (0xFE 0x99 128)
-
All the three leds are off. (means all GPIO set to '1')
|
Wed Jan 27, 2010 10:09 am |
|
|
Raquel
Matrix Orbital

Joined: 19 Aug 2004
Posts: 645
Location: MO Office |
Hi Dor,
I am trying these things out on my end; but as a quick check, try and change the FE 47 with command FE 79 because I see you seem to be using parameters that are pixel x,y locations.
I will get back to you with what I find.
Update: I have tried the sequence out and it works. Can you please drop me an email at support@matrixorbital.ca ? I will send you the script file I used. _________________ Raquel Malinis
Design and Development
Matrix Orbital |
Thu Jan 28, 2010 6:37 am |
|
|
dor
LCD!
Joined: 12 Aug 2009
Posts: 10
|
Email sent.
Thank you. |
Thu Jan 28, 2010 1:36 pm |
|
|
â

|
|
All times are GMT - 8 Hours. The time now is Thu Sep 09, 2010 11:16 am
|
|
|
|
| |