DAC Design with PCM1795 and STM32

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
U1 IOUTL- - U2 -IN B
DAC_RST_N
U2 OUT A - R1 P2
J2 3 - U2 V+
R9 P2 - U4 +IN A
U3 OUT A - R3 P2
U2 OUT A - R1 P2
U1 AGND3R - C9 P2
U1 IOUTR+ - U3 -IN A
U1 IREF - C13 P1
J2 4 - U2 V-
U1 AGND3R - C9 P2
U3 +IN A - R7 P1
U1 AGND3R - C9 P2
J2 4 - U2 V-
U1 VCC2R - C10 P1
J2 4 - U2 V-
U5 OUTS - U1 VDD
U1 AGND3R - C9 P2
J2 3 - U2 V+
R9 P2 - U4 +IN A
J2 4 - U2 V-
R15 P2 - U4 -IN B
C14 P1 - C15 P1
J1 Pin_2 - R20 P1
C14 P1 - C15 P1
J2 1 - U5 IN_1
R19 P2 - U1 LRCK
U1 IOUTL+ - U2 -IN A
U3 +IN B - R8 P1
U3 +IN A - R7 P1
U1 VCC2R - C10 P1
J2 3 - U2 V+
U1 IOUTL+ - U2 -IN A
R23 P1 - U5 SET
J2 4 - U2 V-
J2 4 - U2 V-
U2 OUT A - R1 P2
U3 OUT A - R3 P2
J1 Pin_5 - U1 ~MS
J2 3 - U2 V+
R21 P2 - U1 BCK
U6 EN/UV - C32 P1
U3 OUT B - R4 P2
R13 P2 - U4 +IN B
R9 P2 - U4 +IN A
U1 AGND3R - C9 P2
U5 OUTS - U1 VDD
U1 AGND3R - C9 P2
U5 OUTS - U1 VDD
U5 OUTS - U1 VDD
J1 Pin_4 - R22 P1
U2 OUT B - R2 P2
R15 P2 - U4 -IN B
U1 AGND3R - C9 P2
U1 AGND3R - C9 P2
R20 P2 - U1 DATA
R13 P2 - U4 +IN B
R15 P2 - U4 -IN B
J2 3 - U2 V+
U1 AGND3R - C9 P2
C14 P1 - C15 P1
U1 AGND3R - C9 P2
J1 Pin_5 - U1 ~MS
C14 P1 - C15 P1
R24 P1 - U6 SET
J1 Pin_1 - R19 P1
R11 P2 - U4 -IN A
U1 IOUTR- - U3 -IN B
J1 Pin_7 - U1 MC
U1 VCC2R - C10 P1
U1 IOUTR+ - U3 -IN A
U5 OUTS - U1 VDD
U1 AGND3R - C9 P2
U2 OUT B - R2 P2
U4 OUT A - R12 P2
U2 +IN A - R5 P1
U1 AGND3R - C9 P2
J1 Pin_3 - R21 P1
J1 Pin_4 - R22 P1
U1 AGND3R - C9 P2
U1 AGND3R - C9 P2
U4 OUT A - R12 P2
U4 OUT B - R16 P2
C14 P1 - C15 P1
J2 3 - U2 V+
U3 OUT B - R4 P2
DAC_RST_N
U5 EN/UV - C30 P1
J1 Pin_1 - R19 P1
R21 P2 - U1 BCK
R17 P2 - J3 1
U1 AGND3R - C9 P2
U6 EN/UV - C32 P1
U1 IREF - C13 P1
J2 2 - U6 IN_1
U1 VCC2R - C10 P1
C14 P1 - C15 P1
U1 VCOML - C11 P1
R19 P2 - U1 LRCK
R23 P1 - U5 SET
U1 AGND3R - C9 P2
U1 IOUTR- - U3 -IN B
R20 P2 - U1 DATA
U5 OUTS - U1 VDD
U2 +IN B - R6 P1
R17 P2 - J3 1
R24 P1 - U6 SET
U1 AGND3R - C9 P2
R23 P1 - U5 SET
U1 IOUTR+ - U3 -IN A
U1 VCOMR - C12 P1
J1 Pin_3 - R21 P1
U1 IOUTL- - U2 -IN B
R11 P2 - U4 -IN A
U1 IOUTR- - U3 -IN B
J2 4 - U2 V-
U3 OUT A - R3 P2
U3 OUT B - R4 P2
R11 P2 - U4 -IN A
U2 OUT B - R2 P2
U5 EN/UV - C30 P1
U1 IOUTL+ - U2 -IN A
U1 AGND3R - C9 P2
U1 AGND3R - C9 P2
U4 OUT B - R16 P2
U4 OUT B - R16 P2
R22 P2 - U1 SCL
U2 OUT B - R2 P2
R18 P2 - J4 1
R24 P1 - U6 SET
U2 +IN A - R5 P1
U1 AGND3R - C9 P2
R22 P2 - U1 SCL
R17 P2 - J3 1
U4 OUT B - R16 P2
U1 AGND3R - C9 P2
U3 OUT A - R3 P2
J1 Pin_2 - R20 P1
U1 VCOML - C11 P1
R11 P2 - U4 -IN A
U2 +IN B - R6 P1
U2 OUT A - R1 P2
U1 AGND3R - C9 P2
U1 AGND3R - C9 P2
U1 VCOMR - C12 P1
U5 OUTS - U1 VDD
U1 AGND3R - C9 P2
J2 4 - U2 V-
U1 AGND3R - C9 P2
U4 OUT A - R12 P2
U1 IOUTL- - U2 -IN B
J2 2 - U6 IN_1
J2 1 - U5 IN_1
U1 IOUTL- - U2 -IN B
J2 3 - U2 V+
U1 IOUTR- - U3 -IN B
U3 +IN B - R8 P1
U1 AGND3R - C9 P2
U1 VCC2R - C10 P1
R15 P2 - U4 -IN B
U4 OUT A - R12 P2
J1 Pin_7 - U1 MC
U1 AGND3R - C9 P2
J1 Pin_6 - U1 MDI
U1 AGND3R - C9 P2
U1 AGND3R - C9 P2
U1 AGND3R - C9 P2
U3 OUT B - R4 P2
U1 AGND3R - C9 P2
R18 P2 - J4 1
U1 IOUTR+ - U3 -IN A
J2 3 - U2 V+
U1 AGND3R - C9 P2
J1 Pin_6 - U1 MDI
U1 AGND3R - C9 P2
R18 P2 - J4 1
U1 IOUTL+ - U2 -IN A
R13 P2 - U4 +IN B
C18
Capacitance
100nF
C19
Capacitance
10uF
C7
Capacitance
2.2nF
C12
Capacitance
100nF
C23
Capacitance
10uF
C14
Capacitance
100nF
C26
Capacitance
10uF
C25
Capacitance
10uF
C1
Capacitance
47pF
C3
Capacitance
47pF
C21
Capacitance
10uF
C16
Capacitance
100nF
C6
Capacitance
220pF
C24
Capacitance
10uF
C22
Capacitance
10uF
C10
Capacitance
100nF
C13
Capacitance
100nF
C20
Capacitance
10uF
C32
Capacitance
10uF
C33
Capacitance
10uF
C30
Capacitance
10uF
C9
Capacitance
100nF
C15
Capacitance
100nF
C27
Capacitance
47uF
C8
Capacitance
2.2nF
C5
Capacitance
220pF
C29
Capacitance
47uF
C35
Capacitance
4.7uF
C11
Capacitance
100nF
C4
Capacitance
47pF
C17
Capacitance
100nF
C2
Capacitance
47pF
C31
Capacitance
10uF
C28
Capacitance
47uF
C34
Capacitance
4.7uF
R23 P2 - C34 P2
R7
Resistance
680Ω
R23
Resistance
33.2kΩ
U5 GND_1 - U5 GND_2
U5 GND_1 - U5 GND_2
GND
U5 GND_1 - U5 GND_2
R5
Resistance
680Ω
R20
Resistance
27Ω
GND
R21
Resistance
27Ω
GND
R18
Resistance
100Ω
J5 Pin_5 - R26 P1
R8
Resistance
680Ω
R26
Resistance
R23 P2 - C34 P2
R25
Resistance
10kΩ
R9
Resistance
10kΩ
R23 P2 - C34 P2
U5 GND_1 - U5 GND_2
U5 GND_1 - U5 GND_2
R24
Resistance
49.9kΩ
R19
Resistance
27Ω
R22
Resistance
27Ω
R3
Resistance
680Ω
R4
Resistance
680Ω
J5 Pin_5 - R26 P1
R17
Resistance
100Ω
R6
Resistance
680Ω
R2
Resistance
680Ω
R11
Resistance
10kΩ
U5 GND_1 - U5 GND_2
U5 GND_1 - U5 GND_2
R12
Resistance
10kΩ
R14
Resistance
10kΩ
R15
Resistance
10kΩ
R23 P2 - C34 P2
GND
R16
Resistance
10kΩ
U5 GND_1 - U5 GND_2
R13
Resistance
10kΩ
R10
Resistance
10kΩ
R1
Resistance
680Ω
U3
U4
J5
U2
U5
U6
J1
U1
J4
J3

