50 MHz resonator usage vs 20 MHz resonator useage
I have been working on an LED Display project with another forum member that's looking·very good so far but not ready for release to the completed projects forum yet. It uses many 74HC595s to shift data in across 64 columns and uses 74HC138s for the 32 rows. Everything works fine using 1 LED Display board and a 20 MHz resonator. However, the boards allow them to be daisy chained together (e.g. Signals are passed through with IN and OUT connectors) and when I do this I see the correct display data (modified program for more data to be pushed out) on both LED Display boards but it flickers. This makes sense because it has 2 times as much data to push through. So when I change the FREQ line to 50_000_000 and use a 50 MHz resonator, it works but then blanks both displays out at random times (seconds to less than a minute or so). If I hit the SX52 protoboard reset button (it also works on an SX28 but havent tested it for 50 MHz yet), then the display comes back on but then goes off again almost randomly.
Is there anything I can do to make it more stable at higher frequencies like 50 MHz?
Is there anything I can do to make it more stable at higher frequencies like 50 MHz?
Comments
Do you have a resistor between the OSC1 and OSC2 pins ? You might need one for 50MHz (470K maybe).
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A government big enough to give you everything you want, is big enough to take away everything you·have."·· Thomas Jefferson
"It is our choices, Harry, that show what we truly are, far more than our abilities."·Dumbledore from Harry Potter
www.iElectronicDesigns.com
·
FREQ· 50_000_000
Is what I have been using. This is also the same when using FREQ 20_000_000 and a 20 MHz resonator.
I will try the other (2) OSCH1 and 2 settings and if that doesn't work - try the 470K resistor method. What does the resistor do as I don't remember doing anything like this before. It might be a little hard to do on a protoboard too.
Thanks again!
·
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A government big enough to give you everything you want, is big enough to take away everything you·have."·· Thomas Jefferson
"It is our choices, Harry, that show what we truly are, far more than our abilities."·Dumbledore from Harry Potter
www.iElectronicDesigns.com
·
Thanks again!
I then tested the code with OSCHS2 and it has been running great for an hour so this looks like the trick here!
Thanks!