Raspberry Pi TV HAT Pinout

Raspberry Pi TV HAT pinout. The Raspberry Pi TV HAT receives terrestrial digital television through its Sony CXD2880.

Jump to pin index ↓

Main pinout

The Raspberry Pi TV HAT receives terrestrial digital television through its Sony CXD2880. The 40-way socket passes through the PCB. The supplied male-to-female spacer plugs into its underside. From the component side, pin 1 is the inner-row contact nearest RF IN. Grey GPIO labels identify host contacts with no TV HAT role documented.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show interface functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

41 visible
PinMCU pinTypesNotes
3V3Power3.3 V host supply on the Raspberry Pi header.
5VPower5 V host supply on the Raspberry Pi header.
GPIO2Host GPIOGPIO2 at 3.3 V logic. No TV HAT function is documented for this contact.
5VPower5 V host supply on the Raspberry Pi header.
GPIO3Host GPIOGPIO3 at 3.3 V logic. No TV HAT function is documented for this contact.
GNDGNDCommon return through the Raspberry Pi header.
GPIO4Host GPIOGPIO4 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO14Host GPIOGPIO14 at 3.3 V logic. No TV HAT function is documented for this contact.
GNDGNDCommon return through the Raspberry Pi header.
GPIO15Host GPIOGPIO15 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO17Host GPIOGPIO17 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO18Host GPIOGPIO18 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO27Host GPIOGPIO27 at 3.3 V logic. No TV HAT function is documented for this contact.
GNDGNDCommon return through the Raspberry Pi header.
GPIO22Host GPIOGPIO22 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO23Host GPIOGPIO23 at 3.3 V logic. No TV HAT function is documented for this contact.
3V3PowerSecond 3.3 V contact of the Raspberry Pi header.
GPIO24Host GPIOGPIO24 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO10SPIData and commands from the Raspberry Pi to the Sony CXD2880.
GNDGNDCommon return through the Raspberry Pi header.
GPIO9SPIData from the Sony CXD2880 to the Raspberry Pi, including transport-stream reads.
GPIO25Host GPIOGPIO25 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO11SPIClock driven by the Raspberry Pi. The rpi-tv overlay sets a 50 MHz maximum.
GPIO8SPIActive-low chip select for the Sony CXD2880 on SPI0.
GNDGNDCommon return through the Raspberry Pi header.
GPIO7Host GPIOGPIO7 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO0I2CI²C0 data for the HAT identification EEPROM. Reserved for HAT discovery.
GPIO1I2CI²C0 clock for the HAT identification EEPROM. Reserved for HAT discovery.
GPIO5Host GPIOGPIO5 at 3.3 V logic. No TV HAT function is documented for this contact.
GNDGNDCommon return through the Raspberry Pi header.
GPIO6Host GPIOGPIO6 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO12Host GPIOGPIO12 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO13Host GPIOGPIO13 at 3.3 V logic. No TV HAT function is documented for this contact.
GNDGNDCommon return through the Raspberry Pi header.
GPIO19Host GPIOGPIO19 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO16Host GPIOGPIO16 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO26Host GPIOGPIO26 at 3.3 V logic. No TV HAT function is documented for this contact.
GPIO20Host GPIOGPIO20 at 3.3 V logic. No TV HAT function is documented for this contact.
GNDGNDCommon return through the Raspberry Pi header.
GPIO21Host GPIOGPIO21 at 3.3 V logic. No TV HAT function is documented for this contact.
RF INRFThe centre conductor carries the terrestrial television signal to the tuner.

Specifications

Board / part number
DVB TV µHAT ©2018 / SC0054
Photographed PCB
Rear markings 3318 and E350325. Numeric PCB revision unverified.
Form factor
µHAT · 65 × 30 mm PCB · 3 mounting holes
Host interface
40-way pass-through GPIO socket · 2 × 20 at 2.54 mm
Supply and logic
5 V and 3.3 V host rails · 3.3 V GPIO logic
RF front end
Sony CXD2880 tuner and demodulator · coaxial RF IN with supplied aerial adapter
Host communication
SPI0 CE0 for the CXD2880 · I²C0 for HAT identification
Reception
DVB-T and DVB-T2 · VHF III, UHF IV and UHF V
DVB-T2 channel bandwidths
1.7, 5, 6, 7 and 8 MHz
DVB-T channel bandwidths
5, 6, 7 and 8 MHz
Operating temperature
0 to 50 °C

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Raspberry Pi TV HATProduct briefRaspberry PiTuner, operating specifications and mechanical dimensions.Datasheet
Raspberry Pi TV HATMechanical drawingRaspberry Pi65 × 30 mm µHAT outline, GPIO footprint and mounting holes.Datasheet
Raspberry Pi TV HATInstallation guideRaspberry PiAerial orientation, stacking header and software setup.Datasheet

Board notes

Underside and pads
Mirrored underside mating holes and the two unmarked plated pads.
Aerial adapter
Centre conductor and shield on the fitted aerial adapter.
40-pin host mapping
Raspberry Pi physical pin layout and typical host functions.
rpi-tv device tree
SPI0 CE0 and the overlay's 50 MHz maximum.
CXD2880 SPI driver
Transport-stream reads over SPI.
HAT design guide
Identification EEPROM and reserved ID_SD and ID_SC contacts.
TV HAT GPIO resources
Raspberry Pi engineer's SPI0 and identification EEPROM confirmation.
Photo source
Photo · Multicherry / Wikimedia Commons · CC BY-SA 4.0 · cropped, rotated and masked
Photo licence
The adapted photograph is distributed under CC BY-SA 4.0.