How do you mod the PS1 for Digital Audio via TOSLINK?

Discussion in 'Modding and Hacking - Consoles and Electronics' started by MonkeyBoyJoey, Jul 9, 2015.

  1. MonkeyBoyJoey

    MonkeyBoyJoey 70's Robot Anime GEPPY-X (PS1) Fanatic

    Joined:
    Mar 1, 2015
    Messages:
    1,738
    Likes Received:
    312
    Hello everyone, since the PS1 has a separate DAC, I was wondering how do you mod the PS1 for digital audio? Any diagrams or tutorials I can follow?

    I would really like to get digital audio out of my PS1. I use it on my PS2 but I want it on the PS1 as well.

    Any help would be highly appreciated!
     
  2. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    There was a mod that did this - it used a Toshiba SPDIF encoder chip (TC9231N, I think) - this used to be a very common part (used in a lot of early '90s CD players)but it's been out of production for a long time. From what I remember, it was pretty easy to hook up - it would take the same BCLK/LRCLK/DATA signals that the DAC does, and could be strapped to use the same 384Fs MCLK that's already on the DAC.

    I do have a vague memory that the LRCLK signal needed inverting, though - otherwise the L and R channels come out over the digital out swapped.
     
  3. MonkeyBoyJoey

    MonkeyBoyJoey 70's Robot Anime GEPPY-X (PS1) Fanatic

    Joined:
    Mar 1, 2015
    Messages:
    1,738
    Likes Received:
    312
    Any diagrams of it?
     
  4. Hardak

    Hardak Active Member

    Joined:
    Sep 27, 2012
    Messages:
    27
    Likes Received:
    0
    Yes, please! A diagram of this would be much appreciated. I would want to try this as well.
     
  5. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    Hmm, it looks like it's dropped off the web :(

    This is the original source (via archive.org):

    http://web.archive.org/web/20050817164313/http://www.uyouyo.com/special/soundcrd/scph7000.htm

    But the graphics are missing - annoyingly, the drawing for the Saturn still has them...

    http://web.archive.org/web/20050826000956/http://www.uyouyo.com/special/soundcrd/hst3210.htm

    Having said that, the text over the schematic says "It's exactly the same as the PlayStation circuit except in one place. The sole difference in pin 7, which should be connected to GND for the PlayStation (384Fs) but needs to be connected to +5V for the Saturn (256Fs). If you want to use the same board for both, use a jumper." (note: my Japanese sucks, but I'm pretty sure that's what it's saying).
     
  6. MonkeyBoyJoey

    MonkeyBoyJoey 70's Robot Anime GEPPY-X (PS1) Fanatic

    Joined:
    Mar 1, 2015
    Messages:
    1,738
    Likes Received:
    312
    So solder pin 7 to ground and then the rest of this will work on the PS1? Where can we get the parts?

    I've been using my PS2 to play PS1 games over YPbPr Component and TOSLINK. If I can get this working on my PS1, then I would have a reason to use it again! Well, after I complete my PS1 VGA/RGBS mod.
     
  7. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    There are people selling that Toshiba chip on ebay, but it's not especially cheap (it used to be a $0.50 part) - the rest of it looks standard, the 'ls04 is just a regular TTL chip and the TOSLINK transmitter is also generic.
     
  8. MonkeyBoyJoey

    MonkeyBoyJoey 70's Robot Anime GEPPY-X (PS1) Fanatic

    Joined:
    Mar 1, 2015
    Messages:
    1,738
    Likes Received:
    312
    Would the chip in this guide for the Saturn work? What other components would be needed for this mod?
     
  9. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    It doesn't look like it - the PSX uses a clock that's at 384Fs, and according to the datasheet:

    http://www.cirrus.com/en/pubs/proDatasheet/CS8406_F6.pdf

    (Table on page 28) there is no way to select this by physical pin strapping. Confusingly, it looks like you *can* do it in software controlled mode (store 01 in the CLK1/CLK2 bits in the clock control register - see pages 20 and 21), but this would mean hooking an MCU up to the chip to configure it, which seems like overkill.
     
    CodeAsm likes this.
  10. CodeAsm

    CodeAsm ohci_write: Bad offset 30

    Joined:
    Dec 22, 2010
    Messages:
    1,500
    Likes Received:
    176
    This is intresting, would be lovely to find a reliable source for these IC's and maybe buy bulk (10ish)
     
  11. citrus3000psi

    citrus3000psi Housekeeping, you want towel?

    Joined:
    Nov 8, 2013
    Messages:
    1,051
    Likes Received:
    418
    Last edited: Jul 14, 2015
    CodeAsm likes this.
  12. CodeAsm

    CodeAsm ohci_write: Bad offset 30

    Joined:
    Dec 22, 2010
    Messages:
    1,500
    Likes Received:
    176
  13. citrus3000psi

    citrus3000psi Housekeeping, you want towel?

    Joined:
    Nov 8, 2013
    Messages:
    1,051
    Likes Received:
    418
    Yes, it looks like the TI chip can cause interference issues. I would try to source the TC9231N. I just picked 5 up on ebay for 30bones.
     
  14. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    Toslink / S/PDIF is pretty standard - unfortunately the DAC interface isn't. There are lots of variants, related to which edge of the clock is used, if the bits are left or right justified, if the MSB or LSB is sent first, if the first bit cell is before or after the LRCLK transition, etc, etc.

    The best thing is to get the datasheet for the DAC and try to match the parameters with that.
     
    CodeAsm likes this.
  15. Hardak

    Hardak Active Member

    Joined:
    Sep 27, 2012
    Messages:
    27
    Likes Received:
    0
    This thread is getting good
     
  16. LeHaM

    LeHaM Site Soldier

    Joined:
    May 5, 2013
    Messages:
    2,634
    Likes Received:
    292
  17. CodeAsm

    CodeAsm ohci_write: Bad offset 30

    Joined:
    Dec 22, 2010
    Messages:
    1,500
    Likes Received:
    176
  18. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    I love the date code - week 36, 1991 - 24 year old chips...

    Edit: And I just checked the format of the signals on the machine I have here (SCPH-7003, PU-18).

    LRCLK is 44.1kHz (standard CD sample rate)
    MCLK is 16.9344MHz (384Fs)
    BCLK is 2.1168MHz (48Fs)

    DATA transitions on the falling edge of BCLK (I.E. it's latched on the rising edge)
    LRCLK is (unsurpringly) Sony style (I.E. it transitions on the first bit cell of the word).
    DATA format is 2-complement, MSB first - the 16 bit word is padded to 24 bits with 0s at the MSB end.

    I checked this on the board, then verified it with the DAC datasheet, and it all fits.
     
    Last edited: Jul 15, 2015
  19. MonkeyBoyJoey

    MonkeyBoyJoey 70's Robot Anime GEPPY-X (PS1) Fanatic

    Joined:
    Mar 1, 2015
    Messages:
    1,738
    Likes Received:
    312
    I've seen some people online saying this mod is not compatible with any PS1 after the SCPH-5xxx series. Is that true and if not, are the install instructions the same for the SCPH-7501?
     
  20. TriMesh

    TriMesh Site Supporter 2013-2017

    Joined:
    Jul 3, 2008
    Messages:
    2,324
    Likes Received:
    750
    It will work up to the SCPH-700x, but not on the SCPH-750x, SCPH-900x and PSone - they have the DAC integrated into the CD/DSP chip.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page