# Adafruit RP2350 22-pin FPC HSTX to DVI Adapter

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/132/861/medium800/adafruit_products_6055-04.jpg?1727901574)

You may have noticed that our [RP2350 Feather](https://www.adafruit.com/product/6000) has an FPC output connector on the end for accessing the HSTX (High Speed Transmission) peripheral. This new capability, not available on the RP2040, is specifically designed to allow the RP2350 chip drive DVI displays really easily! Historically you could [use DVI on the RP2040](https://www.adafruit.com/product/5710) by mashing together some overclocking and a lot of PIO - it works but its quite hacky. The HSTX peripheral is streamlined, and doesn't require PIO or overclocking and there's a lot more RAM on the RP2350.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/862/medium800/adafruit_products_6055-02.jpg?1727901665)

If you want to try out HSTX to drive an HDMI monitor or display, this dongle is what you need to take HSTX out and give you a connector with proper level shifting and signal conditioning. Simply connect a 22 pin FPC cable between the Feather RP2350 and **Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays** then load DVI output code. In CircuitPython, we have support for 320x240 pixels at 16-bit color, which gets pixel doubled to 640x480. Or, if you're willing to cut some colorspace to save RAM, you can get true 640x480 resolution at 4 / 8 bit color, or 1 / 2 bit grayscale.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/863/medium800/adafruit_products_6055-03.jpg?1727901704)

The eight HSTX lines are connected to the differential Clock (IO #14 & 15), Lane0 (#18, 19), Lane1 (#16, #17), and Lane2 (#12, #13) connections. I2C is connected as well so you can read the display EEPROM. Hot-plug-detect is connected to IO #11 on the Feather, but can be disconnected by cutting a jumper on the bottom. Ditto for CEC which we connect by default to IO #10.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/864/medium800/adafruit_products_6055-01.jpg?1727901730)

Each order comes with one DVI adapter board. [22-pin FPC cable](https://www.adafruit.com/product/6034) is **not included,** so be sure to get one too!

# Adafruit RP2350 22-pin FPC HSTX to DVI Adapter

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/132/885/medium800/adafruit_products_double.jpg?1728306542)

## HSTX Port

At the bottom edge of the board is the 22-pin HSTX port. It accepts an FPC ribbon cable to connect to the HSTX FPC output on the Adafruit Feather RP2350 with HSTX. This port is for accessing the 8 consecutive HSTX peripheral pins (GPIO12-19), a few additional GPIO, 3.3V power and GND. The following RP2350 pins are connected to the 22-pin port:

- **3.3V** - output from the 3.3V regulator.
- **GND** - common ground for power and logic.
- **SCL/GPIO3** - The main I2C1 clock pin.
- **SDA/GPIO2** - The main I2C1 data pin.
- **D11/GPIO11** - Digital I/O pin 11.
- **D10/GPIO10** - Digital I/O pin 10.
- **D0N/GPIO19** - Digital I/O pin 19 and one of the 8 HSTX peripheral pins.
- **D0P/GPIO18** - Digital I/O pin 18 and one of the 8 HSTX peripheral pins.
- **D1N/GPIO17** - Digital I/O pin 17 and one of the 8 HSTX peripheral pins.
- **D1P/GPIO16** - Digital I/O pin 16 and one of the 8 HSTX peripheral pins.
- **CKN/GPIO15** - Digital I/O pin 15 and one of the 8 HSTX peripheral pins.
- **CKP/GPIO14** - Digital I/O pin 14 and one of the 8 HSTX peripheral pins.
- **D2N/GPIO13** - Digital I/O pin 13 and one of the 8 HSTX peripheral pins.
- **D2P/GPIO12** - Digital I/O pin 12 and one of the 8 HSTX peripheral pins.

## DVI Port

At the top edge of the board is the DVI output port. The following pins from the HSTX port are connected to the DVI port:

- **CKP** - TMDS clock signal pin. Connected to GPIO14.
- **CKN** - TMDS clock signal pin. Connected to GPIO15.
- **D0P** - TMDS channel 0 signal pin. Connected to GPIO18.
- **D0N** - TMDS channel 0 signal pin. Connected to GPIO19.
- **D1P** - TMDS channel 1 signal pin. Connected to GPIO16.
- **D1N** - TMDS channel 1 signal pin. Connected to GPIO17.
- **D2P** - TMDS channel 2 signal pin. Connected to GPIO12.
- **D2N** - TMDS channel 2 signal pin. Connected to GPIO13.
- **Hot plug detect** - Hot plug detection is used to detect if a device is connected or disconnected to the HDMI connector by monitoring power, plug and unplug events. Connected to GPIO11.
- **CEC** - [Consumer Electronic Control](https://en.wikipedia.org/wiki/Consumer_Electronics_Control) is a one-wire bidirectional serial bus that is standardized for remote control functions. Connected to GPIO10.

## DVI Port Jumpers

- **CEC** - on the back of the board, directly below the DVI Out silk label, is the CEC jumper. It is outlined in white on the silk and is labeled **CEC**. If you cut the jumper, it will disconnect the CEC signal from GPIO10.
- **HPD** - on the back of the board, along the bottom edge, is the hot plug detect jumper. It is outlined in white on the silk and is labeled **HPD**. If you cut the jumper, it will disconnect the hot plug detect signal from GPIO11.

# Adafruit RP2350 22-pin FPC HSTX to DVI Adapter

## CircuitPython

It's easy to use the **HSTX to DVI Adapter** with CircuitPython and the [PicoDVI](https://docs.circuitpython.org/en/latest/shared-bindings/picodvi/index.html) core module. This module lets you create a frame buffer to output a DVI signal on RP2040 and RP2350 boards.

## Wiring

Insert a 22-pin FPC cable into the back of the Adafruit Feather RP2350. Connect the other end of the FPC cable into the HSTX to DVI adapter board.

![](https://cdn-learn.adafruit.com/assets/assets/000/132/886/medium800/adafruit_products_6055-01.jpg?1728310069)

## CircuitPython Usage

To use with CircuitPython,&nbsp;you need to update **code.py** with the example script and copy the **display-ruler-rgb-720p.bmp** bitmap image to the **CIRCUITPY** drive.

Thankfully, we can do this in one go. In the example below, click the **Download Project Bundle** button below to download the bitmap file and the **code.py** file in a zip file.

Connect your board to your computer via a known good data+power USB cable. The board should show up in your File Explorer/Finder (depending on your operating system) as a flash drive named **CIRCUITPY**.

Extract the contents of the zip file, **display-ruler-rgb-720p.bmp** bitmap file and **code.py** file to your **CIRCUITPY** drive.

![CIRCUITPY](https://adafruit.github.io/Adafruit_Learning_System_Guides/HSTX_to_DVI_Breakout_Example.png )

Info: No additional libraries from the bundle are needed for this example. Only built-in modules are used.

## Example Code

Once everything is saved to the&nbsp; **CIRCUITPY** drive, you can connect the breakout to an HDMI monitor and connect your Feather to USB power. You'll see the display ruler test image display on the screen.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/HSTX_to_DVI_Breakout_Example/code.py

![](https://cdn-learn.adafruit.com/assets/assets/000/132/887/medium800/adafruit_products_6055-05.jpg?1728310302)

# Adafruit RP2350 22-pin FPC HSTX to DVI Adapter

## Downloads

## Files

- [HDMI Connector pinout](https://learn.adafruit.com/assets/111264)
- [RP2350 Datasheet - HSTX information starts in section 12.11](https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf)
- [EagleCAD PCB Files on GitHub](https://github.com/adafruit/Adafruit-RP2350-HSTX-to-DVI-Adapter-PCB)
- [Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20RP2350%20HSTX%20to%20DVI%20Adapter.fzpz)
- [3D models on GitHub](https://github.com/adafruit/Adafruit_CAD_Parts/tree/main/6055%20HSTX%20to%20DVI%20Adapter)

## Schematic and Fab Print
![](https://cdn-learn.adafruit.com/assets/assets/000/132/865/medium800/adafruit_products_schem.png?1727902309)

![](https://cdn-learn.adafruit.com/assets/assets/000/132/866/medium800/adafruit_products_fab.png?1727902315 dimensions are in inches)

## 3D Model
![](https://cdn-learn.adafruit.com/assets/assets/000/133/681/medium800/adafruit_products_6055_HSTX_to_DVI_Adapter.jpg?1732033338)


## Primary Products

### Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays

[Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays](https://www.adafruit.com/product/6055)
You may have noticed that our [RP2350 Feather](https://www.adafruit.com/product/6000) has an FPC output connector on the end&nbsp;for accessing the HSTX (High Speed Transmission)&nbsp;peripheral. This new capability, not available on the RP2040, is specifically designed to allow the...

In Stock
[Buy Now](https://www.adafruit.com/product/6055)
[Related Guides to the Product](https://learn.adafruit.com/products/6055/guides)

## Related Guides

- [Using DVI Video in CircuitPython](https://learn.adafruit.com/using-dvi-video-in-circuitpython.md)
- [Adafruit Monster Eyes](https://learn.adafruit.com/adafruit-monster-eyes.md)
- [Tile-Matching Game on the Fruit Jam and Metro RP2350](https://learn.adafruit.com/tile-matching-game-on-the-adafruit-metro-rp2350.md)
- [Adafruit Metro RP2350](https://learn.adafruit.com/adafruit-metro-rp2350.md)
- [Snake Game on Metro RP2350](https://learn.adafruit.com/snake-game-on-metro-rp2350.md)
- [Larsio Paint Music](https://learn.adafruit.com/larsio-paint-music.md)
- [Create a Memory Game on Fruit Jam Metro RP2350](https://learn.adafruit.com/create-a-memory-game-on-metro-rp2350.md)
- [Flappy Nyan Cat Game on Fruit Jam and Metro RP2350](https://learn.adafruit.com/flappy-nyan-cat-game-on-metro-rp2350.md)
- [Chip's Challenge on Fruit Jam and Metro RP2350](https://learn.adafruit.com/256-color-gaming-on-the-metro-rp2350.md)
- [Return to The Matrix with the Metro RP2350 or Fruit Jam](https://learn.adafruit.com/return-to-the-matrix-with-the-metro-rp2350.md)
- [Minesweeper on the Fruit Jam and Metro RP2350](https://learn.adafruit.com/minesweeper-on-metro-rp2350.md)
- [Breakout Game on the Metro RP2350 and Fruit Jam](https://learn.adafruit.com/breakout-game-on-metro-rp2350-and-fruit-jam.md)
- [Match3 Game on the Fruit Jam and  Adafruit Metro RP2350](https://learn.adafruit.com/match3-game-on-metro-rp2350.md)
- [Feather RP2350 Audio Reactive Video Synth](https://learn.adafruit.com/feather-rp2350-audio-reactive-video-synth.md)
- [Motion-Reactive LED Devil Horns](https://learn.adafruit.com/motion-reactive-led-devil-horns.md)
