Full Quartus project and NIOS C-code is provided for the FPGA firmware that is to communicate over UART to the onboard peripherals.
Download: AnalogMax with Jupyter
It is easy to modify the design to be used as generic USB to SPI or USB to I2C gateway, only change of IO constraints is needed for that.