Refine this doc
Ask about this doc
PCM1795 + OPA1612 DAC Card Schematic Extraction
Source
  • Uploaded file: pcm1795_opa1612_dac_card_schematic.pdf
  • Uploaded datasheet: pcm1795.pdf
  • Note: Verify physical adapter orientation and continuity before soldering.
PCM1795 Pinout — 28-Pin SSOP DB Package

Table


PinNameFunction
1ZEROLLeft zero flag
2ZERORRight zero flag
3MSELI2C/SPI select; active-low SPI select
4LRCKLeft/right word clock input
5DATASerial audio data input
6BCKBit clock input
7SCKSystem clock input
8DGNDDigital ground
9VDD3.3 V digital supply
10MSMode-control chip select, active low
11MDIMode-control data input
12MCMode-control clock input
13MDOMode-control readback output / I2C open-drain output
14RSTReset, active low
15VCC2R5 V analog supply, right DACFF
16AGND3RRight DACFF analog ground
17IOUTR+Right analog current output +
18IOUTR−Right analog current output −
19AGND1Analog ground, internal bias
20IREFOutput current reference bias pin
21VCOMRRight internal bias decoupling pin
22VCOMLLeft internal bias decoupling pin
23VCC15 V analog supply
24AGND2Analog ground, internal bias
25IOUTL+Left analog current output +
26IOUTL−Left analog current output −
27AGND3LLeft DACFF analog ground
28VCC2L5 V analog supply, left DACFF
PCM1795 Operating Requirements

