Table of Contents

Digital Isolator vs Optocoupler: Selection for UART and SPI

Unmarked surface-mount and through-hole IC packages on a green work mat

For a new four-wire SPI link, start with a digital isolator that carries three signals toward the peripheral and one back. Check whether the peripheral’s reply arrives before the controller samples it. For an existing UART built with optocouplers, start with the shortest pulse the receiver must recognize. If the circuit already meets that pulse width across temperature, load and service life, retaining it can save a board revision.

There are three candidates worth putting on the schematic review sheet. A phototransistor optocoupler uses an LED and an output transistor. A high-speed logic optocoupler adds an active detector and can provide a CMOS output. A non-optical digital isolator transfers logic across a capacitive or magnetic barrier. The distinction matters when an optical link is required but a transistor output cannot deliver the necessary edge timing. Vishay VO617A datasheet · Broadcom ACPL-M61L family datasheet · Analog Devices digital isolator overview

Count the signals crossing the barrier

Interface on the drawingController to peripheralPeripheral to controllerFirst candidate to investigate
Full-duplex logic-level UART, no flow controlTXReply TXA 1-forward, 1-reverse digital isolator or two optical channels
Four-wire SPI, one peripheralSCLK, MOSI, chip selectMISOA 3-forward, 1-reverse device such as TI’s ISO6741, or four suitably oriented optical channels
Write-only SPI peripheral, no readbackClock, data, chip selectNone for this transactionCount the actual output signals and any separate ready or fault return
Full-duplex UART uses one forward and one reverse channel; single-peripheral four-wire SPI uses three forward and one reverse
Count each signal that crosses the barrier. This UART example uses two channels, and the four-wire SPI example uses four.

Start with the transaction the equipment must complete. A UART firmware update might also need reset or a boot-mode pin. A second SPI peripheral may need another chip select. Add each crossing to the drawing before comparing package counts. TI illustrates both interface topologies, and Broadcom provides an optical SPI evaluation design for comparison. TI interface application brief · TI ISO6741 channel configuration · Broadcom SPI evaluation board

Compare input drive, output load and idle current

CandidateEvidence to collectCommon design constraint
Phototransistor optocouplerLED drive range, minimum current transfer ratio (CTR) for the ordered bin, pull-up value, receiver thresholds and capacitanceA pull-up small enough for a fast rising edge demands more collector current to hold the output low.
Logic-output optocouplerLED switching threshold, output-side supply, truth table, load and guaranteed switching limitsThe driver must deliver the required LED current across component tolerances.
Digital isolatorBoth supply ranges, input thresholds, output drive, default state and current at the expected switching activityEach side of a signal-only IC needs a local supply and return.
Unconnected through-hole package and axial resistors on a green electronics work mat
For an LED input, check the available drive voltage and resistor tolerance against the required current range. AI-generated component scene.

Consider the common phototransistor circuit with an emitter at local ground and a resistor from collector to supply. When the transistor releases, the resistor charges the receiver node. As a first estimate, a 4.7 kΩ pull-up and 50 pF total node capacitance have a time constant of 235 ns. An ideal rise from zero reaches 70% of the rail after about 283 ns, using t = −RC ln(1 − 0.70). This is the pull-up contribution alone. Add transistor turn-off behavior and use the actual receiver threshold when checking the waveform.

The same design must meet its low-level target with the weakest permitted LED drive and optical transfer. A CTR bin measured at one collector voltage cannot by itself establish a saturated output voltage. Use the part’s output and switching data under comparable load conditions. Vishay’s VO617A sheet separates saturated and non-saturated switching results, making the test circuit especially relevant to a UART redesign. Vishay VO617A electrical and switching characteristics

For a battery-powered port that spends most of its life idle, draw the LED current path with TX high. Depending on the drive polarity, the LED may remain energized throughout standby. Compare standby current for the complete circuit, including pull-ups, receiver-side supplies and any isolated converter. Repeat for active traffic. For a logic isolator, verify the state presented to the receiver when the opposite domain loses power. Isolated UART power and grounding guide

Budget UART pulse width and SPI read timing separately

