Diskussions- und Newsboard des DARC-Ortsverbandes I40
allgemeine Kategorie => mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) => Message started by: S58J on 13. April 2018, 03:32:20

Title: mcHF v0.7 Touchscreen
Post by: S58J on 13. April 2018, 03:32:20

Hi

I just did the "smoke test" of my mcHF rev 0.7 that was built 4 hours ago. It works!!!! At least the UHSDR seems to run properly, LCD works and I hear the sweet receiver noise - no antenna connected and TX tested yet. The feeling is just amazing, because I did it from the scratch (I bought just PCBs).

I am still new to mcHF and UHSDR (I use 2.7.63). With the help of UHSDR user manual (thank you) I managed to arrange a lot of settings. However I still can't find how to start using touchscreen. As stated, it is mcHF rev. 0.7 with 3.2 LCD and UHSDR 2.7.63.

Looking forward to your suggestions.

Respectfully

Janez, W4/S58J

Title: Re:mcHF v0.7 Touchscreen
Post by: peter_77 on 13. April 2018, 06:33:06

Congrats ! :D
But why did you start with such an old Firmware version and did'nt use the actual 2.9.x ?
Anyway an update via USB stick can be quickly done.
In terms of the touchscreen 2 questions:
1.)
If you go in the menue to System Info can you see a detected touchscreen controller there ?
2.)
What happens if you start the touchscreen calibration routine ? Thats pressing the touchscreen on any point and keep it pressed while you power on the mcHF.
That should start the calibration routine !
Also the button test helps.
At power on keep the power button pressed until the blue button test screen appears.
Here you can check all your buttons and the x y coordinate detection of the touchscreen.
Of course actual UHSDR firmware is needed for issue 2.)

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 13. April 2018, 13:58:01

Hi

Thank you for your reply. In the System Info I see only the following:

Display HY28A/B Para. (strange, since I have HY32D)
Disp. Controler ILI9328
SI570 55h/56.3200 MHz
SI5351A Not found!

Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 13. April 2018, 14:03:50

That is not important. What are the entries of the next page? That is interesting...

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 13. April 2018, 14:12:58

Hi Andreas

The next page:

EEPROM 24CM02/256K (used)
Touchscreen XPT2046
CPU 419h
Flash Size 2048
RAM Size 256
Firmware D2.7.63

Title: Re:mcHF v0.7 Touchscreen
Post by: peter_77 on 13. April 2018, 18:58:10

Looks good ! Touchscreen is detected as you can see by yourself ! :)
What are the results of the button test ? (keep power button pressed at power on)
And...what are the results of the touch calibration test (keep touchscreen pressed anywhere while power on)
These two tests are important.

And you should also upgrade to latest 2.9 version firmware !!
https://www.amateurfunk-sulingen.de/uhsdr/firmware-latest/ (https://www.amateurfunk-sulingen.de/uhsdr/firmware-latest/)
Have you also installed the ver 4.0.0 bootloader ?
https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/ (https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/)
Both is strongly recommended !

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 13. April 2018, 20:37:33

Hi Peter

I have performed Bootloader and FW upgrade. Now Boot 4.0.0. and FW 2.9.25. All runs ok. Then I did the keys and touchscreen test as you suggested. Here are the results:

KEYS TEST:
Keys initial : 00010000
# of keys pressed: 1
Touch coordinates:

TOUCHSCREEN TEST:
Keys initial : 00030000
# of keys pressed: 2
Touch coordinates:

Later, during the normal use whatever I touch on the screen nothing happens. Am I missing some menu settings that I should have do?

Kind regards

Janez, W4/S58J

Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 14. April 2018, 08:08:02

Do you have performed touchscreen calibration? This is mandatory before you can use the touchscreen.

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: peter_77 on 14. April 2018, 09:53:09

Quote:
Am I missing some menu settings that I should have do?

Yes ! As Andreas wrote above.
You have to press both Band + and - simultaneously when entered calibration mode to start the calibration process.
Here you need to press 5 calibration crosses + in the 4 edges and in the center to calibrate the touchscreen.
So most likely you forgot to press Band + and - together to start ?!

