![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hello I've been hours trying to solve a problem, with no luck. I've got a 6502 CPU system feed by a 27MHz clock. I bought a 32MHz crystal oscillator to raise the speed (something I already did some time ago with another 32MHz oscillator sucessfully) , the one with 4 pins; power, GND and output, with the orher one not conected. The strange thing is it does not work now with this new oscillator. Well, it is strange because it DOES work when I hook a logic probe of my logic analyzer to its output. System runs fine. 100% As soon as I disconect the probe, it crashes... When the logic probe is conected, it measures 32MHz exactly. I'm really stuck.. please, any help!? | |
| |
| | (permalink) |
| Did you check the soldering? Or was it a plug in device? Sounds like a dry joint but if you did not have to solder it, make sure all the pins are contacting correctly........ Thats all I can think off for now.............. Maybe you need a decupling cap on it, and the prob makes it work because it sees a capacitance
__________________ I Think!! Therefore I get a head-ache and drain bamage........ | |
| |
| | (permalink) |
| Sounds like it doesn't have sufficient load capacitance. Check the datasheet for the oscillator. Or simply try swapping out whats there already for something slightly more. | |
| |
| | (permalink) |
| Umm isn't the 6502 a 2MHz cpu (using a 4MHz crystal)? The 8088 only ran at 4.58 (using a 14MHz crystal) and the 8088 was a much newer CPU at the time. Heck a 80486 maxed out at 100MHz and that was clock doubled. 27MHz sound way too fast for a stock 6502
__________________ Bill Home of the Firefly PIC Tutor Inchworm ICD2 http://www.blueroomelectronics.com | |
| |
| | (permalink) |
| The oscillator does seem a bit fast for a 6502!!! But regarding the stopping and starting, some of those 4pin oscillators use the 4th pin as an enable. Could it be (dont ask me how) that when the logic probe is connected to the output, the 4th pin drifts to the enabled state and the oscillator gives an output? JimB
__________________ Experience is directly proportional to the value of the equipment ruined. | |
| |
| | (permalink) |
| This 6502 feed from an external clock and then divides internally by 12. So, stock 27MHz is 2,25MHz I try to pull it up to 2,66MHz. It's OK, as I've done it previosly with great results. But this oscillator does not seem to be working properly. I tried to put a 10pF capacitor between clk output and ground. I tried to put a 100kohm resistor between clk output and ground. Nothing changed. The output is enabled. Why the hell should it work 100% fine when a logic probe is conected to ANY of its pins (power, ground or output??) I don't know what else to try, and I have no replacement here now.. | |
| |
| | (permalink) | |
| Quote:
The divide by 12 sounds more like a Z80, which was why a 6502 was as fast as a Z80 while using a much lower clock crystal. I'll check when I get home, I still have all my old Mictotan 65 gear!. | ||
| |
| | (permalink) |
| this 6502 is a slight modification used in Nintendo NES videogame console. The stock NES clock is 21MHz, and 6502 runs at 1.75MHz according to specs docs. | |
| |
| | (permalink) |
| Right, so it's NOT actually a 6502! - unless the clock is divided down before it's fed to the processor?. | |
| |
| | (permalink) |
| It sounds like your logic probe is changing the functioning of the board, probably changing the potential of the pin, i don't really know much about crystal oscillators, you could try to measure the potential of your logic probe with a digital volt meter, and then apply the same potential to the crystal (through a large resistor) hope this helps. | |
| |
| | (permalink) |
| It is a 6502, but this version internally divides clock by 12. I know it is 6502 as I made some programs for it. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| It isn't a standar 6502. It is a slightly modified version. But the problem is that last time I did this it worked just fine. same circuit, same board, just different oscillator, but both of them 32MHz... Why does it work well only when probe is conected???!! | |
| |
| | (permalink) |
| As suggested, perhaps the extra capacitance?, perhaps injecting noise into the oscillator?, perhaps it's loading the circuit?. | |
| |
| | (permalink) |
| I'm not sure if I understand. should I try to add capacitance or something?? I already tried to add 10pF parallel capacitor between output and GND... | |
| |