Home  |  Contents 

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

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 972
Posted: 19 September 2018 at 5:05pm | IP Logged Quote lew247

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 on 19 September 2018 at 5:06pm



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: 2355
Posted: 19 September 2018 at 5:37pm | IP Logged Quote matherp

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
Back to Top View matherp's Profile Search for other posts by matherp
 
GoodToGo!
Senior Member
Senior Member
Avatar

Joined: 23 April 2017
Location: Australia
Online Status: Offline
Posts: 162
Posted: 19 September 2018 at 10:44pm | IP Logged Quote GoodToGo!

lew247 wrote:
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!
Back to Top View GoodToGo!'s Profile Search for other posts by GoodToGo!
 
lew247
Guru
Guru
Avatar

Joined: 23 December 2015
Location: United Kingdom
Online Status: Offline
Posts: 972
Posted: 21 September 2018 at 11:49pm | IP Logged Quote lew247

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
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: 972
Posted: 22 September 2018 at 3:58am | IP Logged Quote lew247

lew247 wrote:
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
Back to Top View lew247's Profile Search for other posts by lew247
 
Azure
Guru
Guru
Avatar

Joined: 09 November 2017
Location: Australia
Online Status: Offline
Posts: 435
Posted: 22 September 2018 at 9:16am | IP Logged Quote Azure

The important thing is you stuck at it and got it sorted out, well done.
Back to Top View Azure's Profile Search for other posts by Azure
 
GoodToGo!
Senior Member
Senior Member
Avatar

Joined: 23 April 2017
Location: Australia
Online Status: Offline
Posts: 162
Posted: 25 September 2018 at 6:31pm | IP Logged Quote GoodToGo!

lew247 wrote:
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!
Back to Top View GoodToGo!'s Profile Search for other posts by GoodToGo!
 


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.
<< Prev Page of 3
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, 0, 0.12