Skip to content

Commit

Permalink
drivers/codec: Add driver for the WM8960 codec.
Browse files Browse the repository at this point in the history
This codec is assembled for the MIMXRT1xxx_DEV boards and available for
WM8960 breakout boards as well.

The driver itself has been tested as working with the MIMXRT boards and a
Sparkfun WM6890 breakout board.  It implements the initialization, basic
methods and some enhanced methods like 3D, ALC, soft-mute and deemphasis.
  • Loading branch information
robert-hh authored and dpgeorge committed Apr 4, 2022
1 parent 7a447e0 commit 56b331a
Show file tree
Hide file tree
Showing 4 changed files with 1,164 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/library/index.rst
Expand Up @@ -97,6 +97,13 @@ the following libraries.
network.rst
uctypes.rst

The following libraries provide drivers for hardware components.

.. toctree::
:maxdepth: 1

wm8960.rst


Port-specific libraries
-----------------------
Expand Down
7 changes: 7 additions & 0 deletions docs/library/machine.I2S.rst
Expand Up @@ -72,6 +72,13 @@ uasyncio::
sreader = uasyncio.StreamReader(audio_in)
num_read = await sreader.readinto(buf)

Some codec devices like the WM8960 or SGTL5000 require separate initialization
before they can operate with the I2S class. For these, separate drivers are
supplied, which also offer methods for controlling volume, audio processing and
other things. For these drivers see:

- :ref:`wm8960`

Constructor
-----------

Expand Down

0 comments on commit 56b331a

Please sign in to comment.