SDK Overview*
GX8002 chip SDK, we call LVP, LVP full name is Lower-Power Voice Process.
1. Preface*
LVP
(Low Power Voice Processing) is a speech signal processing framework specially developed for the GX8002
chip. It runs on MCU
and NPU
, and mainly completes speech signal processing in various working modes, such as noise reduction mode, activation word recognition, etc. In addition, the LVP
framework also implements raw voice data collection
, voice broadcast
, standby time statistics
, dynamic frequency modulation
and other functions.
2. Using SDK Guide*
2.1 Introductory use*
- Development board(Grus_Dev_V1.x), Please find our sales purchase development board.
- Build development environment: This document describes how to install the SDK toolchain and obtain the SDK code.
- Make the first Demo: This document introduces SDK compilation, burning and running through its own Demo.
- Serial recording: This document describes how to compile recording firmware using the SDK and how to record over a serial port.
- Rapid application development: This article introduces the SDK directory structure, GPIO configuration, gain adjustment, and application software (app) development.
2.2 Advanced use*
- SDK software flow chart: This article introduces the software flow chart for the SDK, which requires some careful reading. Read this article to understand the SDK front and back software process.
- Memory distribution: This article describes the memory distribution for the GX8002 runtime.
- I2C access Guide: This paper introduces how to communicate with GX8002 through I2C bus.
- UART access Guide: This paper describes how to communicate with GX8002 through UART bus.
- OTA updates the migration guide over the serial port: This paper describes how to integrate uart_bootx_example in upper computer to OTA upgrade GX8002 chip through serial port.
2.3 Model compilation and deployment*
- Understand NPU: Please read Overview of NPU and NPU compiler installed。
- NPU compiler is used: This article describes the use of the NPU compiler gxnpuc and some considerations for OP use.
- Examples of NPU compiler usage: This article uses MNIST as an example to introduce the use of gxnpuc. It needs to be read carefully.
- NPU model API deployment process: This article describes the API interface for invoking the NPU module.
- NPU model format description: NPU model format description,Be sure to read。
- NPU model deployment Guide: This article mainly explains how the software engineer role can deploy the model trained by the algorithm engineer role on the SDK. Suitable for third-party algorithm companies to read .
2.4 SDK_FAQ*
- Dynamic adjustment frequency: This article describes how to call the API driver interface to adjust module frequency. Suitable for third-party algorithm companies to read .
- Dynamic frequency modulation APP introduction(lvp_app_kws_state_demo): This paper introduces how to implement dynamic frequency modulation in app.
- High precision microsecond delay instructions: This paper introduces how to use high precision delay in GX8002 and points for attention.
- GPIO analog Infrared instructions: This paper introduces the points to be paid attention to in GX8002 using GPIO to simulate infrared, the procedure and the code examples.