SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By lilongsheng
#10153
:cry: when I added a LCD (T6969 control) to ADuC7026,meet a problem unexpected.
this a evulation board,just for learing ARM,so in this board ,there are only some features want to be achieved:
UART;
ADC0 (thermometer use the ADI's TMP36);
I2C(realtime cloclk use the intersil's isl1208);
20-pin standard ARM JTAG connector ;
Serial port connector (DB9-F) with MAX232 line driver ;
Four status/debug LEDs + RESET, BOOTLOAD, and INT0 pushbuttons
LCD(use T6963 control ,YM128×64F)

not use any enternal memory
I reference the Analog 's evulation board for ADuC7026,I do not know how to add this to desing,ever thought thousands times more,
"To access 128 k with an 8-bit
memory, an extra address line ( :arrow: A16) is provided. (See the
example in Figure 67.)"(in ADuC7026 datasheet from ADI.)and figure 3,4,67 :?: .really can not be understand.

I search for some help,now :cry:
By JohnLeung
#10157
Do you mean accesing the 128k display ram of the LCD by 8-bit memory address? Have you tried the LCD with a common 8-bit mcu before?

I have a working code under www.TechToys.com.hk -> Download. The code is for PIC though. There are several low level routines leaving for modification. Hope you can find some insight from it.

John
By lilongsheng
#10194
I have read you web http://www.techtoys.com.hk/Downloads/T6 ... 2864-F.pdf
the LCD's interface, on my hand,is the same as yours,

I have ever add this LCD to 8051,the DB0-DB7 use 8051's P0 port;FG ,FSand VSS connect to GND ;RST indirect conect to +5V with a 4K resister ; Vo connect a external negative voltage;WR(write)conect to 8051's sixteenth pin;RD(read)connect to 8051's seventeenth pin;
CE(chip enable)connect to 8051's P2_7(28th pin);
C/D(command or data select)connect to 8051's P2_6(27th pin);

use Intel bus ,if I will define LCD's data port and command port:
#define T6963_DataPortOfYieJin 0x0000 //P2.6=CE=0,P2.7=C/D=0;
#define T6963_CtrOfYieJin 0x4000 //P2.6=CE=0,P2.7=C/D=1;

when I will write a data to LCD:
//CE=0,C/D=0
void T6963_writeAData(UNCHAR data1)/*reentrant*/
{
XBYTE[T6963_DataPortOfYieJin] = data1;
}

NOW ,the question is :if I want to acess the LCD's display RAM ,how to do it?
the figure 67 in AD7C7019_20_1_2_4_5_6_7_0.pdf (Figure 67. Interfacing to External EPROM/RAM),should I connect like a external ARM(128K*8bits)?
LCD's CE connect to ADuC7026's MS*?
How to deal with the ADuC7026's A16?
The LCD's C/D should connect to which one of the A0-A15,or maybe should connect to any others?
WR and RD connect like the external RAM ,show in figure 67?


Thank you once again for you help!