Skip to content

Headphone amplifier: Richtek RT6863 and the output stage ​

Status: draft, 2026-11

After the CS43198 DAC, the analog signal goes through a Richtek RT6863 headphone amplifier to two jacks: a 3.5 mm single-ended output and a 4.4 mm balanced output (vendor spec). The amplifier sits on board side B between the left jack and the USB-C connector. No public datasheet for the RT6863 was found, so its pins and features are inferred from the board and from what the firmware switches. The firmware detects headphones with two GPIOs but treats them as one event: it does not know which jack is in use. This page collects what is known about the analog output stage.

Tags: [AP30] firmware V1.7.8 or the device · [DS] a datasheet · [EM] Echo Mini · [WEB] public source · [?] guess.

Small leadless chip printed 6863D, surrounded by capacitors.

Richtek RT6863 headphone amplifier (marked 6863D), side B, between the left jack and USB-C. [AP30]

Two black headphone jack housings with a USB-C socket between them, board sitting in the back shell.

The two headphone jacks on the USB edge, side B: left gold-plated (plastic mark Y), right larger (mark B), USB-C between them. [AP30]

More photos: photos.md.

Contents ​

Summary ​

ItemValueTag
AmplifierRichtek RT6863, QFN marked 6863D (12-16 leads)[AP30] marking; part name from the vendor spec [WEB]
Positionboard side B, between the left jack and USB-C; no inductor around it, so not a switching (class-D or DC-DC) part[AP30]
Datasheetnone public (Richtek site and distributors searched)[WEB]
Outputs3.5 mm single-ended + 4.4 mm balanced ("true balanced" per a pre-release impression)[WEB] vendor spec
Output power (vendor)61 mW + 61 mW @ 32 Ω (3.5 mm SE), 137 mW + 137 mW @ 32 Ω (4.4 mm BAL)[WEB]
Gain"High / Low" setting acts on the DAC full-scale register, not on an amplifier pin (as far as known)[AP30]; amp gain pin [?]
Headphone detectGPIO2_8 + GPIO0_13, combined into one state[AP30]
Enable / mutecandidates GPIO2_1 (mute, 1 = muted), GPIO2_14, GPIO1_4, GPIO2_2behaviour [AP30], roles [?]

The RT6863 ​

  • The marking 6863D and the vendor's own spec text ("Richtek RT6863 amp") identify the part [AP30 + WEB].
  • One reviewer once wrote that the AP30 pairs the CS43198 with "a separate SGM amplifier"; the same reviewer names the RT6863 in his AP30 review, and the board shows the RT6863, so this is most likely a slip [WEB]. Only open way it could hold: one of the unidentified parts near the jacks (A80Q, a 16-lead leadless part left of the RT6863, possibly a WSP6580Q audio switch [?]) is an SG Micro part [?].
  • No inductor sits around the RT6863, so it is a linear headphone driver [AP30, ?].
  • Whether the RT6863 drives both outputs (four channels for balanced plus a single-ended pair) or whether the CS43198's own headphone stage drives one of them is not established [?]. The CS43198 has an integrated headphone output stage with a Class H supply that the firmware enables (0x0B0000 = 0x1E, VP_LDO 3.0 V) [DS + AP30]; see audio_dac_cs43198.md.
  • Unknown part near the gold jack: A80Q, 16-lead leadless, with a K2N SOT-23 beside it [AP30]. Best candidate by name and package: Will Semiconductor WSP6580Q, a hi-fi stereo SPDT audio switch with pop suppression (QFN1826-16L) [WEB, ?]; see board_ap30.md § Chips and markings.

Signal path ​

  CS43198 ──HPOUT A/B (differential)──► RT6863 ──┬──► 4.4 mm balanced jack   (larger barrel? [?])
  (2 Vrms FS                                      │
   at high gain)                                  └──► 3.5 mm SE jack          (smaller gold barrel? [?])
                    │
                    └──► JieLi Bluetooth chip analog input [?] (see Bluetooth below)

The diagram is a model: which outputs share which amplifier channels, and where the Bluetooth chip taps the signal, have not been traced on the board [?].

Control and detect lines ​

What the firmware does with each candidate line [AP30]; roles are inferred [?]. Full pin table: board_ap30.md.

