Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: Picromite Aug 18 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 932
Posted: 09 August 2018 at 9:14pm | IP Logged Quote lew247

Hi Peter
I "think" I've found a bug with the Picromite, it "may" be an error with my soldering but I don't think so

When I attach an SSD1963 display (7 inch) it works ok other than the touch will not calibrate

I thought I'd messed the display up when I tried to move the jumper for the backlight so I bought 2 new ones and both of them are doing the same thing.


I was about give up and get another display when I suddenly had the idea to try calibrating it with my Explore 100 board and it calibrates perfectly with no errors.

This is the error - it appears after touching the 2nd touch point in the calibrate routine




btw IF this is an error and do release an updated version, any chance of the gauges that are in the latest MM test version? they look really simple to implement for someone as useless at programming as me


Edited by lew247 on 09 August 2018 at 9:15pm



Back to Top View lew247's Profile Search for other posts by lew247
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2198
Posted: 09 August 2018 at 9:43pm | IP Logged Quote matherp

Just tested 5.4.20 on a Pi-Zero and it works fine. I'm using Grogster's backpack to connect the display:

Option lcdpanel SSD1963_5,l,,36
Option touch 26,24

Will include the new controls when Geoff releases the source at the end of the beta period

Check SPI wiring:
T-DIN - 19
T-DOUT - 21
T-CLK - 23



Edited by matherp on 09 August 2018 at 9:54pm
Back to Top View matherp's Profile Search for other posts by matherp
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 932
Posted: 10 August 2018 at 4:08pm | IP Logged Quote lew247

Thanks Peter
Back to Top View lew247's Profile Search for other posts by lew247
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 932
Posted: 10 August 2018 at 10:52pm | IP Logged Quote lew247

I just redownloaded 5.4.20 in case I was using an older version and reinstalled it
Deleted the Options file
and when I go to calibrate the touch I still get the same error

This is the relevant part of the circuit and I'm pretty sure it's correct



Back to Top View lew247's Profile Search for other posts by lew247
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2198
Posted: 10 August 2018 at 11:14pm | IP Logged Quote matherp

16 is T_DO which should be connected to SPI_IN
20 is T_DIN which should be connected to SPI_OUT
Back to Top View matherp's Profile Search for other posts by matherp
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 932
Posted: 11 August 2018 at 12:49am | IP Logged Quote lew247

According to the manual
21 DIGITAL_IN DIGITAL_OUT SPI-IN
19 DIGITAL_IN DIGITAL_OUT SPI-OUT


On the SSD1963
pin 16 T_DO is connected to pin 19 on the Picromite
pin 20 T_DIN is connected to pin 21 on the Picromite

so it should be working
Back to Top View lew247's Profile Search for other posts by lew247
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 2198
Posted: 11 August 2018 at 1:07am | IP Logged Quote matherp

Quote:
so it should be working


If it was right it would be working

T_DO (pin 16 of the SSD1963 in your diagram) is the output of the touch controller it connects to SPI-IN
T_DIN (pin 20 of the SSD1963 in your diagram) is the input to the touch controller it connects to SPI-OUT

Your diagram above is incorrect - the signals are swapped. Check Grogster's PCB which is correct





Edited by matherp on 11 August 2018 at 1:19am
Back to Top View matherp's Profile Search for other posts by matherp
 


If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Search the forums using Google.
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1250 seconds.
Privacy Policy     Process times : 0, 0.02, 0, 0.11