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

Thread: Teensy 3.6 DAC0/1 to Audio Board Headphone amp

  1. #1

    Teensy 3.6 DAC0/1 to Audio Board Headphone amp

    Hi all,

    Apologies if this is covered elsewhere in the forum, I wasn't able to find it.

    Is it possible to use Teensy 3.6 DACs with the audio board line-in?

    What connections are needed for that? I'm hoping to not use BCLK, MCLK, LRCLK as mounting the audio board on top of the teensy will be difficult in my project.

    Code:
    | Teensy 3.6 | Audio Board |
    |------------+-------------|
    | 3.3V       | 3.3V        |
    | GND        | GND         |
    | SCL        | SCL         |
    | SDA        | SDA         |
    | DAC0       | LINE-IN L   |
    | DAC1       | LINE-IN R   |
    Edit: My goal is to have a working stereo headphone jack with volume control using the thumbwheel potentiometer.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,867
    The DAC pins should be able to connect to the line-in pins. They use approx the same signal level, and the line-in level is software adjustable. The DAC does have a DC offset, but the line-in uses AC coupling capacitors, so it should work.

    The SGTL5000 is supposed to have a way to route the line-in signal directly to the headphone amp. But you may need to use the Wire lib to send commands directly to the chip. You'll need to read the SGLT5000 data sheet to figure out which registers to control. That part is likely to take some fiddling....

  3. #3
    Thanx for this response

Posting Permissions

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