原帖由 winglim7 於 2007-6-29 01:41 發表

max232

BINGO
補多張相,

[ 本帖最後由 dino_lo 於 2007-6-29 09:02 編輯 ]

TOP

依塊野可以行LPT / RS232??

TOP

這塊panel 可以行 parallel mode ,

lcd info  用printer port 的 db1-db6 (pin2-pin7) serial mode 來推, nokia 7110 電話的lcd panel(sed1565) 和 ks0713 基本上相同不過driver 未完善,用唔晒個panel.

TOP

不如做個小調查

有多少爸打塊lcd的 j1 是 vcc,
有多少爸打塊lcd的 j1 是 gnd

TOP

原帖由 dino_lo 於 2007-6-28 15:43 發表
Checked:
[attach]541789[/attach]
J1 on PCB side need to change to GND(near C7)
PS,PIN 3 connect to GND :set serial mode

connection as below
printer port      lt_13264b
lpt.2---------- #5  D ...



When I saw your experiment result, I got a lot of queries. Your foundings was opposite to mine. So I read the datasheet again, check the hardware jumpers J1 and J2 again, and rewrite my driver to test my hypothesis. The results are as follows:

pin 3 is a pin to select Parallel/Serial mode, according to the datasheet, H means parallel and L means serial. A big question is:
You pull it to GND and use serial to drive it (through LCDinfo), it works.
I pull it to GND too, but I am driving the LCD in parallel mode (I am sure I am driving it in parallel mode, I wrote the driver!)

Jumper 1 in the PCB is originally connected to Vdd, no exception (all PCBs are the same), this pin is used to select 6800/8080 interface. For serial mode, actually it has no meaning at all, it is meaningful to parallel mode only (because serial mode does not use RD/WD pins at all, it uses SDATA and SCLK). According to the datasheet, Jumper 1 connected to Vdd means 6800 mode. A big question is: I am driving the LCD using 8080 interface timing sequence (and it works). When I saw your results, I was thinking if I reversed the mode, so I tried to rewrite the driver to use 6800 timing, it does NOT work. My conclusion is that J1 connected to Vdd is 8080 mode (in this LCD). Actually this founding matches the pinout given by the seller, because the two pins will be usually specified as RD and WR for 8080 interface, and RD/WR (one pin) and E (the other pin) for 6800 interface.

I really have a BIG question mark??? According to my testings, the definition of PS and MI(i.e. C86) pins of THIS LCD seems to be inverted (from the datasheet).

WHAT IS THE TRUTH??? I AM VERY CONFUSING NOW!

Could you try some combinations and test the results? Say pulling pin 3 to Vdd, remaining J1 to Vdd? and let us know the results?

Thanks

TOP

原帖由 dino_lo 於 2007-6-28 15:43 發表
Checked:
[attach]541789[/attach]
J1 on PCB side need to change to GND(near C7)
PS,PIN 3 connect to GND :set serial mode

connection as below
printer port      lt_13264b
lpt.2---------- #5  D ...



Also, refering to the circuit given by the seller (demo), in message #11. Pin 3 is connected to GND and the microcontroller is driving the LCD in parallel mode (all D0-D7, and RD, WR, CS, RES, are connected).

TOP

原帖由 大雄 於 2007-6-29 10:49 發表
依塊野可以行LPT / RS232??


Some LCDs can be driven in both Parallel and Serial mode. But the serial mode is NOT the one used in RS232 (8N1 so on). It use 2 pins, one for serial data (SDATA) and one the clock (SCLK). Nokia phone 3310 LCD is using such serial mode.

TOP

I will try with J1 and PS change to other position again with LCD_INFO again.


1.  I can try the PS tie high or tie low to see the parallel ,serial mode
2  .for J1 (MI) only affect in the parallel mode,right? So it will left for you to test if you can change the J1 position,near C7>>>GND, near header>>>VDD, that BOTH 6800 and 8080 will work as you expected

TOP

原帖由 ktktkt 於 2007-6-29 20:40 發表



Also, refering to the circuit given by the seller (demo), in message #11. Pin 3 is connected to GND and the microcontroller is driving the LCD in parallel mode (all D0-D7, and RD, WR, CS, RES ...


no one report that they can run the demo, yet!

TOP

我那個是

   R1
XOO


沒接那個是gnd
現在個ohm接了去pin2

TOP