Firmware for the Cypress EZ-USB FX3 microcontroller on the FreeSRP
Clone or download

FreeSRP USB Controller

This is the source code for the firmware of the FreeSRP's Cypress EZ-USB FX3 controller.

Getting started

Install the FX3 SDK. Make sure you source its script so the build system can find the libraries and compilers.

There's one utility in the SDK you need to compile first:

cd $FX3_INSTALL_PATH/util/elf2img
gcc elf2img.c -o elf2img

Then, just run:

mkdir build && cd build
cmake ..

to compile the firmware. You can now load FreeSRP.img onto the FX3.

Note on the AD9364 related files in this repository

Right now, the FPGA runs a MicroBlaze processor that handles interfacing with the AD9364. However, this MicroBlaze will be eliminated and the FX3 will handle all of the interfacing with the AD9364. That's why there's a driver for the AD9364 in this repo, but it's not currently being used and still needs some work (on both the FX3 and FPGA).