I have just got a small 6522 board running at 4Mhz and I now want to up the clock rate to 14MHz (well I am planning to use a 14.318MHz Oscillator).
I have added a wait state for EPROM and I am using 15nS static RAM. When I read the W65C22S data sheet there is a timing parameter called tACR which is specified as 10nS, That is the addresse and chip select lines have to be stable 10nS before the rising edge of PHI2. The problem is addresses are not available from the CPU until 30nS after teh falling edge of phi2. Therefore at 14mHz its not possible to meet this requirement even without any decoding.
Does anybody have any insight into this? Better still a possible solution?
I have seen a design somewhere where multiple 74xx04s have been used to delay the clock is this the reason for the delay?
6522 timing
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 6522 timing
Another problem with WDC's data sheets.
Fortunately the parts have always been found to do a lot better than specified
(except in the case of a bug in the '51, and one in the '22 in a shift-register mode most users don't use).
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: 6522 timing
Thanks Garth. That's the reply I was hoping for.
I'm guessing the 6522 problem you are referring to is the shift register with external clock on CB1. I know about that ( I used to work for Commodore in the 70s and we had a dealer try to build a network using the 6522).
Are you suggesting that if I get the 10nS is pessimistic and that I just need to make sure the chip selects and addresses occur before phi2 rising edge?
I have some unused 74AC86s in the design which I can use to delay the clock.
Malcolm
I'm guessing the 6522 problem you are referring to is the shift register with external clock on CB1. I know about that ( I used to work for Commodore in the 70s and we had a dealer try to build a network using the 6522).
Are you suggesting that if I get the 10nS is pessimistic and that I just need to make sure the chip selects and addresses occur before phi2 rising edge?
I have some unused 74AC86s in the design which I can use to delay the clock.
Malcolm
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 6522 timing
malcnorth wrote:
When I read the W65C22S data sheet there is a timing parameter called tACR which is specified as 10nS, That is the addresse and chip select lines have to be stable 10nS before the rising edge of PHI2. The problem is addresses are not available from the CPU until 30nS after teh falling edge of phi2.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 6522 timing
I think the 30ns tADS is probably the pessimistic one. I think things are always ready quite a lot sooner than that. 30ns would mean that the processor can't work at all over about 16MHz; but they apparently top out at about 25MHz at room temperature, if the supporting parts are up to it.
To connect computers with the VIA's shift-register port, see my topic, "SS22: 6522 synchronous-serial interface between computers."
To connect computers with the VIA's shift-register port, see my topic, "SS22: 6522 synchronous-serial interface between computers."
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: 6522 timing
Interestingly that's more or less what I have got 
I have added a fourth 'ATN' line. and got drivers in between.
I have added a fourth 'ATN' line. and got drivers in between.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 6522 timing
malcnorth wrote:
Interestingly that's more or less what I have got 
Quote:
I have added a fourth 'ATN' line. and got drivers in between.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?