Quote:
Originally Posted by lolita";p="
Then you can try initializing the LCM using the other CE lines. Replace the 18 in "o 2 18" with
20 - CE4
28 - CE5
or if you want to be more certain, try to trace the signals to the LCM. If you provide more high-resolution pictures of the connections, we can help.
This is the pinout: http://img3.imageshack.us/img3/3936/dsc0390f.jpg
The most important pins are the D/C, RESET, and CS. Try to figure out which pins they are connected to on the CPU.
|
I have traced the signals with a digital multimeter and I have found this:
Code:
LCM CS = ACU7515 pin 44 (CE5)
LCM RESET = ACU7515 pin 51 (GPO A0)
LCM D/C = ACU7515 pin 37 (GPO B2)
GPO ports are working correctly:
Code:
o ee 0 ; LCM RESET = GPO A0 = +0.01 volts
o ee 1 ; LCM RESET = GPO A0 = +3.03 volts
Code:
; ... start init GPO B
o ef 0 ; set GPIO B in GPIO mode
o f1 0 ; disable all input on GPIO B
o f2 35 ; turn on all the GPIO B
o f0 35 ; enable output of GPIO B
; ... end init GPO B
o ef 0 ; LCM D/C = GPO B2 = +0.01 volts
o ef 4 ; LCM D/C = GPO B2 = +3.03 volts
The CE5 line, instead, seems to not work because it's
always at +3.03 volts.
I have given a look to the
CPU port map: the register 0x02 enables the CEx ports, more precisely:
- 0x00 enables CE0
- 0x08 enables CE1
- 0x10 enables CE2
- 0x18 enables CE3
-
0x20 enables CE4 (not present on ATJ2085)
- 0x28 enables CE5 (not present on ATJ2085)
So, sending a command
"o 2 28", the CE5 line must go to an high logic level (+0.01 volts, because the CEx lines are active low)... and instead the line remains always at low logic level (+3.03 volts), as if the command does nothing on this pin... then the LCM remains
always disabled :?
Assuming an electrical problem on this line (bad PCB wash) I've measured the electrical resistance between the VDD and the CS lines, and it's 1.55 megaohms: I don't think that this very high value of resistance can affect the CS line...
Lolita, I don't have understood a thing: the commands written above are for enable the CEx lines... but for disable them? Enabling one line automatically disable the others?