Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:01 01 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 : CMM2 Display Blacking Out / No Signal Found

Author Message
va7ehf
Newbie

Joined: 23/07/2020
Location: Canada
Posts: 6
Posted: 08:02am 08 Aug 2020
Copy link to clipboard 
Print this post

Hi there,

I've soldered together a CMM2 from parts and I'm having an issue with the video output. One display, an old LCD TV, cannot see the VGA signal. Another display, an LCD computer monitor, sees the VGA signal but repeatedly keeps blacking out rendering it unusable. When the image is visible, the video looks great. The firmware also appears to continue running even while the display is blacking out (the machine registers key presses).

There appears to be some dependence on what the firmware is doing - this never happens in the command line mode, and it is especially bad when the cursor is on the third line in the edit mode.

I probed the 5V and 3V3 on an oscilloscope - looks clean and accurate. I've tried different power supplies: PCs, laptops, wall adapters. So far I can't identify any problems visually with the soldering or the components.

Perhaps related: putting my thumb over the crystal pads on the Waveshare board causes the exact same symptom.

Any ideas would be much appreciated. Thanks!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:23am 08 Aug 2020
Copy link to clipboard 
Print this post

Welcome.
Its a pity that things aren't going right fr you but there is hope.

Some monitors are very fussy.
The best fix is to do the Crystal modification.
Replace the 8MHz xal with a 8MHz oscillator module. It is more stable and keeps the vast majority of monitors happy.

Jim
VK7JH
MMedit
 
Atomizer_Zero
Senior Member

Joined: 04/07/2020
Location: United Kingdom
Posts: 134
Posted: 11:04am 08 Aug 2020
Copy link to clipboard 
Print this post

I had blacking out issues on my diy board too. Theres a spot under the waveshare board (on the cmm2 pcb) for the xtal ocscillator and 10uf cap, as TassyJim said. I installed these myself the other day (very fiddily) and it worked perfectly.
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 12:10pm 08 Aug 2020
Copy link to clipboard 
Print this post

I condensed this down from my "CMM2: v3.0 PCB kit build notes thread" which is getting a bit long ...

  matherp said  You need a 0705 8Mhz oscillator and a 1206 10nF capacitor.


From the Construction Guide:
External Oscillator
The latest PCB has provision for an external 8 MHz crystal oscillator to replace the 8 MHz crystal on the
Waveshare CPU board. This may be needed in some rare cases where a monitor has difficulty with some VGA
modes (such as 800x600 pixel 16-bit colour).
Most people will not need this mod however, if it is required, it can be implemented by removing the 8 MHz
crystal on the Waveshare CPU board and installing the external oscillator and a capacitor on the motherboard.
The parts required are:
1 SMD 1206 100nF ceramic capacitor
1 8MHz oscillator in 5.0 x 7.0 mm SMD package (QX7 XO 25ppm). Eg, RS Stock Nbr 813-6194 .


The Parts I used:
  Womble said  
LFSPXO018045
Oscillator, Crystal, 8 MHz, 50 ppm, SMD, 7mm x 5mm, 3.3 V, CFPS-73 Series
https://uk.farnell.com/iqd-frequency-products/lfspxo018045/crystal-oscillator-smd-8mhz/dp/9713468?st=0705%208Mhz%20oscillator
http://www.farnell.com/datasheets/2551800.pdf

Size: L: 3.2mm W: 1.6mm H: 0.55mm
Footprint: SMD 1206
Package formation: SMD tape
100nF: 16V +/- 10%
https://www.ebay.co.uk/itm/1206-SMD-Capacitors-90-Values-Available-10-Pack-UK-SELLER-Same-day-dispatch/264566930175?ssPageName=STRK%3AMEBIDX%3AIT&var=564323940840&_trksid=p2060353.m1438.l2649
eBay item number: 264566930175

Which way around ?



  matherp said  You can just see the pin 1 dot in your picture - top right

Parts should be fine. Be very careful soldering the oscillator that the solder doesn't wick up onto the case.

It will probably work even if you leave the crystal in place on the Waveshare but it does kill the crystal


I left the crystal in place, and can confirm that this was OK for me

  Womble said  
  KeepIS said  Retrofitting the xtal module is a pain. Solder paste was no good as once the header sockets are soldered in, there is no room to get a fine tip soldering iron at the right angle, there is no lead length at all on the xtal case. I wasn't game to try my  soldering heat gun even with a tiny nozzle as it would likely melt the plastic 80P header socket.

I agree 100%

When I fitted the crystal oscillator.  Do this first!!! I tinned the pads on the pcb, used solder wick to make sure there was only the smallest amount of solder bulge on the pad, applied some liquid flux, and tacked each of the 4 corners with a hot needle point iron.  This did a neat job for me.  As mentioned previously, be very careful not to create a short with the metal lid on the oscillator.

Pin One on the oscillator is a different shaped pad on the underside of the device.
(I grabbed this from the datasheet)


Then I had a go at the "grain of rice" (capacitor).  The same technique worked, but it is not pretty or flush to the pcb.  The capacitor is not polarised and can go either way around.

A magnifying glass, tweezers to hold compnents in place and a pointy iron got the job done ... even for an amateur hobbyist like me.

Fitting these to the pcb before assembling the waveshare headers would be a good idea if you get the chance.


