Dr Jefyll wrote:
Another option for you is to forget the ICS525 and use a Variable Frequency Oscillator controlled by a trim-pot and simply using an 'AC14 or 'AHC14 and an RC delay. Such a circuit can be built on a tiny scrap of perf-board, and it can have pins that allow it to plug in to the same socket that'll accept an oscillator can. For experimentation you can easily tweak the trimpot and, having found a suitable frequency, you then remove the VFO and install an appropriate oscillator can.
GARTHWILSON wrote:
shown at
viewtopic.php?p=10619#p10619 . (This is mentioned also near the bottom of the 6502 primer's
clock-generation page.)
My only issue with this option is that I would still need a way to interface with lower speed devices like the EEPROM, I could always include wait states, or the clock stretching mechanism that you showed earlier garth, and maybe that's ultimately a better option but I could also use the 525 and have all I need in a single chip.
I'm going to do some more thinking on it before I slap it into my design though, since it is an SMD component and I'd rather not use it if I don't have to.
On an unrelated note, I had a couple ideas last night for some nice things I could include on the board. I remembered in the primer seeing that you'd put a MIDI interface on your workbench computer, and I'm not sure why I didn't plan on including one in the first place. I have a 66 key keyboard that I got for free a while back that has MIDI in and out, it used to be plugged up to my computer over a MIDI to USB interface, and I could record songs or use it for a game called Synthesia (a game that accepts midi files and helps you to learn them and play them, interfacing completely through a MIDI keyboard). Unfortunately, when I bought my new 3D printer back in october it took over the spot that used to belong to my keyboard, and since then I've not been able to use it nearly as much as I'd like to, nor have I been able to plug it up to my computer to do anything with. It would be nice to have the MIDI interface on this for a couple of reasons, so I may look into how to implement it (I don't remember if it was in the primer, but I'm going to go check and see if it is). The other idea that struck me was building a synthesizer daughterboard that connects over one of the IDT headers to one of the 6522s. I could use it for sound on the main board, or I could even control it over MIDI with my keyboard. The heart of it could be a clock generator like the 525 (but not the 525, since it's not designed for audio frequencies) and it could select different filters based on digital input for passing the synthesized waves through.
This is definitely something I don't want to put on the main board for a couple reasons. A: I expect an audio circuit like this to be susceptible to noise, and possibly noisy itself, and B: if I wanted to build this right it would probably take up quite a bit of space, making the board bigger than it was before I started optimizing it.
I think that the daughterboard definitely isn't a bad idea for something to do with the computer down the road, but should I just put the MIDI on the daughterboard too? I suppose that would probably be best, so that I'm not getting carried away again with putting things on the main board that shouldn't really be there.