Skip to content

Capture Software

Harry Munday edited this page Mar 21, 2024 · 2 revisions

Capture Software

Currently the MISRC uses Sigrok.

Simply download it here for Windows/MacOS/Linux.

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

Live Debugging

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

Future Plans

Fully featured GUI/CLI app.