Michael wrote: ↑Sun Jul 14, 2024 8:49 am
Still failing to increase the 6502 speed from 4MHz to 8MHz. Maybe it is running but the serial communication is failing since I don't use hardware control (but I don't have an issue with the same chips on my SBC - only big difference is the SRAM chip but it appears to be quite fast)?
What's the fastest others have run this board at? Which components are the weakest link, speedwise? The EEPROM?
Running super reliably at 4MHz though.
I believe the primary speed limitation is the 150ns access time of the 28C256 EEPROM. The SRAM is very fast, so that won't be an issue.
At 8MHz, the clock cycle time would be only 125ns!
A few of thoughts on this...
1. The SST39SF040 FLASH ROM's, that I use on the 1MB ROM Expansion Card (and upcoming 6309 PLCC Card), are a much faster 70ns access time.
2. The default PLD Bus Control logic for the 6502 CPU Card gates the Chip Selects (more specifically, the MREQ), with the Clock signal, to ensure a clean Valid Address etc. on. the 6502. This means that only half a clock cycle for memory access (as is pretty normal for 6502 system design). However, it may also be worth trying the removal of the clock gating,
specifically for the ROM Chip Select (I might be concerned about doing this for RAM CS, in case of invalid writes!). Doing this should extend the read cycle for the ROM somewhat.
3. Related to the above, it is interesting to note that the 6809's quadrature clock (which provides Address Valid at the earlier rising edge of the Q clock), means that you have 3/4 of a clock cycle for memory access (the Q and E clocks are OR gated for Address Valid range).