Table


ItemRequirement
Digital supplyVDD = 3.0–3.6 V, nominal 3.3 V
Analog suppliesVCC1/VCC2L/VCC2R = 4.75–5.25 V, nominal 5 V
Supply matchingVCC1/VCC2L/VCC2R difference must stay within ±0.1 V
Ground matchingAGND/DGND differences must stay within ±0.1 V
Digital inputs5 V tolerant Schmitt-trigger inputs; VIH ≥ 2.0 V, VIL ≤ 0.8 V
PCM formatsStandard, I2S, left-justified; default is 32-bit I2S
Sample rate10–200 kHz PCM
System clock128/192/256/384/512/768 × fS
Current outputAbout 4 mA p-p per output pin at 0 dBFS
Architecture
  • PCM1795 current-output stereo DAC.
  • Three OPA1612 dual op-amps total:
    • U1: left-channel I/V conversion for IOUTL+ and IOUTL−.
    • U2: right-channel I/V conversion for IOUTR+ and IOUTR−.
    • U3: differential-to-single-ended output / low-pass filter / buffer for left and right RCA outputs.
  • STM32F407 provides I2S audio: BCK, LRCK/WS, DATA, SCK/MCLK.
Digital Input Recommendations

Table


SignalPCM1795 PinSourceRecommended part
LRCK/WS4STM32F40722–47 Ω series resistor near STM32
DATA5STM32F40722–47 Ω series resistor near STM32
BCK6STM32F40722–47 Ω series resistor near STM32
SCK / system clock7STM32F407 or low-jitter oscillatorStart around 10–47 Ω series resistor near source
MS / CS10STM32F407 SPI CSActive low
MDI / MOSI11STM32F407 SPI MOSIMode-control data
MC / SCK12STM32F407 SPI SCKMode-control clock
MDO / MISO13STM32F407 SPI MISO optionalReadback
RST14STM32F407 GPIOActive low reset
MSEL3Strap/controlLow selects SPI
PCM1795 Supplies / Decoupling

Table


RailPinsSourceLocal capacitorsNotes
VDD digital9LT3042 3.3 V100 nF X7R + 10 µFShort return to DGND
VCC analog15, 23, 28LT3042 5 V100 nF X7R per supply pin + 10 µF + 47 µFShort return to AGND
VCOM21, 22Internal bias pinsDecouple close per datasheet layoutKeep away from digital routing
IREF20Current reference biasFollow datasheet/reference circuitSensitive analog node
I/V Conversion Starting Values
Each PCM1795 current-output pin is converted by an OPA1612 inverting I/V stage.

Table


