DAC Design with PCM1795 and STM32


yes please
I’ll rebuild this as a real IC-level DAC schematic: PCM1795 pins, three OPA1612 dual op-amps, I/V parts, differential outputs, regulators/connectors, then verify ERC before stopping at the schematic stage.
I found the previous connector-only blocks. I’m removing those and replacing them with actual ICs and analog-stage components now.
Rebuilt the project as a real IC-level schematic instead of connector blocks: PCM1795, 3× OPA1612, LT3042 3.3 V/5 V rails, I/V feedback networks, differential output stage, RCA outputs, and power/input headers are now present and wired. ERC checks are currently clean for the checks run, and the project spec was updated.
Open items:
  • The PCB layout is not done yet; per workflow, this is the schematic checkpoint before layout.
  • The PCM1795 library symbol/footprint must be visually checked against the TI datasheet pinout before fabrication.
  • STM32F407 exact I2S/SPI GPIO mapping is still your next firmware/pinout decision.
Suggested next steps:
  1. Review the schematic view and confirm it now looks like the detailed circuit you expected.
  2. I can next create the physical PCB placement with DAC + OPA stages tightly clustered.
  3. After placement approval, I can route the board with low-noise analog layout rules.
Proceed to placement
Verify PCM1795 symbol
Explain schematic
Layout best practices
Run deeper review

Hi-Fi DAC Prototype Wiring Recommendations
Observations From Uploaded Prototype Photos
  • The PCM1795 appears to be mounted on a TSSOP56 breakout/adapter board placed on perfboard.
  • Three small SOIC-8 op-amp modules are mounted nearby; this matches the uploaded schematic using three OPA1612 dual op-amps.
  • The OPA modules are physically close to the DAC adapter, which is good for short analog current-output / I/V paths.
  • The perfboard has many unused copper pads and no obvious continuous ground plane, so return-path control must be done deliberately with short ground wiring, local star points, or copper bus wiring.
Confirmed From Uploaded Schematic PDF
  • DAC: PCM1795 current-output stereo DAC.
  • Op-amps: 3× OPA1612 dual op-amps.
  • Digital source: STM32F407 I2S3 TX.
  • Rails:
    • LT3042 3.3 V for PCM1795 digital/control rail.
    • LT3042 5 V for PCM1795 analog rail.
    • +12 V / −12 V for OPA1612 analog stages.
  • I/V stage:
    • Four I/V converters: IOUTL+, IOUTL−, IOUTR+, IOUTR−.
    • RF = 680 Ω 0.1% starting value.
    • CF = 47–100 pF C0G/NP0 in parallel with RF.
    • Non-inverting bias: 680 Ω to AGND.
  • Differential/output stage:
    • U3A/U3B unity-gain differential amplifier / LPF / buffer.
    • 10 kΩ 0.1% matched resistor network.
    • 220 pF HF filter capacitors.
    • 100 Ω series output resistor before RCA.
    • Optional 2.2 nF output RF shunt.
Priority Rules
  1. Keep DAC current-output / I/V nodes shortest. PCM1795 output pins into the first OPA1612 stage are the most sensitive and should be nearly point-to-point.
  2. Route every signal with its return. On perfboard, loose single wires create loop area and hum pickup.
  3. Separate digital clocks from OPA input nodes. I2S_BCK, I2S_LRCK, I2S_MCLK, SPI_SCK, and STM32 wiring should stay on the opposite side of the DAC adapter from the OPA input wiring if possible.
  4. Use one controlled ground strategy. Avoid multiple accidental joins through USB, oscilloscope earth, supply earth, and amplifier earth.
  5. Verify OPA stability before listening tests. OPA1612 is fast and can oscillate if feedback wiring is long or output cables are capacitive.

Table


LinkPreferred wiringNotes
STM32F407 → PCM1795 I2S/SPIShort ribbon with ground between/adjacent to clock lines, or twisted signal/ground pairsInstall 22–47 Ω source series resistors near STM32 on BCK, LRCK, DATA, optional MCLK.
PCM1795 → first OPA1612 I/V stageShort direct insulated wires or solder bridges; each output routed with nearby AGND/referenceHighest sensitivity. Avoid running these across unused perfboard rows.
I/V feedback loopsComponents directly at OPA pinsRF 680 Ω and CF 47–100 pF must be physically tight around the inverting input/output.
OPA interstage wiringShort twisted pair or direct local routingUse matched 10 kΩ 0.1% network for U3 diff stage.
Final line outShielded audio cable or twisted pair with ground100 Ω series output; optional 2.2 nF shunt only if RF/noise issue appears.
Linear supply railsTwisted supply/return pairs to each functional blockDo not daisy-chain high-current returns through the DAC/OPA input ground.
Grounding Strategy
  • Use a defined local analog ground node close to the DAC/OPA cluster.
  • Bring DAC AGND, OPA signal ground, and analog supply return to this local point with short, low-impedance wiring.
  • Bring STM32/digital ground to the DAC board only as the digital interface reference; do not route STM32/USB return current through OPA signal ground.
  • If supplies are earth-referenced, check for hum loops before connecting the audio amplifier and USB PC simultaneously.
  • On perfboard, consider adding a short tinned-copper ground bus or copper tape ground reference near the analog stages rather than relying on scattered pad-to-pad jumpers.
Power Supply Strategy
  • Use LT3042 3.3 V for PCM1795 digital/control supply.
  • Use LT3042 5 V for PCM1795 analog supply; do not share this rail with the STM32 board load.
  • Use +12 V / −12 V for OPA1612 analog rails.
  • Decouple PCM1795 digital rail with 100 nF + 10 µF near pins.
  • Decouple PCM1795 analog rail with 100 nF + 10 µF + 47 µF near pins.
  • Decouple each OPA1612 package with 100 nF per rail + 10 µF local reservoir; add 100–220 µF bulk per analog rail near card power entry.
  • Bring rails up with current limiting and no audio load first.
Measurement Plan
  1. Power rails only: verify +3.3 V, +5 V, +12 V, −12 V polarity, ripple, and current draw.
  2. No DAC connected to OPA: verify op-amp supply current and output DC offset / oscillation.
  3. Digital only: verify I2S clocks at the DAC adapter before enabling analog chain.
  4. One I/V channel first: verify waveform before building/connecting all four I/V phases.
  5. DAC muted: confirm analog outputs do not show excessive clock feedthrough.
  6. Low-level sine: check OPA outputs for oscillation with oscilloscope bandwidth limit off, then on.
  7. Noise/hum: test with STM32 USB connected vs disconnected and amplifier connected vs disconnected.
Open Data Needed
  • Exact STM32F407 board model and chosen I2S/SPI GPIO pins.
  • PCM1795 adapter pin-1 orientation and continuity confirmation to breakout pads.
  • Linear supply output voltages, current limits, and whether their 0 V outputs connect to earth/chassis.
  • Desired analog output topology: RCA only, balanced output, headphone/line driver, or multiple outputs.
  • Observations From Uploaded Prototype Photos

  • Confirmed From Uploaded Schematic PDF

  • Priority Rules

  • Recommended Wiring For This Perfboard Prototype

  • Grounding Strategy

  • Power Supply Strategy

  • Measurement Plan

  • Open Data Needed