Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:20 02 Aug 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 : Picromite Aug 18

     Page 2 of 2    
Author Message
GoodToGo!

Senior Member

Joined: 23/04/2017
Location: Australia
Posts: 188
Posted: 11:30pm 18 Sep 2018
Copy link to clipboard 
Print this post

Hi Lewis,

I think the SSD1963 connector orientation might be wrong if the connector is mounted on the other side of the board.
Have a good look at Pin 1 as an example, especially compared to the Pi connector. With the board flipped, (ie. SSD1963 side up) is the connector on the left or right side? (Landscape more) Where is pin 1 on the display? Does it match up with pin 1 of the connector? Once you have the orientation correct, then you can wire it up.
I suspect looking at your picture as is, that Pin 1 of the SSD1963 connector is actually in the Top left position, instead of top right.

This would make all connections to the SSD1963 incorrect.

Cheers,
GTG!
...... Don't worry mate, it'll be GoodToGo!
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 12:23am 19 Sep 2018
Copy link to clipboard 
Print this post

Lew, use your multimeter to make sure you have continuity from T_CS to pin 26 on the Picromite. The circuit as you have drawn it looks OK.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
GoodToGo!

Senior Member

Joined: 23/04/2017
Location: Australia
Posts: 188
Posted: 02:28am 19 Sep 2018
Copy link to clipboard 
Print this post

OK.

Disregard my last post. I think I know what is going on, and it looks like what most people were trying to say with regard to the T-DIN/SPI-OUT and T-DO/SPI-OUT connections.

Here is the SSD1963 connector.



And here is my modified version of your PCB layout:-





From your pin numbering, SSD1963 Pin 16 (T-DO) has to connect to Picromite Pin 21 (SPI-IN) NOT Pin 19 (SPI-OUT).
Likewise SSD1963 Pin 20 (T-DIN) has to connect to Picromite Pin 19 (SPI-OUT) NOT Pin 21 (SPI-IN).

At the moment your Touch (DIN/DOUT) SPI connections to the Picromite are reversed. Swap them around.

Also note that your labelling of T-CS and SPI-CLK were swapped as well.

Long story short:-

Your SSD1963 pin 24 (T-CLK) Connects to Picromite Pin 23
Your SSD1963 pin 22 (T-CS) Connects to Picromite Pin 26
Your SSD1963 pin 20 (T-DIN) Connects to Picromite Pin 19
Your SSD1963 pin 16 (T-DO) Connects to Picromite Pin 21
Your SSD1963 pin 14 (T-IRQ) Connects to Picromite Pin 24

(I say 'Your SSD1963' because I think Pin 1 on the SSD1963 is actually the 'GND' pin in the top left corner? Anyone?)

I hope the above helps......

Cheers,

GTG!



...... Don't worry mate, it'll be GoodToGo!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 03:04am 19 Sep 2018
Copy link to clipboard 
Print this post

I think he has the PiZero upside down. need to be flipped left to right.


This should be the pins looking from above.

Easily tested by using jumpers.

Jim
VK7JH
MMedit
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 07:05am 19 Sep 2018
Copy link to clipboard 
Print this post

Sorry
TO make it clearer

and EVERYTHING works perfectly other than when I try and calibrate the touch

The top 2 calibration points work, once I touch the 3rd one I get "Hardware Failure" message

I'm 98% the pins are correct - ?


Edited by lew247 2018-09-20
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 07:37am 19 Sep 2018
Copy link to clipboard 
Print this post

  Quote  and EVERYTHING works perfectly other than when I try and calibrate the touch

The top 2 calibration points work, once I touch the 3rd one I get "Hardware Failure" message


Given this we know that T_IRQ is wired correctly.

Check the Pi is all OK. First remove the display.

For each of the 5 pins set them up as DIN. Connect wires at the display header between the pins and GND then the pins and 3.3V and check they read correctly ("PRINT PIN(n)")

Connect SPI-OUT to SPI-IN at the display header then initialise SPI and execute "PRINT HEX$(SPI(&H55))" check it prints "55"

Initialise SPI at a slow speed. Connect SPI-CLK to one of the COUNT inputs (e.g. SETPIN 12,CIN). Execute a single SPI transfer and check the count is incremented by 8
 
GoodToGo!

Senior Member

Joined: 23/04/2017
Location: Australia
Posts: 188
Posted: 12:44pm 19 Sep 2018
Copy link to clipboard 
Print this post

  lew247 said  I'm 98% the pins are correct - ?


You really need to be 100% sure. Pull both boards off and check for continuity and shorts between pins.

One other thing, have you got the display SD card SPI pins connected to anything? I wonder if leaving them floating could cause issues?

Cheers,
GTG!
...... Don't worry mate, it'll be GoodToGo!
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 01:49pm 21 Sep 2018
Copy link to clipboard 
Print this post

I found the problem eventually after checking about 10 times and 9 times I missed it
T_DIN and T_DOUT were swapped
so annoyed with myself
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 05:58pm 21 Sep 2018
Copy link to clipboard 
Print this post

  lew247 said   I found the problem eventually after checking about 10 times and 9 times I missed it
T_DIN and T_DOUT were swapped

GoodToGo you were correct, thank you
so annoyed with myself
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 11:16pm 21 Sep 2018
Copy link to clipboard 
Print this post

The important thing is you stuck at it and got it sorted out, well done.
 
GoodToGo!

Senior Member

Joined: 23/04/2017
Location: Australia
Posts: 188
Posted: 08:31am 25 Sep 2018
Copy link to clipboard 
Print this post

  lew247 said   I found the problem eventually after checking about 10 times and 9 times I missed it
T_DIN and T_DOUT were swapped
so annoyed with myself


Don't beat yourself up about it. As they say, s*!t happens. Joint effort by many people here that helped you out, not just me.
Now have fun with it!

Cheers,

GTG!
...... Don't worry mate, it'll be GoodToGo!
 
     Page 2 of 2    
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