A conventional asynchronous UART receiver synchronizes to the arriving start edge. A uniform propagation delay shifts arrival time. Unequal delays for rising and falling edges change pulse width and can move an edge toward the sampling point. Compare the shortest transmitted high and low intervals with the candidate’s pulse-width limits, distortion and the receiver’s clock tolerance. Keep any request-to-reply timeout as a separate system requirement. Broadcom switching definitions

For an SPI read, mark the edge that launches a bit at the peripheral and the edge that samples it at the controller. The clock crosses the barrier on the way out and MISO crosses on the way back. Use the peripheral’s clock-to-output maximum, the two applicable isolator delay maxima and the controller’s setup requirement. Include board delay and timing uncertainty once each. TI SPI loop timing, Figure 1-3

Four sequential SPI timing allowances for the forward clock, peripheral response, returning MISO data and controller setup
For a conventional SPI read, budget both isolation crossings and the peripheral response before the controller samples MISO.

Worked example. Assume a 10 MHz clock, 50% duty cycle and a data bit launched and sampled on opposite edges. The half-period is 50 ns. Suppose the outbound clock crossing takes up to 12 ns, the peripheral takes 15 ns to produce valid data, and the MISO crossing takes another 12 ns. Reserve 5 ns for controller setup and 3 ns for routing and uncertainty. That leaves 50 − 12 − 15 − 12 − 5 − 3 = 3 ns. A candidate that adds 4 ns to the return path misses this particular budget by 1 ns.

All values in this example are assumed. Use the actual clock duty-cycle limits, SPI mode, selected parts and operating conditions. The first read bit can have a separate chip-select-to-data requirement. Check hold timing and outbound MOSI setup at the peripheral as well. A component’s advertised data rate alone cannot answer those edge-by-edge questions.

Check service life and insulation for the exact package

For an optical design, the useful lifetime question is how much LED drive margin remains at the receiver after the intended service profile. Document LED on-current, duty cycle, expected temperature and powered hours. For a transistor output, check the collector current still available at the low end of transfer. For an integrated logic detector, check the input-current threshold and the manufacturer’s aging guidance for that optical family. Broadcom describes how accelerated LED stress data support lifetime projections under specified conditions. Broadcom LED lifetime white paper

Open environmental test chamber with a circuit board resting on a tray outside
Use the intended temperature and duty cycle when reviewing the manufacturer’s operating-life data. AI-generated laboratory scene.

A non-optical isolator removes the LED aging calculation. Its insulation barrier still has a working-voltage and lifetime specification. Compare the required insulation class, continuous working voltage, transient exposure, package creepage and clearance, and applicable equipment standard for each exact orderable package. A short-duration withstand test and a common-mode transient immunity specification answer different questions. Keep each in its own row on the approval sheet. TI Digital Isolator Design Guide

Choose a candidate and prepare the quote request

Project conditionPractical shortlistEvidence that decides the choice
Existing low-rate UART with a qualified optical footprintRetain the approved optical circuit as the referenceWorst-case high/low pulse widths, idle power and transfer margin over the required life
Optical coupling required with tighter serial timingInclude a logic-output optical candidate such as ACPL-M61L-000ELED drive threshold, polarity, maximum delay for each edge, output supply and load
New SPI board with little space and a readback channelStart with a 3-forward, 1-reverse digital isolator and compare a complete optical implementation if neededRead timing at the controller, assembled board area, rail current and package-level insulation evidence
Component tray, circuit board and magnifier beside printed engineering documentation
Keep the exact ordering code and its datasheet together when recording the selection. AI-generated review bench.

For purchasing, quote the complete implementation at the same quantity. Count isolator packages, LED resistors, pull-ups, decoupling parts, any extra power conversion and placement operations. An existing qualified footprint may justify a different choice from a new board even when both meet the same interface requirement. For an optical part, retain the required CTR bin or logic-output suffix in the request. For a digital isolator, retain channel direction, default state and package code. Broadcom ACPL-M61L-000E ordering page

If a supplier proposes an alternative, ask for the exact order code and the datasheet rows that close the same drive, timing and insulation checks. Include the interface mode, rail voltages, temperature range, quantity and whether alternatives may be quoted. Browse digital isolators · Submit a BOM or quotation request

Technical basis, 20 November 2026. This guide compares manufacturer documentation. The RC and SPI examples use illustrative circuit assumptions.