home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / hardware / 3233 < prev    next >
Encoding:
Text File  |  1993-01-11  |  11.6 KB  |  351 lines

  1. Newsgroups: comp.sys.next.hardware
  2. Path: sparky!uunet!wri!news
  3. From: perelet@avignon.wri.com (Oleg Perelet)
  4. Subject: Re: CD player -> NeXT DSP(Hook up a CD-Player to your NeXT)
  5. Message-ID: <1993Jan11.205406.1374@wri.com>
  6. Sender: news@wri.com
  7. Nntp-Posting-Host: merir.wri.com
  8. Organization: Wolfram Research, Inc.
  9. References: <1993Jan9.191817.21270@netnews.noc.drexel.edu>
  10. Distribution: usa
  11. Date: Mon, 11 Jan 1993 20:54:06 GMT
  12. Lines: 337
  13.  
  14. In article <1993Jan9.191817.21270@netnews.noc.drexel.edu>  
  15. tjhendry@king.mcs.drexel.edu (Jonathan Hendry) writes:
  16. > If anyone has the article which described how to hook a CD player
  17. > to the DSP, could you please mail it to me? Or perhaps point me to 
  18. > where I might find it in the archives.
  19. > Thanks!
  20. Here it goes. 
  21.  
  22. Thanx to Heubi Matthias.
  23.  
  24. BTW the same method works fine with NeXT-Sony CD drive.
  25. Just look in:
  26. SONY Semiconductor IC.
  27. Data book, A/D, D/A Convertres.
  28.  
  29. Have fun.
  30.  
  31.  
  32.  
  33. From: mfriedel@monolith.rmNUG.ORG (Michael Friedel)
  34. Subject: Re: Hook up a CD-Player to your NeXT , A translation
  35. Date: 12 Oct 91 08:12:08 GMT
  36. References: <1991Oct11.145851.27675@itr.ch>
  37. Sender: mfriedel@nugget.rmNUG.ORG
  38.  
  39. In article <1991Oct11.145851.27675@itr.ch> mheubi@itrpe.uucp (Heubi  
  40. Matthias)
  41. writes:
  42. >
  43. > Hi there!
  44. > I got an amazing bunch of mails regarding my article on how to
  45. > hook up a Technics CD player to the NeXT.
  46. >
  47. > Following comes an ASCII version of the article I wrote for our
  48. > magazine >>PowerKey<< of the NiCE - NeXT User Group.
  49. > (This is the NeXT User Group here in Zuerich, Switzerland)
  50. >
  51. > The Graphics is not very PostScript, you should be able to figure
  52. > out how it was meant, however.
  53. >
  54. > The article is in German. Knowing that translating from a foreign
  55. > language to the mother tongue is far easier than the other way round,
  56. > I'll leave the translation to one of you, nice net people)
  57. > There's a short step by step summary in English at the end, however.
  58. I'll try my best, although english isn't my mother tongue.
  59. >
  60. >
  61. >
  62. >
  63. >
  64. > So here it is (PowerKey, first issue):
  65.  
  66. Digital recording with the NeXT DSP
  67. ___________________________________
  68.  
  69. Who didn't have the dream of finally using the full sound capabilities of  
  70. his
  71. or her NeXT computer? No more microphones, the music straight from there
  72. CD-player into the NeXT, what wonderful sound that could be. No quality  
  73. loss !
  74. Suddenly the NeXT would be a (very) expensive CD-player.
  75.  
  76. Those of you who are members that participated in the NiCE meeting on the
  77. twelfth of August 1991 already know what I am talking about. One day I had
  78. enough of this 'miserable' 8-bit sound. I finally wanted 16bit stereo. (It  
  79. is
  80. pretty mundane to demo lousy, noisy , dull sounds and say "It could sound  
  81. a lot
  82. better"
  83.  
  84. The Idea
  85. ---------
  86. Digital sound data consists of bits and bytes. They should be second  
  87. nature to
  88. the NeXT, just as graphics or text. Additionally the NeXT has a DSP-port;  
  89. a
  90. serial interface to the DSP (Digital Signal Processor), a gateway to the
  91. outside. Some clever guy had the idea to standardize digital sound data.
  92. So id a CD-player internally processes the digital sound data serially,  
  93. and it
  94. adheres to the standard, it should be possible that the two of them  
  95. (CD-player
  96. and NeXT) could communicate.
  97. Though of... implemented !
  98.  
  99. ATTENTION !!!
  100. -------------
  101. The following construction guide is ment for people who can tell which  
  102. side of
  103. a soldering iron gets hot. Such operations usually void the warranty of  
  104. the
  105. manufacturer. Make it clear to yourself that there is no way back, and  
  106. that you
  107. really dont care..
  108. [Left out a bunch of legalize, saying that the author isn't liable for
  109. anything] It could be that the device explodes, is confiscated by the
  110. FBI,......
  111.  
  112. As you couldn't resist to read on, you must be one of those hardware dare
  113. devils that can't be stopped by anything.
  114.  
  115. The serial interface SSI
  116. -------------------------
  117.  The Synchronous Serial Interface of the DSP 5600, is an interface that is
  118. designed to communicate with industry standard codecs (e.g. MC14550x).  It
  119. could also be connected to a Analog to Digital Converter (DSP56ADC16).  
  120. (Such a
  121. project is actually in the making, but as usual ... das Leben ist zu kurz,  
  122. und
  123. Zeit ist zu teuer !!)
  124.  
  125. The SSI primarily consists of 3 pins.
  126.  
  127.         - SRD   SSI Receive Data
  128.         - SCK   SSI Serial Clock
  129.         - FSR   Receiver Frame Sync
  130.  
  131. Those make it possible to receive data (That is after all what we want).  
  132. To
  133. transmit data, we need the following analog connections.
  134.  
  135.         - STD   SSI Transmit Data
  136.         - SCK   SSI Serial Clock
  137.         - FST   Transmitter Frame Sync
  138.  
  139.  
  140. The pins of the DSP have the following names.
  141.  
  142.         - STD   SS Transmit Data        Pin 3
  143.         - SRD   SSI Receive Data        Pin 2
  144.         - SCK   SSI Serial Clock        Pin 1
  145.         - SC0   Serial Control 0        Pin 14
  146.         - SC1   Serial Control 1        Pin 13
  147.         - SC2   Serial Control 2        Pin 12
  148.  
  149.  
  150. The pinouts describe the connector on the back of the NeXT-cube or  
  151. station.
  152. The signals FST, FSR as well as the separate clocks for transmitter and
  153. receiver can be assigned by software to the different SCx pins. For our  
  154. purpose
  155. we are going to use SC2 as combined transmitter/receiver frame sync.
  156.  
  157. The serial protocol
  158. -------------------
  159.               _   _   _   _   _   _   _   _   _   _   _   _   _   _
  160.  Serial Clock | |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_|
  161.  
  162.                          ___________             ___________
  163.  Frame Sync   ___________|           |___________|           |________
  164.  
  165.                          ___________ ___________ ___________
  166.  Serial Data         ----X___________X___________X___________X----
  167.                          ^^^^^^^^^^^
  168.                          16 Bit serial data
  169.  
  170. As software protocol for this does not exist in my knowledge. The packets
  171. contain the raw 16bit data, alternating between right and left channel.  
  172. The
  173. frame sync enables us to determine which packet is for the right and which  
  174. for
  175. the left channel.
  176.  
  177. We pry open the CD-player
  178. ---------------------------
  179. This is a pretty futile attempt if the schematics for the device aren't  
  180. handy.
  181. A call to your local TV/HIFI shop (how about Robert Waxman ?) or the  
  182. company
  183. could prove to be fruitful. My component here is an older Technics (still)
  184. without a digital output. In light of modern production and to save money,  
  185. most
  186. CD-players probably use the same or very similar set of chips as the one  
  187. of
  188. this Technics.
  189. The exact procedure how to open this thing is described in the service  
  190. manual.
  191.  
  192. >From the schematic we can deduce that the digital signal processing EFM  
  193. decoder
  194. MN6617 passes the data serially to the digital filter IC MN6618. It uses  
  195. the
  196. following pins of the filter.
  197. Just to annoy you Technics use SMD chips. So soldering on the three  
  198. connections
  199. to the mentioned pins is instead of being a walk in  the park, a royal  
  200. pain in
  201. the butt. (Some people might be drenched in sweat of fear).
  202.  
  203. Connecting the Wires
  204. ----------------------
  205. We connect those in the following manner
  206.  
  207. IC-pinout, topview.
  208.  
  209.         -42-41-40- .......... -34-33----
  210.       /                                |
  211.     /                                  |
  212.    |                                   |
  213.    1                                  32
  214.    |                                   |
  215.    2                                  31
  216.    |            MN6618F                |
  217.    3                                  30
  218.    |            DIGITAL FILTER         |
  219.    .                                   .
  220.    .                                   .
  221.    |                                   |
  222.    9                                  23
  223.    |                                   |
  224.    10                                 22
  225.    |                                   |
  226.    ------11-12-13-............-20-21----
  227.  
  228.    **** The IC IS NOT SYMMETRICAL, THAT MEANS NOT ****
  229.    **** ALL SIDES HAVE THE SAME NUMBER OF PINS    ****
  230.  
  231.  NeXT DSP       -       CD-Player MN6618
  232.  GND    (11)    -       GND     (everywhere)
  233.  SCK    (1)     -       SFT     (30)
  234.  SRD    (2)     -       SIN     (31)
  235.  SC2    (12)    -       LRCK    (28)
  236.  
  237. Those of you who are the true dare devils probably will make a direct
  238. connection between the CD and the IC. It is preferable to integrate a  
  239. buffer IC
  240. like a  74241, or only a 7408. That way you wont soot you stereo to the  
  241. moon,if
  242. something isn't connected correctly.
  243.  
  244. SOFTWARE
  245. --------
  246. As we have played by the rules as far as the protocol goes, we can safely
  247. ignore the issue of software. The from NeXT supplied sndrecord will do the  
  248. job.
  249. We just have to tell it to use the DSP.
  250. hostname> sndrecord -d test.snd
  251. Start the madness with a simple gentle tap on the return key and stop it
  252. either by an energetic control-c or your storage space coming to a sudden  
  253. end.
  254. The price you pay for such quality has its price; 10megs per minute.
  255.  
  256.  
  257. > mheubi@itr.ch
  258. > {mheubi,redaktor,powerkey}@nice.usergroup.ethz.ch
  259. >
  260. > _______________________________________________________________________
  261.  
  262. > AUTHOR
  263. >   I'm an EE student from Switzerland (As you might have imagined,
  264. >   by discovering all the mystackes :-) in the English part)
  265. >   I can be reached through Email. (see above)
  266. >
  267. >   If you have any questions, please mail me.
  268. >   I WILL *NOT* READ ANY NEWS IN THE NEXT FOUR WEEKS!
  269. >   (I've got intermediate examination)
  270. >
  271. > COPYRIGHT
  272. >   This article is copyrighted by NiCE - NeXT User Group. You may
  273. >   translate it, and redistribute/reprint/duplicate it in any way
  274. >   as long is it is for any non-profit purpose.
  275. >   (It would be nice, if you would mention the source :-)
  276. >
  277. >   NiCE - NeXT User Group is the User Group for NeXT interested people
  278. >   located near Zuerich, Switzerland. If you are interested in our Group,
  279. >   contact me, or marcel@nice.usergroup.ethz.ch (who is the president).
  280. >
  281. > DISCLAIMER
  282. >   NeXT,Technics,PostScript and probably CD are registered trademarks
  283. >   of the corresponding companies.
  284. >
  285. >   I do *NOT* take any responsibility for any damage occured in any  
  286. direct
  287. >   or indirect relation to this article, nor does so NiCE - NeXT User  
  288. Group.
  289. >
  290. >   You might well damage either your CD player and/or your computer
  291. >   by applying anything written in this article. I can in no way grant
  292. >   that anything described in this article works - (it does with my CD
  293. >   player, however)
  294. >
  295. > #include <net_people/collection_of_std_disclaimers>
  296. >
  297. >
  298. >
  299. >
  300. > ouffff.... that took rather long..
  301. > Hope you liked it!
  302. >
  303. > Greetings, and have a NiCE day
  304. >   Matthias
  305. > --
  306. > -----------------------------------------------------------------------
  307. > Matthias Heubi       / NeXT / Atari ST / HP-48SX /        mheubi@itr.ch
  308. > -----------------------------------------------------------------------
  309.  
  310. I have tried this with an old Sony of mine (D-7). I didn't have any  
  311. schematics,
  312. non the less I got it to work. Unfortunately I dropped something into the  
  313. open
  314. case after I got it working, shorting out a transistor for the motor  
  315. control
  316. (at least that is what I think it is). That damn part is SMD, and I have  
  317. no
  318. clue as to what its specifications are. So I guess one of these days I  
  319. will
  320. have to hook up the oscilloscope and see if I can get it back into working
  321. order. Or get myslef the schematics to this ancient baby.
  322.  
  323. Mike
  324. --
  325. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  326. No user serviceable part inside. Warranty void if opened
  327. modified or tampered with. No batteries included.
  328. *
  329. mfriedel@basalt.mines.colorado.edu
  330. mfriedel@monolith.rmNUG.ORG
  331. *
  332. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  333.  
  334. Non-standard disclaimer:
  335. If anybody should try to commit suicide, willfully or not by attempting  
  336. the
  337. above described operations, or destroy their dads stereo, make there NeXT  
  338. look
  339. behave like an Amiga or any other related mishap, they cant hold me  
  340. responsible
  341. for it.
  342.  
  343.  
  344.  
  345. --
  346. Oleg Perelet
  347. perelet@wri.com
  348.