Could I foreseeably use a DS1077z-100 (5v compatable part) as my clock source for my CPU?
I was figuring on using an Arduino to allow switching the EconOscillator between 1mhz and 2mhz clock-output speeds
DIV1 divider set to 50, and P1 Prescaler set to /1 : (100mhz * 1/50 * 1/1)
DIV1 divider set to 50, and P1 Prescaler set to /2 : (100mhz * 1/50 * 1/2)
Also I would use the Arduino as a sort of.. way to add fancier features (of the Arduino) to the 6502, like analog I/O and I2C/SPI... but i'd mainly/firstly start out with a software debounced reset switch, and a reset-on-change-of-cpu-speed (for now).
Does this sound reasonable? or is it overly rube-Goldberg-ish?
DS1077 Oscilator as CPU clock?
Re: DS1077 Oscilator as CPU clock?
Hi, dracosilv. I'm attaching the datasheet for that part since more people are likely to respond if the information is made readily available. I like the device's flexibility, BTW.
I have only glanced over the datasheet but it seems the part might be appropriate for your purpose. Of course in order to configure the device you'll be obliged to establish the two-wire serial interface and determine the commands necessary, but that will be kind of fun probably, and maybe educational.
Using the Arduino as a software debounced reset switch for the CPU does not strike me as Goldberg-ish, but it depends on one's point of view, I suppose. Yes it's a lot of computing power devoted to a trivial task. But if you already have an Arduino on hand then it's a convenient and effective means to an end.
This implies two-way communication between your CPU and the Arduino, and establishing that is a task a novice may find challenging -- but, again, educational and kinda fun.
Good luck, and keep us posted. Which CPU do you plan to use, BTW?
-- Jeff
Using the Arduino as a software debounced reset switch for the CPU does not strike me as Goldberg-ish, but it depends on one's point of view, I suppose. Yes it's a lot of computing power devoted to a trivial task. But if you already have an Arduino on hand then it's a convenient and effective means to an end.
Quote:
way to add fancier features (of the Arduino) to the 6502, like analog I/O and I2C/SPI
Good luck, and keep us posted. Which CPU do you plan to use, BTW?
-- Jeff
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: DS1077 Oscilator as CPU clock?
dracosilv wrote:
Could I foreseeably use a DS1077z-100 (5v compatable part) as my clock source for my CPU?
I was figuring on using an Arduino to allow switching the EconOscillator between 1mhz and 2mhz clock-output speeds
I was figuring on using an Arduino to allow switching the EconOscillator between 1mhz and 2mhz clock-output speeds
Quote:
Also I would use the Arduino as a sort of.. way to add fancier features (of the Arduino) to the 6502, like analog I/O and I2C/SPI... but i'd mainly/firstly start out with a software debounced reset switch, and a reset-on-change-of-cpu-speed (for now).
While we always encourage experimentation and finding new ways to use various hardware pieces, we also suggest that a first-time effort not have too much complexity. More complexity increases the likelihood of a DOA unit, although troubleshooting and resolving the DOA cause in itself is educational.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: DS1077 Oscilator as CPU clock?
BigDumbDinosaur wrote:
You might want to consider whether the 65C02 will continue to hum along when the speed changes or crash due to the resulting sudden change in timing.
ETA: Hmm, apologies to our novice readers -- a better explanation is in order. With a WDC 'C02 you can flip the clock input , PHI2, high and low as quickly or slowly as you choose, and as regularly or irregularly as you choose, as long as you obey the following simple rule: Having flipped PHI2 high-to-low, or low-to-high, you must wait 35 ns or more (the WDC part has no upper limit) before you flip PHI2 again. IOW if PHI2 is high it must stay high for at least the minimum tPWH. If it's low it must remain low for at least the minimum tPWL. (Both figures are 35 ns, assuming 5 volt operation.) A runt pulse -- one that's too short -- can cause the CPU to crash or otherwise malfunction.
Runt pulses can arise when switching between clock sources. But the DS1077 is evidently designed in a way that avoids the threat.
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
Re: DS1077 Oscilator as CPU clock?
dracosilv wrote:
Could I foreseeably use a DS1077z-100 (5v compatable part) as my clock source for my CPU?
You haven't mentioned which CPU you plan to use. There are simple remedies that will allow the WDC part to work. The Rockwell part can accept the DS1077 output directly.
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html