home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / electron / 18793 < prev    next >
Encoding:
Text File  |  1992-11-12  |  2.2 KB  |  48 lines

  1. Newsgroups: sci.electronics
  2. Path: sparky!uunet!utcsri!torn!nott!bnrgate!bcars267!mwandel
  3. From: mwandel@bnr.ca (Markus Wandel)
  4. Subject: Re: microcontrollers
  5. Message-ID: <1992Nov12.180027.5230@bnr.ca>
  6. Keywords: sizes? Exrternal Memory Capability
  7. Sender: news@bnr.ca (usenet)
  8. Nntp-Posting-Host: bcara187
  9. Organization: bnr
  10. References: <1992Nov12.023508.13285@tamsun.tamu.edu>
  11. Date: Thu, 12 Nov 1992 18:00:27 GMT
  12. Lines: 34
  13.  
  14. In article <1992Nov12.023508.13285@tamsun.tamu.edu> rahhelp@rigel.tamu.edu (Ronald A. Huizar) writes:
  15. >
  16. >One problem that I am already see is that the microcontroller I was
  17. >planning to use the MC68HC811E2 can only address about 64K of external
  18. >memory, and we are planning/contemplating storing the message
  19. >digitally. I have not had much DSP, my partner has had more than I,
  20. >but I figure that for the telephone we will need to sample at least
  21. >6000 Hz (since the phone BW is 30-3000, you remember Nyquist don't
  22. >you). For a 1 minute (kinda long I know) message that will require
  23. >about 3 Meg of memeory. To much for the E2. So I know that the
  24. >microprocessors can handle the amount of memory I would need but I did
  25. >want to have build my own computer first.
  26.  
  27. Well, return to a technique that was common in the old days... bank
  28. switching.  Say you have a 16Mx8 memory bank that you wish to stash your
  29. audio samples in but only a 16-bit address processor to do the stashing.
  30. Well, just feed the other 8 address bits from a parallel output
  31. port.  You then have 256 banks of 64K bytes, selectable by writing the
  32. bank number to the output port.  If you are just storing samples in memory
  33. sequentially it is not a big deal to increment the bank number every time
  34. your 16-bit address counter overflows.
  35.  
  36. For sampling, your best bet may be a standard telephone codec
  37. (if you get one), which will give you 8K samples/sec.  Nyquist says 2X
  38. the highest audio frequency, but Nyquist has an ideal antialiasing
  39. filter and you don't.
  40.  
  41. Given the cost of DRAM, it may be reasonable to use a hard disk (an IDE
  42. one should be easy to interface to, SCSI is still reasonable) for voice
  43. storage, or a small DSP for on-the-fly audio compression if you know
  44. an algorithm (I don't).
  45.  
  46. Markus Wandel
  47. markus@pinetree.org <-- NOT the source of this posting.
  48.