Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:00 11 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : 7" LCD touch anomaly

Author Message
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 10:48pm 21 Aug 2018
Copy link to clipboard 
Print this post

I have a 7" SSD1963 LCD display connected to the Peter Mather Backpack+.

MicroMite+ code I've tried: V5.04.10_Beta, V5.04.09, and V5.04.08.

If I OPTION LCDPANEL SSD1963_7, LANDSCAPE or OPTION LCDPANEL SSD1963_7A, LANDSCAPE and then write to the screen, everything is fine.

If I then OPTION TOUCH 51,33, 50 the screen only displays about 3/4 of what I expect it to display when I write to it.

Anyone see this before? Is anyone set up to reproduce it?



Micromites and Maximites! - Beginning Maximite
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 11:39pm 21 Aug 2018
Copy link to clipboard 
Print this post

@circuitgizmos,

I have a PM board bought from you running a 7" display and MMBasic 5.04.10 beta 5 with no problems (I have also run 5.04.08, 5.04.09 without issues).

I have a complex graphics program running with no issues.

panky

Edit: My options are

OPTION LCDPANEL SSD1963_7,RLANDSCAPE,,30
OPTION TOUCH 51,33,42
OPTION SDCARD 52
OPTION RTC 43,44

pankyEdited by panky 2018-08-23
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 11:42pm 21 Aug 2018
Copy link to clipboard 
Print this post

Thank you, Panky. Well, I'm a little bit stumped. Is your program just graphics, or touch, too?

(I also tried CPU 10. Things ran slower, but not better.)

Edited by CircuitGizmos 2018-08-23
Micromites and Maximites! - Beginning Maximite
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 11:57pm 21 Aug 2018
Copy link to clipboard 
Print this post

All my tests with the current beta versions have not shown this.

From the image it looks as if the SSD1963 scrolling register is set to a non zero value. This register is set to zero when the LCD is powdered up and is only changed by MMBasic when OPTION LCDPANEL CONSOLE is used and the display needs scrolling.

I don't have any clue as to how it got changed in your case (if indeed this is the issue). The OPTION TOUCH command has nothing to do with the SSD1963 chip.
Geoff Graham - http://geoffg.net
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 12:12am 22 Aug 2018
Copy link to clipboard 
Print this post

Thanks, Geoff. It is consistent about working right graphically until the OPTION TOUCH happens.

The GUI TEST LCDPANEL does this:



Note the circles are cut up.

GUI CALIBRATE does this:











Micromites and Maximites! - Beginning Maximite
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 12:42am 22 Aug 2018
Copy link to clipboard 
Print this post

@CG

I do seem to remember having problems if I left the SDCARD option undefined - you might try setting that.

Also my OPTION settings are a little different from yours above - see my previous post.

panky

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 12:42am 22 Aug 2018
Copy link to clipboard 
Print this post

Same thing happens with a 5" panel.
Micromites and Maximites! - Beginning Maximite
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 12:48am 22 Aug 2018
Copy link to clipboard 
Print this post

Panky: The options that I followed were from the MM+ manual. I tried your OPTION commands above but it made no difference.

OPTION TOUCH 51,33, 50 in the MM+ manual doesn't seem to be right for the PM Backpack+. Your 42 makes sense.

Edited by CircuitGizmos 2018-08-23
Micromites and Maximites! - Beginning Maximite
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 01:04am 22 Aug 2018
Copy link to clipboard 
Print this post

@CG

The pins in the MM+ manual are for the Explore 64 which is different to Peter's Backpack.

Did you try including the option SDCARD suggestion?

panky

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 01:08am 22 Aug 2018
Copy link to clipboard 
Print this post

@CG,

I think I have it - pin 50 on Peter's board is SPICLK so as soon as you setup your TOUCH options using 50 as your click pin, you screw up the spi clock.

panky

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 01:14am 22 Aug 2018
Copy link to clipboard 
Print this post

  panky said   @CG

The pins in the MM+ manual are for the Explore 64 which is different to Peter's Backpack.

Did you try including the option SDCARD suggestion?

panky


I did try the SDCARD suggestion.



These do NOT match the Backpack+. Manual should be changed.


Micromites and Maximites! - Beginning Maximite
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 01:16am 22 Aug 2018
Copy link to clipboard 
Print this post

  panky said   @CG,

I think I have it - pin 50 on Peter's board is SPICLK so as soon as you setup your TOUCH options using 50 as your click pin, you screw up the spi clock.

panky


I thought that, too. I've switched to 42, as per 1) your suggestion, 2) the schematic.


Micromites and Maximites! - Beginning Maximite
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 01:16am 22 Aug 2018
Copy link to clipboard 
Print this post

@CG,

Note also that I don't use the LED-A argument in OPTION LCDPANEL as I have the display set to 1963-PWM to use the internal brightness control hence my config of the LCDPANEL

OPTION LCDPANEL SSD1963_&,RLANDSCAPE,,30

Note the two commas to skip over the LED-A pin define with 30 being the RD pin.

panky


... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 01:19am 22 Aug 2018
Copy link to clipboard 
Print this post

  panky said   @CG,

Note also that I don't use the LED-A argument in OPTION LCDPANEL as I have the display set to 1963-PWM to use the internal brightness control hence my config of the LCDPANEL

OPTION LCDPANEL SSD1963_&,RLANDSCAPE,,30

Note the two commas to skip over the LED-A pin define with 30 being the RD pin.

panky



Yes, I use the 1963 PWM, too.

Micromites and Maximites! - Beginning Maximite
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 01:22am 22 Aug 2018
Copy link to clipboard 
Print this post

Do you have the RD pin 30 bridged on the PCB?

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 01:23am 22 Aug 2018
Copy link to clipboard 
Print this post

Well!

Ah HA!

If in doubt, blame hardware.

There was a very fine strand of something conductive laying against the processor pins. I pulled it off, and then put the localized hot air tool to the pins.

All is good, now. Fire is out!

Thank you all for your help.


Micromites and Maximites! - Beginning Maximite
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 01:49am 22 Aug 2018
Copy link to clipboard 
Print this post

I checked matherp MM+ Ultimate BP schematic The touch pins are 51, 33 ignore the last one if you don't have a click piezo.

 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 01:57am 22 Aug 2018
Copy link to clipboard 
Print this post

I'm using:

OPTION LCDPANEL SSD1963_7, LANDSCAPE,, 30
OPTION TOUCH 51, 33, 42

Just like Panky said. The MM+ manual should be updated.Edited by CircuitGizmos 2018-08-23
Micromites and Maximites! - Beginning Maximite
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9753
Posted: 02:40am 22 Aug 2018
Copy link to clipboard 
Print this post

Nice find, guys, well done.
Smoke makes things work. When the smoke gets out, it stops!
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025