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.

SED1330FBA graphic controller

Status
Not open for further replies.

wh

Junior Member level 1
Joined
May 10, 2004
Messages
16
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
190
sed1330fba

Hi,

I’m having problem with graphic controller SED1330FBA connected to Seiko G2436 graphic LCD. Anyone have the sample code to initialize this configuration?

Any help or pointer will be appreciated.

Thanks & regards,
wh
 

sed1330f controller

Hi wh,

I've used SED1330 + data vision 32240.
Its similar than G2436 ?
whats your problem ?

regards,
MArtin
 

sed1330f

Thank you very much for your response.

G2436 is 240x64 dots/pixel. I search google and know that 32240 is 320x240 dots.

OK it seems different. But my problem is I don't understand how to calculate various parameters that needed to initialize the LCD controller. The example shown in S1D13305(or SED1330) seems to be very confusing. May be I was missing something.

Best regards,
wh
 

sed1330fba data sheet

Any one have a data sheet for SED1351 lcd controller? Please help
 

seiko epson sed1330fba

I upload technical manual for LCD controller SED1330F/1335F/1336F.

/ Deleted use link in next post!
 

    wh

    Points: 2
    Helpful Answer Positive Rating
www.mikrocontroller.net 320x240 glcd

prokopec said:
I upload technical manual for LCD controller SED1330F/1335F/1336F.

Direct link:
/http://www.mikrocontroller.net/attachment.php/33213/sed1335f.pdf
 

    wh

    Points: 2
    Helpful Answer Positive Rating
epson sed1330fba

Hi dainis & all who reply,

Thanks a lot for the response.

Actually I did read the technical manual before I post this thread. But it was an unsuccessful attempt since I couldn’t understand the application notes section. Since all mention the technical notes, I take another look at it. Still unsuccessful.

Following is what I get:

1) When power is on, I brought all RES, CS, RD, WR, and A0 to high. After 100uS, I set RES to low for more than 1mS, this is described as reset in the datasheet. At this point, the display was clear and I can see some flipping on LCD. (My guess the reset operation was successful).
2) Next I start to send system initialize parameter to SED1330.
Following is a summary:

Command: SYSTEM_SET
P1 0x38 ; M0: Internal CGROM
; M1: CGRAM is 32 char maximum
; M2: 8 lines per char
; W/S: Single-panel drive
; IV: No top-line compensation
P2 0x87 ; [FX]: 8
; WF: 2-frame AC drive
P3 0x07 ; [FY]: 8
P4 0x1D ; C/R: character per line
P5 0xC0 ; TC/R:
P6 0x27 ; L/F:
P7 0x28 ; APL(8)
P8 0x00 ; APH(8)

After this command, the LCD became all black, and I wonder there is something wrong with my calculation.

May someone explain how to calculate various parameters needed for the operation of SED1330, please?

I’m using LCD from Seiko (G2436, 240 x 64 pixel). The crystal on the controller board is 10MHz.

Thanks & regards,
wh
 

This is an init sequence I've used, maybe it might be of some help.

Code:
void InitLCD(void)
{
 // system set
 WriteCtrl(0x40);
 WriteData(0x30);        // P1   -> PRT=0, IV=1, W/S=0, M0-M2=0
 WriteData(0x80 + (fontsize-1));        // FX   -> WF=1, FX=7
 WriteData(0x07);        // FY   -> FY=7
 WriteData(character_per_row-1 );     // C/R  -> Char per line - 1
 WriteData((xtal / 70 / ypixels-1) / 9 );     // TC/R -> ( f_osc / f_frame / [L/F] - 1 ) / 9
 WriteData(ypixels-1 );       // L/F  -> Line per graphic screen - 1 (127)
 WriteData(character_per_row );         // APL  -> Virtual screen low byte ( char per line)
 WriteData(0);          // APH  -> Virtual screen low byte

 // scroll
 WriteCtrl(0x44);
 WriteData(T_BASE & 0xFF);
 WriteData(T_BASE >> 8);
 WriteData(ypixels-1 );

 WriteData(G_BASE & 0xFF);
 WriteData(G_BASE >> 8);
 WriteData(ypixels-1 );

 // cursor direction
 WriteCtrl(0x4c);

 // horizontal scroll pos
 WriteCtrl(0x5a);
 WriteData(0x00);

 // cursor write
 WriteCtrl(0x46);
 WriteData(0x00);        // low byte
 WriteData(0x00);        // high byte

 // overlay
 WriteCtrl(0x5b);
 WriteData(0x01);

 // display on/off
 WriteCtrl(0x59);        // display on
 WriteData(0x14);        // layers 1 + 2

 /*
 // cursor format
 WriteCtrl(0x5d);
 WriteData(0x07);        // width
 WriteData(0x87);        // height and type
 */
}
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top