Stefan-Olt / MISRC

MISRC Is a multi channel RF capture device for FM RF, S-Video, CVBS RAW capture and anything else, but intended and supported for the decode family of projects vhs-decode, ld-decode, hifi-decode.
48 stars 4 forks source link
40msps ad8138 ad9235 adc analog-videos cvbs cvbs-decode fm-rf-capture fx3 hifi-decode ld-decode ntsc pal s-video sdr sigrok tape-decode vhs-decode

MISRC - Multi Input Simultaneous Raw RF Capture

Description

MISRC is a device to capture two signals at 12-bit and up to 40 MHz (could maybe extended to 80 MHz in future) and additional 6 bits binary (auxillary data) over USB3. It is intended to capture modulated tape deck RF for software demodulation, but also CVBS (Composite) video signals for software decoding.

The VHS-Decode, HiFi-Decode, CVBS-Decode projects provides software decoding for many video tape formats, hifi-audio via hifi-decode and RAW CVBS decoding via cvbs-decode

Possible capture examples:

It may be useful for other purposes as well, as it is built as a generic ADC with configerable filtering.

Features

Costs

PCB: 20-30USD Parts 100-120USD

(Exact prices and Gerbers/BOM comming soon)

Capture process

Capturing can be done using the Sigrok-cli application using the following command:

sigrok-cli --driver cypress-fx3 --output-format binary --config samplerate=40m --continuous --output-file MISRC_Capture.bin

Note that sigrok-cli will most likely terminate on the first call with the message that no device was found (it seems it does not rescan the USB bus after the firmware is being uploaded), the second time it should work fine.

The output MISRC_Capture.bin file will contain all data interleaved, you have to use the extraction tool to extract one or both channels and the aux data to seprate files.

User Guide

Step-by-step

NOTE: NEVER use USB for any other heavy-load task (like external HDD/SSD drives, USB network adapters, YUV capture devices) during capture. Do not connect/disconnect any other USB device during capture.

Design

MISRC is loosly based on the Domesday Duplicator (DdD). Like the DdD it uses the Cypress FX3 SuperSpeed Explorer board, but does not require a FPGA board. It is build around the AD9235 analog-digital converter by Analog Devices and is heavily based on the evaluation board circuit given in its datasheet.

Hardware

Firmware

MISRC uses a (modified) firmware for the FX3 provided by Infineon (Cypress) in the Infineon Developer Community Modifications:

Getting the firmware

It is unclear if the modified source and/or binary can be provided here, for now you have to register at Infineon, download and install the EZ-USB FX3 SDK, and download, modify and build the source to get the firmware.

Sigrok

As MISRC uses a (modified) firmware provided by Infineon to work with sigrok (PulseView), the sigrok-cli interface available for many platforms is used to capture.

Unfortunately because of the unclear firmware license, the sigrok project has not (yet?) merged the pull request to add Cypress FX3 support. You have to apply this patch and build sigrok for your platform.

Note: The other, completly free, open-source firmware projects mentioned in the pull request do not support USB3 correctly yet, making them unuseable for MISRC.

License

You can read the Licence here.