EasyManua.ls Logo

Waveshare WM8960 - Working Protocols; I2 C Bus Protocol

Waveshare WM8960
15 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WM8960 Audio Board
WORKING PROTOCOL
This module use WM8960 for audio encode/decode. WM8960 use I2C bus to
control signal and configures internal registers, I2S bus used to transmit/receive audio
signals.
I2C BUS
In I2C Bus, master device will first send an address frame for searching slave
device and setting communication mode. High 7 bits are address, followed a control
bit and finally the response signal. If slave device receives the response signal, it will
return a response to master device. Then master device could begin to send data to
slave device, which is 8 bits and the high 7 bits are address and the lowest one is
response signal. MSB first.
According to Datasheet, registers of WM8960 are 9-bit. Thus, when we send data
to it, should split data to two bytes and add the ID of register to recognized before
transmitting. The ID of register flagged by 7-bit.
For more details about I2C, please refer to Page 15 and Page 63 of WM8960_v4.2.

Related product manuals