home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / sci / electron / 13150 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.0 KB  |  46 lines

  1. Newsgroups: sci.electronics
  2. Path: sparky!uunet!telebit!eric
  3. From: eric@telebit.com (Eric Smith)
  4. Subject: Re: 20 Bit Counter?
  5. In-Reply-To: pegasus@csd4.csd.uwm.edu's message of Tue, 21 Jul 1992 23:32:28 GMT
  6. Message-ID: <ERIC.92Jul22201943@iceland.telebit.com>
  7. Sender: news@telebit.com
  8. Nntp-Posting-Host: iceland.telebit.com
  9. Organization: Telebit Corporation
  10. References: <1992Jul21.233228.27249@uwm.edu>
  11. Date: 22 Jul 92 20:19:43
  12. Lines: 32
  13.  
  14. >>On Tue, 21 Jul 1992 23:32:28 GMT, pegasus@csd4.csd.uwm.edu (David R Hucke) said:
  15. > What I would like to be able to do is increment/decrement the counter
  16. > by putting a pulse on a pin and sending the resulting 20 bit number to
  17. > 20 pins.
  18.  
  19. > What I am trying to do is access 1 MByte of memory with a micro-controller.
  20.  
  21. If you are controlling this in software, such that the memory cycle time is
  22. not a constraint, you can daisy chain some 74xx393 counters.  These are dual,
  23. 4 bit binary asynchronous up counters, so you'll need three of them, or two
  24. of them and a separate 4 bit counter, like a 74xx93.
  25.  
  26. You could use a CMOS counter 14-bit counter like the 4040.  Remember that
  27. it needs CMOS input levels on the clock and reset lines.  Two of these would
  28. get you 28 bits.  These are really slow, and since you would need two of
  29. them anyhow, I think you're probably better of with 74xx parts.
  30.  
  31. If you need the counter to be fast enough to be able to read or write
  32. the memory "instantly" after incrementing, you need to use synchronous
  33. counters, like the 74xx163.  For a fully synchronous 20 bit counter, you
  34. would need to have four gates to generate the *ET (or was it *EP) inputs
  35. to each '163 after the first.  In practice you can tie the ripple carry
  36. output of each counter to the *ET and *EP inputs of the next counter up.
  37.  
  38. There are probably some 8 bit synchronous counters also, in the 74xx500-699
  39. range, but I don't know them offhand.
  40.  
  41. If you aren't familiar with logic design and/or the use of 74xx parts, you
  42. way want to obtain a copy of  _The_TTL_Cookbook_, by Don Lancaster.
  43.  
  44. Cheers,
  45. Eric
  46.