Authentication of the Trillbit IA61x algorithm
Every time that your application with Trillbit Host library is run, the following steps are to be followed:
Start by preparing the board drivers.
Driver initialisation and functioning must be handled by the customer application.
Initialize the Host SDK Method Call: trill_host_init()
Returns integer: 0 if License is correct and init was successful, else negative error code if init was unsuccessful.
This prepares the SDK to interact with the IA61x firmware. Download Trillbit IA61x firmware over UART. Start of external clock through UART.
Start of Voicewake mode (Refer to Knowles IA61x documentation). This waits for a keyword to be received.
The keyword that can be detected is defined at- < src/include/trill_host.h >
Depending on the type of keyword received, the following steps are to be executed:
Authentication Needed: Authentication is pending. Data received from the SmartMic is to be read through UART and is to be passed to trill_host_handle_auth() method.
Authentication Passed: The SDK is in continuous listening mode and is in data receive state. To safely deallocate the memory allocated, trill_host_deinit must be called.
If data is detected: Payload is read through RDB.
Note: Refer to Knowles documentation for more information on how RDB and VoiceWake Mode works.
Last updated