6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 8:02 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Jul 17, 2007 4:18 am 
Offline

Joined: Thu Jul 05, 2007 4:11 pm
Posts: 33
... Like the 74LS245? What is the purpose of this IC?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 18, 2007 12:51 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
It is a buffer between two other circuits, but is capable of bidirectional flow of data. It also has an enable pin which allows three-stating one side of the buffer, so that you can drive the bus only when required (useful for interfacing logic which lacks its own three-state logic).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 18, 2007 1:58 pm 
Offline

Joined: Thu Jul 05, 2007 4:11 pm
Posts: 33
I see, so an IC like the 6522, or a standard ASRAM would be 3 state as well, because of the Enable pin? The enable is the 3rd state?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 18, 2007 3:52 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Yes, although some devices can be more complex since there are, in essence, multiple enables. The 6522 has several chip select inputs, and the ASRAM chips will typically have one chip select, but also a "OE" (Output Enable) pin as well. To read data from an ASRAM chip, for example, not only does the chip select need to be asserted, but also its OE pin too.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 18, 2007 6:36 pm 
Offline

Joined: Thu Jul 05, 2007 4:11 pm
Posts: 33
So what would be the purpose of having more than one CS pin then. Like the 6522 with CS1 and CS2?

(sorry for these lame questions... I'm self teaching... )


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 18, 2007 8:40 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
The two device selects are to help ease device decoding. For instance, you can connect CS1 to A4 and /CS2 to your decoding logic. You could then connect /A4 (inverted A4) to the CS1 of a second chip with its /CS2 connected to the same line as the /CS2 of the first chip.

If you want to decode each chip using just one select, then you can just wire the other device selects to their active states and forget about them. This is how I selected my 65C22's on my SBC's.

Daryl


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

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