Good luck with this, hopefully should fix your problem.
Edited 2020-08-08 22:24 by Womble
 
va7ehf
Newbie

Joined: 23/07/2020
Location: Canada
Posts: 6
Posted: 06:57pm 08 Aug 2020
Copy link to clipboard 
Print this post

Thanks for the advice guys! My understanding was that the external oscillator fix was for shimmering / loss of sync issues with video modes that had higher colour depth than the default. The external oscillator is definitely worth trying.

However, I can't remove the CPU board because the solder has wicked up through the connector and soldered several pins down. This happened to me before and I had to throw away the motherboard and CPU board. Now I've got all the parts soldered down to the motherboard and it's too expensive to start over again. Any advice on this? This might be worth making a separate thread.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 07:35pm 08 Aug 2020
Copy link to clipboard 
Print this post

 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 07:44pm 08 Aug 2020
Copy link to clipboard 
Print this post

  va7ehf said  However, I can't remove the CPU board because the solder has wicked up through the connector and soldered several pins down. This happened to me before and I had to throw away the motherboard and CPU board. Now I've got all the parts soldered down to the motherboard and it's too expensive to start over again. Any advice on this? This might be worth making a separate thread.

Ouch   Sorry to hear that

Are you aure its soldered in place ?

I find on my board the Waveshare is VERY tight in the socket and I need to gently lever it to separate the CPU and motherboard.  Obviously do this with great care so as not to damage anything.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:30pm 08 Aug 2020
Copy link to clipboard 
Print this post

I have done both my boards using the dead bug style like in Peters photo.
You don't have to remove the old crystal so it can all be done without removing the Waveshare module.

Jim
VK7JH
MMedit
 
va7ehf
Newbie

Joined: 23/07/2020
Location: Canada
Posts: 6
Posted: 09:55pm 08 Aug 2020
Copy link to clipboard 
Print this post

I will have to give the dead bug fix a shot! The dead bug fix crossed my mind but I was not sure if it was necessary to remove the crystal. This is great news.

Womble, I would say it's definitely soldered down. I have lifted the board out of the socket before (I later beefed up the solder joints thinking the issue was a bad joint).

In the meantime, I modified the MMBasic firmware to use 640x400 as the default instead of 800x600. The CMM2 now displays correctly on the TV - I can see it occasionally shimmer, this must be when the computer monitor blacks out. The computer monitor occasionally blacks out still at 640x400.

Thanks for all the suggestions everyone, it's really much appreciated. I will update here when I get the parts for the external oscillator mod.
Edited 2020-08-09 08:04 by va7ehf
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 11:15pm 08 Aug 2020
Copy link to clipboard 
Print this post

  va7ehf said  I will have to give the dead bug fix a shot! The dead bug fix crossed my mind but I was not sure if it was necessary to remove the crystal. This is great news.

Womble, I would say it's definitely soldered down. I have lifted the board out of the socket before (I later beefed up the solder joints thinking the issue was a bad joint).

No problemo ... I was surprised at how much force was required to remove the Waveshare on my board.  Quite scary amounts of force.

I too have had to go over my soldering, although in my case it is to try to fix a sound fault (still unresolved).

I can confirm that removeal of the Waveshare Crystal is not necessary (thankfully).

Thank goodness for Dead Bugs and Bodge Wires  
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 01:39pm 13 Aug 2020
Copy link to clipboard 
Print this post

va7ehf: did you resolve this problem?

based on the solution for a problem that Womble was having, it may be worthwhile rechecking the 5v supply to the CMM2 again, and perhaps (even if it seems ok) swapping the USB A-B cable being used.


cheers,
rob   :-)
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 02:57pm 13 Aug 2020
Copy link to clipboard 
Print this post

  va7ehf said  
In the meantime, I modified the MMBasic firmware to use 640x400 as the default instead of 800x600.


This would be a nice feature to have for the distributed firmware as an OPTION.
Micromites and Maximites! - Beginning Maximite
 
va7ehf
Newbie

Joined: 23/07/2020
Location: Canada
Posts: 6
Posted: 01:58am 30 Aug 2020
Copy link to clipboard 
Print this post

I am glad to say that dead-bugging the oscillator as matherp depicted fixed the issue entirely for me. My CMM2 now works at full 800x600 resolution on any display device I try it on. The fix was easy to do. Thank you everyone for your support!

CircuitGizmos: The default mode is a preprocessor define in the firmware. I found zero bugs with changing the default mode with respect to the editor and file browser. I imagine it could easily be made a global variable instead.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 02:27am 30 Aug 2020
Copy link to clipboard 
Print this post

  va7ehf said  I am glad to say that dead-bugging the oscillator as matherp depicted fixed the issue entirely for me. My CMM2 now works at full 800x600 resolution on any display device I try it on. The fix was easy to do. Thank you everyone for your support!

CircuitGizmos: The default mode is a preprocessor define in the firmware. I found zero bugs with changing the default mode with respect to the editor and file browser. I imagine it could easily be made a global variable instead.


Glad it's working for you.

The latest beta has an option just for this:
  Quote  OPTION DEFAULT MODE n. n can be 1, 8, or 9.

New Mode 9 which is 1024x768
New Mode 8 which is 640x480
New Mode 7 which is 320x240 to use full screen
New Mode 6 which is 256x240 for NES compatibility


Jim
VK7JH
MMedit
 
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