home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / dsp / 2119 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.8 KB  |  60 lines

  1. Newsgroups: comp.dsp
  2. Path: sparky!uunet!wupost!darwin.sura.net!jvnc.net!nuscc!tin!murali
  3. From: murali@iss.nus.sg (Murali)
  4. Subject: Re: TMS320C25: Continuous speech problem
  5. Message-ID: <1992Sep9.053903.25717@nuscc.nus.sg>
  6. Sender: usenet@nuscc.nus.sg
  7. Reply-To: murali@iss.nus.sg
  8. Organization: Institute Of Systems Science, NUS,Singapore.
  9. References: <1992Sep3.061220.19631@cc.uow.edu.au>
  10. Date: Wed, 9 Sep 1992 05:39:03 GMT
  11. Lines: 47
  12.  
  13. In article 19631@cc.uow.edu.au, u8801763@cc.uow.edu.au (Radivoj Kouzan) writes:
  14. >u9066624@cc.uow.edu.au (Tippu Hassan) writes:
  15. >
  16. >>Hello anyone,
  17. >
  18. >>My name is Tippu and I live in Australia. I am working with the TI
  19. >>"SWDS" (Software Development Systems) board which is a support tool
  20. >>for the TMS320C25 dsp chip. I am using the TMS320C25 serial port to
  21. >>read in digitized speech samples and then storing them on external
  22. >>RAM memory which is on the SWDS board. The SWDS only has 32K bytes
  23. >>of onboard RAM avialable and therefore I can only store 2 seconds
  24. >>worth of 16-bit digitized speech. So in order to record continous
  25. >>speech I am using the cpu processor to upload these speech samples
  26. >>from the SWDS board RAM and store them on files once the RAM is full. 
  27. >>This is done via C applications written for the cpu. 
  28. >>My problem is that in order for the cpu to access the SWDS RAM once 
  29. >>it is full, it MUST place the TMS320C25 in halt mode, then upload 
  30. >>the speech samples and then unhalt the TMS320C25 to resume reading 
  31. >>in the next load of speech samples. But the cpu cannot execute this 
  32. >>process quite enough, and TMS320C25 loses some speech samples while 
  33. >>it is halted. I cannot uses the grep command on the TMS320C25, which
  34. >>makes the external RAM global, because it requires external circuitry
  35. >>for the TMS320C25 and it is wired onto the SWDS board. Can anyone offer
  36. >>any ideas or help as it would be much appreciated.
  37. >
  38. >
  39. >
  40. >
  41. >Sell it and buy yourself a DSP that works for Digital Signals.
  42.  
  43.  
  44.  
  45. I was once using  a TMS320C20 based add-on board to digitize and process
  46. speech data. We used a double-buffering scheme wherein the DSP chip raise
  47. a semaphore after filling one buffer and continues filling the second buffer,
  48. while the CPU will start reading the data from the first buffer once the semaphore
  49. is raised. This scheme worked pretty well for TMS320c20, which we were able to 
  50. access upto register level from the PC side( not like the systems which hide the 
  51. internals by giving you a set of function calls or a library ! ). I don't know if you've
  52. tried this but this is one of the most commonly used method to get data without
  53. halting the DSP chip.
  54.  
  55. Murali.
  56.  
  57. P.S : the semaphore was a software one and we used a memory location accessible 
  58.        by both DSP and PC CPU for that purpose.  I suppose you have that kind of 
  59.        dual-ported memory in your system.
  60.