Pin (ball)BehaviourCandidate role
GPIO2_1 (A5)1 = muted: set on volume 0, before a user stop, when leaving USB DAC mode, at player exit and power-off; cleared ~0.5 s after playback starts, on any non-zero volume while playing, and in USB DAC modemute of the DAC, the amp or a mute FET [?]. On the Echo Mini this pin was the DAC reset [EM]; on the reference board it is the charger status pin [WEB] EVK
GPIO2_14 (B3)high before the first DAC init and when idle; driven low ~0.5 s after each track start; high again on player exitamplifier enable / shutdown, active low [?]
GPIO2_2 (B4)1 before the first DAC init; 0 when the player exitsaudio power-rail enable [?]
GPIO1_4 (J1)1 at the first music start and when entering USB DAC mode; 0 on player exit, in File Transfer and on leaving DAC modeamp / analog path enable (it follows both audio users) [?] or part of the USB switch
GPIO0_12 (C6)0 for local playback (set again ~0.5 s after each start); 1 ~0.5 s after entering USB DAC modeoutput source select between CS43198 and the ALC5686 [?], or a Realtek enable [?]
GPIO2_8 (A6)input, pull-up; headphone detectone jack (4.4 mm on the Echo Mini [EM])
GPIO0_13 (B7)input, pull-up; headphone detectthe other jack (3.5 mm on the Echo Mini [EM])

Order at a playback start, as far as these lines go [AP30]: mute stays set from the previous stop → DAC volume → DMA start → 80 ms wait → I2S on → about 0.5 s later GPIO0_12 low, 10 ms wait, GPIO2_1 low (unmute), GPIO2_14 low. At player exit: GPIO1_4 = 0, GPIO2_1 = 1, DAC power-down, GPIO2_14 = 1, GPIO2_2 = 0. The DAC and amplifier stay powered while the player is paused. Full behaviour: ../firmware/audio_playback.md.

The two jacks ​

ItemValueTag
Physicaltwo jacks on the USB edge of board side B: left gold-plated with a smaller barrel, right larger; USB-C between them[AP30]
Vendor spec3.5 mm single-ended + 4.4 mm balanced[WEB]
Which is whichnot readable from the board; the barrel sizes suggest left = 3.5 mm, right = 4.4 mm [?][?]
DetectionGPIO2_8 and GPIO0_13, polled every main-loop pass, combined into one state ("both low" vs "not both low"), 0.5 s debounce, one "headphone changed" event for either jack; the player pauses on it[AP30]
Jack identity in firmwarenone: the firmware does not tell the jacks apart, and the DAC's own headphone detect is disabled[AP30]
Leftoverthe volume routine reads both pins and discards the result[AP30]
Polarity, pin-to-jack mappingopen[?]
Headset microphonethe vendor spec claims headset-mic compatibility; a ~4 mm cylinder near the gold jack may be a microphone or buzzer; no microphone input is used by the firmware[WEB], [AP30], [?]

Output power and battery life ​

FigureValueTag
Output power, 3.5 mm SE61 mW + 61 mW @ 32 Ω[WEB] vendor spec (Head-Fi showcase text, repeated by 15+ reviews)
Output power, 4.4 mm BAL137 mW + 137 mW @ 32 Ω[WEB] vendor spec
DAC full scale2 Vrms at high gain (OUT_FS 1.73 V + 1 dB)[AP30 register value + DS]
Battery life, 3.5 mmabout 9.5-11 h measured by reviewers (moderate volume)[WEB]
Battery life, 4.4 mmabout 7.5-9 h measured by reviewers[WEB]
Battery life, Bluetooth7+ h measured by one reviewer; vendor 6-8 h[WEB]

Reviewers find the output power limiting for demanding headphones [WEB]. No firmware setting changes the amplifier beyond the DAC's full-scale register [AP30].

Bluetooth and the analog output ​

No digital audio path from the RKNanoD to the JieLi Bluetooth chip exists, the firmware raises the DAC level while a receiver is connected, and Bluetooth loudness follows the analog gain setting. So the JieLi very likely digitises the DAC / amplifier output with its own ADC [?]. On the Echo Mini two GPIOs route the analog signal to the module [EM]; on the AP30 no GPIO changes when a link comes up, so the tap is probably permanent [?]. Whether the wired outputs stay live during Bluetooth playback has not been checked. Details: bluetooth.md.

Open questions ​

QuestionHow it could be answered
RT6863 datasheet: pinout, gain pin, shutdown / mute pins, channel countRichtek or a distributor; trace pins on the board
Does the RT6863 drive both jacks, or does the CS43198's own stage drive one? What is A80Q?continuity from DAC outputs and amp pins to the jack contacts
Roles of GPIO2_1, GPIO2_14, GPIO2_2, GPIO1_4, GPIO0_12continuity; or toggle each from a test image while playing a tone
Which detect pin is which jack, and the active levelread both GPIOs with each plug inserted
Where the JieLi takes its analog input; are the wired outputs muted during Bluetoothcontinuity; listen on a wired headphone while streaming
Real output power and noise at both gainsmeasurement with a load and an analyser

Sources ​

Text CC BY 4.0 · data tables and snippets CC0 1.0 · not affiliated with Hidizs