0

I'm trying to use the WM8960 Audio Board (not the HAT) on a Raspberry Pi Zero W. I followed the instructions for the HAT to install the driver (WM8960 Audio HAT User Manual). It seems to be installed correctly:

pi@box:~ $ sudo dkms status
wm8960-soundcard, 1.0, 4.14.79+, armv6l: installed
wm8960-soundcard, 1.0, 4.14.79-v7+, armv6l: installed

I used the pinout table in the same manual to connect the pins from the Pi Zero to the Audio Board. My current pin connection:

Audio Board --> Pi

VCC --> PIN 1 (+3V3 OUT)
GND --> PIN 6 (GND)
SDA --> PIN 3 (I2C1 SDA / GPIO2)
SCL --> PIN 5 (I2C1 SCL / GPIO3)
CLK --> PIN 12 (PWM0 / GPIO18)
WS --> PIN 35 (PWM1 / GPIO19)
TXSDA --> PIN 40 (GPCLK1 / GPIO21)
RXSDA --> PIN 38 (? / GPIO20)
TXMCLK --> not connected
RXMCLK --> not connected

Unfortunetly the board is not available in the sound card list:

pi@box:~ $ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA]
  Sub-Geräte: 7/7
  Sub-Gerät #0: subdevice #0
  Sub-Gerät #1: subdevice #1
  Sub-Gerät #2: subdevice #2
  Sub-Gerät #3: subdevice #3
  Sub-Gerät #4: subdevice #4
  Sub-Gerät #5: subdevice #5
  Sub-Gerät #6: subdevice #6
Karte 0: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

I also can't see a connected I2C channel:

pi@box:~ $ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Is there a step by step instruction to use the WM8960 Audio Board on a Raspberry Pi Zero W? Did I connected something wrong or does anyone has some ideas how to use the board correctly? Thanks in advance for your answers.

  • try connecting only Vcc, GND, SDA and SCL .... it appears that the other pins are for I2S .... you did not label the pin names clearly ... for instance, what is WS? – jsotola Feb 3 at 2:43
  • @jsotola - i2s is required for audio, i2c for control ... and WS is LRCLK – Jaromanda X Feb 3 at 7:06
  • According to the specs for WM8960, TXMCLK needs to be connected for playback, and RXMCLK needs to be connected for recording - and you have neither connected - though, that wouldn't effect i2c – Jaromanda X Feb 3 at 7:10
  • I only need playback, so I need to connect TXMCLK. But which pin should I use? – nkl-kst Feb 8 at 18:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.