Author Topic: Sharp Memory LCD  (Read 13003 times)

0 Members and 1 Guest are viewing this topic.

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Sharp Memory LCD
« on: April 11, 2013, 07:10:50 pm »
I'm trying to get a Sharp Memory LCD working, but haven't had any luck yet. I know some of you folks have used these things, maybe you could take a look to see if I've missed something obvious. The display never shows anything--no flicker, no pixels, no signs of life at all.

Here's the board:


And the back, showing the connector for the display. The bodge wire is to tie EXTCOMIN to ground (which was floating previously). Pin one is on the left as you see it here:


Here's what gets sent out over SPI. The logic analyzer is connected to the 3V side of the bus transceiver:


The SPI clock is super-slow: only about 8kHz. Note that the lcd wants the bytes to arrive with LSB first, but this screen shot is showing the hex values as MSB first. The first byte going out is a command with the first two bits (as sent over SPI) high. That says it's a write command with VCOM set high. Next is one byte of row address (1-96) followed by 12 bytes of data (every other pixel) and a two-byte trailer.

The rest of the wiring is as follows:


The mcu is running at 1.8V and U1 is a SN74AVCH4T254 to translate the signals to 3V for the lcd module. Note that EXTCOMINT is floating in the schematic, but tied to ground currently (didn't seem to matter either way). Also, the signal labels between the bus transceiver and the mcu are wrong, but the connection are (I believe) correct.

Any suggestions?

 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Sharp Memory LCD
« Reply #1 on: April 11, 2013, 07:15:58 pm »
Well, I've got no clue, but... just saying, I love the purple board labeled "Azul".
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Sharp Memory LCD
« Reply #2 on: April 11, 2013, 07:17:06 pm »
Wait, isn't your CS inverted? They're usually active low.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Sharp Memory LCD
« Reply #3 on: April 11, 2013, 07:24:18 pm »
Wait, isn't your CS inverted? They're usually active low.

Yeah, they usually are. But the Sharp seems to want it to be active high. At least, that's how I'm interpreting page 9 of the app note.

"Azul" is because of the bluetooth module on the same board.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Sharp Memory LCD
« Reply #4 on: April 11, 2013, 07:43:15 pm »
Didn't Mike play with one in his videos?
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Sharp Memory LCD
« Reply #5 on: April 11, 2013, 07:56:06 pm »
Didn't Mike play with one in his videos?

Yes, he did. I think he said they were "easy" to interface too.  |O
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14835
  • Country: gb
    • Mike's Electric Stuff
Re: Sharp Memory LCD
« Reply #6 on: April 11, 2013, 08:01:36 pm »
Remember you need to periodically flip the COM line, either directly or via the bit in the SPI command (depending on the setting of EXTMODE) . I think it will still display if you don't, but may damage it if left in one state long-term due to electrolysis.

This can be as slow as 1Hz - I'm not sure why you would want to do it faster - it doesn't appear to make much difference and draws more power, but slower does make it start to flicker visibly.

ISTR you also need to sen exactly the right number of clocks and dummy bytes as specified in the datasheet. And remember that CS is active high.

The other thing to watch is that you make sure the SPI port has finished sending bytes before de-asserting CS
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Sharp Memory LCD
« Reply #7 on: April 11, 2013, 08:41:21 pm »
Remember you need to periodically flip the COM line, either directly or via the bit in the SPI command (depending on the setting of EXTMODE) . I think it will still display if you don't, but may damage it if left in one state long-term due to electrolysis.

This can be as slow as 1Hz - I'm not sure why you would want to do it faster - it doesn't appear to make much difference and draws more power, but slower does make it start to flicker visibly.

ISTR you also need to sen exactly the right number of clocks and dummy bytes as specified in the datasheet. And remember that CS is active high.

The other thing to watch is that you make sure the SPI port has finished sending bytes before de-asserting CS

Jeez, I hope I didn't hurt it in my early attempts (which probably didn't have COM toggling correctly). It's not like I left it powered up in that state for very long though. Maybe a minute or two each time.

I'm attempting to do the COM toggling in software. The EXTMODE pin is tied to ground (along with EXTCOMIN). My test code has a loop that flips the VCOM bit (that's or'd into each command byte) once per screen sent (96 rows). So 96 rows will go out with VCOM=0, and then 96 with VCOM=1. When the SPI clock is running higher, it does about 10 screens per second.

CS is active high, and there's plenty of dead time between when the CLK is quiet and CS finally goes low. Could it be too much time?

It's got to be something simple, but I have no idea what.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 30351
  • Country: nl
    • NCT Developments
Re: Sharp Memory LCD
« Reply #8 on: April 11, 2013, 08:50:48 pm »
How is the clock polarity? Does the display sample the data on the rising or falling edge? You need to setup the SPI interface so it drives the data before the clock edge the display uses to sample the data.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 9176
Re: Sharp Memory LCD
« Reply #9 on: April 12, 2013, 12:28:25 pm »
From the app note it says the driver area should not be exposed to light. Try shielding it?
Jeez, I hope I didn't hurt it in my early attempts (which probably didn't have COM toggling correctly). It's not like I left it powered up in that state for very long though. Maybe a minute or two each time.
:o When that app note says you shouldn't exceed 1 second and you leave it for a minute...
 

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Sharp Memory LCD
« Reply #10 on: April 12, 2013, 01:08:26 pm »
Pin 5 on the flex connector wasn't actually soldered to its pad. Pin 5 is the DISP line that actually enables the display. :palm: I bet the controller was running the whole time. Without a doubt, that little 10-pin connector is the most challenging thing I've had to hand-solder yet. 0.5mm flatpacks are easy-peasy in comparison.

Now that I can see the little bugger, it's pretty interesting. The "circuitry" on the edge of the display visibly pulsates like tiny blood vessels. Surprisingly, it seems to work even at 2 volts.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Sharp Memory LCD
« Reply #11 on: April 12, 2013, 01:15:39 pm »
Without a doubt, that little 10-pin connector is the most challenging thing I've had to hand-solder yet. 0.5mm flatpacks are easy-peasy in comparison.

Flux. Flux, flux, flux, flux, flux. When you think you have enough, add about ten times more. (And 0.5mm QFPs are easy-peasy)

Quote
The "circuitry" on the edge of the display visibly pulsates like tiny blood vessels.

 :o
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Sharp Memory LCD
« Reply #12 on: April 12, 2013, 04:38:54 pm »
Flux. Flux, flux, flux, flux, flux. When you think you have enough, add about ten times more. (And 0.5mm QFPs are easy-peasy)
I used solder paste to begin with (which has flux mixed in). I probably didn't get enough under that pin because there was a gap between it and the board. I only saw it with a 40x loupe held at just the right angle. Looking straight down onto the board, it appeared normal.

Quote
:o
They are organic molecules, you know. "It's Alive! Muahahaha!"
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14835
  • Country: gb
    • Mike's Electric Stuff
Re: Sharp Memory LCD
« Reply #13 on: April 12, 2013, 04:52:05 pm »
Flux. Flux, flux, flux, flux, flux. When you think you have enough, add about ten times more. (And 0.5mm QFPs are easy-peasy)


While I'd normally agree, you need to be careful with FFC connectors as you don't want the contacts clogged with flux. Use plenty of cleaner (e.g. Fluxclene) afterwards.
Remember that flux only works once, so clean it off & put more on after a failed soldering attempt.


Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline andyturkTopic starter

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
The Payoff
« Reply #14 on: April 14, 2013, 03:19:00 am »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->