But even on the blue key test screen you should see rapidly changing x y coordinate numbers when pressing or moving your finger on the touchscreen. You did'nt wrote if this was the case.
So just perform the calibration. If that fineshes error free you can even draw pictures with your fingers on the screen at the end of the calibration.
See here:
https://www.amateurfunk-sulingen.de/forum/index.php?board=18;action=display;threadid=930;start=30 (https://www.amateurfunk-sulingen.de/forum/index.php?board=18;action=display;threadid=930;start=30)
(Picture in the middle of the thread)

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 15. April 2018, 01:29:38

Hi

Sorry to keep you so long on the touchscreen issue. No, I haven't yet perform touchscreen calibration. So I tried to enter the touchscreen calibration by touching the screen while pressing power button. The problem is, that the process never moved beyond the screen than just showing me that 2 keys are pressed (power button and my finger on the touchscreen). It stops at that point and I get no further instructions. And of course everything goes off as soon as I leave the Power button.

I tried to google out (hi) how to enter calibration mode any other way and at which point I press both Band+ and Band - buttons but no luck except the fact that I need to press the screen while pressing power button. But as stated I stock at the initial screen.

The x,y coordinates were showing only during the very first attempt to enter calibration mode. Now this is also gone, however the software still reacts to the screen press by only changing the number of pressed buttons (so it toggles between the # of buttons pressed value 1 and 2, pending if I press the screen or not).

Sorry again, I know I am doing something wrong. I am trying to get all the pieces together.

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 15. April 2018, 04:30:27

Hi again

I am burning a midnight oil .... I have to correct my previous statement. X/Y raw changes values normally as I move around the screen. The problems was that I've been holding power button too long and depressed any other key or screen first. If I depress power button first then touchscreen coordinates change.

However, even I hold the screen I stay on the initial blue screen (INPUT TEST SCREEN) - I am still unable to enter touchscreen calibration.

Title: Re:mcHF v0.7 Touchscreen
Post by: DB4PLE on 15. April 2018, 07:04:50

Hi Janez,

plus update to FW 2.9.27, then tell us:

1. If you are doing nothing just turn the TRX on, it goes to the normal operation mode, right?
2. If you are pressing the touchscreen and nothing else during power on, the INPUT TEST SCREEN appears or the calibration screen?

73
Danilo






Title: Re:mcHF v0.7 Touchscreen
Post by: peter_77 on 15. April 2018, 12:03:37

Quote:
than just showing me that 2 keys are pressed (power button and my finger on the touchscreen).

He he, yes thats the trap i stepped in too the first time doing the calibration misinterpreting what i read on the screen. But the solution is pretty easy.

If you see the calibration screen you can of course release your finger from the touchscreen and power button.
What you then need to do is with your now free fingers press the Band + and the Band - button simultaneously together to start the calibration and see the next screen.
So it did NOT show you that Band + and - are pressed but WANTS you to press them together for the next step. ;)

If you see the x y coordinates in the button test and that they change values while moving the finger on the screen its a good sign and tell you that for 99% your touchscreen is ok
Then its time for the above calibration procedure...

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 16. April 2018, 01:01:46

Peter, Andreas and Danilo

Thank you for your huge effort. Quick status report:
- With new FW 2.9.27 no more issues getting into Touch Calibration (it works!).
- I performed the calibration but during operational mode things are not where they supposed to be.
- For example to change meter I need to press somewhere in the scope...
- Or at the end of the calibration if I want to do free drawing the system blocks and you cannot power off.
- I am not really sure of the following sentence in the instructions: "After three valid samples position of cross changes". Does it mean that I need to press each cross three times?
- And crosses position change automatically anyway if I do something or not.

To sum it up: Touch Calibration now works while on 2.9.25 it was imposible. However the touch calibration procedure is slighly confusing (and runs on its own with or without my interaction) with not so good results when in operational mode (you need to press all over the screen to find particular control).

Title: Re:mcHF v0.7 Touchscreen
Post by: DB4PLE on 16. April 2018, 05:59:25

Hi Janez,

firmware 2.9.25 had a bug in that area.

Anyway, I think your mcHF has hardware problems, as it is not normal that "the touchscreen touch itself". You have to press each cross manually three times and that works on my machine without any problems.

