XM-014232-PC
14
3.2.2.
PYTHON 3
Some operations, such as running the SPI boot example on the Raspberry Pi, require the use of Python
3 (v3.7 onward is recommended). Python can be downloaded from
http://python.org/downloads
.
3.2.3.
HOST BUILD TOOLS
In order to build the host utilities, the use of a platform-specific compiler is required.
WINDOWS
The host utilities are built with the
x86 Native Tools Command Prompt for VS which is installed as part
of the
Build Tools for Visual Studio. This can be downloaded from Microsoft website (at the time of
writing latest versions available here:
https://visualstudio.microsoft.com/downloads/#build-tools-for-
visual-studio-2019
). It is important to ensure that the optional
C++ CMake tools for Windows are
included when setting up the installation.
LINUX
Depending on the distribution and version of Linux used, the following packages may need to be
installed:
sudo apt-get install -y build-essential
sudo apt-get install -y pkg-config
sudo apt-get install -y libusb-1.0-0-dev
MAC OS
The XCode Command Line tools are required to build in on macOS. The following command can be
used to install the tools.
xcode-select --install
3.3.
COMMAND-LINE INTERFACE (VFCTRL)
To allow command-line access to the control interface on the XVF3510 processor, the
vfctrl
(
V
ocal
F
usion
c
on
tr
o
l
) utility is provided as part of the release package. This utility
Two versions of this utility are provided for control of the device (a third is used internally by the Data
Partition generation process):
Table 3-2 vfctrl versions and platforms
VERSION
FUNCTION
HOST PLATFORMS SUPPORTED
vfctrl_usb
Control of XVF3510-UA over a USB interface
Windows, MacOS, Linux, Raspbian
vfctrl_i2c
Control of XVF3510-INT over i2c interface
Raspberry Pi (Raspbian) only
Source code for the utility is also provided for compilation for other host devices if required.
The general syntax of the command line tool, when used for device control, is as follows:
vfctrl_usb <COMMAND_VERB> [ arg 1] [arg 2]....[arg N] [# Comment]
The <COMMAND_VERB> is required and is used to control the parameters of the device. Commands
can be read and write commands and are distinguished by the prefix ‘GET_’ and ‘SET_’ for parameter
read and write respectively.
Содержание VocalFusion XVF3510
Страница 1: ...VocalFusion XVF3510 USER GUIDE V4 0...