SPI Slave Boot

Both -UA and -INT configurations of XVF3610 have an SPI slave boot mode, in addition to the boot from flash mode. The SPI slave boot downloads the boot image in binary form, provided in the Release Package. This is illustrated using a Raspberry Pi and the Python script to manage the transfer as discussed below.

SPI Boot of XVF3610-INT

Using the XVF3610-INT Release Package available on the Raspberry Pi, a SPI boot can be executed by following the steps below:

  1. Using a terminal console on the Raspberry Pi, navigate to the location of the XVF3610-INT Release Package.

  2. Use the following command to execute the SPI boot process booting the XVF3610-INT firmware in the Release Package (replacing vX_X_X with the appropriate version number):

    python3 host/Pi/scripts/send_image_from_rpi.py bin/app_xvf3610_int_spi_boot_vX_X_X.bin --delay
    

    The device should be ready within 3 seconds.

  3. Update the main clock in to PDM clock specific using the Control Utility vfctrl_i2c:

    ./host/Pi/bin/vfctrl_i2c SET_MCLK_IN_TO_PDM_CLK_DIVIDER 1
    
  4. Configure any system specific settings using the Control Utility vfctrl_i2c.

  5. Start the XVF3610 processing and interfaces by issuing the following commands over the VocalFusion control utility:

    ./host/Pi/bin/vfctrl_i2c SET_MIC_START_STATUS 1
    
    ./host/Pi/bin/vfctrl_i2c SET_I2S_START_STATUS 1
    

Note

Following an SPI boot the XVF3610 will not read any Data Partition that may be present in flash memory. This is the reason why step 3 is necessary, the command SET_MCLK_IN_TO_PDM_CLK_DIVIDER is included in the Data Partition for XVF3610-INT.

SPI Boot of XVF3610-UA

Using the XVF3610-UA Release Package available on the Raspberry Pi, a SPI boot can be executed by following the steps below:

  1. Using a terminal console on the Raspberry Pi, navigate to the location of the XVF3610-UA Release Package.

  2. Use the following command to execute the SPI boot process booting the XVF3610-UA firmware in the Release Package (replacing vX_X_X with the appropriate version number):

    python3 host/Pi/scripts/send_image_from_rpi.py bin/app_xvf3610_ua_spi_boot_vX_X_X.bin
    

    The device should be boot within 3 seconds.

Note

The delay start mode is not available for XVF3610-UA.