I've heard rumors that there is a problem on the mcHF 0.7 design with random button presses due to interference from the RF part into the digital domain (search for copper in the Yahoo NG). You might have that problem. However, I would not have expected this to happen in RX, but I don't know any details, just saw someone soldering an array of capacitors to the board to fight the issue (instead of using copper foil).

73
Danilo

Title: Re:mcHF v0.7 Touchscreen
Post by: SP9BSL on 16. April 2018, 07:30:28

Hi Janez,
Quote from: S58J on 16. April 2018, 01:01:46
- I am not really sure of the following sentence in the instructions: "After three valid samples position of cross changes". Does it mean that I need to press each cross three times?

YES this is mandatory because function takes average of the three measurements for each point. It is a MUST to perform calibration exactly as described on the screen.
Quote from: S58J on 16. April 2018, 01:01:46
- And crosses position change automatically anyway if I do something or not.

To sum it up: Touch Calibration now works while on 2.9.25 it was imposible. However the touch calibration procedure is slighly confusing (and runs on its own with or without my interaction) with not so good results when in operational mode (you need to press all over the screen to find particular control).


And this is the problem. It can not do "self service" it is an user interaction with touchpanel not for the panel itself. So if it does, there must be something like glitches on TP_IRQ line (you can observe this with scope probe, when you touch the screen it should be pulled low by touch screen controller on your lcd pcb, but only during the touching).

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 16. April 2018, 21:39:56

Hi to all

I made a video which can better explain the situation than my limited English. It is about Touchscreen calibration where I press NOTHING and the process just goes on. Of course prior to that I have pressed BAND + and BAND - together and after that I have touched the screen.

Problem is that video exceeds the 5Mb forum quota (it is 17Mb). So you can get it directly from me: radioamaterizem at gmail dot com.

Another situation: if I race against the procedure and try to press each cross a couple of times, before it moves to another, than I get a limited progress on the operational screen. But the touching point for individual command is still not where it should be but somehow closer.

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 16. April 2018, 21:56:26

Another observation to add:

I believe it is not hardware related issue. If during the procedure I press the cross and hold it, the procedure halts and it doesn't move to another cross before I depress the current one.

Title: Re:mcHF v0.7 Touchscreen
Post by: peter_77 on 17. April 2018, 10:16:22

Never "hold" it during pressing the cross. You need to press the cross 3 times, than another cross appears, again 3 times press and so on.
This needs to be repeated for 5 crosses. The 4 corners and a center cross.
Pretty self explaining.
After that the procedure is over. You can then start a little "painting program" on the screen or reboot into normal operation.

If the calibration process does something of his own. That means that the touchscreen is somehere pressed.
Also the button check process (blue screen) should show this. It shoes even the value which button is permanently pressed.
This can happen if the edges of the screen window from your case or something else press to hard against the touchscreen.
The screen than "thinks" that a button is pressed and reacts weired.
You can testwise avoid this in not mounting anything around the touchscreen.

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 17. April 2018, 11:15:39

Hi

The LCD is in the clear, test blue screen everything indicates normal - coordinates change only when I touch the screen. During the operational mode I hear beep only when the screen is being touched...

The problem begins as soon as I see the first cross in the calibration procedure. And at the end it is impossible to draw anything because the screen blocks and draws something on its own (some scatterd points arround the screen). I need to remove the power phisically because during drawing even Power button becomes blocked.

During the calibration I know that I need to press each cross 3 times. Buy only holding the cross I just wanted to test the reaction of the program (if it will still continue to run on its own).

Again, it would be good for you to see the video I have made.

Little more about touchscreen during the operational mode: looks like all commands shifted slightly lower and to the left - like a have a smaller screen. In my previous post I have mentioned that System info/Display shows HY28A/B but I have HY32D.


Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 17. April 2018, 11:56:37

Screen size is calculated by data which is gathered by calibration process.

If screen "draws something by itself" without touching anything you do have spikes on TP-IRQ line. You must investigate if it is a soldering problem on UI-PCB or the LCD itself which throws TP_IRQs by chance.

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 17. April 2018, 16:59:06

Hi Andreas