ChannelDAC outputPCM1795 PinOPA stageFeedbackCompensationNon-inverting bias
Left +IOUTL+25U1A680 Ω 0.1%47–100 pF C0G/NP0 parallel with RF680 Ω to AGND
Left −IOUTL−26U1B680 Ω 0.1%47–100 pF C0G/NP0 parallel with RF680 Ω to AGND
Right +IOUTR+17U2A680 Ω 0.1%47–100 pF C0G/NP0 parallel with RF680 Ω to AGND
Right −IOUTR−18U2B680 Ω 0.1%47–100 pF C0G/NP0 parallel with RF680 Ω to AGND
Expected output scale: PCM1795 current output is about 4 mA p-p at 0 dBFS, so 680 Ω gives about 2.72 Vpp per phase and about 5.44 Vpp differential before output-stage losses. Tune RF to 390 Ω if too hot or 1 kΩ if too low.
Differential Output Stage
U3 is a unity-gain differential amplifier / filter stage.

Table


ChannelInputsResistor networkFilter / output parts
LeftVL+, VL−10 kΩ 0.1% matched network220 pF feedback HF filter, 100 Ω output resistor, optional 2.2 nF output RF shunt
RightVR+, VR−10 kΩ 0.1% matched network220 pF feedback HF filter, 100 Ω output resistor, optional 2.2 nF output RF shunt
If output phase is inverted, swap VL+/VL− or VR+/VR− at the differential stage, keeping both channels consistent.
OPA1612 Power / Decoupling
  • OPA rails: +12 V / −12 V.
  • User regulator module: LT3045/LT3094 positive/negative low-noise module is suitable if validated.
  • Each OPA1612 package: 100 nF per rail + 10 µF local reservoir at the package.
  • Analog rail bulk near power entry: 100–220 µF per rail.
Grounding / Layout Critical Points
  • TI recommends the same ground between AGND and DGND to avoid voltage differences, but digital return currents must avoid AGND pins and I/V input nodes.
  • Use star-ish routing: DAC analog ground, OPA ground, and regulator returns meet at the DAC card ground reference area.
  • Route PCM1795 current outputs as extremely short traces/wires directly to OPA inverting inputs.
  • Keep BCK/LRCK/DATA/SCK and control lines away from I/V summing nodes.
  • Use top-layer/local ground shielding around PCM1795 where practical and tie to the main ground reference with multiple low-impedance connections.
Bring-Up Order From PDF + Datasheet
  1. Power rails only: verify +5 V, +3.3 V, +12 V, −12 V with current limits.
  2. Power PCM1795: verify no overheating and correct current draw.
  3. Scope LRCK, DATA, BCK, and SCK at DAC pins before enabling analog output stage.
  4. Build one channel I/V first; verify sine/triangle waveform on scope before adding second channel.
  5. Add U3 differential stage and RCA output after I/V outputs are correct.
BOM Values Extracted

Table


Ref / FunctionValue / PartQtyNotes
DACPCM17951Current-output stereo DAC
Op-ampsOPA16123Six op-amp channels total
I/V feedback680 Ω 0.1%4Also buy 390 Ω and 1 kΩ for tuning
I/V compensation47–100 pF C0G/NP04Parallel with RF
I/V bias680 Ω 1%4Non-inverting input to AGND; may be 0 Ω after testing
Differential amp resistors10 kΩ 0.1%8Matched network
Differential feedback caps220 pF C0G/NP02–4Matched if used in both arms
Output isolation100 Ω 1%2Before RCA output
Output RF shunt2.2 nF film/C0G2Optional
I2S damping22–47 Ω3–4BCK, LRCK, DATA, optional MCLK/SCK
Decoupling100 nF X7R20+At IC supply pins/rail groups
Local reservoir10 µF10+Local rail reservoir
Bulk47/100/220 µFas neededNear card power entry
  • Source

  • PCM1795 Pinout — 28-Pin SSOP DB Package

  • PCM1795 Operating Requirements

  • Architecture

  • Digital Input Recommendations

  • PCM1795 Supplies / Decoupling

  • I/V Conversion Starting Values

  • Differential Output Stage

  • OPA1612 Power / Decoupling

  • Grounding / Layout Critical Points

  • Bring-Up Order From PDF + Datasheet

  • BOM Values Extracted

Broad Gray Holodeck

Broad Gray Holodeck thumbnail
STM32F407 PCM1795 DAC Interconnect

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$25.95–$40.88

Digi-Key

$29.05

LCSC

$51.13

Mouser

$53.18

TME

$24.18

Verical

$20.45–$1,046.42

Controls