Nuvoton offers an Application Code for the M031 series microcontroller to control the NAU7802 via an I2C interface. This example contains setup code, ADC conversion start code, and result read code.
Library used: BSP version: M031 BSP CMSIS V3.03.000 Development board: NuMaker-M031SE Ver1.1
Application Code download link:
https://www.nuvoton.com/resource-download.jsp?tp_GUID=EC0120210608111704
The
NAU7802 is a two-channel, 24-bit analog to digital converter (ADC) that can be used for audio applications, electrical scales, or industrial control.
Description on the manufacturer's website:
https://www.nuvoton.com/products/smart-home-audio/audio-converters/precision-adc-series/nau7802sgi