This is the quick start guide for the WM8731 Audio Codec, with step-by-step instructions on how to configure and use the driver in a selection of use cases.
The use cases contain several code fragments. The code fragments in the steps for setup can be copied into a custom initialization function, while the steps for usage can be copied into, e.g., the main application function.
DAC mode In this use case, the WM8731 module is configured to DAC mode with I2S audio interface.
The following function needs to be added to the user application, to configurate the TWI interface.