|
Forum Index : Microcontroller and PC projects : 7" LCD touch anomaly
| Author | Message | ||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
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: AustraliaPosts: 1116 |
@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 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 StatesPosts: 1427 |
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.) Micromites and Maximites! - Beginning Maximite |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
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 StatesPosts: 1427 |
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: AustraliaPosts: 1116 |
@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 StatesPosts: 1427 |
Same thing happens with a 5" panel. Micromites and Maximites! - Beginning Maximite |
||||
CircuitGizmos![]() Guru Joined: 08/09/2011 Location: United StatesPosts: 1427 |
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. Micromites and Maximites! - Beginning Maximite |
||||
| panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
@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: AustraliaPosts: 1116 |
@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 StatesPosts: 1427 |
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 StatesPosts: 1427 |
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: AustraliaPosts: 1116 |
@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 StatesPosts: 1427 |
Yes, I use the 1963 PWM, too. Micromites and Maximites! - Beginning Maximite |
||||
| panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
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 StatesPosts: 1427 |
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: AustraliaPosts: 446 |
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 StatesPosts: 1427 |
I'm using: OPTION LCDPANEL SSD1963_7, LANDSCAPE,, 30 OPTION TOUCH 51, 33, 42 Just like Panky said. The MM+ manual should be updated. Micromites and Maximites! - Beginning Maximite |
||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9753 |
Nice find, guys, well done. Smoke makes things work. When the smoke gets out, it stops! |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |