6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 21, 2024 7:25 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: [80.1] 6522
PostPosted: Wed Dec 06, 2000 8:09 am 
I want to ask anyone who knows :
->Is the timer of 6522 compable of tracking time for purposes likes activating a water pump at a specific time of the day?
-->A device which is connected to 6502 through 6522 how it is selected?
--->The lines of 6522(PA0-PA7 and PB0-PB7) can each one of them connect with a different device(e.g. a different sensor)?
---->How is the priority handled inside 6522?

Thanks
p.s:Sorry for my english


Report this post
Top
  
Reply with quote  
 Post subject: [80.2] 6522
PostPosted: Fri Dec 15, 2000 2:00 pm 
Yes, the timer can be used for time of day... *BUT*

you will need some software... The timer is not time of day,
but counts down based on the chip clock. The chip clock will
be crystal driven, so will be a reasonably accurate time base
(well, at least as good as your digital watch). If you program
a particular down count, then when it is finished, you have
to adjust the software maintained time of day by the count.

As to how to select devices with the '22 - You can latch
some of the output bits and use that to select a device

(pump, whatever). How you do this depends on the number
of pumps (or other) that you want to control.

As to priorities - The 6502 has NMI and IRQ. Whatever you
wire to the IRQ -- you will have to write software to determine
what caused it...

Ratboy666


Report this post
Top
  
Reply with quote  
 Post subject: [80.3] 6522
PostPosted: Sat Dec 16, 2000 5:32 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
This discussion has also made its way to "For 6502 -6522" under "General discussion".

Garth

_________________
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?


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 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: