XM-014232-PC
16
3.5.1.
HOST APPLICATION
The example host applications, found in the
/host
directory in the Release Package, are command-
line utilities that accept text commands and, in the case of a read, provides a text response containing
the read parameter(s). Full acknowledgement is included in the protocol and an error is returned in
the case of the command not being executed properly or handled correctly by the device.
Example host source code and makefiles for are provided in the release package for x86 Linux, ARM
Linux (Raspberry Pi), Windows and Mac platforms along with pre-compiled executables to allow fast
evaluation and integration. For more information refer to the
Building the host utilities from source code
section.
3.5.2.
DEVICE APPLICATION
The device is always ready to receive commands. The device includes command buffering and an
asynchronous mechanism which means that Endpoint 0, NACKing for USB or clock stretching for I2C
is not required. This simplifies the host requirements particularly in the cases where clock stretching
is not supported by the host I2C peripheral.
3.6.
CONFIGURATION VIA DATA PARTITION
VocalFusion device flash firmware configuration is comprised of a Boot image and a Data Partition.
}
The
Boot image
in the form of an .xe archive is the executable code. It is provided as part of the
XVF3510-UA or XVF3510-INT Release Package. This configures the underlying operation of the
device.
}
The
Data Partition
configures a running Boot image instance at startup with a set of commands
which are customisable for the specific application. This contains any command that can be
issued at run-time via USB or I
2
C, plus some more that are boot-time only. Pre-configured Data
Partitions are supplied in the release packages for default operation.
This combination of Boot image and Data Partition allow the functionality of the processor to be
configured and defined without requiring any modification or recompilation of base firmware. The
commands discussed in subsequent sections can be stored in the Data Partition, for execution at
startup redefining the default operation of the device.
3.7.
XVF3510 DEVELOPMENT KITS
There are two variants of development kit available: VocalFusion development kit and VocalFusion
development kit for Amazon AVS. These two kits share the same hardware, but differ in the firmware
which is pre-loaded into the flash memory of each kit. This is shown below:
Table 3-3 Development kit variants and firmware pre-loaded
DEVELOPMENT KIT
FIRMWARE
LOADED
NOTES
VocalFusion development kit for
Amazon AVS
XVF3510-INT
(v0.12.0)
https://www.xmos.com/products/voice/amazon
Firmware named “XVF3510 I2S Firmware binary.xe” in v0.12.0
release
VocalFusion development kit
XVF3510-UA
(v0.12.0)
https://www.xmos.com/products/voice/kits
Firmware named “XVF3510 Adaptive USB Firmware binary.xe” in
v0.12.0 release
Содержание VocalFusion XVF3510
Страница 1: ...VocalFusion XVF3510 USER GUIDE V4 0...