Spi Slave Boot - XMOS VocalFusion XVF3510 User Manual

Table of Contents

Advertisement

4.1.7. SPI SLAVE BOOT

Both -UA and -INT configurations of XVF3510 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 XVF3510-INT USING DEVELOPMENT KIT AND RASPBERRY PI
Using the Development Kit, assembled as described in section
demonstration
, and the XVF3510-INT Release Package available on the Raspberry Pi, a SPI boot can
be executed by following the following steps:
1.Using a terminal console on the Raspberry Pi, navigate to the location of the XVF3510-INT
Release Package.
2. Use the following command to execute the SPI boot process booting the XVF3510-INT firmware
in the Release Package (replacing vX_X_X with the appropriate version number):
python3
bin/app_xvf3510_int_spi_boot_vX_X_X.bin
The device should be boot within 3 seconds.
NOTE: To illustrate the SPI Boot of XVF3510-UA on the development kit custom connection must be
made between Pi Hat and XVF3510 Processor board. The connection is discussed in more detail in
Appendix D: SPI Boot custom connection.
Following an SPI boot the XVF3510 will not read any Data Partition that may be present in flash memory.
It is expected that configuration is programmed though the VocalFusion Control utility.
Where configuration of the XVF3510 needs to be completed prior to operation, for example when
defining interface sample rates, the SPI Boot mechanism provides a delay start mode. When
requested, as shown below, the XVF3510 waits once booted for a command from the host to start the
system. This allows the host to configure the XVF3510 for the system, prior to starting operation. The
following operations should be used for delayed start operation.
1. 1.Using a terminal console on the Raspberry Pi, navigate to the location of the XVF3510-
INT Release Package.
2. Use the following command to execute the SPI boot process booting the XVF3510-INT
firmware in the Release Package (replacing vX_X_X with the appropriate version
number):
3. python3
bin/app_xvf3510_int_spi_boot_vX_X_X.bin --delay
4. Configure any system specific settings using the VocalFusion Control Utility vfctrl_usb or
vfctrl_i2c for XVF3510-UA or XVF3510-INT respectively.
5. Start the XVF3510 processing and interfaces by issuing the following commands over
the VocalFusion control utility (shown for XVF3510-INT):
vfctrl_i2c SET_MIC_START_STATUS 1
vfctrl_i2c SET_I2S_START_STATUS 1
The device will now commence operation.
XM-014232-PC
XVF3510-INT Amazon AVS
host/Pi/scripts/send_image_from_rpi.py
host/Pi/scripts/send_image_from_rpi.py
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vocalfusion xvf3510-intVocalfusion xvf3510-ua

Table of Contents