Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

320x240 LCD having controller RA8835A(controller equivalent to SED1335)

Status
Not open for further replies.

Jhankhana

Newbie
Joined
Oct 7, 2021
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
42
I am working with 320x240 LCD having controller RA8835A(according to J68 Short: 6800 Family) interfaced with ATmega128A. and used Universal C library for SSD1335.

It's working ok for char and string with the inbuilt font. But I am not able to display sting in a different fonts and also not able to display images.

It would be a great help if I can have guidance for the same.

Thanks in advance.
 

I am working with 320x240 LCD having controller RA8835A(according to J68 Short: 6800 Family) interfaced with ATmega128A. and used Universal C library for SSD1335.

It's working ok for char and string with the inbuilt font. But I am not able to display sting in a different fonts and also not able to display images.

It would be a great help if I can have guidance for the same.

Thanks in advance.
I am still not able to solve it.
It would be great if someone can help me with this
 

Attachments

  • ECPE315AR0-LCD320240-OnlyLCDTest.rar
    1.5 MB · Views: 127

Hello!

The person who's in the best position to solve your problem is... yourself.
First, your program apparently does something, it works with some fonts, not with some
others. Do you imagine the time someone would need to spend in order to first getting it
work on another platform?
You have basically everything working, so please first use the debugger and go ahead.
Beside this, what do you mean by "I'm not able to display other fonts"?
I.e. when you are using another font, what happens? Black screen? Does something, but
you cannot recognize the characters? Something else?

Do your homework first.

Best regards,

Dora
 

Sounds like you managed to write to the display in character but not in graphics mode. Are you even sure that SED1335 and your display are compatible in graphics mode? I presume it's possible to adapt this or a similar graphics library to the controller but it may be necessary to dive a bit deeper.
--- Updated ---

O.k., both controllers look similar, but there are still many details that need to be configured for the specific display.
 
Last edited:

Hello!

The person who's in the best position to solve your problem is... yourself.
First, your program apparently does something, it works with some fonts, not with some
others. Do you imagine the time someone would need to spend in order to first getting it
work on another platform?
You have basically everything working, so please first use the debugger and go ahead.
Beside this, what do you mean by "I'm not able to display other fonts"?
I.e. when you are using another font, what happens? Black screen? Does something, but
you cannot recognize the characters? Something else?

Do your homework first.

Best regards,

Dora
IT is dot matrix LCD. so, whenever I try to use another font (escape default font of LCD) all dots get filed and it displays a box instead of a character.

I tried with many of the font libraries but yet not able to display any other font.
I doubt whether the mistake is in function or in the font library.

I tried below function for char

Code:
void GLCD_WriteChar(unsigned char charToWrite)
{
int i;
charToWrite -= 32;
for(i = 0; i < 5; i++)
GLCD_WriteData(GLCD_ReadByteFromROMMemory((unsigned char *)((int)  FONT8x8 [97][8] + ((5 * charToWrite) + i))));
GLCD_WriteData(0x00);
}

void GLCD_WriteChar(unsigned char charToWrite)
{
GLCD_WriteCommand(SED1335_MWRITE);
if(charToWrite)
      GLCD_WriteData(GLCD_ReadByteFromROMMemory((unsigned char *)(int) FONT8x8 + (charToWrite)));
GLCD_WriteData(0x00);
}
The library has provided a function for text from memory only.

Code:
void GLCD_WriteTextP(unsigned char * tekst)
{
GLCD_WriteCommand(SED1335_MWRITE);
while(GLCD_ReadByteFromROMMemory(tekst))
    GLCD_WriteData(GLCD_ReadByteFromROMMemory (tekst++));
}
and I tried below to display text in other fonts.
Code:
void GLCD_WriteText1(unsigned char * tekst)
{
GLCD_WriteCommand(SED1335_MWRITE);
while(*tekst)
    GLCD_WriteData(GLCD_ReadByteFromROMMemory((int)  FONT8x8 + (tekst++)));
}
 
Last edited by a moderator:

Hello!

Did you try this document?
It explains everything.

In the rare cases you don't have documentation, you can anyway find
your way with these old LCDs, because the set of commands is very limited.
For instance, if you send a sequence of 0 bytes, what does it produce?
Then if you send a sequence of FF? Then if you alternate 0 and FF?
Etc...

Dora.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top