CodingBox Documentation

Module electronics: driver, TIA/LA, DSP, controller, power

Behind the two optical sub-assemblies sits a small circuit board that does everything else: turns the host's electrical bits into laser current, turns photocurrent back into clean data, keeps the laser at constant power over temperature and age, measures and reports, obeys the low-speed pins and lives within a strict power budget. This page walks the board block by block and links each block to what you see from outside — pins, memory bytes and DDM values.

Block diagram

                    ┌─────────────── module PCB ───────────────┐
host Tx lanes ──►  CDR / DSP ──► laser DRIVER ──► TOSA (laser + MPD)  ──► fibre
                    (retime,       (bias +           │
                     equalise,      modulation)      │ monitor current
                     gearbox)                        ▼
                                              ┌── MCU ───┐  ◄── I²C (SCL/SDA)
                                              │ APC loop │  ◄── TX_DISABLE, RS0/1, LPMode…
                                              │ ADC/DDM  │  ──► TX_FAULT, RX_LOS, IntL
                                              │ memory   │
                                              └──────────┘
host Rx lanes ◄──  CDR / DSP ◄── LA / linear amp ◄── TIA ◄── ROSA (PD)  ◄── fibre
                                                                 │
power 3.3 V ──► inrush limiter ──► LDO / DC-DC (1.8 V, 1.2 V, 0.9 V …) ──► every block

The optical parts: TOSA, ROSA, BOSA; the clock block: CDR; the DSP in depth: Modulation & DSP.

Laser driver

FunctionHowWhat you see
Bias current — keeps the laser above thresholda controllable current source, set by the MCU's APC loopDDM Tx bias; rises with temperature and age (Tx bias & ageing)
Modulation current — the ones and zerosa fast current switch (NRZ) or a multi-level driver (PAM4); 20–80 mA swing on a 10G DFB, a few mA on a VCSELextinction ratio; not visible in DDM
EML drivea voltage swing of 1.5–2.5 V across the modulator instead of current into the laserEML modules: bias field is the DFB section only
Pre-emphasis / de-emphasis, eye shapingprogrammable by the vendor at productioneye mask compliance
TX_DISABLEthe pin (or soft bit) gates the driver's output stage; off within ~10 µs, on within 1 msTx power drops to the floor
TX_FAULTthe driver detects an over-current, open laser or APC failure and raises the flag; the host pulses TX_DISABLE to reseta latched fault on the host — Failures

Receiver chain: TIA and LA

BlockJobKey parameters
TIA (trans-impedance amplifier)converts photodiode current (µA) into voltage (mV); usually mounted inside the ROSA millimetres from the photodiode to keep noise lowtransimpedance (kΩ), input noise (sets sensitivity), bandwidth ≈ 0.7 × symbol rate; on PAM4 a linear TIA with AGC so the four levels survive
LA (limiting amplifier) — NRZsquares the TIA output to fixed digital levels regardless of input amplitude; contains the signal-detect comparatorLOS assert/de-assert thresholds (hysteresis ~2 dB) → the RX_LOS pin and byte
Linear amplifier + ADC — PAM4feeds the DSP with a faithful copy of the waveformENOB, bandwidth
Rx monitora copy of the average photocurrent, digitised by the MCUDDM Rx power — the most trustworthy DDM value (Accuracy & limits)

What the photodiode itself contributes: Receivers.

Retiming and signal processing

  • CDR / retimer — recovers the clock and re-times data on one or both sides; found in SFP+ (host-side), SFP28/QSFP28 (both sides), optional bypass (CDR).
  • DSP — on PAM4 modules replaces the LA/CDR pair with ADC → equaliser → decision → DAC; also performs the gearbox (8 host lanes at 50G ↔ 4 media lanes at 100G) and, in coherent modules, the FEC. The most power-hungry chip on the board (3–6 W in a 400G module) — Modulation & DSP.
  • Linear (LPO) designs delete the DSP and let the host SerDes equalise; the module becomes driver + TIA only.

Microcontroller

The MCU runs the module: samples temperature, Vcc, bias, Tx and Rx monitors through an ADC and converts them with factory calibration; runs the APC and, where present, the TEC control loop; compares against thresholds and raises flags and IntL; answers the two-wire bus, emulating the memory map with its pages and banks; enforces passwords and protection; on CMIS modules runs the state machines and CDB. Details, and why this matters for programming: Controller & firmware.

Power distribution

StagePurposeNotes
Inrush limiter / hot-swap controllerramps current on insertion so the host rail does not dipSFF-8431 and QSFP specs limit inrush; a failing limiter shows as neighbours resetting on insertion
LDOs3.3 V → 1.8 / 1.2 / 0.9 V for driver, TIA, CDRsimple, low noise, ~70–80 % efficient — fine up to ~1.5 W
Switching regulators (buck)for DSP-based 400G+/coherent modulesefficiency 85–90 %; the reason a 12 W module does not become a 15 W heater
Filteringferrite beads and capacitors on the 3.3 V inputrequired by the specs to keep bus noise off the host
Power class declarationidentity bytes tell the host the worst-case drawPower & thermal

DDM Vcc is measured after the input filter — typically 50–150 mV below the host rail (Temperature & voltage).

Low-speed pins and who handles them

PinFamilyHandled byEffect
TX_DISABLESFP, XFPdriver enable (hardware) + MCU (soft bit)laser off
TX_FAULTSFP, XFPdriver fault detect → MCU → pinlatched fault
RX_LOSSFP, XFPLA signal detect → pin and status byteno light
RS0 / RS1SFP+CDR / LA bandwidth select, via MCURate select
MOD_ABS / ModPrsL / PRSnalla ground strap inside the modulepresence
LPMode / LPWnQSFP, CMISMCU keeps high-power blocks (DSP, laser) offlow-power state
ResetL / RSTnQSFP, CMISMCU resetre-initialisation
IntL / INTQSFP, CMISMCU flag logicinterrupt
ModSelLQSFP, QSFP-DDMCU's I²C address decoderbus sharing

Pin definitions per family: SFP hardware, QSFP hardware.

Heat path

Electronics and optics dissipate into the metal housing, which is the module's heat sink; the cage's riding heat sink and the chassis airflow take it from there. Thermal pads couple the DSP and the laser driver to the housing. A module rated at 70 °C case can run its DSP junction 20–30 °C hotter — the reason airflow, not "the room being cool", decides module life.

What fails on the board

FailureSymptomDistinguish from optics by
DriverTx fault, Tx power zero or halved with bias normal or at limitbias reading vs Tx reading
TIA / LARx power reads fine but no data; or LOS with light presentfar end's Tx and your Rx are fine, yet no link
CDR / DSPlink at one rate only, LOL flags, high host-side BERVDM & FEC
MCU / firmwareno I²C response, frozen DDM, stuck state machinemodule invisible or values never change
Regulatorresets under load, low Vcc, neighbours affectedVcc trend against traffic
Inrush limiterinsertion resets other modules on the cardhappens only on hot-plug

In CodingBox

Everything the electronics measure and control appears on the bench: DDM values and flags on DDM, Tx disable and rate-select state, the CMIS module state, and the identity that declares power class and CDR presence in the EEPROM editor. A module whose bias is at the driver's ceiling while Tx power sags is a board telling you its laser is finished.