百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

hsdaoh-rp2350

> 编程语言
开源

通过 HDMI 实现高速数据采集 - RP2350 HSTX 实现

374 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

通过 HDMI 实现高速数据采集 - RP2350 HSTX 实现

hsdaoh-rp2350 - High Speed Data Acquisition over HDMI

Stream up to 175 MByte/s from your Raspberry Pi Pico2 to your PC

Using $5 USB3 HDMI capture sticks based on the MacroSilicon MS2130, this project allows to stream out up to 175 MByte/s of real time data from an RP2350 (with overclocking) to a host computer with USB3. For more information and the host library, see the main repository and the talk at OsmoDevcon '24.

Building

Make sure you have the latest version of the pico-sdk installed together with an appropriate compiler. You should be able to build the pico-examples.

To build hsdaoh-rp2350:

bash
git clone https://github.com/steve-m/hsdaoh-rp2350.git
mkdir hsdaoh-rp2350/build
cd hsdaoh-rp2350/build
export PICO_SDK_PATH=//pico-sdk
cmake -DPICO_PLATFORM=rp2350 -DPICO_BOARD=pico2 ../
make -j 8

After the build succeeds you can copy the resulting *.uf2 file of the application you want to run to the board.

Apart from the Pico2 with the Pico-DVI-Sock, it also should work with the Adafruit Feather RP2350 with HSTX Port, but so far only the Pico2 was tested.

Example applications

The repository contains a library - libpicohsdaoh - which implements the main functionality. It reads the data from a ringbuffer, and streams it out via the HSTX port. In addition to that, the apps folder contains a couple of example applications:

counter

This application uses the PIO to generate a 16-bit counter value which is written to a DMA ringbuffer, which is then streamed out via hsdaoh. The counter can be verified using the hsdaoh_test host application.

logic_analyzer

Sample 16 GPIOs with the PIO and transfer the data, can be used as a 16 bit @ 32 MHz logic analyzer, or be adapted to 8 bit @ 64 MHz and so on. The IOs used for input are GP0-11, GP20-22 and GP26.

internal_adc

The data from the internal ADC is streamed out via USB. Default configuration is overclocking the ADC to 3.33 MS/s. Using the USB PLL and overvolting beyond VREG_VOLTAGE_MAX, up to 7.9 MS/s can be achieved.

external_adc

This app contains a PIO program that reads the data from a 12-bit ADC connected to GP0-GP11, outputs the ADC clock on GP20, and packs the 12-bit samples to 16-bit words to achieve maximum throughput. It is meant to be used with cheap AD9226 ADC boards. The default setting is overclocking the RP2350 to 160 MHz and driving the ADC with a 40 MHz clock. With higher overclocking up to 96 MHz ADC clock can be used.

This can be used for sampling the IF of a tuner/downcoverter, as a direct-sampling HF SDR, or for capturing a video signal e.g. with vhsdecode. For the vhsdecode use-case, there is also an adapter PCB. It also supports sampling a PCM1802 audio ADC board.

external_dualchan_adc

Similar to the external_adc app, but samples a AD9238 dual channel 12-bit ADC connected to GP0-GP11, with clock for both channels on GP20. The benefit of using the AD9238 is that only 12 data lines are required to transfer the data DDR-style, so it works with a regular RP2350A/Pico2 board.

dual_external_adc

Also similar to the external_adc app, but samples two 12-bit ADCs connected to a RP2350B, as well as two PCM1802 modules. Intended for use with vhs-decode, see this PCB for the matching hardware. This example needs to be built with an RP2350B-board in order to work correctly:

cmake -DPICO_PLATFORM=rp2350 -DPICO_BOARD=solderparty_rp2350_stamp_xl ../

sdr

This app can be used for attaching the hsdaohSDR prototype to an RP2350B instead of the Tang nano 20K FPGA board. Contains PIO code for packing the 2x 10 bit AD9218 data, and also implements a USB UART to I2C bridge for controlling the tuner. Like the dual_external_adc, it also needs to be built with a RP2350B board.

Credits

hsdaoh-rp2350 is developed by Steve Markgraf, and is based on the dvi_out_hstx_encoder example, and code by Shuichi Takano implementing the HDMI data island encoding, required to send HDMI info frames.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Cdvihdmihsdaohhstx

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言