I just checked the soldering - all OK. TP_IRQ is connected to the PA4 (pin 29) on STM32. No resistance, no bridges, ...

Then I suppose the only way forward is to buy a new HY32D? Or is there a test I can do with HY32D alone, regarding the TP_IRQ?

Unfortunately I have only a limited number of instruments (multi-meter, professional LCR meter, and W-meter).

Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 17. April 2018, 17:09:33

You only need to cut TP_IRQ connection from LCD to STM. No measurement equipment neccessary.

If problem persists: --> solder bridges on UI PCB.
If problem is gone --> faulty LCD

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 17. April 2018, 20:46:55

Hi

TP_IRQ trace is cut, but now I have no touchscreen capability during the normal operation and I cannot enter the Touchscreen Calibration during the startup. Does this proves faulty LCD?

vy 73
Janez

Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 18. April 2018, 06:33:57

I think this indicates faulty LCD. Of course you cannot have touchscreen capability if the line is cut. But if the spures are not present if line is cut they MUST come from LCD itself. And if nothing is touched there should not be any TP_IRQ signals.

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 18. April 2018, 17:28:40

Hi

Spures are still there, aprox every 2kHz, however their amplitude is now almost 10dB down (lower). Check the attached photo.

73s
Janez, W4/S58J

Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 18. April 2018, 17:39:19

I cannot tell something about the spurs - but about the touchscreen calibration. There was something hurt in the last version (27) that cause the calibration errors. So meanwhile I do not think there is something wrong with your LCD or UI PCB - please stay tuned (or takt 26 version).

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 18. April 2018, 17:52:24

Thank you Andreas. I will wait for the solution.

All the best to the team for your hard work. Without you guys, we would never have so much fun building so cool transceivers (which in my opinion smashes FT-818 into the dust and many others, but I don't want to provoke anyone - just my opinion).

Respect!

Janez, W4/S58J

Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 18. April 2018, 17:57:03

::) Thank you for telling us your opinion - big motivation....

We all have had already calibrated our TCs so nobody has noticed the bug. It will disappear as fast as possible. You can step back to v 2.9.26, do the calibration and store it by powering off via power button, then step forward to 2.9.27 and TC will use calibration data which is stored.

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 19. April 2018, 00:59:00

Buttom line: my touchscreen works. Yessssssss

However:
- Going back to 2.9.26 = no success, same problems with Touchscreen calibration.
- Then I bluffed and blindfoldedly selected FW 2.9.19 = almost no success, calibration still runs on its own, BUT it has about a second more delay between the crosses and that was good enough to calibrate.

Now my touchscreen is almost spot on, anyway good enough for me and it is fun using it. Of course I upgraded back to FW 2.9.27, but I will not even remotely go back into Touchscreen calibration!

Another observation: spures are almost gone.

Conclusion:
I believe that Touchscreen bug is present for longer time - it is a part of some recent upgrades.

Title: Re:mcHF v0.7 Touchscreen
Post by: DB4PLE on 19. April 2018, 12:11:34

Hi,

2.9.28 is the firmware to go. This one has working calibration. BTW, 2.9.15 does not have the "autotouch" issue from 2.9.27. If you see automatic touch there, you have in my opinion some kind of a hardware problem.

Anyway, glad you can operate the TRX now.

73
Danilo

Title: Re:mcHF v0.7 Touchscreen
Post by: sm0nor on 23. April 2018, 05:47:19

Hi Janez!
I have just read the this thread. I have the same symptoms. Have you been succéfull yet?

/Ulf

Title: Re:mcHF v0.7 Touchscreen
Post by: DF8OE on 23. April 2018, 06:32:01

Yes, it is solved and only was present in this (one) specific firmware version. If you do have it at other versions it is not a firmware bug but a hardware bug.

vy 73
Andreas

Title: Re:mcHF v0.7 Touchscreen
Post by: S58J on 24. April 2018, 01:07:57

Hi

Although I said I will not mess with my current Touchscreen settings I couldn't resist the temptation to test FW 2.9.28.

To keep the story short: Touchscreen calibration procedure now works like a charm!

Thanks UHSDR Team. Your are the best!

vy 73

Janez, W4/S58J


Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.