6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 4:29 am

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Sep 20, 2018 3:41 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
The 2MHz is the frequency of bus accesses from the micro. So if you had a 4MHz system, you'd need a way to slow down accesses for those cycles where the ACIA is selected. There are two main approaches: to change the clock waveform dynamically, or to use the RDY input to stall the micro for one or more cycles.

Or, of course, you can run the whole system at 2MHz, sacrificing some performance for simplicity.

It might be that an alternate choice of peripheral can match the 4MHz speed of the CPU.


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 20, 2018 3:45 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1007
Location: Canada
I have Intersil CD65C51s that are rated at 2MHz but I have used them at up to 20MHz without any issues. I have used other 65C51s at way past their rated speed as well. I'm not sure what that speed rating even means if it can be exceeded by an order of magnitude. I think if you've got minimal delay in your chip select you can push these chips pretty hard. On the one I tested at 20MHz the chip select from a valid address is only 7ns.

_________________
Bill


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 20, 2018 3:52 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
That's quite an extreme finding! Of course, 2MHz does mean it will go at least that fast, and evidently it does.


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 24, 2018 8:31 am 
Offline

Joined: Tue Jun 19, 2018 8:28 am
Posts: 122
Ok, after considering several alternatives, I think I will stick with MC146818.
Can anyone provide tested schematic showing how to interface that chip witch 6502 based system?


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 24, 2018 7:44 pm 
Offline
User avatar

Joined: Thu May 14, 2015 9:20 pm
Posts: 155
Location: UK
In systems that don’t have a multiplexed address and data bus where I have seen the MC146818 used, they treat the MC146818 as having an address register and a data register. That is, it only takes up two addresses in the memory map. As far as the CPU is concerned, there is no multiplexing.

Mark


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 29, 2018 9:28 pm 
Offline

Joined: Thu Apr 19, 2018 12:53 pm
Posts: 25
Hello,

Please see attached files.
3 examples of RTC-chips on 6502 systems.

BR/
Guus


Attachments:
RTC_MC146818.pdf [450.24 KiB]
Downloaded 131 times
65C02.pdf [89.1 KiB]
Downloaded 139 times
RTC_IO_Card.PDF [142.39 KiB]
Downloaded 133 times
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: barrym95838, Google [Bot] and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: