-
Notifications
You must be signed in to change notification settings - Fork 6
Sigronk Capture
Currently the MISRC uses Sigrok.
To setup you can use the pre-made binaries or build the software manually with the FX3 support.
Install dependencies
install_dependencies.sh
Note
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 live uploaded to the FX3 USB interface board, the second time it should work fine.
To capture use the cli command interface like so:
sigrok-cli --driver cypress-fx3 --output-format binary --config samplerate=40m --continuous --output-file MISRC_Capture.bin
The resulting file output will be:
MISRC_Capture.bin
This file will contain 32-bits of data interleaved so you have 2x 12-bit an 1x 8-bit, this extra 8-bit will be used for an audio board later.
Currently you have to use the extraction tool misrc extract to extract one or both channels and the aux data to separate files this is also a cross platform tool.
The resulting files will be:
Signed Capture
- Channel_1.s16
- Channel_2.s16
Unsigned Capture
- Channel_1.u16
- Channel_2.u16
Connect to the FX3 Debug (USB Micro-B Port)
Open a seral port on the USB connection, this can be done via PuTTY for windows.
Device buffer issues
[2024-03-05 23:30:30.557] CYU3P_PIB_ERR_THR1_WR_OVERRUN
Capturing without issue
[2024-03-05 23:32:02.279] glEp0Buffer[0]=10
Fully featured GUI/CLI app.