XVF3615 Control interfaceΒΆ
The XVF3615 implements the same control protocol (the vfctrl
interface) as
the XVF3610. It supports all the commands in the XVF3610 user guide.
The command set of the XVF3615 includes a set of extra commands to control the wake word engine. The XVF3615 v|version| supports the following additional commands for wake word configuration and diagnostics.
Parameter Name |
Read / Write |
Number of Values |
Description |
---|---|---|---|
SET_WWE_DETECTED_PIN |
WRITE |
1 |
Set which GPO pins are used to output wakeword detected signal. Pins defined using a bit mask,-1 disables this function (default) |
GET_WWE_DETECTED_PIN |
READ |
1 |
Get which GPO pins are used to output wakeword detected signal. Pins defined using a bit mask,-1 disables this function (default) |
SET_WWE_THRESHOLD |
WRITE |
1 |
Set wakeword detection threshold with integer in range [1,1000] with 1 being most permissive,and 1000 being least permissive |
GET_WWE_THRESHOLD |
READ |
1 |
Get wakeword detection threshold with integer in range [1,1000] with 1 being most permissive,and 1000 being least permissive |
GET_WWE_VAD |
READ |
1 |
Get the VAD detected signal as generated by the wakeword engine. 0=no VAD,1=VAD |
GET_WWE_COUNT |
READ |
1 |
Get the number of wakewords detected since last check. |
SET_WWE_COUNT |
WRITE |
1 |
Set the number of wakewords detected. Use this command to reset the count. |
GET_WW_MODEL_STATUS |
READ |
1 |
Get the wakewords model load status. 0:INIT 1:DATA_FOUND 2:LOADED 3:ERROR |
GET_WWE_DETECTED_PERIOD |
READ |
1 |
Get the period of the wakeword detected GPO signal in 10 millisecond units. |
SET_WWE_DETECTED_PERIOD |
WRITE |
1 |
Set the period of the wakeword detected GPO signal in 10 millisecond units. |
GET_WWE_INDEXES |
READ |
3 |
Get sample indexes of WWE: 0: current index, 1: WW begin index, 2: WW end index |
This interface can be implemented via I2C or via a USB Endpoint.