I'm using ATF16V8 for address decoding, R/W qualification, & CPU underclocking (as I described here:
viewtopic.php?f=4&t=7593#p100282)
PHV (pin 12, stands for Ф-variable) of my '16V8 goes directly to W65C02 only (VIA & friends use another clock signal from '16V8, pin 15). However, I've noticed that
every time I touch this pin with tweezers or digital analyzer, my CPU goes haywire (reads/writes to random addresses, etc). I don't have a good oscilloscope and my logic analyzer has only 16 channels, so I cannot do full debugging on what's actually happening. It
feels kinda similar to contact bouncing, as if high-frequency noise is being injected into clock line.
This issue also sometimes happened totally randomly when other ICs were enabled.
I thought crosstalk is involved so I cut the trace and connected '16V8 directly to W65C02 with a jumper to no avail.
Finally, I rerouted PHV through 2x 74HC14 and the issue is now gone.
All my ICs have 0.1uF bypass caps, and all power-hungry components have additional decoupling caps.
I'm running my system @ 8 MHz with a JCO-14 16 MHz crystal generator (PHV is either 8 MHz or 2 MHz, speed is controlled with /SLOW input).
Is W65C02 really that sensitive to Ф2 input?
_________________
/Andrew
deck65 - 6502 slab with screen and keyboard |
ПК-88 - SBC based on KM1810VM88 (Ukrainian i8088 clone) |
leo80 - simple Z80 SBC
nice65 - 6502 assembly linter |
My parts, footprints & 3D models for KiCad/FreeCAD