Warning
This was made for use with the decode projects, see here for more information on these cards.
cxadc-win-tool scan
cxadc-win-tool get <device>
cxadc-win-tool set <device> <parameter> <value>
See cxadc-linux3 for parameter descriptions.
Parameter | Range | Default |
---|---|---|
vmux |
0-2 |
2 |
level |
0-31 |
16 |
tenbit |
0-1 |
0 |
sixdb |
0-1 |
0 |
center_offset |
0-63 |
0 |
Important
Additional steps are required to configure clockgen
cxadc-win-tool clockgen audio get
cxadc-win-tool clockgen audio set <rate>
cxadc-win-tool clockgen cx get <clock>
cxadc-win-tool clockgen cx set <clock> <value>
Value | Frequency (MHz) |
---|---|
1 |
20 |
2 |
28.68686 |
3 |
40 |
4 |
50 |
Tip
Use Command Prompt instead of PowerShell if piping to STDOUT
cxadc-win-tool capture \\.\cxadc0 test.u8
cxadc-win-tool capture \\.\cxadc1 - | flac -0 --blocksize=65535 --lax --sample-rate=28636 --channels=1 --bps=8 --sign=unsigned --endian=little -f - -o test.flac
cxadc-win-tool set \\.\cxadc0 vmux 1 # set cx card 0 vmux to 1 (bnc?)
cxadc-win-tool set \\.\cxadc1 vmux 1 # set cx card 1 vmux to 1 (bnc?)
cxadc-win-tool set \\.\cxadc0 level 0 # set cx card 0 level to 0 (amp?)
cxadc-win-tool set \\.\cxadc1 level 0 # set cx card 1 level to 0 (amp?)
cxadc-win-tool clockgen cx set 0 3 # set clock 0 to 40 MHz
cxadc-win-tool clockgen cx set 1 3 # set clock 1 to 40 MHz
cxadc-win-tool clockgen audio set 48000 # set audio sample rate to 48000 (recommended)
cxadc-win-tool status # show all device config
Builds are currently only available via actions. You must be logged in to download artifacts.
- Disable Secure Boot in your BIOS
- Disable Signature Enforcement, this can be done by typing
bcdedit -set testsigning on
in an Administrator Command Prompt and rebooting
- Open Device Manager
- Right click Multimedia Video Controller, click Properties
- Click Update Driver...
- Click Browse my computer for drivers
- Browse to the path containing cxadc-win.inf and cxadc-win.sys, click Next
- Click Install this driver software anyway when prompted
Note
This has only been tested with the original clockgen, compatibility with cxadc-clockgen-mod is not guaranteed (24/12/01)
The clockgen mod is configurable via cxadc-win-tool
.
- Download the latest libusb-win32 drivers
- Copy
bin\amd64\libusb0.dll
toC:\Windows\System32
- Copy
bin\amd64\libusb0.sys
toC:\Windows\System32\drivers
- Run
install-filter-win.exe
as Administrator, select Install a device filter - Select
vid:1209 pid:0001 rev:0000 | USB Composite Device
, click Install
This has only been tested with VS 2022, WSDK/WDK 10.0.26100 and .NET 8.0.
Due to various security features in Windows 10/11, Secure Boot and Signature Enforcement must be disabled. I recommend re-enabling when not capturing.
- Windows reports incorrect audio sample rate, set to 48000 to avoid issues (24/12/01)
- The 3rd audio channel (HSW) does not work correctly (24/11/30)
I take absolutely no responsibility for (including but not limited to) any crashes, instability, security vulnerabilities or interactions with anti-virus/anti-cheat software, nor do I guarantee the accuracy of captures.
This is based on the Linux cxadc driver, without which this would not exist.