Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Transferring S/PDIF Data from Receiver to Teensy

  1. #1
    Junior Member
    Join Date
    Mar 2020
    Posts
    5

    Transferring S/PDIF Data from Receiver to Teensy

    I have a working LED board that displays the FFT from data read in via USB. I've recently come across a receiver (http://www.audioreview.com/product/a...n/avr7200.html and was thinking about making some changes so that I can connect a phone to the receiver (via coaxial digital input) and drive both a speaker system and the LEDs from there. I'd pull the coaxial digital output from the receiver to a Teensy so that it can go through the FFT and be displayed via the LEDs (this would all be going in parallel to a speaker system connected to the receiver itself).

    Based on this post https://forum.pjrc.com/threads/45394...put-and-Output, my understanding is that I'd need something along the lines of this: https://www.mouser.com/datasheet/2/7....5-1141948.pdf between the coaxial digital output and the Teensy but once that's accomplished I could read it as I2S. That being said this project is definitely beyond my realm of knowledge so I wanted to check my basic plan before I started jumping down rabbit holes and buying things that I don't fully understand.

    My main questions:
    1. Does this strategy make sense and will it work (I realize there's probably ways to accomplish all this without an expensive receiver like this but it was given to me and it will just be gathering dust otherwise so I figure I may as well use it)?
    2. Is there likely going to be a significant enough delay from the coaxial output -> converter -> teensy -> FFT -> LEDs that there will be a noticable lag between what I hear and what I see (I realize some of this will depend on how efficient my code is but I'm not sure if the converter would potentially cause a noticable delay)?

  2. #2
    Senior Member
    Join Date
    Feb 2017
    Posts
    418
    The WM8804-based board that I linked in the thread that you referenced above supports both coax and optical S/PDIF input (as well as coax and optical S/PDIF output). It's reasonably priced and is available form Amazon, eBay, and Sure Electronics.

    There will be no "delay" that a mortal human being will notice.
    Last edited by gfvalvo; 04-23-2020 at 02:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •