- Application: An example code for the M031 series microcontroller (MCU) to control NAU7802 via I2C interface. This document introduces how to use the example code to configure NAU7802, start ADC conversion and read out data from NAU7802.
- BSP Version: M031 BSP CMSIS V3.03.000
- Hardware: NuMaker-M031SE Ver1.1
This example code is used to configure Nuvoton's NAU7802 and then read out ADC data from it. The NAU7802 is a dual channel, 24-bit analog-to-digital converter (ADC) that can be used for audio application, electric balance or industrial control. This document introduces the example code of pin configuration, input channel configuration, PGA gain configuration, ADC calibration, conversion starting, reading out data and so on.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0608111704