So, based on a recent post and finding some odd issues with certain CF Cards, I decided to start a new thread on this topic.
Background: My C02 Pocket SBC is a 6 MHz W65C02 with 32KB RAM/ROM and a NXP SCC2691 UART. It uses an Atmel AT22V10CQZ single glue chip for address decoding for RAM/RAM, I/O and qualified read and write signals. The PLD is rated at 20ns, which should be fine for a 6 MHz clock rate.
Add in my later designed adapter which adds a Maxim DS1511 RTC and an IDE interface with a 16-bit data port based on a pair of 74AC573 latches. It works fine... and I've managed a custom build of Richard Leary's DOS/65 running on it. However, I found certain CF Cards either wouldn't work at all or wouldn't work properly, but could never quite figure out the issue.... but never really dug deep into the issue either.
Next... moving to 3.3V, which is where this thread gets it's start from (
viewtopic.php?f=4&t=6722#p86843)
Alliance discontinued the 70ns SRAM I used in the C02 Pocket, but they have a 55ns version, so picked up a few. Oddly, this RAM chip would not work in the C02 Pocket, simply dead on power up. While I was doing some initial testing to get a SC28L92 DUART in place of the SCC2691, I decided to swap out the PLD with an Atmel AT22V10C, which is rated at 15ns. I also have the 55ns SRAM in and connected the RTC/CF Card adapter and made a few minor changes to get DOS/65 running. I was also to kick the CPU clock up to 10 MHz without issue. Just for giggles, I decided to pop in the other CF Cards that never worked before and found that they worked perfectly fine... hence the decision to investigate more and create this thread.
In short, just swapping out the ATF22V10CQZ (which is rated at 20ns) to the ATF22V10C (rated at 15ns) allowed both the 55ns Alliance SRAM to function "and" the other Compact Flash cards which didn't before... hence the topic for this post. I've done some additional testing and it's consistent... the faster PLD timing resolves the issues for the non-working CF Cards found earlier and the recent perplexing find that the same SRAM part number with a 55ns (vs the older 70ns part) now working... who knew!
So, turns out that 5ns really can be a make or break in a 6 MHz system. I also dropped the clock rate to 4 MHz and it still didn't work with the 55ns SRAM part. So I have to believe that it's more than the 5ns timing spec difference. In any case, I'll be swapping out all of ATF-xxxxx-CQZ parts for standard ones.
Not sure if anyone else has fallen into some odd hardware issues using PLDs, but figured this was worth posting, mostly as an FYI, hope it helps someone.