Skip to content

Configureing the DSP and EEPROM

HILO edited this page May 18, 2023 · 5 revisions

Overview

There are two ways to download the firmware to the SigmaDSP. One is using USBi Cable or a compatible one. And the other way is accessing from Raspberry-pi I2C over TCP/IP port.


Method-1: Using USBi

This is a standard way to configure the DSP and write the SPI-EEPROM. The necessary equipment is as follows...

Programming Steps

Step-by-Step Instruction

  1. Invoke the SigmaStudio.

  2. From the File menu, Open to load the SigmaStudio sample project or your own project.

  3. Turn on the FreeDSP OCTAVIA.

  4. Select the "Hardware Configuration" tab, and then Make sure the top "USB" Column of USB interface turns Green.
    (If it turns red, you need to reinstall the driver/software for USBi or Compatible.
    You need select I2C 0x70(112) and SPI 0x1 ADR0 from the pull-down menu, if not selected.

  5. Click the "Compile-Link-Download" button.

    You may see some kind of error "Not Connected". (This action is just only for switching the USBi from SPI to I2C mode before connecting the hardware.)

  6. Connect the USBi or Compatible device to FreeDSP OCTAVIA's J12. Then click the "Compile-Link-Download" button again.

  7. Right Mouse button Click on the IC1 ADAU1452 balloon. Then select the "Self boot memory" > "Write Latest Compilation through DSP" pull-down menu.

  8. Then you will see the following pop-up window. You need to set the right parameters for the EEPROM that you are using.
    for M95M01-DWMN4TP (256kbits)
    for 25AA512 (512kbits) for 25AA1024 (1mega bits)

  9. Click the "OK" button. Then the firmware will be written into EEPROM.

  10. Push the DSP-Reset button. The written firmware will be loaded from the EEPROM in a few seconds.


Method-2: Using SigmaStudio over TCP with the Raspberry Pi

This software is written by elagil. The software package is a Python application, which can control FreeDSP OCTAVIA over the network.

  • The backend service is the core application, which connects to the DSP via SPI or I2C,
  • Exposes a TCP interface towards SigmaStudio (on the default port 8087)
  • Provides a remote procedure call (RPC) interface, based on grpc.
  • You don't need to buy expensive USBi anymore. With the latter, a frontend can connect to the backend service and control it remotely.